Cédric Ollivier [Sat, 2 Nov 2019 20:45:58 +0000 (21:45 +0100)]
Update xtesting to 0.80.0
It allows publishing the artifacts via Xtesting.
It's required by the new Xtesting Ansible role [1].
[1] https://github.com/collivier/ansible-role-xtesting/commit/
8c62525bb0d0b5f8dcc2c4436711d5d075de8811
Change-Id: I832e5e19467c7fd86a46574448faad4d6f2d4c0d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
d0ee068c6e1c4a6e0a52156143a04feb6f9a78cb)
Cédric Ollivier [Sat, 2 Nov 2019 21:22:39 +0000 (22:22 +0100)]
Pin sphinxcontrib-spelling (4.2.1)
Change-Id: I7587caf387c4fefbf382e56a3246fe1929854ed2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 26 Oct 2019 16:14:47 +0000 (18:14 +0200)]
Add keystone-tempest-plugin
It adds tempest_keystone which runs the tests proposed by
keystone-tempest-plugin [1].
[1] https://opendev.org/openstack/keystone-tempest-plugin
Change-Id: I83db584c37fe63a549ccf396b03e034778254b3a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
22ec0c1008b81f368476d8cea84117a93d15dab2)
Cédric Ollivier [Sat, 26 Oct 2019 16:00:54 +0000 (18:00 +0200)]
Add cinder-tempest-plugin
It adds tempest_cinder which runs the tests proposed by
cinder-tempest-plugin [1]. test_incremental_backup is disabled because
it currently fails vs Functest SUT (under analysis).
[1] https://opendev.org/openstack/cinder-tempest-plugin
Change-Id: I85b255eb05b9ab1c74c3829148da5230d6c7647e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
e46aa41172fa1bf63364505fbbf922323788ac98)
Cédric Ollivier [Sat, 26 Oct 2019 13:30:28 +0000 (15:30 +0200)]
Add healthcheck Horizon tests
It runs TestDashboardBasicOps as proposed by tempest-horizon [1].
It's skipped if DASHBOARD_URL is unset (default).
[1] https://opendev.org/openstack/tempest-horizon
Change-Id: I1b6b5609412770609f412da4927641588b173ed6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
7b03643170974d4307e0f630e4c79340df98e06f)
Cédric Ollivier [Sat, 26 Oct 2019 10:30:51 +0000 (12:30 +0200)]
Add spelling exceptions (travis-ci)
This words seem fine but it enforces the verification in travis-ci [1].
[1] https://travis-ci.org/collivier/functest/jobs/
603020830
Change-Id: I44b8db5e63668899a27480a7f7da5d48f9f41f21
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
66631dfdbc2fcacc7a397ecaa6bcac9937177808)
Cédric Ollivier [Sat, 26 Oct 2019 07:46:10 +0000 (09:46 +0200)]
Update RefStack lists to 2019.06
Change-Id: I9d3abc3996857d8905007640250b94025735809c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
de7a2d821890f8bf1c5a9215def91ee136e867e4)
Cédric Ollivier [Wed, 23 Oct 2019 17:50:41 +0000 (19:50 +0200)]
Allow checking Tests count
It meets CNTT requirements (verifying conformance with a reference
implementation) and may protect vs synchronization issues (see gambia
refstack_defcore).
Change-Id: I842bc4ed91eec6bc545c489e3686d0d41dae7b44
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
7c67624b8ee7f7a9a7fb36bb25e9881a63c982d4)
Cédric Ollivier [Wed, 23 Oct 2019 11:56:32 +0000 (13:56 +0200)]
Allow blacklisting tests if public endpoint only
It allows reusing the blacklisting system if only public endpoints are
reachable (ONAP Openlab testing). It contains a first list of
tempest-based tests which force the use of admin endpoints.
Change-Id: Ic1ab07dec3ae1f2a0ca50b80e08cd0ac396f2e56
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
9679178a1f99b38264a2afb56097700bef34868a)
Cédric Ollivier [Thu, 24 Oct 2019 21:33:44 +0000 (23:33 +0200)]
Add neutron_plugin_options section in tempest.conf
It avoids skipping the next 2 tests [1]:
neutron_tempest_plugin.api.admin.test_agent_availability_zone.AgentAvailabilityZoneTestCase.test_agents_availability_zone
neutron_tempest_plugin.api.admin.test_networks.NetworksTestAdmin.test_create_tenant_network_vxlan
[1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-smoke-latest-neutron-tempest-plugin-api-run-498/results/neutron-tempest-plugin-api/tempest-report.html
Change-Id: I83f3f44302336045e47514e0aa0b67737161f0e1
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
1e33a4884e3b7e49b2d4ae3725fe60b6fcfd5607)
Cédric Ollivier [Sat, 19 Oct 2019 19:05:05 +0000 (21:05 +0200)]
Update Flake8
It avoids the next incompatibility:
ERROR: flake8 2.5.5 has requirement mccabe<0.5,>=0.2.1, but you'll have mccabe 0.6.1 which is incompatible.
Change-Id: Ic3bb14b032adfee64109549abc0a09d8cc86968f
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
4d98d29002bf3ce61e1671db0b35c9046e2fbd8b)
Cédric Ollivier [Sat, 19 Oct 2019 18:47:33 +0000 (20:47 +0200)]
Remove lfreleng docs
Its output may has never been used and it's obsolete:
ERROR: lfdocs-conf 0.3.1 has requirement more-itertools~=5.0.0, but you'll have more-itertools 7.2.0 which is incompatible.
ERROR: lfdocs-conf 0.3.1 has requirement Sphinx~=1.8.5, but you'll have sphinx 2.2.0 which is incompatible.
Change-Id: Id5d24b94f6cdbbb93be8dbb18cde1a7fc9db6a42
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
7ac977b6eaf9e3d3c79b47aa3fc36d291cb423b7)
Cédric Ollivier [Thu, 17 Oct 2019 18:53:04 +0000 (20:53 +0200)]
Check spelling in rst files
It fixes a few typos too and installs enchant in TravisCI and CircleCI
jobs.
Change-Id: Id5dbf5f926edc8b0b4e4337d11bf63e21ea7e173
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
83aa78773dd0fea7064b8fa9676c44c061dc5e66)
Cédric Ollivier [Sun, 13 Oct 2019 14:13:51 +0000 (16:13 +0200)]
Update Functest release notes
Change-Id: Icf24ce6ca10c45587ec82278130f9adbe385599b
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 13 Oct 2019 13:35:38 +0000 (15:35 +0200)]
Update python dirs in docs
Iruya is now leveraging on python3.6.
Change-Id: Id855f2a803e6da0175505d6216b325fa71fb156d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 13 Oct 2019 12:43:16 +0000 (14:43 +0200)]
Updates all testcases and their results
Change-Id: I127146b4d6face1b6221e049636a29e601415fd8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
37251af62ca89b55f09dfd6ddce15ee179c580f3)
Cédric Ollivier [Sun, 13 Oct 2019 10:09:06 +0000 (12:09 +0200)]
Add octavia in ansible/site.yml
Change-Id: I6df86fe5f9bd63062d488fbc33aaa063a64f4180
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 25 Aug 2019 19:32:34 +0000 (21:32 +0200)]
Add Octavia testing
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)
Cédric Ollivier [Fri, 11 Oct 2019 08:44:25 +0000 (10:44 +0200)]
Leverage on Rally task tags
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)
Cédric Ollivier [Sun, 6 Oct 2019 18:43:02 +0000 (20:43 +0200)]
Count all hypervisors by default
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)
Cédric Ollivier [Fri, 4 Oct 2019 21:52:03 +0000 (23:52 +0200)]
Update Shaker image (1.3.0 + Debian Stretch)
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)
Cédric Ollivier [Wed, 2 Oct 2019 03:13:08 +0000 (05:13 +0200)]
Ease debugging Shaker
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)
Cedric Ollivier [Tue, 1 Oct 2019 08:40:17 +0000 (08:40 +0000)]
Merge "Count all active hypervisors" into stable/iruya
Cédric Ollivier [Mon, 30 Sep 2019 15:26:05 +0000 (17:26 +0200)]
Count all active hypervisors
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)
Cédric Ollivier [Sun, 29 Sep 2019 14:48:14 +0000 (16:48 +0200)]
List services via OS_INTERFACE in Rally
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)
Cédric Ollivier [Sat, 28 Sep 2019 11:14:00 +0000 (13:14 +0200)]
Fix falsy links
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)
Cédric Ollivier [Thu, 26 Sep 2019 15:29:32 +0000 (17:29 +0200)]
Allow getting service via any endpoint
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)
Cédric Ollivier [Sun, 22 Sep 2019 18:37:01 +0000 (20:37 +0200)]
Swith to coreutils timeout
juju is not correctly stopped when no internet.
Change-Id: Id06c6e829ab8a992107f655aac6ec4539e292d82
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Juha Kosonen [Fri, 20 Sep 2019 05:48:50 +0000 (05:48 +0000)]
Merge "Print OpenStack version in connection_check" into stable/iruya
Cédric Ollivier [Fri, 20 Sep 2019 03:01:52 +0000 (05:01 +0200)]
Print OpenStack version in connection_check
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)
Cédric Ollivier [Thu, 19 Sep 2019 11:20:01 +0000 (13:20 +0200)]
Remove any cores quota in tempest_scenario and shaker
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)
Cédric Ollivier [Tue, 17 Sep 2019 19:06:16 +0000 (21:06 +0200)]
Add tempest_slow in ansible/site.yml
Change-Id: Ie7212e9d4e666db3f8af200d9d7092141416c928
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 14 Sep 2019 09:55:58 +0000 (11:55 +0200)]
Add punctuations in password generator
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)
Cedric Ollivier [Sat, 14 Sep 2019 18:47:55 +0000 (18:47 +0000)]
Merge "Harden OS_ env vars for VMTP" into stable/iruya
Cédric Ollivier [Sat, 14 Sep 2019 09:06:21 +0000 (11:06 +0200)]
Harden OS_ env vars for VMTP
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)
Cédric Ollivier [Thu, 12 Sep 2019 08:22:49 +0000 (10:22 +0200)]
Select python 3.6 as default
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>
Cédric Ollivier [Sat, 14 Sep 2019 07:44:27 +0000 (09:44 +0200)]
Remove any instance quota in tempest_scenario
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)
Cédric Ollivier [Thu, 12 Sep 2019 09:15:06 +0000 (11:15 +0200)]
Allow skipping list_services
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)
Cédric Ollivier [Sat, 7 Sep 2019 20:30:57 +0000 (22:30 +0200)]
Blacklist boot_and_associate_floating_ip if no floating ip
Change-Id: Id907abff44490a57e8ec2cdb00396d9e4b422815
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
48a9f1d3ad295d30c8e80a1117830da4bdc57420)
Cédric Ollivier [Sat, 7 Sep 2019 16:29:36 +0000 (18:29 +0200)]
Blacklist create_and_delete_stack if no floating ip
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)
Juha Kosonen [Wed, 4 Sep 2019 12:21:00 +0000 (15:21 +0300)]
Prevent occasional rally hangs
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>
Cédric Ollivier [Sat, 31 Aug 2019 08:56:23 +0000 (10:56 +0200)]
Remove Features containers
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)
Cédric Ollivier [Mon, 26 Aug 2019 21:25:15 +0000 (23:25 +0200)]
Add tempest slow
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)
Cedric Ollivier [Tue, 27 Aug 2019 19:02:58 +0000 (19:02 +0000)]
Merge "Protect vs rally infine loop" into stable/iruya
Cedric Ollivier [Tue, 27 Aug 2019 14:42:10 +0000 (14:42 +0000)]
Merge "Support regex in tempest blacklist" into stable/iruya
Cédric Ollivier [Thu, 22 Aug 2019 14:35:10 +0000 (16:35 +0200)]
Protect vs rally infine loop
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)
Juha Kosonen [Mon, 26 Aug 2019 10:28:41 +0000 (13:28 +0300)]
Support regex in tempest blacklist
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>
Cédric Ollivier [Mon, 26 Aug 2019 20:14:02 +0000 (22:14 +0200)]
Switch to the classical ping (iputils)
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)
Cédric Ollivier [Thu, 22 Aug 2019 11:16:54 +0000 (13:16 +0200)]
Conforms with latest changes in Xtesting ansible role.
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)
Cédric Ollivier [Sun, 18 Aug 2019 14:12:37 +0000 (16:12 +0200)]
Clean orphan security groups
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)
Cédric Ollivier [Sat, 17 Aug 2019 09:37:57 +0000 (11:37 +0200)]
Fix last redirects in docs
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)
Cédric Ollivier [Fri, 16 Aug 2019 19:36:14 +0000 (21:36 +0200)]
Allow rally_jobs without external network
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)
Juha Kosonen [Thu, 15 Aug 2019 13:15:21 +0000 (16:15 +0300)]
Fix rally task file manipulation
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)
Cédric Ollivier [Sat, 17 Aug 2019 09:56:10 +0000 (11:56 +0200)]
Pin sphinx===1.7.6
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>
Cédric Ollivier [Sat, 10 Aug 2019 13:21:38 +0000 (15:21 +0200)]
Run Functest unit tests and linters via CircleCI
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)
Cédric Ollivier [Sat, 3 Aug 2019 11:38:24 +0000 (13:38 +0200)]
Increase verify venv list in travis-ci
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)
Cédric Ollivier [Sat, 3 Aug 2019 11:02:05 +0000 (13:02 +0200)]
Run perm when checking all changes
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)
Cédric Ollivier [Sat, 27 Jul 2019 19:16:22 +0000 (21:16 +0200)]
Select the latest tempest version
It selects the first release including our fixes.
Change-Id: I553abc2df3c6adc727a24b9a27a7737f78fa3f5e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Thierry ALLENO [Wed, 24 Jul 2019 09:42:31 +0000 (11:42 +0200)]
Add proxy in cloudify_ims
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>
Cédric Ollivier [Sat, 27 Jul 2019 10:16:24 +0000 (12:16 +0200)]
Enable py36 unit tests
It benefits from the swith to lf-virtual1.
Change-Id: Ib38bf0adb09df62173894d048fb06c48b3a4b462
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 21 Jul 2019 13:34:44 +0000 (15:34 +0200)]
Conform with new ODL urls
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)
Cédric Ollivier [Thu, 11 Jul 2019 12:32:26 +0000 (14:32 +0200)]
Reuse same cidr in juju
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>
Cédric Ollivier [Wed, 10 Jul 2019 20:13:37 +0000 (22:13 +0200)]
Allow scenarios without external network
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)
Thierry ALLENO [Fri, 5 Jul 2019 14:42:11 +0000 (16:42 +0200)]
set proxies in ubuntu for juju_epc use case
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)
Cédric Ollivier [Tue, 2 Jul 2019 17:50:57 +0000 (19:50 +0200)]
Update python versions and testcase list in docs
Change-Id: I0ed395c39dd7e0ad1bf0f5d181fe6c2c397809e4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Fri, 28 Jun 2019 13:34:27 +0000 (15:34 +0200)]
Add Barbican scenario in Rally
It doesn't run BarbicanSecrets.create_symmetric_and_delete which is
currently failing [1].
Barbican testing is optional as Gnocchi.
[1] https://bugs.launchpad.net/rally/+bug/
1819285
Change-Id: I9121ce3c9f29ba05069c905325327d4c4d0b9e71
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
902b70b40e61a2afe4d92ba7759a33f1306d54ca)
Cédric Ollivier [Fri, 28 Jun 2019 14:05:22 +0000 (16:05 +0200)]
Update Rally packages
It now selects releases instead of a commit id.
Change-Id: I45d438674baf1c7de00748b81e6dc9024ee28840
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cedric Ollivier [Sat, 29 Jun 2019 10:09:47 +0000 (10:09 +0000)]
Merge "Add swift scenario in rally" into stable/iruya
Cédric Ollivier [Fri, 28 Jun 2019 09:31:45 +0000 (11:31 +0200)]
Add swift scenario in rally
As for refstack_object, it forces swift in SUT.
Role is hardcoded to admin as for a few Neutron tests.
Change-Id: I0ae823fc8f31016d37831a82f7a50e92b2ed5f58
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
72a238d63d6e2e15eb74d02c3030663404c3872c)
Cedric Ollivier [Wed, 26 Jun 2019 12:51:17 +0000 (12:51 +0000)]
Merge "Add warning messages in vyos_vrouter" into stable/iruya
Juha Kosonen [Wed, 26 Jun 2019 06:31:57 +0000 (06:31 +0000)]
Merge "Set proxies in Cloudify container" into stable/iruya
Juha Kosonen [Wed, 26 Jun 2019 06:27:32 +0000 (06:27 +0000)]
Merge "Fix link in docs (E2 Testing in Kubernetes)" into stable/iruya
Cédric Ollivier [Mon, 24 Jun 2019 15:24:54 +0000 (17:24 +0200)]
Add warning messages in vyos_vrouter
Both Cloudify based testcases print the same warning messages if
NEW_USER_ROLE is admin. An additional whitespace is removed too.
Change-Id: Idf2a2ea4373efdc579f0ac3e0a69ec08a7fbf105
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
b95cdce13a8c51f285e285a3c4332cf1732abadb)
Cédric Ollivier [Mon, 24 Jun 2019 15:21:29 +0000 (17:21 +0200)]
Set proxies in Cloudify container
add_proxy.sh now modifies Cloudify containers to allow proxies.
It follows "Update and enable Cloudify-based testcases" [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/66909/
Co-Authored-By: Thierry ALLENO <thierry.alleno@orange.com>
Change-Id: I54cfcd73685695c5f66f24acd32f126786acf48e
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
f246dd3889df5302756c9c73d70b346695aca146)
Cédric Ollivier [Tue, 25 Jun 2019 13:54:21 +0000 (15:54 +0200)]
Fix link in docs (E2 Testing in Kubernetes)
It conforms with "Cleanup tombstone files in community/devel" [1] and
fixes the gates [2]
[1] https://github.com/kubernetes/community/commit/
4bb72158434b2d29094b06af4c9bda284e5417fd
[2] https://build.opnfv.org/ci/job/functest-verify-iruya/111/
Change-Id: I052bdac9a43a346ce07f93d8183f53767c757930
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
655020449ba281dce52821cd36f5dd01bffebee9)
Cédric Ollivier [Thu, 20 Jun 2019 08:17:36 +0000 (10:17 +0200)]
Remove quota about instances in shaker
The default quota could be inadequate if lots of computes.
Change-Id: I510d3ebd14c2a910b7be2bacc0b99d3059a7a881
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
234be6e5895a91ca3a83f3bef12a10631bbe6522)
Cédric Ollivier [Wed, 19 Jun 2019 16:07:56 +0000 (18:07 +0200)]
Update tempest commit id
It includes "Fix region leaks after testing endpoints" [1].
[1] https://github.com/openstack/tempest/commit/
e8088d1218eba0b8e4ed59fa5ca30ac9b664b7fb
Change-Id: I063a9c4e2f09a27c79ea77ba0cf9307642950070
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sat, 15 Jun 2019 10:05:43 +0000 (12:05 +0200)]
Fix ShellCheck warnings
Change-Id: Idf571b39d38b9184b2e08c183d4afe44784fbfe6
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
db7c7d3031c8f9a562c6e3db0922e1cfb92ea92b)
Cédric Ollivier [Fri, 14 Jun 2019 15:40:53 +0000 (17:40 +0200)]
Turn all bashate warnings as errors
Change-Id: Ic350ed8269347f5853a6d7b4e75cfccba6d85dcf
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
12b1a3258219cd301866ea79924e08cfb2a7420e)
Cédric Ollivier [Sun, 9 Jun 2019 10:27:37 +0000 (12:27 +0200)]
Add rally_jobs in config patches
Change-Id: Iaf99ee1d6ea0b2c81874daf959f7430c564a1051
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
e39bc8e266d451f2e0ade7b26aae6d6895d07234)
Cédric Ollivier [Sun, 9 Jun 2019 09:17:12 +0000 (11:17 +0200)]
Add one missing output decode in rally.py
It partially cherry-picks "Conform with latest Neutron rally job" [1]
[1] https://gerrit.opnfv.org/gerrit/#/c/68021/
Change-Id: I4943f737be29bcadfead427a7852964e6438a018
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 9 Jun 2019 09:41:48 +0000 (11:41 +0200)]
Blacklist test_list_metadef_namespaces (Patrole)
It seems dependent on test order (404 if no namespace) and sometimes
fails in gates [1][2][3].
It will be enabled as soon it's fixed upstream or if SUT is wrong here.
[1] https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-latest-patrole-run/
[2] https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-iruya-patrole-run/
[3] https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-hunter-patrole-run/
Change-Id: I68e71e9b0753089e5620d6689ddff37fe66aeab7
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
02b9592a129472ffd26206541f8efefe1f759957)
Cédric Ollivier [Sat, 18 May 2019 18:38:24 +0000 (20:38 +0200)]
Update all patches about functest configs
It takes into account the last updates about snaps, cloudify and
refstack.
Change-Id: I959f8ed1c98cd1879b51b62252aeb38918af6a2c
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
dbb00ca3ee3e3349b42c8133dee6b1abdbcb10c3)
Cédric Ollivier [Sat, 8 Jun 2019 14:34:59 +0000 (16:34 +0200)]
Pin ruamel.yaml.jinja2
It's out of openstack/requirements and last version breaks our stable
containers [1]. It will be updated in master in a second step to ease
cherry-picking.
[1] https://build.opnfv.org/ci/job/functest-verify-unit-tests-and-docs-hunter/322/console
Change-Id: I76e1965d49e6be6f185611bcfcd056d81bc599fe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
3472870b0e42c135d004e0006ad3e3607036e553)
Cédric Ollivier [Tue, 4 Jun 2019 18:27:24 +0000 (20:27 +0200)]
Updated from global requirements
Change-Id: Icdca3cdc4abbe39e8e65f336b58cfb0bd4b61281
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Sun, 2 Jun 2019 12:43:10 +0000 (14:43 +0200)]
Publish rally logs
Both Rally and Tempest publish Rally debug logs.
It also moves the logics from tempest to rally.
Change-Id: I5c057d830202baddd73577ade1b09ce304e3c5a5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
bc88eff8f5850f8207431bb8d1958fe6b9cd09e8)
Cedric Ollivier [Sat, 1 Jun 2019 18:54:58 +0000 (18:54 +0000)]
Merge "correct permanent redirects in documentation" into stable/iruya
VincentDanno [Fri, 10 May 2019 15:24:05 +0000 (17:24 +0200)]
correct permanent redirects in documentation
Change-Id: I5bcb402f51541483a2797629c44485e5d75913e3
Signed-off-by: VincentDanno <vincent.danno@orange.com>
Cédric Ollivier [Sat, 1 Jun 2019 08:52:05 +0000 (10:52 +0200)]
Decode tempest exception output (py3)
https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-latest-refstack_compute-run/30/console
Change-Id: I77264525917af5f67cdecae85ef7a50439499db8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Cédric Ollivier [Tue, 28 May 2019 11:36:25 +0000 (13:36 +0200)]
Remove PyNacl contraints in Features
It conforms with "Install PyNaCl via package" [1].
functest-feature may raise timeouts when cross-compiling PyNacl [2].
[1] https://gerrit.opnfv.org/gerrit/#/c/67956/
[2] https://travis-ci.org/collivier/functest/jobs/
538119733
Change-Id: I986677b869f62caee6be219ee1de622b7bc20ca4
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
(cherry picked from commit
7a628f087403089d282cda14bcba858d8b0bc6c3)
Cédric Ollivier [Mon, 27 May 2019 18:47:48 +0000 (20:47 +0200)]
Stop downgrading pip
The pip package poposed by Alpine is fine.
Change-Id: I415757b8f4028c76e9d8cec4895306d843d42ac2
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
5819ff6a14e7e89b6c7004336bfcabed9f16baa4)
Cédric Ollivier [Sun, 12 May 2019 18:19:14 +0000 (20:19 +0200)]
Install PyNaCl via package
Building functest-core container sometimes reaches travis-ci timeout
[0]. It currently selects the right version in master and
stable/hunter.
[0] https://travis-ci.org/collivier/functest/jobs/
531417730
Change-Id: Ie6c8e729f76c98c6f8c8e9ca01b2c998081f7ce8
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
6aad708727e41eaa8f61a104323386568a163dd3)
Cédric Ollivier [Sat, 25 May 2019 09:10:55 +0000 (11:10 +0200)]
Run bandit when verifying changes
It reports only MEDIUM issues or higher like nova [1].
It selects bandit 1.1.0 as defined in nova and neutron lower
constraints [2].
[1] https://github.com/openstack/nova/blob/master/tox.ini#L221
[2] https://github.com/openstack/nova/blob/master/lower-constraints.txt#L8
Change-Id: I6fc505f684701792d3e03659eb0feea8321452c0
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
0440ffcac18991395799e5aafc9243e028917ab6)
Cédric Ollivier [Sat, 25 May 2019 07:38:40 +0000 (09:38 +0200)]
Set utf-8 in decode and encode calls
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>
(cherry picked from commit
5853dd1ef3c522a975f9685250b1b3e85588f738)
Cédric Ollivier [Fri, 24 May 2019 20:08:50 +0000 (22:08 +0200)]
Decode Bytes in logging calls
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>
(cherry picked from commit
7d58f89103a8c44fd166c3e06b492ade63e5c5b3)
Cédric Ollivier [Sun, 19 May 2019 17:21:10 +0000 (19:21 +0200)]
Enable Vmtp if py3
It leverages on last Vmtp review which adds py3 support [1].
[1] https://review.opendev.org/659970
Change-Id: I8319b9e7eb88b9015961188d47657a8c67e0f8da
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
f994b9180b621ae6bb6397acd23de8f1a625c4cd)
Cédric Ollivier [Tue, 7 May 2019 09:02:43 +0000 (11:02 +0200)]
Update to Python3
Functest containers leverage on Python3 instead of python2.
https://mail.python.org/pipermail/python-dev/2018-March/152348.html
It also updates robotframework librairies to latest release and Vmtp
to master ([1] is needed)
It patches cloudify rest client to support python3.
Vmtp is currently disabled because it currently supports python2 only.
[1] https://github.com/openstack/vmtp/commit/
a5d062881d91bf4f547d92c6e289bea30feb5d6e#diff-
b4ef698db8ca845e5845c4618278f29a
Change-Id: I39964a212ec2d4dbf53c9ea7c63f02e0b6a05b48
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
2a0702ea914a574ffa7c6d6f83a5c606e24ebd0a)
Cédric Ollivier [Thu, 23 May 2019 07:56:15 +0000 (09:56 +0200)]
Update Pylint score (10/10) in Release notes
https://build.opnfv.org/ci/job/functest-verify-unit-tests-and-docs-master/2239/console
Change-Id: I5f124250aba3aa9a5ca0bc01221c06843bba1b35
Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
(cherry picked from commit
ab5dfff578e7c9686882c844ff2c0fed1f663e6f)
Cédric Ollivier [Mon, 20 May 2019 15:49:38 +0000 (17:49 +0200)]
Avoid running local dnsmasq when testing IMS
It may be unsafe and it's useless for testing IMS if BONO_IP is set.
Change-Id: I8b0f010956defbfa1fd22b5aa5cbea70bd2968a4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit
a82827bd4f93c318f0bc2554928ab2213d1ee766)
Cédric Ollivier [Sat, 18 May 2019 09:27:06 +0000 (11:27 +0200)]
Update tempest to avoid resource leaks in EndPointGroupsTest
It includes "Fix resource leaks in EndPointGroupsTest" [1] which
removes the 2 remaining tempest services.
It's worth mentioning they raised side effects when trying to connect
to Horizon.
Change-Id: Ic85fa38a4690c5532d10d21d2eec64d99ab1e8cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>