functest-xtesting.git
5 weeks agoAdd no:cacheprovider by default 27/74627/1
Cédric Ollivier [Tue, 1 Oct 2024 15:43:12 +0000 (17:43 +0200)]
Add no:cacheprovider by default

Change-Id: Ic9df362d954d79e42f005089401bda6c951d2ccc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 weeks agoAdd bandit missing in default env list 83/74583/1
Cédric Ollivier [Wed, 11 Sep 2024 14:43:17 +0000 (16:43 +0200)]
Add bandit missing in default env list

Change-Id: I4abfa25db5291ddcb0aefbc901ce3f23ce90103a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 weeks agoFix dep in ansible/site.gate.yml 67/74567/1
Cédric Ollivier [Fri, 6 Sep 2024 14:04:36 +0000 (16:04 +0200)]
Fix dep in ansible/site.gate.yml

It's now based on Alpine 3.20

Change-Id: If4164a01f8994e1e232d7a0102812a2e3f13d170
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
8 weeks agoUpdate to Alpine 3.20 59/74559/3
Cédric Ollivier [Fri, 6 Sep 2024 08:58:24 +0000 (10:58 +0200)]
Update to Alpine 3.20

Please note that it also updates python to 3.12.

Change-Id: I715194304b37b9cd52affa998a94ba5ec52e7732
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
7 months agoMerge "Enforce self.details as a collection"
Cedric Ollivier [Sat, 23 Mar 2024 08:44:15 +0000 (08:44 +0000)]
Merge "Enforce self.details as a collection"

7 months agoEnforce self.details as a collection 39/74539/1
Cédric Ollivier [Sat, 23 Mar 2024 07:50:38 +0000 (08:50 +0100)]
Enforce self.details as a collection

Change-Id: If34c1c7ff2d2b5e635b7a03cb8ba1572511bb5ff
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
9 months agoForce python 3.9 in package 34/74534/1
Cédric Ollivier [Wed, 24 Jan 2024 10:20:16 +0000 (11:20 +0100)]
Force python 3.9 in package

Change-Id: I9c03c34a5d1cb77851ac53769c9c36169574fccb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
9 months agoDon't override env values via testcases.yaml if they exist 19/74519/2
Cédric Ollivier [Thu, 18 Jan 2024 10:13:10 +0000 (11:13 +0100)]
Don't override env values via testcases.yaml if they exist

Change-Id: I0d7a52f8bae37ea09f15a5344ee1f7d19d0ecd77
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
9 months agoUpdated from global requirements 56/74456/1
Cédric Ollivier [Tue, 9 Jan 2024 16:09:59 +0000 (17:09 +0100)]
Updated from global requirements

Change-Id: I5457452ed644005eb6bf59114b42f86d58a787cc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
9 months agoRemove the use of pip_version 03/74403/1
Cédric Ollivier [Tue, 9 Jan 2024 08:47:53 +0000 (09:47 +0100)]
Remove the use of pip_version

Change-Id: I4888889c030d236a10f125ef69abd2c11477d199
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
11 months agoFix README.md Dockerfile sample 57/74057/7
guillaume.lambert [Fri, 30 Jun 2023 08:57:28 +0000 (10:57 +0200)]
Fix README.md Dockerfile sample

Current Dockerfile sample does not work anymore.
- bump alpine version to 3.18
- add py3-libxml2 package installation
- update testcases target location

Change-Id: I5315dc5277674dcd32b07344534681d29ef9d5e6
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
11 months agoMerge "Dump the play part from katacoda scenatio too"
Cedric Ollivier [Thu, 16 Nov 2023 15:53:25 +0000 (15:53 +0000)]
Merge "Dump the play part from katacoda scenatio too"

11 months agoDump the play part from katacoda scenatio too 64/74064/3
guillaume.lambert [Wed, 5 Jul 2023 14:37:10 +0000 (16:37 +0200)]
Dump the play part from katacoda scenatio too

