functest-xtesting.git
5 years agoFix manifest-tool builds 65/67365/2
Cédric Ollivier [Sun, 24 Mar 2019 12:47:59 +0000 (13:47 +0100)]
Fix manifest-tool builds

It now selects the last release to allow compiling it [1]

[1] https://travis-ci.org/collivier/functest-xtesting/jobs/510384544

Change-Id: I4fdff1df75f39b3b2bc70c3ee9c9910adbe9f0ff
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge "Update Alpine tag in build.sh"
Cedric Ollivier [Sat, 23 Mar 2019 17:53:52 +0000 (17:53 +0000)]
Merge "Update Alpine tag in build.sh"

5 years agoUpdate Alpine tag in build.sh 47/67347/1
Cédric Ollivier [Sat, 23 Mar 2019 17:18:58 +0000 (18:18 +0100)]
Update Alpine tag in build.sh

It completes the previous commit updating Alpine.

Change-Id: Ic7bb294eeebad360278dcb75f841efec8e87c03b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge "Update to Apine 3.9"
Juha Kosonen [Tue, 19 Mar 2019 07:06:56 +0000 (07:06 +0000)]
Merge "Update to Apine 3.9"

5 years agoUpdate to Apine 3.9 92/67292/1
Cédric Ollivier [Mon, 18 Mar 2019 20:17:22 +0000 (21:17 +0100)]
Update to Apine 3.9

It updates to the latest Alpine release [1]

[1] https://www.alpinelinux.org/posts/Alpine-3.9.0-released.html

Change-Id: I5c7bd64333fb38fcc7aa0c315de2bcd40435ed0a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdated from global requirements 43/67143/1
Cédric Ollivier [Thu, 28 Feb 2019 13:35:10 +0000 (14:35 +0100)]
Updated from global requirements

Change-Id: I6a2c5a16efdba81dda01fe21ad79f734dad3fd32
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix default host in ansible (127.0.0.1) 15/66415/1
Cédric Ollivier [Tue, 15 Jan 2019 20:26:02 +0000 (21:26 +0100)]
Fix default host in ansible (127.0.0.1)

Change-Id: Ief3656032a808a66fcb701272d5a4c3ecdca1427
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove former ci jobs 85/66385/1
Cédric Ollivier [Mon, 14 Jan 2019 17:57:56 +0000 (18:57 +0100)]
Remove former ci jobs

They can now be generated via the new ansible role.

Change-Id: I4c8fdf209fd4f9fd8b10342a86453ff5e1cb5b09
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoMerge "Fix typo"
Cedric Ollivier [Fri, 4 Jan 2019 02:06:36 +0000 (02:06 +0000)]
Merge "Fix typo"

5 years agoMerge "Remove url from logs"
Cedric Ollivier [Fri, 4 Jan 2019 01:48:47 +0000 (01:48 +0000)]
Merge "Remove url from logs"

5 years agoFix typo 81/66181/1
Cédric Ollivier [Fri, 4 Jan 2019 01:44:49 +0000 (02:44 +0100)]
Fix typo

Change-Id: I501ca227374e782286920bf0cab09ba1a4355f46
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoRemove url from logs 73/66173/1
Cédric Ollivier [Thu, 3 Jan 2019 23:44:42 +0000 (00:44 +0100)]
Remove url from logs

It can be false in case of NAT.

Change-Id: Id1f4b59eeaf466545cc906bd86c2917b8df2b7a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoUpdated from global requirements 03/66103/1
Cédric Ollivier [Thu, 27 Dec 2018 19:03:03 +0000 (20:03 +0100)]
Updated from global requirements

Change-Id: Ic9fb51a1ab37d105d4040c5ea0bee442cdad5696
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoApply operations via sixer 83/66083/1
Cédric Ollivier [Thu, 27 Dec 2018 15:40:50 +0000 (16:40 +0100)]
Apply operations via sixer

