functest.git
6 years agoFix all rally requirements on-the-fly 55/40855/4
Cédric Ollivier [Fri, 1 Sep 2017 12:53:10 +0000 (14:53 +0200)]
Fix all rally requirements on-the-fly

Rally is released out of OpenStack releases and its requirements must
be modified before installing. Rally applies a similar solution for
gating [1].

[1] https://github.com/openstack/rally/blob/stable/0.9/tests/ci/sync_requirements.py

Change-Id: I3dfe69597e6ebecc5f07943658634ea94625294f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Remove tacker library from functest"
Morgan Richomme [Fri, 1 Sep 2017 12:02:17 +0000 (12:02 +0000)]
Merge "Remove tacker library from functest"

6 years agoMerge "Activate SFC testcases in CI"
Morgan Richomme [Fri, 1 Sep 2017 12:01:19 +0000 (12:01 +0000)]
Merge "Activate SFC testcases in CI"

6 years agoRemove tacker library from functest 21/40821/3
Manuel Buil [Fri, 1 Sep 2017 08:14:20 +0000 (10:14 +0200)]
Remove tacker library from functest

This library is moved to the SFC repo

https://gerrit.opnfv.org/gerrit/#/c/40265/2

Change-Id: I339337e4c2f17933a74bf85259e36f8f5742a17a
Signed-off-by: Manuel Buil <mbuil@suse.com>
6 years agoActivate SFC testcases in CI 15/40815/1
Manuel Buil [Fri, 1 Sep 2017 07:21:23 +0000 (09:21 +0200)]
Activate SFC testcases in CI

SFC project is ready to run its tests in CI

Change-Id: I337af8685d78e34af00eb86776bd3a44f423f2dd
Signed-off-by: Manuel Buil <mbuil@suse.com>
6 years agoMerge "Make the vnf images public"
Morgan Richomme [Thu, 31 Aug 2017 16:15:35 +0000 (16:15 +0000)]
Merge "Make the vnf images public"

6 years agoBlacklist CeilometerEvents tests 51/40751/1
Juha Kosonen [Thu, 31 Aug 2017 10:23:50 +0000 (13:23 +0300)]
Blacklist CeilometerEvents tests

Ceilometer Events API is deprecated and removed in ocata. Panko
provides the API but is not yet supported by OPNFV installers.

Change-Id: I4bf29ca9371fa87a43df3ce32ac206a5e9363468
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
6 years agoMerge "Allow building functest-vnf via build.sh"
Morgan Richomme [Wed, 30 Aug 2017 14:02:27 +0000 (14:02 +0000)]
Merge "Allow building functest-vnf via build.sh"

6 years agoAllow building functest-vnf via build.sh 91/40691/1
Cédric Ollivier [Wed, 30 Aug 2017 12:09:10 +0000 (14:09 +0200)]
Allow building functest-vnf via build.sh

Change-Id: I38c79028e642c6e3c8d64cc5eda1ead52983b12b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoRemove installer constraint on vyos_vrouter test case 85/40685/1
Morgan Richomme [Wed, 30 Aug 2017 09:36:52 +0000 (11:36 +0200)]
Remove installer constraint on vyos_vrouter test case

Change-Id: I44bdffc76fd2ee842c63b8fcddbe1696f23958a8
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoMake the vnf images public 79/40679/1
Alex Yang [Wed, 30 Aug 2017 09:06:59 +0000 (17:06 +0800)]
Make the vnf images public

Openims and clearwaterims use the same ubuntu image. If the image
was createed by the openims without 'public', clearwaterims won't
create it again but cannot use the image and report 'Not Found'
error [1].

Change-Id: Ib691af2992b1de2a13f54bfa46754afba6152fd9
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
6 years agoMerge "Fix securityscanning/config.ini path"
Cedric Ollivier [Wed, 30 Aug 2017 07:31:39 +0000 (07:31 +0000)]
Merge "Fix securityscanning/config.ini path"

6 years agoMerge "Put vnf_test pass if more than 80% of vnf test result are OK"
Cedric Ollivier [Tue, 29 Aug 2017 11:29:13 +0000 (11:29 +0000)]
Merge "Put vnf_test pass if more than 80% of vnf test result are OK"