https://raw.githubusercontent.com/collivier/katacoda-scenarios/main/xtestingci/firstdriver/play.md

Co-authored-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ieb79f1b2de253f659c68fc44c9ece020f2b55581
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
11 months agoMerge "Add a note about MongoDB requirements to README.md"
Cedric Ollivier [Thu, 16 Nov 2023 15:38:19 +0000 (15:38 +0000)]
Merge "Add a note about MongoDB requirements to README.md"

11 months agoAdd a note about MongoDB requirements to README.md 70/74070/4
guillaume.lambert [Tue, 25 Jul 2023 11:43:28 +0000 (13:43 +0200)]
Add a note about MongoDB requirements to README.md

Change-Id: Ieb161adcd8f2c4875533571b26b437e25819abb3
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
11 months agoMerge "Update README.md deployment sample cmd"
Cedric Ollivier [Thu, 16 Nov 2023 14:58:32 +0000 (14:58 +0000)]
Merge "Update README.md deployment sample cmd"

11 months agoAdd the missing site.yml 63/74063/3
guillaume.lambert [Wed, 5 Jul 2023 14:29:16 +0000 (16:29 +0200)]
Add the missing site.yml

Co-Authored-By Cédric Ollivier<cedric.ollivier@orange.com>

Change-Id: I680b2c2a17e7eba6c55622c652a2d294a064db01
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
12 months agoLeverage new path for docker image download script 99/74199/1
Cédric Ollivier [Sat, 21 Oct 2023 13:55:12 +0000 (15:55 +0200)]
Leverage new path for docker image download script

Change-Id: I5670be8c84ea52ade90030ab8a874ca626858008
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
12 months agoStop overriding Xtesting docker images 93/74193/1
Cédric Ollivier [Fri, 20 Oct 2023 09:07:16 +0000 (11:07 +0200)]
Stop overriding Xtesting docker images

Change-Id: I083b582e5aa66399c8712bc828bbdbc6b027fd33
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
12 months agoAllow binaries in elements install.d 85/74185/1
Cédric Ollivier [Thu, 19 Oct 2023 14:54:23 +0000 (16:54 +0200)]
Allow binaries in elements install.d

Change-Id: I78589cb91293ead9b410fba525116e85bbe13f44
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
12 months agoAdd +x to all install.d files 82/74182/1
Cédric Ollivier [Thu, 19 Oct 2023 14:43:49 +0000 (16:43 +0200)]
Add +x to all install.d files

Change-Id: I97423bd193fec0828b730bbfeeb20a070f011ae5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
12 months agoBuild Xtesting virtual machines 54/74154/2
Cédric Ollivier [Thu, 19 Oct 2023 12:43:02 +0000 (14:43 +0200)]
Build Xtesting virtual machines

Change-Id: I629033b478eadf3caf4a1475a8c32d13ba6b7f3a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
13 months agoUpdate README.md deployment sample cmd 65/74065/3
guillaume.lambert [Wed, 5 Jul 2023 15:15:41 +0000 (17:15 +0200)]
Update README.md deployment sample cmd

Change-Id: Ie22e322387ad328887d2868a1baa724f34d1e778
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
13 months agoUpgrade pylint and fix latest warnings 32/74132/3
Cédric Ollivier [Fri, 29 Sep 2023 12:12:18 +0000 (14:12 +0200)]
Upgrade pylint and fix latest warnings

Change-Id: I8b9e4b663a12ac9be18fded2d7b4e4b38428fa9f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
18 months agoRemove MTS from Xtesting 53/73953/2
Cédric Ollivier [Fri, 14 Apr 2023 13:19:17 +0000 (15:19 +0200)]
Remove MTS from Xtesting

The MTS drivers is unmaintained and they are lots of security issues
in its dependencies.

Change-Id: I397e22c8868204b8d52a8ac35906278b5e530961
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
18 months agoAdd pytest driver in Xtesting 40/73940/11
Cédric Ollivier [Fri, 31 Mar 2023 13:52:21 +0000 (15:52 +0200)]
Add pytest driver in Xtesting