Change-Id: I7609f83da73d0ac03fc0d270d42f44708335995c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoAllow printing bash cmd output in console 99/65899/6
Cédric Ollivier [Sun, 16 Dec 2018 16:50:38 +0000 (17:50 +0100)]
Allow printing bash cmd output in console

It switches to Popen to print real-time console.
Console has to be enabled per testcase (testcases.yaml).

Change-Id: Id36b42c8409262f7c443e98ae2bcc465984b287f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoGenerate reports for unit tests 59/66059/2
Cédric Ollivier [Wed, 26 Dec 2018 10:23:02 +0000 (11:23 +0100)]
Generate reports for unit tests

It now leverages on subunit to generate html and xml reports.

Change-Id: I3f5a4fe5547e743b122b63e0b8530c9d9677cdbd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoFix OpenStack version (master) in tox.ini 57/66057/1
Cédric Ollivier [Wed, 26 Dec 2018 09:50:13 +0000 (10:50 +0100)]
Fix OpenStack version (master) in tox.ini

Change-Id: I4a5c3a85870ce515d64be5efb25b016908b56164
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoVerify the Ansible playbook via ansible-lint 81/65881/1
Cédric Ollivier [Sat, 15 Dec 2018 14:58:56 +0000 (15:58 +0100)]
Verify the Ansible playbook via ansible-lint

Change-Id: I9e6778b935a0a8d6e76cb4f1f16ef08c811eee73
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoVerify missing yaml files via yamllint 75/65875/1
Cédric Ollivier [Sat, 15 Dec 2018 14:45:13 +0000 (15:45 +0100)]
Verify missing yaml files via yamllint

Change-Id: I0cd412cd49cac62b393658bf55e0e32def908c85
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoDeploy CI/CD toolchains for any Xtesting-based project 15/65715/3
Cédric Ollivier [Mon, 10 Dec 2018 20:38:43 +0000 (21:38 +0100)]
Deploy CI/CD toolchains for any Xtesting-based project

It allows deploying the CI/CD toolchain via ansible for all projects
based on Xtesting (e.g. OPNFV Functest, ONAP robot tests, etc.).

It deploys Jenkins, Minio and S3www and loads all jobs in Jenkins.
Last components (MongoDB, TestAPI and dashboard) will be deployed in
the next update of the ansible role.

To deploy the testing toolchain:
$ ansible-galaxy install collivier.xtesting
$ ansible-playbook ansible/site.yml

Change-Id: I5a8ddb45fc354c9a22c52f0d42ce2e0181f345b7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoEnable robot sample in the container 81/65681/1
Cédric Ollivier [Sun, 9 Dec 2018 08:55:56 +0000 (09:55 +0100)]
Enable robot sample in the container

The testcase is disabled by default in package as the location
depends on OS. But it can be safely enabled in the Alpine container.

Change-Id: I8d1befd09b8d823010dfce7fbb18eddb864fd6e6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
5 years agoSet shell=True in subprocess.check_call 75/65475/6
Cédric Ollivier [Wed, 28 Nov 2018 21:37:17 +0000 (22:37 +0100)]
Set shell=True in subprocess.check_call

It allows running multiple shell instructions (see third).

Change-Id: I132813c51d42f0fb4bc729d315c468d426f2fb3c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit f99cef18b6dd3eff6703c4d748fae415fea78ae2)

5 years agoStop returning values in run() 73/65473/1
Cédric Ollivier [Wed, 28 Nov 2018 21:09:03 +0000 (22:09 +0100)]
Stop returning values in run()

Runner only checks status via is_successful().

Change-Id: I12647449b037223ac4e3c6ee577610d4430d0bf5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoTemporarily disable py36 57/63757/4
Cédric Ollivier [Fri, 19 Oct 2018 14:11:59 +0000 (16:11 +0200)]
Temporarily disable py36

Verify servers haven't been updated yet to support py36.