6 years agoRevert cirros downloading urls to official ones 77/40577/1
Linda Wang [Tue, 29 Aug 2017 10:22:16 +0000 (10:22 +0000)]
Revert cirros downloading urls to official ones

Change-Id: If8add206b2c3274adfa3eac77607fb7beaa59941
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoPut vnf_test pass if more than 80% of vnf test result are OK 17/40017/4
boucherv [Wed, 23 Aug 2017 16:02:02 +0000 (18:02 +0200)]
Put vnf_test pass if more than 80% of vnf test result are OK

Change-Id: I1042176c587ef2bf1197c724cb5b1b6d67ffba3d
Signed-off-by: boucherv <valentin.boucher@orange.com>
6 years agoFix securityscanning/config.ini path 73/40573/1
Cédric Ollivier [Tue, 29 Aug 2017 09:53:00 +0000 (11:53 +0200)]
Fix securityscanning/config.ini path

Change-Id: If3af3e5b37995b581652e4bf8ae5c609f8fb5a3d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Refactor the vyos_vrouter to adopt VNF abstraction"
Morgan Richomme [Tue, 29 Aug 2017 07:42:08 +0000 (07:42 +0000)]
Merge "Refactor the vyos_vrouter to adopt VNF abstraction"

6 years agoRefactor the vyos_vrouter to adopt VNF abstraction 61/40261/9
Shuya Nakama [Fri, 25 Aug 2017 14:26:30 +0000 (14:26 +0000)]
Refactor the vyos_vrouter to adopt VNF abstraction

JIRA: FUNCTEST-788

1.Modifying code of vyos_vrouter to inherit vnf abstraction class.
2.Adding vyos_vrouter code from our repo to functest.
3.Adding unit test of vyos_vrouter.
4.Doing test of modified vyos_vrouter codes on our labs.

Change-Id: I77e4be8b2a140ea0176c607f2be736599f893ace
Signed-off-by: Shuya Nakama <shuya.nakama@okinawaopenlabs.org>
6 years agoRemove get_installer_type 53/40353/2
Linda Wang [Mon, 28 Aug 2017 08:26:08 +0000 (08:26 +0000)]
Remove get_installer_type

JIRA: FUNCTEST-763

Change-Id: Ib05f699063393eb6eaa9f559854aca50b77aead3
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "Clean repo: mano directory not used"
Cedric Ollivier [Tue, 29 Aug 2017 03:34:16 +0000 (03:34 +0000)]
Merge "Clean repo: mano directory not used"

6 years agoMerge "Obtain scenario by CONST instead of get function"
Cedric Ollivier [Mon, 28 Aug 2017 19:47:15 +0000 (19:47 +0000)]
Merge "Obtain scenario by CONST instead of get function"

6 years agoMerge "Avoid exiting when snapshot initialization failed"
Morgan Richomme [Mon, 28 Aug 2017 12:31:52 +0000 (12:31 +0000)]
Merge "Avoid exiting when snapshot initialization failed"

6 years agoTemporarily download cirros from artifacts 77/40377/2
Linda Wang [Mon, 28 Aug 2017 10:00:21 +0000 (10:00 +0000)]
Temporarily download cirros from artifacts

The domain download.cirros-cloud.net expired 2017-08-27, meaning
cirros image downloads fail, so change the download url to artifacts
temporarily.

Change-Id: I26e0723b5df1300c3869cc2f4cad138794c17e4b
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoAvoid exiting when snapshot initialization failed 47/40347/3
Linda Wang [Mon, 28 Aug 2017 08:05:29 +0000 (08:05 +0000)]
Avoid exiting when snapshot initialization failed

Change-Id: Ia8162d6c64847090d94f97fdab92cad2b5f059f1
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoClean repo: mano directory not used 79/40379/1
Morgan Richomme [Mon, 28 Aug 2017 10:10:29 +0000 (12:10 +0200)]
Clean repo: mano directory not used

Initially this folder was plan to perform tests on mano framework
Mano framework are integrated through vnf but there is no specific
mano suite to test mano framework

Change-Id: I636a228729d4140d69214dba98055eeb14419854
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoObtain scenario by CONST instead of get function 51/40351/1
Linda Wang [Mon, 28 Aug 2017 08:22:32 +0000 (08:22 +0000)]
Obtain scenario by CONST instead of get function