Co-authored-by: Edouard Hinard <edouard.hinard@orange.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ice364f7f4287aacc7f375ed4a23503fd38c8e543

18 months agoAllow setting env vars via testcases.yaml 43/73943/3
Cédric Ollivier [Thu, 13 Apr 2023 08:33:20 +0000 (10:33 +0200)]
Allow setting env vars via testcases.yaml

It helps defining env vars per test cases.
/home/opnfv/functest/conf/env_file is rather designed
for comme env vars ro all test cases (see OpenStack Creds).

Change-Id: Ic5d34701475440e1f768bbb22be7a4cfa3e1625b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
18 months agoAdd missing api docs 42/73942/2
Cédric Ollivier [Thu, 13 Apr 2023 08:32:43 +0000 (10:32 +0200)]
Add missing api docs

Change-Id: I29a470f74d2429862d0e26426a375d0a76550082
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
19 months agoRun pre-commit in the Xtesting gates 17/73917/3
Cédric Ollivier [Fri, 17 Mar 2023 13:59:24 +0000 (14:59 +0100)]
Run pre-commit in the Xtesting gates

Change-Id: I691d0982b8e8f70afce622950c6b27a47e2bb417
Co-authored-by: Guillaume Lambert <guillaume.lambert@orange.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
19 months agoRemove a useless duplicate when calling pytest 18/73918/1
Cédric Ollivier [Mon, 20 Mar 2023 08:50:14 +0000 (09:50 +0100)]
Remove a useless duplicate when calling pytest

Change-Id: Ie11aac5f0d74c897c4c7c973179de401bbb4a0df
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
21 months agoUpdate Alpine to 3.17 35/73835/1
Cédric Ollivier [Tue, 24 Jan 2023 14:45:18 +0000 (15:45 +0100)]
Update Alpine to 3.17

https://www.alpinelinux.org/posts/Alpine-3.17.0-released.html

Change-Id: I660a04c8de1184d83f7e6bfc6777fa571fabc080
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoMake robot driver even more generic 81/73481/3
Cédric Ollivier [Fri, 23 Sep 2022 08:48:26 +0000 (10:48 +0200)]
Make robot driver even more generic

It allows setting any option via testcases.yaml

Change-Id: I8cb5ead037a65f962c3ba1a14729b52195e95483
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoAdd deny_skipping parameter 21/73421/9
Bellengé Maxime [Thu, 30 Jun 2022 09:56:51 +0000 (11:56 +0200)]
Add deny_skipping parameter

It takes into account or not skip tests in the global result
It also adds unit tests to cover it.

It should be noted that if follows the deny skipping
model proposed by Functest (tempest).

Change-Id: I15fa7a3946c6e3b2ae190e4f8abf3b9361a391a4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoUpdate to Alpine 3.16 19/73419/5
Cédric Ollivier [Fri, 1 Jul 2022 07:49:58 +0000 (09:49 +0200)]
Update to Alpine 3.16

It also switches to pytest because
nose fails vs py3.10.

Change-Id: I920baef12d4934b359873519d5518835007c2f02
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoUpdate to Alpine 3.15 21/73321/1
Cédric Ollivier [Fri, 22 Apr 2022 20:47:50 +0000 (22:47 +0200)]
Update to Alpine 3.15

Change-Id: I283f95fa9c0a51b31c2612f44c1e722a688f6a02
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoChange working dir 12/73312/1
Cédric Ollivier [Fri, 15 Apr 2022 14:34:34 +0000 (16:34 +0200)]
Change working dir

/ is no longer good as we allow non root user.

Change-Id: If2483f7d177db8f2b99e05456d1ea803e3153466
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoDefine xtesting user to harden security 99/73299/4
Cédric Ollivier [Tue, 12 Apr 2022 09:11:03 +0000 (11:11 +0200)]
Define xtesting user to harden security

