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>
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
Cedric Ollivier [Thu, 3 Jun 2021 06:16:49 +0000 (06:16 +0000)]
Merge "Drop six"
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
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
Cedric Ollivier [Tue, 1 Jun 2021 14:46:29 +0000 (14:46 +0000)]
Merge "Add proper references to xml schemas"
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>
Cedric Ollivier [Tue, 25 May 2021 12:00:54 +0000 (12:00 +0000)]
Merge "Use constants instead of hard-coding paths"
Cedric Ollivier [Tue, 25 May 2021 11:37:46 +0000 (11:37 +0000)]
Merge "dash-separated keys will be deprecated in future"
Cedric Ollivier [Tue, 25 May 2021 10:22:08 +0000 (10:22 +0000)]
Merge "Fix remaining py37 testenv"
Cedric Ollivier [Tue, 25 May 2021 10:05:52 +0000 (10:05 +0000)]
Merge "Remove six from Openstack requirements"
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
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>
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
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
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
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
Cedric Ollivier [Sun, 16 May 2021 14:13:54 +0000 (14:13 +0000)]
Merge "Correct version to actuals in PyPI classifiers"
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
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
Cedric Ollivier [Tue, 11 May 2021 14:09:25 +0000 (14:09 +0000)]
Merge "Remove unnecessary condition in statement flow"
Cedric Ollivier [Mon, 10 May 2021 17:17:40 +0000 (17:17 +0000)]
Merge "Fix Flake8 abstact and concrete deps"
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>
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
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
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
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>
Cedric Ollivier [Thu, 29 Apr 2021 07:33:22 +0000 (07:33 +0000)]
Merge "Allow printing playbook output to console"
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Cédric Ollivier [Thu, 10 Dec 2020 18:06:19 +0000 (19:06 +0100)]
Use pip==20.2.4 in tox venv
pip 20.3 is disruptive and would lead to big changes in stable
branches.
Change-Id: Ifc4abd2d1f28bfb63ba66796e1690b398c1e4760
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Vincent Mahe [Tue, 15 Sep 2020 15:41:38 +0000 (17:41 +0200)]
Cleanup previous run output files
Signed-off-by: Vincent Mahe <v.mahe@orange.com>
Change-Id: I9ec39012457ae1a5f7017d41d79237d7a1e300d4
Cédric Ollivier [Mon, 9 Nov 2020 16:40:53 +0000 (17:40 +0100)]
Split Gates in a dedicated site.yml
Change-Id: Ib9fb9968071543c1a881fd862f15076488845ecb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Vincent Mahe [Tue, 15 Sep 2020 11:47:29 +0000 (13:47 +0200)]
Change version of MTS software to 6.6.21
Signed-off-by: Vincent Mahe <v.mahe@orange.com>
Change-Id: I846d5adf55d1f20e3adf50fccbbb431dda7f55d6
Cédric Ollivier [Sat, 5 Sep 2020 14:24:37 +0000 (16:24 +0200)]
Protect mts vs py2
Change-Id: I7a9aa9267a81161b10b1d625efbaa924187f8690
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 5 Sep 2020 10:42:34 +0000 (12:42 +0200)]
Remove all order in testcases.yaml
Change-Id: I7ff541ebe5b99f2bc66cbf725530fdff55504435
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 5 Sep 2020 10:19:34 +0000 (12:19 +0200)]
Wrap long env values
https://build.opnfv.org/ci/job/functest-kubernetes-opnfv-functest-kubernetes-healthcheck-kali-k8s_smoke-run/162/console
Change-Id: If6837a85f54309ad7c221144570c10eb1615993d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 5 Sep 2020 10:10:29 +0000 (12:10 +0200)]
Fix duration calculation
It falsy printed 00:60
Change-Id: Ib2852268a6833b353232c80e9013b6926058479c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 5 Sep 2020 09:35:05 +0000 (11:35 +0200)]
Remove order in testcases.yaml
It's not used and asked for useless configuration data.
Change-Id: Ie1713873aa880bed74bc3c9c4c08da5b30ea3bbb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 5 Sep 2020 08:55:05 +0000 (10:55 +0200)]
Make testcases descriptions optional
Change-Id: If0e45f10816edd2199c589bb5fbfc03fbc0a4b77
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
ajay33 [Mon, 31 Aug 2020 08:40:28 +0000 (14:10 +0530)]
Suppress admin password in default logs
Currently, OS_PASSWORD is getting printed in the console of
Functest. This password is secret and must not be printed in
default log file.
This patch suppresses the logging of OS_PASSWORD unless
users ask for debug logs.
Signed-off-by: mahajanajay33@gmail.com
Change-Id: Ib83a12eb09a8551b30b352858649932a5ca842e4
Cedric Ollivier [Thu, 6 Aug 2020 04:49:32 +0000 (04:49 +0000)]
Merge "Stop building xtesting-mts for arm32"
Cédric Ollivier [Thu, 6 Aug 2020 04:28:35 +0000 (06:28 +0200)]
Stop building xtesting-mts for arm32
It raised TravisCI timeouts [1].
[1] https://travis-ci.org/github/collivier/functest-xtesting/jobs/
715338705
Change-Id: Ifa4e0957386961a6cde2b2ea7877d808d6e46d70
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 5 Aug 2020 23:39:53 +0000 (01:39 +0200)]
Updated from global requirements
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I19049637a64628e266de4e5bdd825435ca0bebe3
Cédric Ollivier [Wed, 5 Aug 2020 15:08:14 +0000 (17:08 +0200)]
Install py3-wheel in xtesting
It fixes all deprecated warnings.
Change-Id: Ide9b140e56555fba3b5bc94c71df15d4627b72cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 5 Aug 2020 14:33:54 +0000 (16:33 +0200)]
Build arm* xtesting-mts on TravisCI
Change-Id: I594092992020a3eb228fbf62807a64c94f4a3fdd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 5 Aug 2020 14:05:11 +0000 (16:05 +0200)]
Fix bash mistakes
Change-Id: I204d7bb0ee7ce7ad727ae20601f0140670c9f0b9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 5 Aug 2020 13:49:30 +0000 (15:49 +0200)]
Set CFLAGS="-O0" when cross-compiling lxml
Change-Id: I57ae3a76d1838ccde2699a1a206487079c7f2fae
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Vincent Mahe [Mon, 25 May 2020 16:32:58 +0000 (18:32 +0200)]
Add MTS driver
It creates a new container xtesting-mts to avoid increase core
container size.
Signed-off-by: Vincent Mahe <v.mahe@orange.com>
Change-Id: I59544023e1235747e140a442815778a133bf6acf
Cédric Ollivier [Sat, 6 Jun 2020 15:49:54 +0000 (17:49 +0200)]
Update to alpine3.12
https://alpinelinux.org/posts/Alpine-3.12.0-released.html
Change-Id: Ie7b89399e5e32732d81b3e6293055f1fa8b10012
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 7 Jun 2020 07:31:45 +0000 (09:31 +0200)]
Drop py27
We can no longer support py27 due to rally or bashate here.
Change-Id: I716d388df227b9cb54c9c71b072c7aa01577f3fe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 29 Apr 2020 10:41:11 +0000 (12:41 +0200)]
Updated from global requirements
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I56dd1b8370ebe3e8e7f378a1fb3a9966a3c3d806
Cédric Ollivier [Mon, 27 Apr 2020 20:23:12 +0000 (22:23 +0200)]
Fix behave-html-formatter py conditions
https://pypi.org/project/behave-html-formatter/0.9.4/
Change-Id: I3c7d6f043a7e1df1529cf31152ac09e871ccdd3f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 17 Mar 2020 13:28:38 +0000 (14:28 +0100)]
Post-processed data from DB
It removes base_url to match the location in archive.
It forces a relative path by removing first "/".
It makes sense but it may raise side effects in dovetail webportal.
Change-Id: Idca69a99fed54ddf69334a865bae15b0a08220fc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 14 Jan 2020 16:28:36 +0000 (17:28 +0100)]
Publish Xtesting2020
Change-Id: Ife0d97eba3b09b54c0904128896998d8524db905
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 11 Jan 2020 18:08:27 +0000 (19:08 +0100)]
Publish CNTT Snezka RC Cookbook
http://testresults.opnfv.org/functest/cntt_rc_cookbook/
Change-Id: Ie100ddcf4a0ad1b8ba01a10ae91d2a6f40587c3c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 4 Jan 2020 20:16:04 +0000 (21:16 +0100)]
Switch to multiarch binfmt
It allows building arm containers as proposed by arm32v6 et arm32v7.
Change-Id: Icaca973f70c167ec8eb59df882638683fe35e40e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 4 Jan 2020 18:02:55 +0000 (19:02 +0100)]
Select arm32v6 et arm64v8 repos
They are the official repos [1].
multiarch repo doesn't support Alpine 3.11 and Raspberry PI 1 (arm32v6).
[1] https://hub.docker.com/_/alpine/
Change-Id: I2d73ef867c9714ecddba433295f822cf29b27b90
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 4 Jan 2020 16:31:08 +0000 (17:31 +0100)]
Fix tox env list in travis-ci
https://travis-ci.org/collivier/functest-xtesting/jobs/
632680250
Change-Id: I49fb0e399b2c0a31af21f5216b0576335773b8ab
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 4 Jan 2020 16:07:35 +0000 (17:07 +0100)]
Add python3.8-distutils when verifying vs travis-ci
https://travis-ci.org/collivier/functest-xtesting/jobs/
632675948
Change-Id: I87caca2810c966c6b8219b7dc044f02ac7b8e561
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 4 Jan 2020 12:54:26 +0000 (13:54 +0100)]
Update Alpine to 3.11
It also updates Python to 3.8 (default version).
https://alpinelinux.org/posts/Alpine-3.11.0-released.html
Change-Id: I1401c37adb71a6f7d37bd8724b93a058ecb68557
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 4 Jan 2020 15:30:07 +0000 (16:30 +0100)]
Fix behave driver and its related unit tests
Change-Id: I466d655162c1ddd5f4e3ef0e356a27007bfaea0f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 22 Dec 2019 20:09:53 +0000 (21:09 +0100)]
Compress Campaign data (zip)
Change-Id: I7b46a88a181293297cc764026f2804d36a59955a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 19 Dec 2019 06:13:12 +0000 (07:13 +0100)]
Dump DB and artifacts for third-party certification
It conforms with Kubernetes Conformance [1] model and could be reused
by OVP or any third-party CNTT-based certification.
It publishes the final archive in the S3 repository.
XtestingCI will generate the final job calling this feature.
[1] https://github.com/cncf/k8s-conformance
Change-Id: I7394c9d52d2cc9370eae125ca5398ff734e5b8d6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 7 Dec 2019 11:59:47 +0000 (12:59 +0100)]
Disable false ansible list warnings
git commit has to be executed via shell module [1].
[1] https://github.com/ansible/ansible/issues/50334
Change-Id: I0ad8abe12bd592cb2a790ec3373452d46573776a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 30 Nov 2019 12:08:20 +0000 (13:08 +0100)]
Mock os.path.join in push_to_db
Change-Id: I8d0c8f9ef4688454a6d2992ab1a20d871814e23f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Sat, 30 Nov 2019 10:31:42 +0000 (10:31 +0000)]
Merge "Postprocess the TestAPI href returned"
Cédric Ollivier [Sat, 30 Nov 2019 09:44:46 +0000 (10:44 +0100)]
Postprocess the TestAPI href returned
[1] returned http://localhost:8082
[1] https://build.opnfv.org/ci/job/airship-opnfv-functest-healthcheck-latest-connection_check-run/58/console
Change-Id: Ifc0e37a97442193a77762ecc2928b100e27028cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 27 Nov 2019 10:20:41 +0000 (11:20 +0100)]
Run update package index before installing pkg in Circle CI.
Change-Id: Id160a5bc68c2201db124773bf6eee8b6bb4cb7fc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Mon, 18 Nov 2019 19:16:49 +0000 (20:16 +0100)]
Forbid multipart upload if google storage
Google Storage doesn't support S3 multipart uploads
https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuoverview.html
https://cloud.google.com/storage/docs/composite-objects
5 * 1024 ** 5 is the multipart upload limit.
https://docs.aws.amazon.com/AmazonS3/latest/dev/qfacts.html
Change-Id: Iec3a5cd70ea6e912272ea231eecde6ee4f51ce4f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 16 Nov 2019 15:21:44 +0000 (16:21 +0100)]
Add ContentType when publishing artifacts
The default value 'application/octet-stream' is mostly
incorrect and forces downloading all links.
https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-hunter-connection_check-run/436/console
Change-Id: Ia680654f5e9f67154504264bc380f0a8d6a74d85
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 9 Nov 2019 16:34:24 +0000 (17:34 +0100)]
Improve file scanning when publishing artifacts
Else it copies files from other testcases if the full suite is
executed sequentially.
Change-Id: Ic61472e47b655c34823a6fcb3ed3615e8f84a4c1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 9 Nov 2019 14:47:14 +0000 (15:47 +0100)]
Add links in testcase details
It allows finding easily reports thanks to DB.
Change-Id: Ib5c4400c186fd320ae87e7fd3d4404b65e996a82
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 9 Nov 2019 13:04:16 +0000 (14:04 +0100)]
Print Test API links in console
It adds TEST_DB_EXT_URL to print the right links in case of NAT or SSH
port forwardings.
Change-Id: If85b00de7325909facc903fba13a3fd59a1e705f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 9 Nov 2019 12:59:16 +0000 (13:59 +0100)]
Add S3 env vars in env.py
It completes the previous commits adding S3 support:
https://gerrit.opnfv.org/gerrit/c/functest-xtesting/+/68760
https://gerrit.opnfv.org/gerrit/c/functest-xtesting/+/68796
Change-Id: Iaaeb02ef2d9c6cdb7ff6c2c52e7086c751119871
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 9 Nov 2019 11:28:24 +0000 (12:28 +0100)]
Generate Html and Xunit Behave reports
Change-Id: I7d5f31502ba61b61a0b1c885fe8828211bc0bc0a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 6 Nov 2019 23:29:38 +0000 (00:29 +0100)]
Create Bucket if it doesn't exist
Xtesting Ansible Role no longer creates bucket after starting Minio
[1].
[1] https://github.com/collivier/ansible-role-xtesting/commit/
8c62525bb0d0b5f8dcc2c4436711d5d075de8811
Change-Id: I1ad473ce55f9c00df8e558fdc67f571ee0a1875c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 2 Nov 2019 11:18:22 +0000 (12:18 +0100)]
Publish artifacts to S3 repository
It simplifies Jenkins or Gitlab jobs by automatically publishing all
artifacts via the framework.
It leverages on Amazon Web Services (AWS) SDK [1] which supports the
current cases (OPNFV, Xtesting Ansible role [2], etc.).
[1] https://boto3.amazonaws.com/v1/documentation/api/latest/index.html?id=docs_gateway
[2] https://github.com/collivier/ansible-role-xtesting
Change-Id: I66e380c4da29fb0f973472a2c59ae0ea3c44fcfd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Thu, 22 Aug 2019 11:48:03 +0000 (13:48 +0200)]
Override default Xtesting Ansible role values
It ease maintaining the Xtesting branches.
Change-Id: Iaaeed0eb4331908266163746350e4163c102238a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 10 Aug 2019 12:44:33 +0000 (14:44 +0200)]
Improve dependency list (CircleCI)
Change-Id: I8bee760092a40b3143cfbdd7ae5277a7c8cc4b0b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 10 Aug 2019 08:45:11 +0000 (10:45 +0200)]
Run Xtesting unit tests via CircleCI
It runs tox and published the artifacts.
It's worth mentioning that all docker images are already built via
Travis CI (amd64, arm and arm64) [1].
https://travis-ci.org/collivier/functest-xtesting
Change-Id: Icc57b6c45062425181230f3ebbdc5d3f7a925f99
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 3 Aug 2019 11:46:52 +0000 (13:46 +0200)]
Run perm when verifying changes
umask is now correct in lf-virtual1 (0022).
Change-Id: I073a48eddaf1e26bcb3bbeeb232eb69d4a03a124
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 27 Jul 2019 19:39:31 +0000 (21:39 +0200)]
Override the right default testcases.yaml
Else robot and behave are skipped.
Change-Id: Ib306b51d4d254fcacca86a9eaa56f4b751e370cb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 27 Jul 2019 14:52:18 +0000 (16:52 +0200)]
Fix remaining py36 testenv
Change-Id: Ifa6bfc7beb992cc9094435b734bbca68fcc5a931
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 27 Jul 2019 12:33:16 +0000 (14:33 +0200)]
Fix ssl issues in travis-ci
https://travis-ci.org/collivier/functest-xtesting/builds/
564133127
Change-Id: Ic0b8f20edfcccceda3d7226789f16e875af0bdb9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 26 Jul 2019 16:11:43 +0000 (18:11 +0200)]
Override the new testcases.yaml
Change-Id: I5a075f6adc2a014a5f2a04602d29783a91b86bfe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Wed, 24 Jul 2019 08:37:03 +0000 (10:37 +0200)]
Updated from global requirements
Change-Id: Ia65aef5331aa9848d58a6db9800b755f226fe8bf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 26 Jul 2019 10:58:04 +0000 (12:58 +0200)]
Switch to Python 3.7 and Alpine 3.10
It also allows building docs as doc8 is broken due to latest
OpenStack's upper-constraints.
pylint is updated to 2.3.1 (lastest py3.7 version)
It disables perm as umask is currently false on lf-virtual1.
Change-Id: I8568eeafa44c5dba72e206c532c1f50e3ad547f2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>