JIRA: FUNCTEST-763

Change-Id: Ic9fa3243b50a09de8a5e531fed8298997367dd84
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "Add log info of refstack tests into functest.log"
Morgan Richomme [Mon, 28 Aug 2017 07:11:41 +0000 (07:11 +0000)]
Merge "Add log info of refstack tests into functest.log"

6 years agoMerge "Remove Onos in Functest"
Morgan Richomme [Mon, 28 Aug 2017 07:06:09 +0000 (07:06 +0000)]
Merge "Remove Onos in Functest"

6 years agoAdd log info of refstack tests into functest.log 01/40301/1
Linda Wang [Sat, 26 Aug 2017 04:09:10 +0000 (04:09 +0000)]
Add log info of refstack tests into functest.log

Change-Id: I9edf555ba17b491768fbe298e65c3b11b341d76e
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "Get rid of tacker_client_install.sh"
Morgan Richomme [Fri, 25 Aug 2017 12:30:07 +0000 (12:30 +0000)]
Merge "Get rid of tacker_client_install.sh"

6 years agoMerge "Create API to get log for each task"
Morgan Richomme [Fri, 25 Aug 2017 12:14:44 +0000 (12:14 +0000)]
Merge "Create API to get log for each task"

6 years agoMerge "Create API to update hosts info"
Morgan Richomme [Fri, 25 Aug 2017 12:14:36 +0000 (12:14 +0000)]
Merge "Create API to update hosts info"

6 years agoGet rid of tacker_client_install.sh 41/40241/1
Cédric Ollivier [Fri, 25 Aug 2017 11:44:00 +0000 (13:44 +0200)]
Get rid of tacker_client_install.sh

It's removed from sfc tree to deploy the official version instead [1].

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

Change-Id: I84b2f8ce2842c5da2d0678e54129c632f4f476ac
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "download_images.sh: add --keep option to avoid redownloading images"
Cedric Ollivier [Fri, 25 Aug 2017 11:30:33 +0000 (11:30 +0000)]
Merge "download_images.sh: add --keep option to avoid redownloading images"

6 years agoRemove Onos in Functest 29/40229/1
Morgan Richomme [Fri, 25 Aug 2017 09:53:10 +0000 (11:53 +0200)]
Remove Onos in Functest

No feedback from onos projects for Euphrates for MS6

Change-Id: I8d295c65e4b621df87752e15b5f41e04a80b32ca
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agodownload_images.sh: add --keep option to avoid redownloading images 19/40219/1
Morgan Richomme [Fri, 25 Aug 2017 08:03:25 +0000 (10:03 +0200)]
download_images.sh: add --keep option to avoid redownloading images

Change-Id: Id25f1a354ffd067ba926dc67907b6ca913999437
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoUpdated sfc section in testcases 09/40209/1
Manuel Buil [Fri, 25 Aug 2017 07:27:45 +0000 (09:27 +0200)]
Updated sfc section in testcases

That section had an old scenario name which resulted in errors when sfc
functests tests needed to be executed

Change-Id: Ie35bb0d97c3d6cad6a97137355f146e8d20a40b9
Signed-off-by: Manuel Buil <mbuil@suse.com>
6 years agoMerge "Fix args parsing in run_tests"
Linda Wang [Fri, 25 Aug 2017 06:24:38 +0000 (06:24 +0000)]
Merge "Fix args parsing in run_tests"

6 years agoFix args parsing in run_tests 03/40203/2
Linda Wang [Fri, 25 Aug 2017 04:37:58 +0000 (04:37 +0000)]
Fix args parsing in run_tests

By default, 'report' and 'noclean' are both False, so
self.clean_flag shoule be True and self.report_flag
should be False.

Change-Id: I4935f70bd124fbb996dcaa73e01e0e61cd0184e1
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoFix the config of vping net 99/40199/1
Linda Wang [Fri, 25 Aug 2017 04:15:32 +0000 (04:15 +0000)]
Fix the config of vping net

Change-Id: I71cea850985c67cf4c4e42a29600f9d63291fc94
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoCreate API to update hosts info 03/39703/7
Linda Wang [Mon, 21 Aug 2017 03:24:28 +0000 (03:24 +0000)]
Create API to update hosts info