It applies security guidelines even if everybody was already
free to harden his own containers via the python package.

Change-Id: Ia9936d158c02b4e5c86386cb046ff7e35af07f03
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoProtect vs Bucket containing html chars 48/73248/1
Cédric Ollivier [Fri, 4 Mar 2022 09:01:29 +0000 (10:01 +0100)]
Protect vs Bucket containing html chars

It allows dumping MTS output files.

Change-Id: I2b35ee81a764573a9d17cb3a225cb5febed5fa46
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoComplete previous commit 45/73245/1
Cédric Ollivier [Thu, 3 Mar 2022 16:49:45 +0000 (17:49 +0100)]
Complete previous commit

It adds xtesting/utils/config.py

Change-Id: Iaa36568d7b4e1f6c3cfa1d74cf81d9d73a61f3eb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoRewrite last direct call to ci/testcases.yaml 44/73244/3
Cédric Ollivier [Thu, 3 Mar 2022 15:59:14 +0000 (16:59 +0100)]
Rewrite last direct call to ci/testcases.yaml

Change-Id: Ic4a857b6cdee7e3f9e2330414b0e6a6df98eea25
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoOnly erase the fallback config files. 43/73243/1
Cédric Ollivier [Thu, 3 Mar 2022 15:45:53 +0000 (16:45 +0100)]
Only erase the fallback config files.

It enforces the best backward compatibility.

Change-Id: I6516ad15c4ca514dde7ae761c9c00f437646e3b4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoSearch config files in tree 42/73242/2
Cédric Ollivier [Thu, 3 Mar 2022 14:29:16 +0000 (15:29 +0100)]
Search config files in tree

It allows putting configurations in classical dirs.
It fallbacks to the python package for backward compatibility.

Change-Id: Ie33b9482fb197926c7d7d66ace815fa4ae01d02d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoAllow overriding project_name via env 36/73236/2
Cédric Ollivier [Thu, 3 Mar 2022 10:19:47 +0000 (11:19 +0100)]
Allow overriding project_name via env

It now offers a new env var, PROJECT_NAME, to override the default
value in testcases.yaml.

Change-Id: I911f1af56afe88edb37de40176733b65bc8e490a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoReset argv to prevent wrong usage 90/73190/1
Cédric Ollivier [Thu, 27 Jan 2022 08:04:00 +0000 (09:04 +0100)]
Reset argv to prevent wrong usage

It bypasses a clear pyats issue

Change-Id: Ib5e8d51b5bea1015c7e1b371b5ba4679c0921555
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoProtect if detail is returned as None 77/73177/1
Cédric Ollivier [Fri, 21 Jan 2022 10:08:50 +0000 (11:08 +0100)]
Protect if detail is returned as None

It occured when running ansible.

Change-Id: I908270fdb76fbc3bdf60787b189cdbc29c41b52b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoFix incorrect f-string 41/73141/1
Cédric Ollivier [Tue, 4 Jan 2022 22:08:27 +0000 (23:08 +0100)]
Fix incorrect f-string

Change-Id: I463dc155d03b0d5c86b72f4fb7868c1aa7c29a0b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoRemove ansiblelint as tox entry 40/73140/1
Cédric Ollivier [Tue, 4 Jan 2022 22:07:08 +0000 (23:07 +0100)]
Remove ansiblelint as tox entry

It false asks for ansible in any XtestingCI child's test requirements.

Change-Id: I6cff0ba900360c97db64f519ef4055e2e18cc28c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoLeverage latest pylint features 11/73011/2
Cédric Ollivier [Tue, 9 Nov 2021 10:22:02 +0000 (11:22 +0100)]
Leverage latest pylint features

It adds encoding in all open call and leverage f-strings.

Change-Id: I70ccd2bfcadae44929d5874f98fa3bf4ff644488
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoUpdate robotframework to latest release 84/72984/4
Cédric Ollivier [Fri, 22 Oct 2021 14:38:28 +0000 (16:38 +0200)]
Update robotframework to latest release