Change-Id: Id2999a94f9c2c03432412a4b40a4b3c593aaffb5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix a wierd pylint error 71/63771/2
Cédric Ollivier [Fri, 19 Oct 2018 14:30:59 +0000 (16:30 +0200)]
Fix a wierd pylint error

Change-Id: Ia213e3e1beb80e62f6691c79544b1a0e0e3bb81e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate python3 to python3.6 45/63645/1
Cédric Ollivier [Wed, 17 Oct 2018 11:44:35 +0000 (13:44 +0200)]
Update python3 to python3.6

Change-Id: I845f8eb0544dc32febec7a17ac7c05412eb31198
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Updated from global requirements"
Cedric Ollivier [Wed, 12 Sep 2018 19:40:00 +0000 (19:40 +0000)]
Merge "Updated from global requirements"

6 years agoUpdated from global requirements 61/62161/1
Cédric Ollivier [Wed, 12 Sep 2018 19:31:32 +0000 (21:31 +0200)]
Updated from global requirements

Change-Id: I8eb758bb28904ed9504cba4eef5a94026a0e34bc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFollow OpenStack master 59/62159/1
Cédric Ollivier [Wed, 12 Sep 2018 19:27:51 +0000 (21:27 +0200)]
Follow OpenStack master

Change-Id: I9b3ead197d54061adddbf47b6b94bbeb79c81793
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRewrite git clone 75/61775/1
Cédric Ollivier [Mon, 3 Sep 2018 18:43:23 +0000 (20:43 +0200)]
Rewrite git clone

Change-Id: I0e17233faaf8eddb263e90cb82b65335f1c9cf40
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoPublish daily and gating jjbs 07/61707/1
Cédric Ollivier [Sat, 1 Sep 2018 20:26:42 +0000 (22:26 +0200)]
Publish daily and gating jjbs

Change-Id: I1050741ce34e151be30404275670e83fc2a40d1a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate to Alpine 3.8 05/61705/1
Cédric Ollivier [Sat, 1 Sep 2018 20:36:27 +0000 (22:36 +0200)]
Update to Alpine 3.8

https://alpinelinux.org/posts/Alpine-3.8.0-released.html

Change-Id: I73fba49c3d1bbf018e94e67c835c4049c34209b1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove former samples/testcases.yaml 95/61595/1
Cédric Ollivier [Thu, 30 Aug 2018 12:47:37 +0000 (14:47 +0200)]
Remove former samples/testcases.yaml

Change-Id: I1487c73ae4c6e2801c7952689c8d9fe49613db95
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoStop verifying ResultWriter.write_results exit codes 41/61541/1
Cédric Ollivier [Wed, 29 Aug 2018 14:08:14 +0000 (16:08 +0200)]
Stop verifying ResultWriter.write_results exit codes

ResultWriter.write_results() returns false if one test fails.
It's skipped by run() because the report is correctly generated.

[1] https://robot-framework.readthedocs.io/en/2.9.2/_modules/robot/reporting/resultwriter.html

Change-Id: If29059b272679ed89a1189e0bb52997c83401b94
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoChange output dir 13/61513/1
Cédric Ollivier [Wed, 29 Aug 2018 09:26:24 +0000 (11:26 +0200)]
Change output dir

It now reads case_name instead of selecting an hardcoded value
(robot).

Change-Id: I1dfb0daa2eb52f526abdf1664bf5ac36549509a6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate RobotFramework config 83/61483/1
Cédric Ollivier [Tue, 28 Aug 2018 19:42:04 +0000 (21:42 +0200)]
Update RobotFramework config

It completes "Leverage on abc and stevedore".

Change-Id: Ieb8e7dee79cd4a8a1e93e2db9945577754e35aa8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoInitialize testcase results to EX_TESTCASE_FAILED 85/61085/1
Cédric Ollivier [Mon, 20 Aug 2018 03:55:57 +0000 (05:55 +0200)]
Initialize testcase results to EX_TESTCASE_FAILED