API: /api/v1/functest/envs/action
METHOD: POST
PARAMS:
{
    "action": "update_hosts",
    "args": {
            "identity.ac.dz.com": "8.20.11.22",
            "image.ac.dz.com": "8.20.11.22"
    }
}

JIRA: FUNCTEST-856

Change-Id: Ifaf064110ade6e39189dd14b38c921d9e1c3568d
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoCreate API to get log for each task 43/39843/3
Linda Wang [Tue, 22 Aug 2017 04:01:38 +0000 (04:01 +0000)]
Create API to get log for each task

API: /api/v1/functest/tasks/<task_id>/log
METHOD: GET

JIRA: FUNCTEST-867

Change-Id: I987cbf662e4da349bf7583e48da5d981a2f1e0fd
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "Obtain pod_name by CONST instead of get function"
Morgan Richomme [Thu, 24 Aug 2017 16:13:23 +0000 (16:13 +0000)]
Merge "Obtain pod_name by CONST instead of get function"

6 years agoMerge "Prevent KeyError during main args parsing"
Cedric Ollivier [Thu, 24 Aug 2017 15:50:59 +0000 (15:50 +0000)]
Merge "Prevent KeyError during main args parsing"

6 years agoMerge "Patch Read aarch64 architecture"
Morgan Richomme [Thu, 24 Aug 2017 15:43:01 +0000 (15:43 +0000)]
Merge "Patch Read aarch64 architecture"

6 years agoPatch Read aarch64 architecture 11/40111/1
Delia Popescu [Thu, 24 Aug 2017 15:05:47 +0000 (18:05 +0300)]
Patch Read aarch64 architecture

Architecture is exported as POD_ARCH

Change-Id: I62631c165d1805163204a83d6019a4a3b0000855
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
6 years agobug fix download_images.sh 09/40109/1
Morgan Richomme [Thu, 24 Aug 2017 14:54:42 +0000 (16:54 +0200)]
bug fix download_images.sh

when xz the downloaded file, if the uncompressed target file already exists
it exits with status 1 and breaks the gate

Change-Id: Ie97ff34e6522af48c799e7c8c97dc3310222e683
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoMerge "Add reporting results for Danube 3.0"
Morgan Richomme [Thu, 24 Aug 2017 14:44:29 +0000 (14:44 +0000)]
Merge "Add reporting results for Danube 3.0"

6 years agoMerge "Functest Doc: first update for Euphrates - move part of the dev group to the...
Morgan Richomme [Thu, 24 Aug 2017 14:26:51 +0000 (14:26 +0000)]
Merge "Functest Doc: first update for Euphrates - move part of the dev group to the testing document - move reporting into user guide - update logs - introduce alpine - introduce functest API - split documents per chapter"

6 years agoMerge "Added means to override the RC file credentials."
Linda Wang [Thu, 24 Aug 2017 14:23:39 +0000 (14:23 +0000)]
Merge "Added means to override the RC file credentials."

6 years agoMerge "Fix the tempest error when creating snapshot"
Cedric Ollivier [Thu, 24 Aug 2017 13:19:11 +0000 (13:19 +0000)]
Merge "Fix the tempest error when creating snapshot"

6 years agoFix the tempest error when creating snapshot 55/40055/7
Linda Wang [Thu, 24 Aug 2017 03:17:35 +0000 (03:17 +0000)]
Fix the tempest error when creating snapshot

Change-Id: I9682f174a835d2bdf1ef3da01e369037e5ad7247
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoPrevent KeyError during main args parsing 79/40079/1
Martin Kulhavy [Thu, 24 Aug 2017 10:26:13 +0000 (13:26 +0300)]
Prevent KeyError during main args parsing

Change-Id: Ia340c79c82b891e921379c7c0186eaa238117b13
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
6 years agoMerge "Add Rally scenarios for telemetry"
Morgan Richomme [Thu, 24 Aug 2017 09:31:11 +0000 (09:31 +0000)]
Merge "Add Rally scenarios for telemetry"

6 years agoAdd Rally scenarios for telemetry 99/37499/5
Martin Kulhavy [Fri, 14 Jul 2017 10:11:31 +0000 (13:11 +0300)]
Add Rally scenarios for telemetry