Change-Id: I298320f666e048d42047fd00de74df83142a5186
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2 years agoUpdate requirements 02/73002/1
Cédric Ollivier [Mon, 8 Nov 2021 14:34:19 +0000 (15:34 +0100)]
Update requirements

Change-Id: Id7f0007a87df545f97d9674a4055b2bb26dff30d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoCorrect documented return values 27/72627/3
Vincent Danno [Tue, 1 Jun 2021 19:26:51 +0000 (21:26 +0200)]
Correct documented return values

In particular, for mts, error cases can yield values other than -1.

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: I50ba896b835075fd3f3dd01f848fcc45076245ac

3 years agoFix .circleci/config.yml (py39) 20/72820/2
Cédric Ollivier [Thu, 12 Aug 2021 09:29:00 +0000 (11:29 +0200)]
Fix .circleci/config.yml (py39)

Change-Id: I151092e3e1b7388c24de3a9763fee640bebf899b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoMerge "Update pylint to 2.9.6"
Cedric Ollivier [Thu, 12 Aug 2021 12:11:20 +0000 (12:11 +0000)]
Merge "Update pylint to 2.9.6"

3 years agoUpdate pylint to 2.9.6 19/72819/3
Cédric Ollivier [Thu, 12 Aug 2021 08:28:03 +0000 (10:28 +0200)]
Update pylint to 2.9.6

It stops filtering upper constraints by versions as python 2 (and 3.5)
dropped.

Change-Id: Ieb96d068ebda813e020a093f3291b4a9526402e4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoMerge "Update container builds due to Alpine 3.14"
Cedric Ollivier [Thu, 12 Aug 2021 09:12:13 +0000 (09:12 +0000)]
Merge "Update container builds due to Alpine 3.14"

3 years agoUse python 3 super() style 51/72651/3
Vincent Danno [Wed, 9 Jun 2021 19:29:05 +0000 (21:29 +0200)]
Use python 3 super() style

See https://www.python.org/dev/peps/pep-3135/

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: I4f74db4a019b70d0289f8969d57fa9ad629c586f

3 years agoUpdate container builds due to Alpine 3.14 18/72818/1
Cédric Ollivier [Thu, 12 Aug 2021 07:35:16 +0000 (09:35 +0200)]
Update container builds due to Alpine 3.14

Change-Id: I2db26b02adb2b9e19a6636f9527765fde3588fdb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdate to Alpine 3.14 10/72810/4
Cédric Ollivier [Wed, 11 Aug 2021 13:52:47 +0000 (15:52 +0200)]
Update to Alpine 3.14

Change-Id: Id0b5ecc341315b0010a4e52dcb54ebe7bb37c5f7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoFix tag logics in behave 69/72669/1
Cédric Ollivier [Fri, 11 Jun 2021 13:09:25 +0000 (15:09 +0200)]
Fix tag logics in behave

The unit tests will be fully rewritten in a second change (out of this
bugfix).

Co-Authored-By: Ugur Caglar Kilic <ugur.caglar.kilic@oracle.com>
Change-Id: I6413fbcecdf44dbfe9c978045f4b1d43ca0de2ec
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoMTS inherits BashFeature 43/72643/4
Vincent Danno [Mon, 7 Jun 2021 18:53:10 +0000 (20:53 +0200)]
MTS inherits BashFeature

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: Ifa3a5d5946c29863905490de5f875e17026744a5

3 years agoMerge "Drop six"
Cedric Ollivier [Thu, 3 Jun 2021 06:16:49 +0000 (06:16 +0000)]
Merge "Drop six"

3 years agoDelete wrong docstring 26/72626/3
Vincent Danno [Tue, 1 Jun 2021 19:00:36 +0000 (21:00 +0200)]
Delete wrong docstring

This seems an unfortunate copy-paste from the file feature.py

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: If4c8eec10616f0dce3f1ac90abb0c2e78aeae11d