Else the testcase returns EX_OK if exceptions in __init__()

Change-Id: I5f23e91a3ecda22a429a006af56592ee86084038
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Protect vs None when calling regex"
Cedric Ollivier [Tue, 14 Aug 2018 16:30:24 +0000 (16:30 +0000)]
Merge "Protect vs None when calling regex"

6 years agoProtect vs None when calling regex 45/60945/1
Cédric Ollivier [Tue, 14 Aug 2018 16:23:41 +0000 (18:23 +0200)]
Protect vs None when calling regex

Change-Id: I93d22442c28e674433234d7729838944962bdbe2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoLeverage on abc and stevedore 81/60881/2
Cédric Ollivier [Fri, 10 Aug 2018 10:55:10 +0000 (12:55 +0200)]
Leverage on abc and stevedore

Change-Id: I7b3c4c0c5dd0c9e6fb3e52c3fff5221d4b831b02
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSkip the selected testcase too 33/60833/4 0.56
Cédric Ollivier [Fri, 10 Aug 2018 11:04:11 +0000 (13:04 +0200)]
Skip the selected testcase too

It completes "Allow calling a skip test" [1]

[1] https://gerrit.opnfv.org/gerrit/60655

Change-Id: I02499aed56e6b23563165ea1f17b476e12408823
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoGenerate robot reports 77/60677/2
Cédric Ollivier [Tue, 7 Aug 2018 05:16:57 +0000 (07:16 +0200)]
Generate robot reports

Change-Id: Ib9efe14bce6227f9609200c12ded4470bd0be969
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAllow calling a skip test 55/60655/2
Cédric Ollivier [Tue, 7 Aug 2018 03:06:23 +0000 (05:06 +0200)]
Allow calling a skip test

run_tests shouldn't return an incorrect value if the test is skipped.
Else it simply forbids running tests in parallel (one test per
thread).

Change-Id: I07efca28dbf6cf1c29ec8e5c999e38cfe3ad0aad
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoStop skipping testcases if one raises exceptions 67/60367/1
Cédric Ollivier [Mon, 30 Jul 2018 14:08:41 +0000 (16:08 +0200)]
Stop skipping testcases if one raises exceptions

https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/188/console

Change-Id: Ic412c5b55169f599bd9cdb623f349dd2220940db
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoStop printing exceptions twice 25/59825/1 0.53
Cédric Ollivier [Sun, 15 Jul 2018 09:30:40 +0000 (11:30 +0200)]
Stop printing exceptions twice

Change-Id: Ife772d33741e7023ed72afeb0f74ed8b461e0033
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix results when only one skipped test 23/59823/1
Cédric Ollivier [Sun, 15 Jul 2018 09:22:05 +0000 (11:22 +0200)]
Fix results when only one skipped test

Change-Id: Id6c8029b8be1e3a01979feb45daebad08710fe20
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAllow dynamically skipping testcases 21/59821/2 0.52
Cédric Ollivier [Sun, 15 Jul 2018 07:49:57 +0000 (09:49 +0200)]
Allow dynamically skipping testcases

Change-Id: I7cf47f0625bdb8345fef43b24c51bd84ef4486ea
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSkip testcases by any env var 39/59739/3 0.51
Cédric Ollivier [Thu, 12 Jul 2018 08:48:17 +0000 (10:48 +0200)]
Skip testcases by any env var

It also removes CI_LOOP which is releng centric.
It can be passed as dependency if required.

Change-Id: I146bb97950cb88062451158b7cc6a16c7f9d47a2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoImprove dependency management 29/59729/3
Cédric Ollivier [Thu, 12 Jul 2018 06:31:31 +0000 (08:31 +0200)]
Improve dependency management

It avoids declaring dependencies if needed.
Negative regex are correcty managed as well.

Change-Id: I0e978823526246bc4a5192e63a8a893a4add0e2a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove Feature logger 91/57891/3 0.42
Panagiotis Karalis [Fri, 25 May 2018 09:27:12 +0000 (12:27 +0300)]
Remove Feature logger