Ceilometer scenarios were added.

Reasons for testcase blacklisting:
- Deprecated ceilometer client used by Rally. This depends on the
  confuguration of the system, currently it seems to affect all
  installers.
- A bug in ceilometer client (already fixed and merged in OpenStack
  repository).

JIRA: FUNCTEST-849

Change-Id: I0bd7e1e9817538165b7b9705bcec213d7d275359
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
6 years agoEnsure that aarch64 patch can be applied 75/39975/4
Cédric Ollivier [Wed, 23 Aug 2017 10:03:51 +0000 (12:03 +0200)]
Ensure that aarch64 patch can be applied

It simply creates a new testenv.

Change-Id: I2675d1b3240a59fa985bd91f979efe1896c3d605
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix aarch64 patch 97/39797/7
Cédric Ollivier [Mon, 21 Aug 2017 14:44:06 +0000 (16:44 +0200)]
Fix aarch64 patch

Change-Id: I7915f5f82184b431510d7a2fc8945355fa63ec0c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoDownload images from marketplace.openbaton.org:8082 27/40027/1
Cédric Ollivier [Wed, 23 Aug 2017 18:20:44 +0000 (20:20 +0200)]
Download images from marketplace.openbaton.org:8082

LF admins opened port 8082.

Change-Id: I57a2beff32f0a346855968c4229dae4487ccbd85
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Refactor resource creation and cleanup in Tempest"
Morgan Richomme [Wed, 23 Aug 2017 16:24:56 +0000 (16:24 +0000)]
Merge "Refactor resource creation and cleanup in Tempest"

6 years agoMerge "Updating the constrains for the Barometer test-suite"
Cedric Ollivier [Wed, 23 Aug 2017 15:57:25 +0000 (15:57 +0000)]
Merge "Updating the constrains for the Barometer test-suite"

6 years agoMerge "AArch64: SNAPS: CentOS, Ubuntu image config"
Cedric Ollivier [Wed, 23 Aug 2017 15:45:51 +0000 (15:45 +0000)]
Merge "AArch64: SNAPS: CentOS, Ubuntu image config"

6 years agoRefactor resource creation and cleanup in Tempest 01/38001/10
Martin Kulhavy [Mon, 24 Jul 2017 13:16:33 +0000 (16:16 +0300)]
Refactor resource creation and cleanup in Tempest

Use Snaps to create resources before running a testcase and to clean up
afterwards.
Use Tempest Cleanup utility to clean other resources.

Change-Id: Ic0f69d3bafb60dfb283d18ac507e9f5992e9ae38
Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
6 years agoMerge "Read aarch64 architecture"
Cedric Ollivier [Wed, 23 Aug 2017 13:32:58 +0000 (13:32 +0000)]
Merge "Read aarch64 architecture"

6 years agoRead aarch64 architecture 91/39991/1
Delia Popescu [Wed, 23 Aug 2017 12:50:53 +0000 (15:50 +0300)]
Read aarch64 architecture

Read aarch64 architecture from env variable exported
by changes from patch https://gerrit.opnfv.org/gerrit/#/c/38689/

Change-Id: If0fc94e8fe67871b94934c305c019b57872ecb07
Signed-off-by: Delia Popescu <delia.popescu@enea.com>
6 years agoMerge "Fixes image download script"
Morgan Richomme [Wed, 23 Aug 2017 12:39:36 +0000 (12:39 +0000)]
Merge "Fixes image download script"

6 years agoMerge "Complete caching images for vnf testcases"
Morgan Richomme [Wed, 23 Aug 2017 12:09:29 +0000 (12:09 +0000)]
Merge "Complete caching images for vnf testcases"

6 years agoAArch64: SNAPS: CentOS, Ubuntu image config 05/39505/6
Catalina Focsa [Thu, 17 Aug 2017 12:57:58 +0000 (14:57 +0200)]
AArch64: SNAPS: CentOS, Ubuntu image config

Change-Id: I8cbbfda7dd4089c122af4e0a459f4c03c1a3bb3a
Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
6 years agoMerge "Add the skipped testcases into details"
Cedric Ollivier [Wed, 23 Aug 2017 09:28:59 +0000 (09:28 +0000)]
Merge "Add the skipped testcases into details"