3 years agoDrop six 82/72582/3
Vincent Danno [Wed, 26 May 2021 11:08:55 +0000 (13:08 +0200)]
Drop six

python 2 was dropped [1] so we don't need six anymore

[1]: https://gerrit.opnfv.org/gerrit/c/functest-xtesting/+/68262

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: I840211990b76f77a46e9e737fc4a4c857b57c0b2

3 years agoMerge "Add proper references to xml schemas"
Cedric Ollivier [Tue, 1 Jun 2021 14:46:29 +0000 (14:46 +0000)]
Merge "Add proper references to xml schemas"

3 years agoSwitch to focal in travis-ci gates 74/72574/2
Cédric Ollivier [Tue, 25 May 2021 13:06:40 +0000 (15:06 +0200)]
Switch to focal in travis-ci gates

Change-Id: I8386e274813a4d41bf259145147f52d7bfee711d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoMerge "Use constants instead of hard-coding paths"
Cedric Ollivier [Tue, 25 May 2021 12:00:54 +0000 (12:00 +0000)]
Merge "Use constants instead of hard-coding paths"

3 years agoMerge "dash-separated keys will be deprecated in future"
Cedric Ollivier [Tue, 25 May 2021 11:37:46 +0000 (11:37 +0000)]
Merge "dash-separated keys will be deprecated in future"

3 years agoMerge "Fix remaining py37 testenv"
Cedric Ollivier [Tue, 25 May 2021 10:22:08 +0000 (10:22 +0000)]
Merge "Fix remaining py37 testenv"

3 years agoMerge "Remove six from Openstack requirements"
Cedric Ollivier [Tue, 25 May 2021 10:05:52 +0000 (10:05 +0000)]
Merge "Remove six from Openstack requirements"

3 years agoFix remaining py37 testenv 61/72561/2
Vincent Danno [Sun, 23 May 2021 16:15:52 +0000 (18:15 +0200)]
Fix remaining py37 testenv

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: I7847ac6f9f642fb64097a172bd4e8396040f8aa7

3 years agoRemove six from Openstack requirements 66/72566/1
Cédric Ollivier [Tue, 25 May 2021 09:18:46 +0000 (11:18 +0200)]
Remove six from Openstack requirements

Attempting uninstall: six
  Found existing installation: six 1.15.0