This class atttribute is removed as it's quite useless (it forces one
module per project). All messages are now printed to xtesting.log
whatever the namespace and all warnings are printed in console.

Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I6860eaf427093ea21b3bd78650bec7939e947b2d
Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoCheck shell scripts via bashate 61/56361/2
Cédric Ollivier [Tue, 24 Apr 2018 12:31:54 +0000 (14:31 +0200)]
Check shell scripts via bashate

Change-Id: I33df0017945a32946c46bff0768624901e13f6f1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoCreate a static method to configure logger 67/55867/2 0.41
Cédric Ollivier [Tue, 17 Apr 2018 07:48:15 +0000 (09:48 +0200)]
Create a static method to configure logger

It helps OPNFV Features to configure their multiple loggers as
self.logger is not suitable in case of multiple modules.

Change-Id: I5794a3e323d70abfdd85db89a9890488828efd88
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate to stable/queens 99/55499/1 0.40
Cédric Ollivier [Thu, 12 Apr 2018 02:34:08 +0000 (04:34 +0200)]
Update to stable/queens

Change-Id: I2a8d624df52c0c705d5fbc662f11948bdc51d765
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdated from global requirements 95/55495/1
Cédric Ollivier [Thu, 12 Apr 2018 02:16:32 +0000 (04:16 +0200)]
Updated from global requirements

Change-Id: If9959fb71b9970a27f607ec1c491bf790adfe499
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoExclude doc/reveal.js from perm 37/55437/1
Cédric Ollivier [Wed, 11 Apr 2018 18:01:33 +0000 (20:01 +0200)]
Exclude doc/reveal.js from perm

Change-Id: I6c81163d55217a374269ee7d2aae63a854c9fdeb
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdated from global requirements 73/55373/1
Cédric Ollivier [Tue, 10 Apr 2018 20:01:29 +0000 (22:01 +0200)]
Updated from global requirements

Change-Id: I8fae672c01c3fa9d99842827436e2e94cfac2be8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoCheck README.rst by doc8 51/55151/1
Cédric Ollivier [Sat, 7 Apr 2018 16:53:54 +0000 (18:53 +0200)]
Check README.rst by doc8

Change-Id: I9ac9fa26d49fd9cd01844e5579255cfadbd8b276
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoCheck API doc via doc8 71/54871/1
Cédric Ollivier [Wed, 4 Apr 2018 05:00:49 +0000 (07:00 +0200)]
Check API doc via doc8

It also cleans unseless dirs.

Change-Id: I52ddc9e2adcd13c95e4a8939397686f50b9e6c4c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoIgnore output dirs and files 89/54689/1
Cédric Ollivier [Sat, 31 Mar 2018 11:10:17 +0000 (13:10 +0200)]
Ignore output dirs and files

Change-Id: I5d8bbee73489e723dec4a1962c3b95943a038efc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix software names (uppercase letters) 87/54687/1
Cédric Ollivier [Sat, 31 Mar 2018 10:57:56 +0000 (12:57 +0200)]
Fix software names (uppercase letters)

Change-Id: I1eba2a3594b050e4c50ac081a653011fa1e98426
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate Xtesting presentation 23/54423/1
Cédric Ollivier [Sat, 24 Mar 2018 15:58:12 +0000 (16:58 +0100)]
Update Xtesting presentation

Change-Id: Ida18f3fd0138eb70bb2dd6b512cec5bef470b685
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoPublish xtesting presentation 13/54413/2
Cédric Ollivier [Fri, 23 Mar 2018 20:55:22 +0000 (21:55 +0100)]
Publish xtesting presentation

Change-Id: Ia33a17ed5868bf61f088feea1a608603fdeb28dc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix regex when INSTALLER_TYPE is unset 89/54089/2
Cédric Ollivier [Mon, 19 Mar 2018 08:51:37 +0000 (09:51 +0100)]
Fix regex when INSTALLER_TYPE is unset