6 years agoMerge "Specify physical_network when creating network"
Cedric Ollivier [Wed, 23 Aug 2017 09:25:18 +0000 (09:25 +0000)]
Merge "Specify physical_network when creating network"

6 years agoFixes image download script 07/39907/2
Tim Rozet [Tue, 22 Aug 2017 19:16:56 +0000 (15:16 -0400)]
Fixes image download script

Fixes Include:
 - Fix previous behavior where multiple copies of the same file would be
   downloaded as blah.qcow.1, blah.qcow.2 and not overwrite original
   file.
 - Fix issue where files were always downloaded, even when they were not
   different from server version.

It temporarily stops downloading from marketplace.openbaton.org:8082
which is blocked by LF firewalls.
wget options are tuned to avoid wasting jjobs time.

Change-Id: I9191847a3f80045329c160e86655cc0a0e80831c
Signed-off-by: Tim Rozet <trozet@redhat.com>
6 years agoMerge "Config test_accounts_file for refstack_defcore"
Cedric Ollivier [Wed, 23 Aug 2017 08:46:40 +0000 (08:46 +0000)]
Merge "Config test_accounts_file for refstack_defcore"

6 years agoComplete caching images for vnf testcases 15/39915/2
Cédric Ollivier [Tue, 22 Aug 2017 20:53:57 +0000 (22:53 +0200)]
Complete caching images for vnf testcases

It conforms with snaps API for publishing local images.
It completes [1] which only modifies the yaml files.

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

Change-Id: I325a245c0e7bb15bb1f9570996500573cfe257b0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoUse dnsmasq to cache DNS queries 73/39873/4
Cédric Ollivier [Tue, 22 Aug 2017 13:01:10 +0000 (15:01 +0200)]
Use dnsmasq to cache DNS queries

It's mandatory for clearwater_ims as musl's resolver queries
nameservers all in parallel and accepts whichever response arrives
first [1].

[1] http://wiki.musl-libc.org/wiki/Functional_differences_from_glibc#Name_Resolver_.2F_DNS

Change-Id: I01a17436279a0be2fac1b27b73052edc594c33e0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Allow caching images for vnf testcases."
valentin boucher [Tue, 22 Aug 2017 14:00:25 +0000 (14:00 +0000)]
Merge "Allow caching images for vnf testcases."

6 years agoMerge "Give a list of links to wget"
valentin boucher [Tue, 22 Aug 2017 13:59:19 +0000 (13:59 +0000)]
Merge "Give a list of links to wget"

6 years agoFunctest Doc: first update for Euphrates 37/39437/11
Morgan Richomme [Wed, 16 Aug 2017 14:38:23 +0000 (16:38 +0200)]
Functest Doc: first update for Euphrates
- move part of the dev group to the testing document
- move reporting into user guide
- update logs
- introduce alpine
- introduce functest API
- split documents per chapter

Change-Id: I08268091ce50309e891a648333da2054e902bcea
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoConfig test_accounts_file for refstack_defcore 67/39867/3
Linda Wang [Tue, 22 Aug 2017 11:38:58 +0000 (11:38 +0000)]
Config test_accounts_file for refstack_defcore

Tenant and user are required by refstack_defcore, which could
be configured in the test_accounts_file. [1]

[1]: https://github.com/openstack/refstack-client/blob/master/refstack_client/refstack_client.py#L170-L193

Change-Id: I9c920b6f15f491d671ebf222976305bedf4dd747
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "Euphrates cleaning: remove any reference to aaa vnf"
Cedric Ollivier [Tue, 22 Aug 2017 06:32:13 +0000 (06:32 +0000)]
Merge "Euphrates cleaning: remove any reference to aaa vnf"

6 years agoSpecify physical_network when creating network 81/39481/3
Linda Wang [Thu, 17 Aug 2017 08:01:55 +0000 (08:01 +0000)]
Specify physical_network when creating network

When the network_type is vlan, it is necessary to specify
physical_network and segmentation_id.

JIRA: FUNCTEST-863

Change-Id: Ia1acb0181e4f78654ecf5500c4c0366b143a91f5
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoAdd the skipped testcases into details 37/39837/1
Linda Wang [Tue, 22 Aug 2017 02:19:31 +0000 (02:19 +0000)]
Add the skipped testcases into details

