aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-10-13Update python dirs in docsCédric Ollivier2-10/+10
Iruya is now leveraging on python3.6. Change-Id: Id855f2a803e6da0175505d6216b325fa71fb156d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-10-13Updates all testcases and their resultsCédric Ollivier3-96/+111
Change-Id: I127146b4d6face1b6221e049636a29e601415fd8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 37251af62ca89b55f09dfd6ddce15ee179c580f3)
2019-10-13Add octavia in ansible/site.ymlCédric Ollivier1-0/+1
Change-Id: I6df86fe5f9bd63062d488fbc33aaa063a64f4180 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-10-13Add Octavia testingCédric Ollivier4-2/+47
It integrates Octavia Tempest Plugin. The new testcase octavia currently covers API only [1]. [1] https://logs.opendev.org/46/674846/2/check/octavia-v2-dsvm-noop-api/fe37c58/testr_results.html.gz Change-Id: I2a11a19aa0c43701499dc9e17bd69b9387b53b58 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d625e90014e192c142e4fb97bbc781a4c6589aa5)
2019-10-11Leverage on Rally task tagsCédric Ollivier2-32/+33
It avoids parsing rally task outputs which may hang (subprocess communicate) as seen in rally_full and rally_jobs. It simply selects test names as tags. Change-Id: I88b54a8f155e557f8a606fdbd7d86c1f4d5dae3b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 74df72ec294998787a8f0af5e2084db91ba0778b)
2019-10-08Count all hypervisors by defaultCédric Ollivier7-6/+16
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> (cherry picked from commit 7332716dc835cd72b0beefc38afda2697bd99e02)
2019-10-04Update Shaker image (1.3.0 + Debian Stretch)Cédric Ollivier4-7/+5
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> (cherry picked from commit 574243656df6acae28094c62f33410ef1fc3e7b5)
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> (cherry picked from commit 8c65928cc7346af2d6cd00a3aa9924ce6d158c83)
2019-10-01Merge "Count all active hypervisors" into stable/iruyaCedric Ollivier6-7/+14
2019-09-30Count all active hypervisorsCédric Ollivier6-7/+14
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> (cherry picked from commit 22b37f0482f84fc935ae9ece3c9722098c0573bc)
2019-09-29List services via OS_INTERFACE in RallyCédric Ollivier1-1/+2
Rally now leverages on list_services as proposed in utils [1] [1] https://git.opnfv.org/functest/commit/?id=0837a745c81ed2a6e7df097f60d227d5997c805e Change-Id: Ib17f9b530c2933d4a49eb5b744c2ae80b24ad560 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9d839eb3a0109609513c23f9362573ae3aed0904)
2019-09-28Fix falsy linksCédric Ollivier1-2/+2
It completes the previous commit "Allow getting service via any endpoint" [1]. [1] https://gerrit.opnfv.org/gerrit/c/functest/+/68542 Change-Id: Ib396ed75e2385f99bce51e09d37f7f05808b5b5e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 07f4468978fdc43d7a9885f6e4efa87b5e83d2a9)
2019-09-28Allow getting service via any endpointCédric Ollivier6-10/+55
It overrides the default implementation provided by Shade. Change-Id: I3ad2f8ba543be4483f108c4bd7765018dddc5b19 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0837a745c81ed2a6e7df097f60d227d5997c805e)
2019-09-22Swith to coreutils timeoutCédric Ollivier2-8/+8
juju is not correctly stopped when no internet. Change-Id: Id06c6e829ab8a992107f655aac6ec4539e292d82 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-09-20Merge "Print OpenStack version in connection_check" into stable/iruyaJuha Kosonen1-0/+2
2019-09-20Print OpenStack version in connection_checkCédric Ollivier1-0/+2
Functest is becoming very used and sometimes vs older OpenStack releases (ONAP Openlab). It will ease debugging and easily find backward incompatibilities. Even if that value could be checked for OPNFV Release Management, testing older SUT is not considered as false from a Functest statepoint. Change-Id: Idd782cc98ec4d36f726e233fc5d011308e9d6b71 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3cec072a2fdd7d814e8597d363f417e01df89ef8)
2019-09-19Remove any cores quota in tempest_scenario and shakerCédric Ollivier2-2/+6
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> (cherry picked from commit 48c819f97d53b558e7be02f7f0eb5b2f72cabcac)
2019-09-17Add tempest_slow in ansible/site.ymlCédric Ollivier1-0/+1
Change-Id: Ie7212e9d4e666db3f8af200d9d7092141416c928 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-09-15Add punctuations in password generatorCédric Ollivier2-2/+4
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> (cherry picked from commit cf052c809b027d6167c93399715bcd330cc0782c)
2019-09-14Merge "Harden OS_ env vars for VMTP" into stable/iruyaCedric Ollivier1-0/+2
2019-09-14Harden OS_ env vars for VMTPCédric Ollivier1-0/+2
VMTP doesn't take into account domain ids and then forces the use of domain names (detected when verifying ONAP Openlab). It prints the next warnings and then fails. 2019-09-14 08:43:50,162 WARNING OS_PROJECT_DOMAIN_NAME is missing 2019-09-14 08:43:50,162 WARNING OS_USER_DOMAIN_NAME is missing Change-Id: I283d86ac0d96071480eefb571da9f2ff92705b08 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d0ce372aeae75c099ade1b742b2bbd826ddb0380)
2019-09-14Select python 3.6 as defaultCédric Ollivier29-91/+79
It switches to Python3 as default due to new OPNFV iruya release date (December) which is very closed to Python2 EOL. Functest Iruya (first release published in April) has supported both Python2 and Python3. Change-Id: I4c1294a5361e591fc7a8a88b3d067fc3b39e00c4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-09-14Remove any instance quota in tempest_scenarioCédric Ollivier4-2/+15
The next testcase can reach the default limit if lots of computes available [1]. tempest.scenario.test_server_multinode.TestServerMultinode.test_schedule_to_all_nodes [1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-smoke-hunter-tempest_scenario-run-325/results/tempest_scenario/test_raw_list.txt Change-Id: Ibf68e2a367199afee3f6198ebf683be6cd938d94 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bbe8c3e48543eca31493cf33b02e1d9a48de2280)
2019-09-12Allow skipping list_servicesCédric Ollivier2-8/+17
Shade forces the use of admin endpoints when listing services [1]. A new env var is added to allow running Functest when only public endpoints are reachable (e.g. testing from a VM as proposed for ONAP integration). It seems the best approach as list_services provides key data and we do avoid blocking requests. It seems easier and more generic than listing all calls in testcases.yaml. [1] https://github.com/openstack/shade/blob/master/shade/openstackcloud.py#L9956 Change-Id: Idcbe5d364f4230ffe1da34e7da0e99e863f15c5e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f3072c8b1f32feacc9785165477efee9a328eb2e)
2019-09-07Blacklist boot_and_associate_floating_ip if no floating ipCédric Ollivier1-0/+1
Change-Id: Id907abff44490a57e8ec2cdb00396d9e4b422815 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 48a9f1d3ad295d30c8e80a1117830da4bdc57420)
2019-09-07Blacklist create_and_delete_stack if no floating ipCédric Ollivier1-0/+1
One HeatStacks.create_and_delete_stack call asks for floating_network. Change-Id: I75d01b4ecb1f484eac3af6efc53cf4a94206b158 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9ceacae40f638695472d5c6dadf3ae2c3521bd81)
2019-09-05Prevent occasional rally hangsJuha Kosonen1-7/+20
Set timeout on subprocess invocation instead of spawned child process. Increase the timeout value for rally_full to 2h since the execution typically takes ~90min [1]. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-benchmarking-latest-rally_full-run/22/ Change-Id: I0ca90bc2d85b4625336eb0396d8b2816a486b746 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2019-08-31Remove Features containersCédric Ollivier15-458/+6
Most the features are stopped and Functest shouldn't host dead code. Functest is a framework (Docker and Python modules) which can be still reused by any third-party (OPNFV Feature or anything else) in its tree and CI. Change-Id: Ia8475ce295b2cdcddbfcfc5b17ea2ab9e51a8afb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ae4dc14668405c57c56b4984b3ec815ec32764ac)
2019-08-29Add tempest slowCédric Ollivier2-0/+34
It conforms with tempest-slow-py3 executed in Neutron Gates [1]. [1] https://logs.opendev.org/68/672568/6/check/tempest-slow-py3/49fece6/testr_results.html.gz Change-Id: I0c1c6f7be38c9fcdd1a32e5cfa2bc4d8414885e0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bbe35dc42e442fa2669a24e7927d389188e42b4c)
2019-08-27Merge "Protect vs rally infine loop" into stable/iruyaCedric Ollivier1-2/+6
2019-08-27Merge "Support regex in tempest blacklist" into stable/iruyaCedric Ollivier1-5/+4
2019-08-27Protect vs rally infine loopCédric Ollivier1-2/+6
It calls timeout (1 hour) to stop any hanging task [1]. It will be backported to Hunter and Iruya if similar failures are detected. It occurs vs Iruya too [2]. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-benchmarking-latest-rally_full-run/9/console [2] https://build.opnfv.org/ci/job/functest-opnfv-functest-benchmarking-iruya-rally_jobs-run/151/console Change-Id: I8fe89f9fa1c6c39cd8810096c1d586bdef7865a0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit fc5acf5d25f61487947df08477b9f239f40e486d)
2019-08-26Support regex in tempest blacklistJuha Kosonen1-5/+4
The expression both in the test cases as well as applicable scenarios support regex in blacklist. Change-Id: Id76297a1cfbf908bda67641bc7ba686db83d76e6 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2019-08-26Switch to the classical ping (iputils)Cédric Ollivier1-1/+1
Ping provided by busybox doesn't support -M (pmtudisc_opt) which is asked by [1] (part of tempest_slow). [1] tempest.scenario.test_network_basic_ops.TestNetworkBasicOps.test_mtu_sized_frames Change-Id: I75340f239ae372b56cffe9c30c6242878c06ef74 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4ba4fac64df972d805bf7e88e9b5a987724e2aa9)
2019-08-22Conforms with latest changes in Xtesting ansible role.Cédric Ollivier1-0/+2
It selects the generic way to set execution-type [1]. [1] https://github.com/collivier/ansible-role-xtesting/commit/292ab576fb8f0a13519bacc5ec46561a3ed8f838 Change-Id: I75e57f05d99381c9d0608aa4a88f0b12d9b6a9cf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c9c61b560d88b929de3457276a6372583c45f924)
2019-08-18Clean orphan security groupsCédric Ollivier2-1/+23
It removes all security groups which are not owned by a project. This approach seems suitable as it works even if dynamic accounts (tempest and rally). All other OpenStack resources are still removed by the underlying framework. It lists all orphan security groups in use as debug to avoid misunderstanding the testcase results (it could happen if cloud admin removes accounts without cleaning the virtual machines). Change-Id: I033d96e077b4277d59233a3de4ca6d41ed91f743 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1e36927d4f17775c3f3ca3201b36e153ff9fd0da)
2019-08-17Fix last redirects in docsCédric Ollivier5-6/+6
It takes into account last warnings from Sphinx linkcheck. Change-Id: I6927c4cac910cff9f2c25d0009d5052556483cf3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0690a7975a4ceacea91898cef626fae5330f1ada)
2019-08-17Allow rally_jobs without external networkCédric Ollivier1-0/+3
rally_jobs can verify network providers by skipping: - NeutronNetworks.create_and_delete_floating_ips - NeutronNetworks.create_and_list_floating_ips - NeutronNetworks.associate_and_dissociate_floating_ips Co-Authored-By: Juha Kosonen <juha.kosonen@nokia.com> Change-Id: Ibda66e47f4d1101b53435ef4cd144dacbabff165 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0dfe9d377b0170b74455129222f12ff1ccb99814) (cherry picked from commit 54b3752cb07cbebe06988673bd4a71d375cc499a)
2019-08-17Fix rally task file manipulationJuha Kosonen1-11/+11
Remove empty workload entries when applying blacklist in RallyJobs. Rally considers task file as invalid if it contains entries whose workload list empty. Change-Id: I34867c0aeea9c5ecf1294959d680e6de535be9cd Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 60c021dffb4297abd4810c4ceb4c2c4d9d07b619)
2019-08-17Pin sphinx===1.7.6Cédric Ollivier1-0/+1
Else linkcheck fails when processing Rebaca url [1] [1] https://build.opnfv.org/ci/job/functest-verify-unit-tests-and-docs-iruya/151/console Change-Id: Ia1054820ee61a495648dd34df5f79e470e44595d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-08-10Run Functest unit tests and linters via CircleCICédric Ollivier1-0/+26
It runs tox and publishes 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 Change-Id: I48720f4f13dd1a93469b042000dd86a01854d8f0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 17fd4cc911eca9d289fc481ee7a615299f17415a)
2019-08-03Increase verify venv list in travis-ciCédric Ollivier1-1/+3
It cannot run perm due to the false umask in travis-ci [1]. [1] https://travis-ci.community/t/file-permissions-just-gone-up-to-664/1547/4 Change-Id: I788d846b1737cdff49959376e5bc92d8d1c4c970 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 2d11bc6f387552f95127a6a92a38df11f658597c)
2019-08-03Run perm when checking all changesCédric Ollivier1-1/+1
It should be forbidden in releng jjbs if still needed. Change-Id: I7622f43603d41bb169d8a1341a38ed2d451459b2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7c88b0f951fc7b7818594f563112a379704e0879)
2019-07-27Select the latest tempest versionCédric Ollivier6-6/+6
It selects the first release including our fixes. Change-Id: I553abc2df3c6adc727a24b9a27a7737f78fa3f5e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-27Add proxy in cloudify_imsThierry ALLENO1-2/+10
Add http-proxy configuration for pip in cloudify_ims testcase. Correct some errors. Change-Id: If502e4054098a39982435326f04d9274e4c66a98 Signed-off-by: Thierry ALLENO <thierry.alleno@orange.com>
2019-07-27Enable py36 unit testsCédric Ollivier7-68/+73
It benefits from the swith to lf-virtual1. Change-Id: Ib38bf0adb09df62173894d048fb06c48b3a4b462 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-21Conform with new ODL urlsCédric Ollivier1-1/+1
It now clones https://git.opendaylight.org/gerrit/integration/test Change-Id: Icff918305de1092cf6e985490188d409178273e1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ccaa81668ae3b084056789b187de5c794beeec4a)
2019-07-11Reuse same cidr in jujuCédric Ollivier1-1/+1
It seems fine with latest juju updates and eases setting no_proxy rules. Change-Id: I30e66568ec7339fc038b27e5ca47b26959842bf8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-07-11Allow scenarios without external networkCédric Ollivier3-2/+13
It allows creating testcases leveraging on Functest scenarios without external network. Then Rally can verify network providers by only skipping NovaServers.boot_server_associate_and_dissociate_floating_ip Change-Id: I07a9348214f7557195c7201466f7e37b2b980206 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a30e0c35f248cc9225e628e3a64723b2184d6087)
2019-07-10set proxies in ubuntu for juju_epc use caseThierry ALLENO1-12/+66
Modification in add_proxy.sh in order to set proxy for juju_epc in various middleware(maven, subversion,...). And add some control for modification of cloudify container. Remove some trailing lines and define http_proxy using http_proxy_host and http_proxy_port. Change-Id: I9d85387f107b1b050ee96bf0ee6df9ba662b0df4 Signed-off-by: Thierry ALLENO <thierry.alleno@orange.com> (cherry picked from commit 16bd94efa559df105c28b90c891c84088b0c651e)