Change-Id: I0ec012185f3c90b2a2c82b6f204ce332f3fa9c7f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate api/index.rst 55/54055/1
Cédric Ollivier [Sun, 18 Mar 2018 18:30:22 +0000 (19:30 +0100)]
Update api/index.rst

It mainly copies the wiki main page [1].

[1] https://wiki.opnfv.org/display/functest/Xtesting

Change-Id: Iaedfa2bbf83976654a626640b38d8cc27131d3d4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd classifiers (pypi) 49/54049/1 0.24
Cédric Ollivier [Sun, 18 Mar 2018 10:38:18 +0000 (11:38 +0100)]
Add classifiers (pypi)

Change-Id: Ifabc4b33e56d37e097724cee2afd1c1da2438f9c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd README.rst (pypi) 47/54047/1
Cédric Ollivier [Sun, 18 Mar 2018 10:29:23 +0000 (11:29 +0100)]
Add README.rst (pypi)

Change-Id: I4248c86ee51b9458d367440670a0abaf3ec7c87f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd a travis-ci config file 93/53493/2
Cédric Ollivier [Mon, 12 Mar 2018 07:19:57 +0000 (08:19 +0100)]
Add a travis-ci config file

It also fixes a typo in build.sh.

Change-Id: Id9ac580d3b6268dd8e2326cecef57db213ef1a11
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Add build.sh for functest-xtesting"
Cedric Ollivier [Fri, 9 Mar 2018 09:45:29 +0000 (09:45 +0000)]
Merge "Add build.sh for functest-xtesting"

6 years agoAdd build.sh for functest-xtesting 35/53235/5
Delia Popescu [Wed, 7 Mar 2018 10:04:18 +0000 (12:04 +0200)]
Add build.sh for functest-xtesting

JIRA: FUNCTEST-948

Change-Id: If174ac0cc5716ccd6f5bcd6b5627feb222d05b0b
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
6 years agoAdd tags support using include options 21/53321/1
mrichomme [Thu, 8 Mar 2018 15:23:38 +0000 (16:23 +0100)]
Add tags support using include options

Change-Id: Ibfd8645e2ec7da7d05ae806b5bc1f5a90bfc39a2
Signed-off-by: mrichomme <morgan.richomme@orange.com>
6 years agoAdd py3 support in samples 83/53183/1
Cédric Ollivier [Tue, 6 Mar 2018 20:12:22 +0000 (21:12 +0100)]
Add py3 support in samples

Change-Id: I402be2f5921577985218306161a6efe1b9d62a48
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoReturn all status when running tiers 53/53053/1 0.22
Cédric Ollivier [Sun, 4 Mar 2018 10:56:30 +0000 (11:56 +0100)]
Return all status when running tiers

Change-Id: I31a062304d47c055c14e5afe8f560c3048b071f4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoStop filtering the project when calculating results 35/53035/1 0.21
Cédric Ollivier [Sat, 3 Mar 2018 10:55:44 +0000 (11:55 +0100)]
Stop filtering the project when calculating results

Change-Id: Ia0917426775831176206f4bb300d513cc3190e08
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove Functest-related env vars 01/52901/1
Cédric Ollivier [Thu, 1 Mar 2018 03:06:54 +0000 (04:06 +0100)]
Remove Functest-related env vars

Change-Id: If1b44ad61db58fd3d02817373255c6467f515e85
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoLeverage on tags for all versions 93/52893/1
Cédric Ollivier [Thu, 1 Mar 2018 02:12:35 +0000 (03:12 +0100)]
Leverage on tags for all versions

Change-Id: I7e8c1a9f97711c935b61696b348183b382c15d12
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSet universal wheels 81/52881/1 0.2
Cédric Ollivier [Thu, 1 Mar 2018 01:20:10 +0000 (02:20 +0100)]
Set universal wheels