When running tempest_custom, if all tests are skipped, record them
in details.

Change-Id: Ie18ec0911ff298f91c524a9cd039929c2d0f6425
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoMerge "Create API to update openrc"
Linda Wang [Mon, 21 Aug 2017 14:36:49 +0000 (14:36 +0000)]
Merge "Create API to update openrc"

6 years agoMerge "Create API to run a test case"
Linda Wang [Mon, 21 Aug 2017 14:36:22 +0000 (14:36 +0000)]
Merge "Create API to run a test case"

6 years agoMerge "Specify valid external network as an env"
Linda Wang [Mon, 21 Aug 2017 14:35:19 +0000 (14:35 +0000)]
Merge "Specify valid external network as an env"

6 years agoAdded means to override the RC file credentials. 51/36751/5
spisarski [Thu, 29 Jun 2017 20:31:08 +0000 (14:31 -0600)]
Added means to override the RC file credentials.

This has been done primarily to support tests using SNAPS-OO

JIRA: FUNCTEST-847

Change-Id: Icf02c085a95c20d4088e5aafd6380c70689a4ee0
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
6 years agoEuphrates cleaning: remove any reference to aaa vnf 85/39785/1
Morgan Richomme [Mon, 21 Aug 2017 13:46:58 +0000 (15:46 +0200)]
Euphrates cleaning: remove any reference to aaa vnf

aaa vnf was created in Danube to illustrate the vnf abstraction
as real implementations are now available and nobody really
implements a real aaa test case, it is better to remove any reference
to aaa vnf

Note modification on the documentation will be done accordingly

Change-Id: Iab6d96c955a6a7dc178588592382e42d68ec604c
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoAllow caching images for vnf testcases. 57/39757/2
Cédric Ollivier [Mon, 21 Aug 2017 12:47:59 +0000 (14:47 +0200)]
Allow caching images for vnf testcases.

Change-Id: Ib9b8cc46600bfd29e2ae5f56e995397477cb4ad6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoGive a list of links to wget 55/39755/1
Cédric Ollivier [Mon, 21 Aug 2017 12:42:37 +0000 (14:42 +0200)]
Give a list of links to wget

Now download_images.sh simply relies on wget -i.
It downloads all requirements as the biggest ones are mandatory or
scenario independent (VNF)

The offical ubuntu-16.04-server-cloudimg-amd64-disk1.img is
selected instead of the one hosting by OPNFV SDNVPN.

Change-Id: Ica566bb351f22dfba001678fe93b8a2b1523941a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Remove opera testcase as Opera is inactive"
Morgan Richomme [Mon, 21 Aug 2017 12:21:06 +0000 (12:21 +0000)]
Merge "Remove opera testcase as Opera is inactive"

6 years agoMerge "Remove the tenant and user created for tempest"
Cedric Ollivier [Mon, 21 Aug 2017 11:25:45 +0000 (11:25 +0000)]
Merge "Remove the tenant and user created for tempest"

6 years agoRemove opera testcase as Opera is inactive 25/39725/2
Cédric Ollivier [Mon, 21 Aug 2017 08:11:12 +0000 (10:11 +0200)]
Remove opera testcase as Opera is inactive

testcases.yaml is updated as well.

Change-Id: I88b3a51a732496899f6825fd38137bcf7e6a8caa
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
6 years agoCreate API to run a test case 65/39565/2
Linda Wang [Fri, 18 Aug 2017 06:09:56 +0000 (06:09 +0000)]
Create API to run a test case

Two APIs are created here:
1. Run a test case
2. Get the result of the task id

JIRA: FUNCTEST-853

Change-Id: I12950933b143b82fb6aeb186ea1b35ddd16e6097
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoComplete the container opnfv-vnf 71/39671/1
Cédric Ollivier [Sat, 19 Aug 2017 20:03:12 +0000 (22:03 +0200)]
Complete the container opnfv-vnf

It adds the following testcases:
  - aaa
  - orchestra_openims
  - orchestra_clearwaterims

opera_vims is not yet integrated as it depends on Opera [1] and its
package must be fixed before being installed in Functest [2].

