aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-07-15TypoCédric Ollivier1-1/+1
Change-Id: I55064f83d2a97eaae2a2861d4451ae34e547c40c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-15Include neutron_tempest_plugin in tempest-[smoke,full]Cédric Ollivier3-6/+8
Change-Id: I19f9a6ff2f76a4684bf341b2f22ffc4d09dca1cc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-15Leverage on Xtesting 0.53Cédric Ollivier1-1/+1
It allows dynamically skipping test cases. Change-Id: Ida82e76478316fce61dd59dd206e1c03943b084a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-14Set swift_operator_role if requiredCédric Ollivier2-1/+26
Apex creates member as default role which conflicts with the default swift_operator_role [1]. It detects the default role in lowercase as well and write it in rally.conf if required. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-virtual-suite-master/116/console Change-Id: Ic4dc98c793207fc32ff35852472742c92db6699c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-14Temporarily disable HOT including OS::Nova::FloatingIPAssociationCédric Ollivier1-11/+13
Change-Id: I31b76c5b3604845367c10f6e5d55c415042f6d47 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-13Fix components and vnf testcase dependenciesCédric Ollivier2-16/+4
It completes "Leverage to Xtesting 0.51" [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/59755/ Change-Id: Id36f1d84c305829d14e069b6ec5d056256f42fe1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-13Force new project.id when creating new usersCédric Ollivier1-0/+2
Else it raises side effects when both project.id and project.name are defined (see Apex [1]) [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/148/console Change-Id: I98665ed55a55fdd02e25d8ad17b78d84548b0ec8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-12Leverage to Xtesting 0.51Cédric Ollivier5-165/+29
It removes ci_loop which has been useless from Docker slicing. It can filter now on any env var (e.g. CI_LOOP if required by XCI). Change-Id: Ibd685edf4636bd251c85466e8b4febcd1e20d312 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-12Protect vs former interface formatCédric Ollivier2-4/+15
Compass still set publicURL [1] [1] https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-fraser/lastFailedBuild/consoleFull Change-Id: I88c6ca336a7017f97f4c07719156e567d1afb9df Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-12Handle certificate in shaker.pyCédric Ollivier1-1/+7
http://artifacts.opnfv.org/logs/functest/huawei-virtual2/2018-07-11_18-47-21/functest.log Change-Id: I9049a06031db2335410828ecb30e763077360bc3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-12Avoid duplicating tempest section in rally.confCédric Ollivier1-1/+2
Change-Id: I79598cce2c7dfe0a2e969ddd32735c3eb189fa7a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-11Reuse the right detected role nameCédric Ollivier1-4/+8
It completes "Try to get Member or member role" [1][2]. [1] https://gerrit.opnfv.org/gerrit/#/c/59661/ [2] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/144/console Change-Id: Ib38b513906b08d6f85834e03f5415e83b66b733b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-11Add tempest section in rally.confCédric Ollivier1-0/+1
It completes the previous patch [1][2]. [1] https://gerrit.opnfv.org/gerrit/#/c/59681/ [2] https://build.opnfv.org/ci/view/functest/job/functest-compass-virtual-daily-master/555/console Change-Id: I93ad9db2c7a8a0691fed8bf58f5e21d8f3dc9c57 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-11Clean all possible resourcesCédric Ollivier9-35/+64
It checks all openstack resources before cleaning. It allows removing images even if the test fail quickly. Change-Id: I1763b8a70fa7ffeb03c435e8e775c7afd1a7adac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-11Check the status of inherited stepsCédric Ollivier5-6/+15
Change-Id: If63c228f2844194279b560515f4ab24a4ee88be0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-11Force result = 0 if exceptionCédric Ollivier2-0/+2
self.result can be positive due to intermediary steps (scenarios). Else it can return false positives [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-virtual-suite-master/113/console Change-Id: Iecadee7f7380fda5273a0668aff1b441647c45aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-11Merge "Update rally image name regex"Cedric Ollivier2-1/+13
2018-07-11Merge "Print all debug messages in a second file"Cedric Ollivier1-8/+8
2018-07-11Update rally image name regexCédric Ollivier2-1/+13
The default value doesn't conform with our image names. Else it downloads the image from internet which may be not possible (offline testing, proxy or deployment l3 issues [1]) [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-virtual-suite-master/113/console Change-Id: I7d951967784d591e7155fe8582299aaa9b680b10 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-11Print all debug messages in a second fileCédric Ollivier1-8/+8
All modules are allowed to print in functest.debug.log. Change-Id: I9c0be258dba985c9d3171bc2d324464e41e1c584 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-11Run script only if volume device is foundDelia Popescu2-2/+2
Add back volume device name search on instance. If vol is not attached script should not run. In the current state, if volume is not found, write_data returns positive result and read_data cannot find any new file Change-Id: Ifaa8af1e6d5c66f5ac776c83bebde526e77a9fd8 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-07-11Try to get Member or member roleCédric Ollivier1-1/+4
Keystone roles are case insensitive and Apex declares member which couldn't be detected. Then conflict occured when creating the mandatory role [1]. It now searches the default role in lower case too. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/141/console Change-Id: I687ecfe768ab4717fdb42a135c4bf9b76733ffd9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-10Merge "Define one logger per key module"Cedric Ollivier1-3/+69
2018-07-10Force region to RegionOne if OS_REGION_NAME is unsetCédric Ollivier4-7/+11
tempest still selects the first one if unset [1]. JIRA: FUNCTEST-990 [1] https://docs.openstack.org/tempest/latest/sampleconf.html Change-Id: I238d47173c2c4aa1db694028e4d44b80b0e280f1 Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
2018-07-10Merge "1) Cleanup floating IPs that are assigned through Juju Deployment. 2) ↵Cedric Ollivier1-10/+64
Add SCTP rule explicitly to the retrieved Security Group."
2018-07-10Define one logger per key moduleCédric Ollivier1-3/+69
Snaps is printing lots of error messages which makes user confused. It will decrease the size of functest.log. Change-Id: I2c7d8ec968350563fbfbd62dcc2fc39b13b39a78 Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
2018-07-10Publish cloudify scenarioCédric Ollivier3-0/+103
It eases deploying any vnf via Cloudify. It also stops duplicating code between vims and vrouter. Co-Authored-By: Valentin Boucher <valentin.boucher@kontron.com> Change-Id: I5fe06d91804f4781f6b1301da12862bac793ffbb Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
2018-07-09Force public identity endpoint in ShakerCédric Ollivier1-1/+1
It conforms with our VNFs by calling public endpoints (from VM). It fixes by design the issues when testing Compass [1] due to export OS_INTERFACE=publicURL [1] https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-master/180/consoleFull Change-Id: Iea15506ba5910879d05e61cfd20da2c0878e569b Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
2018-07-09Merge "Refactor tempest common"Cedric Ollivier16-423/+96
2018-07-09Add Vmtp as a new testcaseCédric Ollivier10-5/+304
VMTP is a small python application that will automatically perform ping connectivity, round trip time measurement (latency) and TCP/UDP throughput. JIRA: FUNCTEST-980 Change-Id: I8e94fc52a429f505ac14e14bbb9d0a3b20996ba4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-08Refactor tempest commonCédric Ollivier16-423/+96
It also renames two testcases and updates all docs because tests run in parallel in case of tempest smoke. To force one thread as before: run: module: 'functest.opnfv_tests.openstack.tempest.tempest' class: 'TempestCommon' args: mode: '^tempest\.(api|scenario).*\[.*\bsmoke\b.*\]$' option: - '--concurrency=1' JIRA: FUNCTEST-989 Change-Id: I1348f5908400a5046be8edf983db4afa12e546c3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-08Merge "Cover vping_ssh"Cedric Ollivier3-2/+125
2018-07-08Temporarily disable Snaps CreateRouterSuccessTestsCédric Ollivier1-7/+10
The test could be falsy regarding the possible external network configs [1]. This patch will be reverted as soon as the bug is closed [2]. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-fraser/246/console [2] https://jira.opnfv.org/browse/SNAPS-320 Change-Id: I680656b300f0d669e8d96bec6c94a4a804ebbecb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-07Cover vping_sshCédric Ollivier3-2/+125
Change-Id: I37c52057a45d76e081a1a0145baee96041ca25a5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-06Fix delete_keypair argCédric Ollivier2-2/+4
It uses keypair name instead of id as expected by Shade. It also increases timers as it boots an ubuntu VM. Change-Id: I8cd131e7c7a94c8f6b0fcc54a4d75ef8af31b807 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-05Set timeout for create, attach and detach volumeDelia Popescu1-4/+9
Without timeout for volume opperations the testcase will fail only after functest timeout Change-Id: I669c7933846574c09fc7db06a2a2ce7d101a44f5 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-07-04Install Robot dependencies in healthcheckCédric Ollivier3-6/+15
old testcase moved to opnfv/functest-healthcheck. Change-Id: If8e8fc7d8bc9c97602c05e5a4c048461351cc97e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-03Merge "Revert "Disable all new testcases for MS3.1""valentin boucher2-20/+20
2018-07-031) Cleanup floating IPs that are assigned through Juju Deployment.soumaya1-10/+64
2) Add SCTP rule explicitly to the retrieved Security Group. Change-Id: I38e5b1267dbcdcf8e5aadb3c06dd784044e774d4 Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
2018-07-03Revert "Disable all new testcases for MS3.1"Cédric Ollivier2-20/+20
This reverts commit 0ff1a51fa53cb74f7a671edc3f1502838294d5c9. Change-Id: I1ff9cb23978cbfcec6a3284654aaf6b153214a19 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-02Merge "Inherit rally from VmReady1"Cedric Ollivier10-376/+150
2018-07-01Create Member role if requiredCédric Ollivier1-1/+11
It seems there is no common role configuration between OPNFV installers. Then it creates/removes the expected role if required. Change-Id: I38a92e2522a401f46a59813b9e9443a11d6c7060 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-30Inherit rally from VmReady1Cédric Ollivier10-376/+150
It also fixes clean(). Change-Id: I42d1305d5cdb5a717cfa7fce26798ac7102310f7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-29Merge "Remove floating ip of second instance in cinder testcase"Cedric Ollivier1-1/+1
2018-06-29Remove floating ip of second instance in cinder testcaseDelia Popescu1-1/+1
Change-Id: I30e30f1d35bb83984b63d7308331fc7bfee53955 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-06-29Update patches for all tests based on scenariosCédric Ollivier1-0/+60
Change-Id: Iff7fd8e6c14bdfb67ae146c5be1e073673a951d8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-28Get aarch64 image metadata for cinder and vping testcaseDelia Popescu1-0/+24
Image metadata for cinder and vping tests is no longer set for ARM Change-Id: I2ab8e6ce55c6e619b96e49ecec7afe727a902345 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-06-27Merge "Modify config_patch.yaml according to the new snaps config"Cedric Ollivier1-0/+4
2018-06-27Modify config_patch.yaml according to the new snaps configCédric Ollivier1-0/+4
It allows verifying ovs scenarios via snaps. JIRA: FUNCTEST-984 Change-Id: I0fedadc0b9e265c424ae3221469b8d28b9a68afa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-26Merge "Take shaker arm64 image into account"Cedric Ollivier2-0/+9