Change-Id: I856b02ff26808cc56ecee62570f5370795abc178
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoEnsure py27 and py35 supports 67/52867/1
Cédric Ollivier [Wed, 28 Feb 2018 18:44:53 +0000 (19:44 +0100)]
Ensure py27 and py35 supports

Change-Id: Ia1cd423be2e55ab7539bcd2551c53792c08b976a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAdd mandatory package infos (PyPI) 55/52855/2
Cédric Ollivier [Wed, 28 Feb 2018 17:51:45 +0000 (18:51 +0100)]
Add mandatory package infos (PyPI)

Change-Id: I2ab4eb5f2916ee26cd3be48eb4fa2074d020967c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSwitch from /home/opnfv/functest to /var/lib/xtesting 53/52853/2
Cédric Ollivier [Wed, 28 Feb 2018 17:46:13 +0000 (18:46 +0100)]
Switch from /home/opnfv/functest to /var/lib/xtesting

Functest containers will have to create symlinks to allow publishing
artifacts.

All classes create the mandatory dirs.

Change-Id: Ia1f215005d553dd6d64685e4d8a3f5c843c5db7a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove obsolete Alpine packages 39/52839/1
Cédric Ollivier [Wed, 28 Feb 2018 15:13:05 +0000 (16:13 +0100)]
Remove obsolete Alpine packages

Change-Id: Ibaaaab6af46cf3bf76be5442f5e155de592e727e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoPublish Dockerfile and samples 13/52813/6
Cédric Ollivier [Wed, 28 Feb 2018 10:51:16 +0000 (11:51 +0100)]
Publish Dockerfile and samples

Change-Id: Ie776fea631f04bb42d8ae80bc658318d8644d0e5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFully cover tier_builder.py 31/52831/1
Cédric Ollivier [Wed, 28 Feb 2018 14:22:15 +0000 (15:22 +0100)]
Fully cover tier_builder.py

Change-Id: I48ad1d430bb56b5be75b003800990a251f6a4065
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove all OpenStack operations in vnf.py 07/52807/1
Cédric Ollivier [Wed, 28 Feb 2018 08:55:27 +0000 (09:55 +0100)]
Remove all OpenStack operations in vnf.py

Change-Id: I356305f3c59b51f97f5fb1335369834a77fda9b1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRename all Functest refs to Xtesting 05/52805/1
Cédric Ollivier [Wed, 28 Feb 2018 08:35:49 +0000 (09:35 +0100)]
Rename all Functest refs to Xtesting

It mainly renames python modules and then the related documentation
config files.

Change-Id: I186010bb88d3d39afe7b8fd1ebcef9c690cc1282
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoClean all OpenStack related modules 39/52739/1
Cédric Ollivier [Tue, 27 Feb 2018 13:25:49 +0000 (14:25 +0100)]
Clean all OpenStack related modules

Xtesting is only focused on the framework and entry points.

Change-Id: I1a4146ed8519438b13810a20ddf1140c35bb6ecd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Raise exceptions when SDN_CONTROLLER_IP is None"
Cedric Ollivier [Mon, 26 Feb 2018 16:50:45 +0000 (16:50 +0000)]
Merge "Raise exceptions when SDN_CONTROLLER_IP is None"

6 years agoMerge "Stop raising keystoneauth1 exceptions in odl unit tests"
Cedric Ollivier [Mon, 26 Feb 2018 16:50:36 +0000 (16:50 +0000)]
Merge "Stop raising keystoneauth1 exceptions in odl unit tests"

6 years agoMerge "Fix KeyError of OS_AUTH_URL"
valentin boucher [Mon, 26 Feb 2018 15:24:54 +0000 (15:24 +0000)]
Merge "Fix KeyError of OS_AUTH_URL"

6 years agoRaise exceptions when SDN_CONTROLLER_IP is None
Cédric Ollivier [Mon, 26 Feb 2018 10:52:15 +0000 (11:52 +0100)]
Raise exceptions when SDN_CONTROLLER_IP is None

