aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/shaker
AgeCommit message (Collapse)AuthorFilesLines
2019-10-08Count all hypervisors by defaultCédric Ollivier1-1/+1
If one hypervisor is down, few tempest test fails. User is free to set SKIP_DOWN_HYPERVISORS if it's down on purpose. Change-Id: I7b6a4d0d8f67755d8c1550fd1bc6fd707634f68b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-10-04Update Shaker image (1.3.0 + Debian Stretch)Cédric Ollivier1-2/+2
It udates Shaker to 1.3.0 and switches to Debian Stretch as base image. It also eases debugging as ssh basic auth is enabled (shaker/shaker). The arm image has to be built before enabling the testcase for arm. Change-Id: I894bae86c7e8f7cafbba2b4e00e3334afed0b6e2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-10-02Ease debugging ShakerCédric Ollivier1-1/+1
It turns Shaker debug on to ease troubleshooting it. Change-Id: I7f24a8d3776742d569d2d47a60d6985584514014 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-09-30Count all active hypervisorsCédric Ollivier1-1/+1
Else tempest_slow fails if one hypervisor is down (detected in ONAP Openlab). It also improves Shaker, Rally and Vmtp which count them. Change-Id: Iee7c20e0357d9237501c5c451580d8f6409ac86b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-09-19Remove any cores quota in tempest_scenario and shakerCédric Ollivier1-1/+3
Both can reach the default limit if lots of computes available. Co-Authored-By: Vincent Huet <vincent.huet@orange.com> Change-Id: Ifd8a1080a08f55bf4b0efe1858e79fa4aff75895 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-09-15Add punctuations in password generatorCédric Ollivier1-1/+1
It adds a subset of string.punctuation to conform with a few password rules (see ONAP Openlab). Change-Id: I7751031bcb9b908d4162d70f8acaa4bdc87e3c79 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-06-20Remove quota about instances in shakerCédric Ollivier1-0/+4
The default quota could be inadequate if lots of computes. Change-Id: I510d3ebd14c2a910b7be2bacc0b99d3059a7a881 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-25Set utf-8 in decode and encode callsCédric Ollivier1-2/+2
It eases backporting in iruya and hunter as a few logs can't be decoded as ascii [1]. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-iruya-juju_epc-run/56/console Change-Id: I52a6f9a25130cbf62e8ce3b9972064ab73177665 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-24Decode Bytes in logging callsCédric Ollivier1-2/+2
It fixes a few incorrect types in log calls [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-latest-daily/163/ Change-Id: I01790f6454694f434d31366f9c1cf9d98ff5a9cf Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
2019-03-21Set ext net and name server in Shaker templatesCédric Ollivier1-3/+5
It sets the shaker args to override ext net and name servers [1]. [1] https://pyshaker.readthedocs.io/en/latest/tools.html Change-Id: I1cc6d52837e3c370db5ff59f024e96d7423be63a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-11Check if at least 2 hypervisors (Shaker)Cédric Ollivier1-0/+6
Shaker is now skipped if only one hypervisor. Change-Id: Ib3f803ab61e66e0daba0622ead0c1bf0905d0cce Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-04Protect vs OS_ENDPOINT_TYPE in shakerCédric Ollivier1-0/+1
Else a conflict can occur between OS_INTERFACE and OS_ENDPOINT_TYPE. Change-Id: I3e0237857f95e506706fb852889308ea82e41e84 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-09Add timeout when running shakerCédric Ollivier1-2/+3
Else shaker may run until job timeout if deployment misconfigurations [1] [1] https://jira.opnfv.org/browse/FUNCTEST-998 JIRA: FUNCTEST-998 Change-Id: I948ff8ffeeccdab637927614193d2c2ef03fe5c8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-02Upgrade Shaker create_server timeoutCédric Ollivier1-0/+1
It ends after a little bit more than 3 minutes in Apex [1]. It increases to 5 minutes like Cloudify. [1] http://artifacts.opnfv.org/logs/functest/lf-pod1/2018-07-30_11-30-01/functest.log Change-Id: I8362034107e694ddd5a1e4a1f9e11362100d7cb0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-31Switch create_server timeout to default valueCédric Ollivier1-1/+0
60s was successfully reached when running all containers (3 containers * 3 branches) in parallel. It also removes the wait attribute (the current impl will meet a possible next asynchronous design) which is useless here. For the time being, only cloudify needs an extra timeout. Change-Id: Ic7741b4c1a3223be076fb69ef70a3cb6c05456c2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-24Protect vs OS_TENANT_NAME or _ID in shakerCédric Ollivier1-1/+4
It fixes the possible mismatch if both OS_TENANT and OS_PROJECT are set [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/lastFailedBuild/console Change-Id: I66b6e3cf30a34aff1234da00cdd6b40da92089e5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-23Detect admin or Admin roleCédric Ollivier1-1/+7
As Keystone roles are case insensitive, Admin is checked as well. Change-Id: I28a611add7890c3188a289d1e24c043d88c34ea1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-23Create heat_stack_owner if requiredCédric Ollivier1-0/+11
It allows testing OpenStack Queens and older [1]. It will be improved in a second change for latest OpenStack releases (if deprecated). [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/174/console Change-Id: I6e91e8c45d335aa606370c35b0a03b990e22c165 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-20Increase create server timeout for shaker testDelia Popescu1-1/+1
Change-Id: Ie0fdfd2bbd93952bcd35a30c96b7980ffeb0d87c Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-07-18Increase timeout when creating serversCédric Ollivier1-0/+1
It takes times to prepare disk on compute nodes (spawning). The default value is enough for all cirros VMs but it has to be increased for all cloudify VMs (4.1G). Change-Id: I3f1fc0142a73c586e9219a2718bfc467cc48e275 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-17Leverage cloudify_ims on CloudifyCédric Ollivier1-5/+1
It also defines 2 new methods to avoid duplicating code: - TenantNetwork1.get_public_auth_url() - VmReady1.publish_image_alt() Shaker and Tempest are updated as well. Change-Id: Ie9095c57c580b95f067d5a8275ad71818b4df335 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-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-06Fix delete_keypair argCédric Ollivier1-0/+1
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-06-24Force the use of public endpoints in shaker.pyCédric Ollivier1-7/+31
It now leverages on the new user created and gets the public endpoint. Change-Id: Iead106e614a73708cb13e33b49a2f438766a3056 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-24Improve scenarios to reduce duplicate codesCédric Ollivier1-11/+5
Change-Id: I71f79b9ac8314ac979d4b1009f662baa7c93a4fd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-22Update tempest to inherit from VmReady1Cédric Ollivier1-0/+1
It also copies tempest.conf due to side effects raised by Barbican plugins. Change-Id: Ie87680f5d2e68527a5a61aac302838afc339dde8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-21Integrate Shaker as a new testcaseCédric Ollivier2-0/+78
Shaker wraps around popular system network testing tools like iperf, iperf3 and netperf (with help of flent). Change-Id: Idd82ffd9642c90335ad156e899c0330473260f15 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>