vyos_vrouter will be added when a package is available for installing
opnfv-functest-vrouter [3].

[1] https://wiki.opnfv.org/display/OPERA/Opera+Home
[2] https://git.opnfv.org/opera/tree/requirements.txt
[3] https://github.com/oolorg/opnfv-functest-vrouter

Change-Id: Iccd4626ec29c1e9eb1c2accc81fdf1a9ae1e613f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoFix ci_loop conditions for vnf 69/39669/1
Cédric Ollivier [Sun, 20 Aug 2017 08:28:37 +0000 (10:28 +0200)]
Fix ci_loop conditions for vnf

Weekly jobs should run all tests (vnf included).

Change-Id: I25b43654d48e9ae5df5c18fd565423a310d4c68b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoAllow defining CI_LOOP via env 67/39667/1
Cédric Ollivier [Sun, 20 Aug 2017 07:25:32 +0000 (09:25 +0200)]
Allow defining CI_LOOP via env

CI_LOOP is more human-readable than BUILD_TAG and could be set by env.
Weekly is still the default value even if it can be considered than
daily is more relevant.

Change-Id: Ia8e370fe0f967ba2c83d0212f8e045d815b4ddb3
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Integrate cloudify_ims in functest-features"
Cedric Ollivier [Sun, 20 Aug 2017 10:22:08 +0000 (10:22 +0000)]
Merge "Integrate cloudify_ims in functest-features"

6 years agoUpdating the constrains for the Barometer test-suite 17/39617/3
Calin Gherghe [Fri, 18 Aug 2017 18:39:11 +0000 (18:39 +0000)]
Updating the constrains for the Barometer test-suite

The patch switches the tests for Apex, which is the only Installer
supported by the Barometer project for the OPNFV Euphrates Release.

Change-Id: Ic064a41402bc4f27280f8d5e408d59ad41f888bc
Signed-off-by: Calin Gherghe <calin.gherghe@intel.com>
6 years agoCreate API to update openrc 71/39571/6
Linda Wang [Fri, 18 Aug 2017 07:08:12 +0000 (07:08 +0000)]
Create API to update openrc

API: /api/v1/functest/openstack/action
METHOD: POST
PARAMS:
{
    "action": "update_openrc",
    "args": {
         "openrc": {
             "OS_AUTH_URL": "http://192.168.30.222:5000/v3",
             "OS_IDENTITY_API_VERSION": "3",
             "OS_IMAGE_API_VERSION": "2",
             "OS_PASSWORD": "console",
             "OS_PROJECT_DOMAIN_NAME": "default",
             "OS_PROJECT_NAME": "admin",
             "OS_TENANT_NAME": "admin",
             "OS_USERNAME": "admin",
             "OS_USER_DOMAIN_NAME": "default"
         }
    }
}

JIRA: FUNCTEST-855

Change-Id: I7c935483c264f2b1b47239684392c8a37dc23d26
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoRemove the tenant and user created for tempest 87/39487/3
Linda Wang [Thu, 17 Aug 2017 09:40:56 +0000 (09:40 +0000)]
Remove the tenant and user created for tempest

According to the module [1] in tempest to parse tempest.conf,
the three params in session idenity are invalid:

[identity]
tenant_name = tempest
username = tempest
password = Tempest123!

Then there is no need to create tenant and user before running
tempest and refstack_defcore.

[1]: https://github.com/openstack/tempest/blob/14.0.0/tempest/config.py#L120

JIRA: FUNCTEST-864

Change-Id: Idac46e1e620324c584c8021c0bdf843f8823155a
Signed-off-by: Linda Wang <wangwulin@huawei.com>
6 years agoIntegrate cloudify_ims in functest-features 47/39047/4
Cédric Ollivier [Mon, 7 Aug 2017 18:27:29 +0000 (20:27 +0200)]
Integrate cloudify_ims in functest-features

We only rely on system libraries in case of Alpine.
It's not possible in case of Ubuntu 14.04 because libxml is too old.

Change-Id: I304f8ea5e9a6541e9719210db9d07949107bf193
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
6 years agoMerge "Fix summary in run_tests.py"
Cedric Ollivier [Fri, 18 Aug 2017 12:44:09 +0000 (12:44 +0000)]
Merge "Fix summary in run_tests.py"