Change-Id: Ia0d00a6b3c4c4936dc10602e838f507beea0c592
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoStop raising keystoneauth1 exceptions in odl unit tests
Cédric Ollivier [Mon, 26 Feb 2018 10:31:48 +0000 (11:31 +0100)]
Stop raising keystoneauth1 exceptions in odl unit tests

It simply raises Exceptions to avoid depending on keystoneauth1.
Snaps may also reraise another exception.

Change-Id: Ib3041b2d8ff51ee098f2bf0b9918079b7945abf3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove openstack utils
Cédric Ollivier [Mon, 26 Feb 2018 09:59:25 +0000 (10:59 +0100)]
Remove openstack utils

They have been obsolete since we fully switched to snaps.
The files are being moved to SDNVPN which is the last project using
them [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/52631/

Change-Id: I277b92a04cf6bc7b30015eed76f03f17830fad2b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix KeyError of OS_AUTH_URL
Linda Wang [Mon, 26 Feb 2018 07:18:11 +0000 (07:18 +0000)]
Fix KeyError of OS_AUTH_URL

Change-Id: Iaaa657ebb8ed017429b640ffaaf03b6d204e887a
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoSwitch to snaps in orchestra testcases
Cédric Ollivier [Mon, 26 Feb 2018 07:44:48 +0000 (08:44 +0100)]
Switch to snaps in orchestra testcases

It also stops using the floating ip in userdata to avoid a race
condition (all-in-one).

The DNS server is now configured by Neutron instead of the testcases.

Change-Id: I6efed71339d98403f7fd137ff50f1941b5b5a03c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix default identity version in conf_utils
Cédric Ollivier [Sun, 25 Feb 2018 14:01:27 +0000 (15:01 +0100)]
Fix default identity version in conf_utils

Change-Id: I2e78958b3c96b36a5fac636a1817424fb102afea
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSet Energy default values to None
Cédric Ollivier [Sat, 24 Feb 2018 16:04:16 +0000 (17:04 +0100)]
Set Energy default values to None

It conforms with the other default values.

Change-Id: Id46110c5aedf244f94e83b5b0389b135f075ffc8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoSwitch to $REPO in travis-ci jobs
Cédric Ollivier [Sat, 24 Feb 2018 15:21:02 +0000 (16:21 +0100)]
Switch to $REPO in travis-ci jobs

It conforms with "Use functest repo variable" [1]

[1] https://gerrit.opnfv.org/gerrit/#/c/52513/

Change-Id: I09b438d784fbeb5e3686b441e6944c87c0f88382
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoPrint env vars and env_file
Cédric Ollivier [Sat, 24 Feb 2018 10:41:33 +0000 (11:41 +0100)]
Print env vars and env_file

It simply eases detecting wrong inputs [1].

[1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/796/console

Change-Id: I0784c29265c69a6ba4a049226196bcdd70b0a572
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAutomatically download defcore.txt
Cédric Ollivier [Wed, 21 Feb 2018 09:01:30 +0000 (10:01 +0100)]
Automatically download defcore.txt

It stops writing files in Functest package dirs and cleans instance
variables in refstack modules too.

Change-Id: Iaddbe4fbaf12d1af207b86d4e44258efdc6d6f3a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUpdate Functest to meet last snaps updates
Cédric Ollivier [Sat, 24 Feb 2018 11:09:20 +0000 (12:09 +0100)]
Update Functest to meet last snaps updates

It removes obsolete mockey patches in Rally unit tests and adds
keystone client as params when needed in orchestra_*ims.py [1].

[1] https://gerrit.opnfv.org/gerrit/#/c/52473/

Change-Id: Id02954d16f5f54cc0c390fadb498e14c6bab6ff9
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Use functest repo variable"
Cedric Ollivier [Sat, 24 Feb 2018 11:41:11 +0000 (11:41 +0000)]
Merge "Use functest repo variable"