[91mERROR: Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

https://github.com/openstack/requirements/blob/master/upper-constraints.txt#L445

Change-Id: Iad64341d8014621bc999bade94676d4059e71353
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoDelete dead code 50/72550/2
Vincent Danno [Thu, 20 May 2021 12:36:33 +0000 (14:36 +0200)]
Delete dead code

The piece of code became unused following change
https://gerrit.opnfv.org/gerrit/c/functest/+/39443

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: I0bf80790c05cef217be574ad196d8c4e8dfb4c2d

3 years agoAdd proper references to xml schemas 47/72547/1
Vincent Danno [Wed, 19 May 2021 19:20:30 +0000 (21:20 +0200)]
Add proper references to xml schemas

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: I1f837fede6b62260cc49a590b065de259df0d444

3 years agoUse constants instead of hard-coding paths 45/72545/1
Vincent Danno [Tue, 18 May 2021 19:17:41 +0000 (21:17 +0200)]
Use constants instead of hard-coding paths

This complements
https://gerrit.opnfv.org/gerrit/c/functest-xtesting/+/72495
which missed one occurence due to trailing slash difference.

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: Iabfa89161cc099c924a7609aeb4ef6ed1b027cd3

3 years agodash-separated keys will be deprecated in future 12/72512/2
Vincent Danno [Wed, 12 May 2021 09:07:02 +0000 (11:07 +0200)]
dash-separated keys will be deprecated in future

See https://setuptools.readthedocs.io/en/latest/history.html#v54-1-0

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: I123266e2ebe0e18ceea3568000e13da12b39ca83

3 years agoMerge "Correct version to actuals in PyPI classifiers"
Cedric Ollivier [Sun, 16 May 2021 14:13:54 +0000 (14:13 +0000)]
Merge "Correct version to actuals in PyPI classifiers"

3 years agoRemove superfluous property declaration 13/72513/1
Vincent Danno [Wed, 12 May 2021 19:31:48 +0000 (21:31 +0200)]
Remove superfluous property declaration

It is inherited.

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: Ic68172dfb93f03cc62cf4944b82de8bc1e37b097

3 years agoCorrect version to actuals in PyPI classifiers 11/72511/1
Vincent Danno [Tue, 11 May 2021 20:07:58 +0000 (22:07 +0200)]
Correct version to actuals in PyPI classifiers

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: I040bf8d139d0ce159de4999cd14db48fb12f5b25

3 years agoMerge "Remove unnecessary condition in statement flow"
Cedric Ollivier [Tue, 11 May 2021 14:09:25 +0000 (14:09 +0000)]
Merge "Remove unnecessary condition in statement flow"

3 years agoMerge "Fix Flake8 abstact and concrete deps"
Cedric Ollivier [Mon, 10 May 2021 17:17:40 +0000 (17:17 +0000)]
Merge "Fix Flake8 abstact and concrete deps"

3 years agoFix Flake8 abstact and concrete deps 03/72503/1
Cédric Ollivier [Mon, 10 May 2021 14:54:42 +0000 (16:54 +0200)]
Fix Flake8 abstact and concrete deps

It's no longer managed by OpenStack requirements.

Co-Authored-By: Vincent Danno <vincent.danno@orange.com>
Change-Id: I7c509d483b4daf9c8b47390426d9f60f8a6a7482
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdated from global requirements 02/72502/1
Cédric Ollivier [Mon, 10 May 2021 14:42:25 +0000 (16:42 +0200)]
Updated from global requirements

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I234f0a861709b4199aba2306ea9f858866009917

3 years agoUse constants instead of hard-coding paths 95/72495/4
Vincent Danno [Mon, 10 May 2021 09:27:15 +0000 (11:27 +0200)]
Use constants instead of hard-coding paths

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: I9bef7db7584d6b615ef102d13797914095512733

3 years agoRemove unnecessary condition in statement flow 92/72492/1
Vincent Danno [Mon, 10 May 2021 07:28:36 +0000 (09:28 +0200)]
Remove unnecessary condition in statement flow

First, the condition should be limited to only defining the default
value, rather than applying to the statement flow. This not only avoids
unnecessary repetition of statements, but is more logical.

Second, it is not even necessary to explicitly code a condition here,
because the language itself defaults to our desired default value.

Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: I119567f5b31444a0e864ba41dee8a5f640ff0c22

3 years agoAdd eighth in ansible/site.gate.yml 53/72453/1
Cédric Ollivier [Sat, 1 May 2021 13:13:31 +0000 (15:13 +0200)]
Add eighth in ansible/site.gate.yml

Change-Id: I11f0aa1562dfa25c596e851d475f74778914ad0e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoMerge "Allow printing playbook output to console"
Cedric Ollivier [Thu, 29 Apr 2021 07:33:22 +0000 (07:33 +0000)]
Merge "Allow printing playbook output to console"

3 years agoAllow printing playbook output to console 35/72435/4
Ajay Kumar [Wed, 28 Apr 2021 11:04:26 +0000 (16:34 +0530)]
Allow printing playbook output to console

User can specify quiet: False in "testcases.yaml" if he wants to print
the output on console.

Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Signed-off-by: Ajay kumar <ajay4.kumar@orange.com>
Change-Id: I30fa21bdcc2ed97757cd3c0b4720f9413466833f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoAdd console parameter to behaveframework 31/72431/8
Francois Regis Menguy [Mon, 26 Apr 2021 13:09:11 +0000 (15:09 +0200)]
Add console parameter to behaveframework

Change-Id: I289de43bdea8c52181ec0622c83c5c56dd6890e3
Signed-off-by: Francois Regis Menguy <francoisregis.menguy@orange.com>
3 years agoAdd an Ansible driver 53/72353/8
Ajay Kumar [Mon, 5 Apr 2021 10:38:01 +0000 (16:08 +0530)]
Add an Ansible driver

It calls ansible_runner.interface.run() by converting the testcase
description data to kwargs. It only overrides quiet and artifact_dir to
implement the Xtesting behavior.

Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ifd09810400babc0f2b81f2c33edf55a3ed88807b
Signed-off-by: Ajay kumar <ajay4.kumar@orange.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoAdd the missing action 01/72101/1
Cédric Ollivier [Wed, 17 Feb 2021 22:55:07 +0000 (23:55 +0100)]
Add the missing action

Change-Id: I8c88da0ec7924cc517e453d4a8de52bb5bb0275f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoPulish former wiki page as README.md 67/72067/1
Cédric Ollivier [Wed, 17 Feb 2021 18:13:29 +0000 (19:13 +0100)]
Pulish former wiki page as README.md

https://wiki.opnfv.org/display/functest/Write+your+own+Xtesting+driver

Change-Id: If135bf9d84e1c357911eb0b2331539844288969a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoaarch64 mts builds mostly fail 22/72022/1
Cédric Ollivier [Fri, 12 Feb 2021 15:01:05 +0000 (16:01 +0100)]
aarch64 mts builds mostly fail

Change-Id: I87d9e4f33824c7a486d92f4e151b0b40bf10e675
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdate site.gate.yml accordint to latest XtestingCI changes 08/72008/1
Cédric Ollivier [Fri, 12 Feb 2021 12:03:28 +0000 (13:03 +0100)]
Update site.gate.yml accordint to latest XtestingCI changes

Change-Id: Iaaad4fff95b3df7564c5277eed80db182f8e3e19
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoFix arch in .travis-ci.yml 00/72000/1
Cédric Ollivier [Fri, 12 Feb 2021 08:39:20 +0000 (09:39 +0100)]
Fix arch in .travis-ci.yml

Change-Id: I0b56d7d2e9714034e54f42426ada1806036ec47f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoCreate dummy xtesting-mts:arm 91/71991/1
Cédric Ollivier [Thu, 11 Feb 2021 17:44:03 +0000 (18:44 +0100)]
Create dummy xtesting-mts:arm

Change-Id: Ib6cc1236aa46b7fb1fd9dfa96750894d87c3563e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoFix tag substitutes 90/71990/1
Cédric Ollivier [Thu, 11 Feb 2021 17:48:19 +0000 (18:48 +0100)]
Fix tag substitutes

Change-Id: I72e82055d32a87d81877152fa4bce4885bddc4cb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpgrade system first 42/71942/1
Cédric Ollivier [Wed, 10 Feb 2021 00:24:09 +0000 (01:24 +0100)]
Upgrade system first

Change-Id: I9ee2ac74785212f8fa6f4ca84dabfcf0ebd3ed18
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdate ansible-lint verification 02/71902/1
Cédric Ollivier [Tue, 9 Feb 2021 18:01:56 +0000 (19:01 +0100)]
Update ansible-lint verification

Change-Id: I1f0e2a4dc3d2410a409c990605a9086a5776ca34
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoTake pylint's len-as-condition into account 96/71896/1
Cédric Ollivier [Tue, 9 Feb 2021 15:46:33 +0000 (16:46 +0100)]
Take pylint's len-as-condition into account

Change-Id: Ib19de453857a2732d9c70a24539a96cd7129613d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
3 years agoUpdate to alpine:3.13 89/71789/1
Cédric Ollivier [Thu, 21 Jan 2021 15:45:00 +0000 (16:45 +0100)]
Update to alpine:3.13

Change-Id: I84459504fa374effb3c0355cf37a09c32b4e61a4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>