aboutsummaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2020-06-05Switch back to concurrency = 4 in tempest testcasesCédric Ollivier3-14/+16
3 seems good enough and stable which allows trying 4 as before Change-Id: Id1f17ebf73f9faa13ed3ceb327ccb4ecf88c2bf2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c7296454e80cea8273700da13e720e7f357f008e)
2020-06-04Rename patch name and removes debug logsCédric Ollivier3-110/+76
The debug logs works only vs py3.8 and breaks backport to Iruya. Change-Id: Ie91a8a876e263a83b6ae3fbfb5bb05644b87b970 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 39823fdbf534d05bfc3ddf4ddd5b8f8c3d603038)
2020-06-03Switching to Threading instead of multiprocessingCédric Ollivier1-343/+74
Change-Id: Id5059a06447357f4c9b058bad374ed6cbe4d742c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 37b7e536d679303ad6ddfade450201efd90a983a)
2020-06-03Switch to queue.Queue() in RallyCédric Ollivier1-21/+52
It's still failing. Change-Id: I20fdf5a8e05bccc30a760934f6c0e3cac16d763c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 383725f1500047238b39c0dfd51e6ac533094a92)
2020-06-01Switch to SimpleQueue()Cédric Ollivier1-14/+56
Change-Id: I1f3cb636813b9c3c10b5c829e35bbdeea02a318c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 265cc0dfdeb9f65f8641fc5b60900b6ee1315f5a)
2020-06-01Switch to fork in Python multiprocessing (python2 default)Cédric Ollivier1-5/+8
Change-Id: Id93da8c0fc710e1491adeb2b42e6da99974a0580 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0d1e55eae02469db59bb880842d08baf930bd5aa)
2020-06-01Retry increasing Stack sizeCédric Ollivier1-2/+17
Change-Id: I61cb70a74179dea6a02e81989695325fe6331e10 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 49532643bbcbd255e327d05d08f308ed735b0602)
2020-05-27Skip manage_snapshot in CNTTCédric Ollivier2-2/+3
As detected by Orange's RC Field trial, Ceph doesn't support this feature before Rocky [1]. "AttributeError: 'RBDDriver' object has no attribute 'unmanage_snapshot'" manage_snapshot testing is fully passing in Functest SUT because CNTT is verified vs OpenStack Rocky and newer. Ceph is selected by RI as backend and is widely reused by the ecosytem. It's similar to [2]. [1] https://bugs.launchpad.net/cinder/+bug/1645288 [2] https://gerrit.opnfv.org/gerrit/c/functest/+/69888 Change-Id: I3b7f88f5bed9a47a1e26e16bbbf74fea24ca76c2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 830d508837f3b1011eeb44c3d5af5961fbf4c701)
2020-05-26Remove test_gnocchi.GnocchiGabbiTest.test_liveCédric Ollivier1-1/+1
It sometimes fails in our gates and it seems unverified in OpenStack [1]. "Archive policy gabbilive is still in use" [1] http://artifacts.opnfv.org/functest/DET32CBF0L0F/functest-opnfv-functest-smoke-jerma-tempest_telemetry-run-29/tempest_telemetry/tempest-report.html Change-Id: Id5e5ad5ff0f7bade7932a085df28cc35b0ac7984 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 38827ed1862e8e26d9f2a9eaf79c33a5f745b463)
2020-05-24Precise validation configs in NeutronCédric Ollivier1-0/+6
ServerActionsTestJSON.test_reboot_server_hard [1] sometimes fails in gates. We may increase timeouts if it stills fails. [1] http://artifacts.opnfv.org/functest/LIQH38CPR30X/functest-opnfv-functest-smoke-hunter-tempest_full-run-649/tempest_full/tempest-report.html Change-Id: Ia27c0faead1df5c2b33a3e1a272e5a1010a5a83e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7ccc1b0793e32cad3912e63bbca971d5c3ecd724)
2020-05-14Prevent microversion conflictsCédric Ollivier3-1/+98
CNTT selects Pike as baseline and Hunter matches Rocky. Change-Id: I8a1aa8385adce1ebb9d74bcb897effaf5b434e5a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 82ceefd8f1609508a476aa2e4573e59926653165)
2020-05-13Add other debug messages in RallyCédric Ollivier1-9/+141
It would allow debugging our Rally failures. Change-Id: I749a040fe76261e997d3a8dff4965867d54f7c42 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e829e6a7acd6f749a85c36ef26b21d88a51b3941)
2020-05-04Add tempest_telemetryCédric Ollivier2-2/+29
It runs all telemetry-tempest-plugin tests except test_autoscaling which is currently failing in our gates. Change-Id: I2c712eda71799e96735419e1c547a775be659156 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0d90068be4aa4076ec1af0bcede780d41eddbe01)
2020-05-04Enable network_v6 testing in CNTTCédric Ollivier1-3/+2
req.inf.ntw.16 is a MUST requirement. Fixes cntt-n/CNTT#1556 Change-Id: Id48595f5f4710ea9cbf31edaa4ae0ed31f5278ba Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c1b02b2c6e09686c89b47b0b99d4114af8403607)
2020-05-03Update octavia regexesCédric Ollivier1-3/+6
It stops using noop drivers and adds all scenarios except: - .*api.v2.test_availability_zone - .*api.v2.test_availability_zone_profile - .*api.v2.test_member.MemberAPITest.test_member_ipv4_create - .*api.v2.test_member.MemberAPITest.test_member_ipv6_create It doesn't run ipv6 which asks for a deep dive (ipv6 from containers?) It increases threads to 3 as the other testcases. Change-Id: I36d9d764a5ab92efe89196181bffa3ad0a57227c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 069930982dbf9745e6bc84cc7d4476be54fdcbc7)
2020-05-03Stop overriding tempest_conf.yaml in CNTTCédric Ollivier2-92/+0
It's useless as they are skipped by regexes (vnc_console). Change-Id: If3cea451c95179e7e200708e1f3b5e9534be9e1d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9141dcbb5af4b0d49e2cbb1aa55e55105529bd01)
2020-05-01Exclude tests.scenario.test_octavia_lbaas in CNTT regexesCédric Ollivier1-0/+1
It may be skipped as well (the behavior differs if it's enabled or not via config). Change-Id: Ic23119001b7478e466782a58d8757117bf16e5c3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 80fd73edacd47df07b55597ff5b2c7e6d017d5b9)
2020-05-01Rename barbican->tempest_barbican & octavia->tempest_octaviaCédric Ollivier1-2/+2
It unifies all test case names. Change-Id: I38576f2d6bae6ef0236b6acfbd30c0446d3a2eca Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a11051968f25bdcc9362be88907731582ac1ea8f)
2020-05-01Remove neutron_trunk; networking_bgpvpn and networking_sfcCédric Ollivier1-55/+0
They were all merged in neutron-tempest-plugin. Change-Id: Iefe3bf98fc41d0dab5a7cec640337c672a7b1a69 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c22979393a734760105f73b75a5f90f4f9aecebc)
2020-04-30Skip LoadBalancerTest in Functest GatesCédric Ollivier1-1/+2
It seems failing due to octavia noop driver as in-used. Change-Id: I53e1fe1cfe4930f92c1a4460e89ed6e21eb3f922 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d9d55730138d0a9bc27dee2cc2ec694478191c8b)
2020-04-30Debug rally race conditionsCédric Ollivier6-1/+161
It will be reverted as soon as the root cause is found. Change-Id: Icbff74c5fb940c1a201cbdc3fb2137c91e1ed460 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit dfa0f4d4a17e6985d3edc0ed5b9d56790fb2433d)
2020-04-28Select tag instead of commit idCédric Ollivier1-1/+1
Change-Id: I7da5b383c3c724f4616c54a21ba9c746f146f18f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-28Rename neutron_tempest_plugin_api to tempest_neutronCédric Ollivier2-2/+2
It conforms with the other test case names Change-Id: Ia8836375c26ea4f1bff3637f7078e5f70f83c5fb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f74088bb1ae93feaf56c7ec7d1f1e78c97d8de9a)
2020-04-28Complete "Skip CfnInitIntegrationTest in tempest_heat"Cédric Ollivier1-1/+2
http://artifacts.opnfv.org/functest/SXA8X2BBP3L4/functest-opnfv-functest-smoke-cntt-latest-tempest_heat_cntt-run-1/tempest_heat_cntt/tempest-report.html Change-Id: Ie26d561fbb490bcaafe7c8ffddebc28bd72ff51c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ec014dd2d4567079d854cc0f97f3dbc0bd345ca5)
2020-04-28Move static data to tempest_conf.yamlCédric Ollivier1-0/+1
Change-Id: I99f33f2e5f27c22c597f7c4f2f864710ceb1350e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7e53a395dca4670e4e211c6b37bf259f43098b96)
2020-04-28Skip CfnInitIntegrationTest in tempest_heatCédric Ollivier1-0/+6
It sometimes fails due to other test resources [1]. [1] http://artifacts.opnfv.org/functest/83IV2XRCU05K/functest-opnfv-functest-smoke-latest-tempest_heat-run-53/tempest_heat/tempest-report.html Change-Id: Ied91781c784370b424653e37c090a909f16b6585 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f1c7b8055728705988394368926edaa2627eb6d2)
2020-04-27Add tempest_heat in CNTT smokeCédric Ollivier1-0/+24
It increases Heat coverage [1]. [1] http://artifacts.opnfv.org/functest/24ELW4C5RKD4/functest-ovn-opnfv-functest-smoke-latest-tempest_heat-run-34/tempest_heat/tempest-report.html Change-Id: I6630e4827a59b2ded34e5c271b9155df3b25f588 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d2bcbbf9dc9f1edc1e08e2add252618a08c4f07c)
2020-04-25Add libstdc++ in runtime dependenciesCédric Ollivier1-1/+2
https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-jerma-tempest_heat-run/34/console Change-Id: I6dc949360100125bc718cc88b5f8ad8ed189e2d0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-24Use ujson version asked by OpenStack master requirementCédric Ollivier5-1/+5
It's newer than the former tag selected [1]. The version asks by OpenStack train and older cannot work vs Alpine. ImportError: Error relocating /usr/lib/python3.7/site-packages/ujson.cpython-37m-x86_64-linux-gnu.so: strreverse: symbol not found [1] https://github.com/openstack/requirements/blob/master/upper-constraints.txt Change-Id: Ie89136da364d7e972a1d7f49c71bdfbbdd9671d8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 743235f280b675cab39adb15de8bcea215a1c038)
2020-04-19Run sequentially tempest_heatCédric Ollivier1-1/+1
It's forced by design else it remains a few resources. It also sets fixed_subnet_name and network_for_ssh to avoid falsy discovery as it seems [1] [1] http://artifacts.opnfv.org/functest/X5GDYF3B0R2B/functest-opnfv-functest-smoke-jerma-tempest_heat-run-18/tempest_heat/tempest-report.html Change-Id: Ieb584ddc1c0b4ebb543e9d69277a20aaee0fbac0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c2e3d911d9eaf987d18b3b895778c411e62efc4a)
2020-04-14Backport Fixes-race-condition-in-test_add_remove_fixed_ipCédric Ollivier2-1/+169
It has sometimes failed in gates and Orange reported the issue. Backporting is the best approach as for swift testing. Change-Id: I7c66faf77cdee3f52a2299d64dc4140de22f4cad Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-11Add tempest_heat (heat-tempest-plugin)Cédric Ollivier2-2/+23
It asks for the Fedora-Cloud-Base image and a second user account. It should be noted that heat-tempest-plugin duplicates all configs from tempest. Minimal image is still Cirros and the first account is the admin one. Then it conforms with the TempestCommon logic. AodhAlarmTest is skipped by default because pre conditions are missing. SoftwareConfigIntegrationTest is skipped as in gates because it requires a custom image [1] [1] https://github.com/openstack/heat/blob/master/devstack/lib/heat#L444 Change-Id: I8b39dc65ef3714411cd828e17b95e124f2e90f34 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-05Update rally (3.0.0) and rally-openstackCédric Ollivier5-0/+5
It removes all warnings currently printed [1]. It also updates kubernetes according to latest changes in rally (chicken and egg). Switching to rally 3.0.0 forces droping py27. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-jerma-tempest_horizon-run/214/console Change-Id: Ifa21b65c47729a277ccd765e4413477879fa5f21 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-05Swith to coreutils timeoutCédric Ollivier1-1/+1
juju is not correctly stopped when no internet. https://build.opnfv.org/ci/job/functest-ovn-opnfv-functest-vnf-jerma-juju_epc-run/21/console root 1 0 0 Apr04 ? 00:00:06 /usr/bin/python3.7 /usr/bin/run_tests -t juju_epc -r -p root 139 1 0 Apr04 ? 00:00:03 [juju] <defunct> root 141 1 0 Apr04 ? 00:00:00 [timeout] <defunct> Change-Id: Id06c6e829ab8a992107f655aac6ec4539e292d82 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit cda22d7db0bcca380e1caef76e171cd7753b6221)
2020-04-04Reduce Tempest multi threadsCédric Ollivier3-13/+13
It decreases the threads from 4 to 3 to allow running the testcases in parallel. Else a few tests sometimes fail. Change-Id: I268eff5a72d5de5b26d7549ac74ee0e2a05cb61e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c0e9550a76bd91322a6bb5dc4b7f9947e1794913)
2020-04-04Skip test_container_synchronizationCédric Ollivier2-1/+7
It's not supported by radosgw which is now used in Functest SUTs [1][2]. It's removed from CNTT which seems leveraging on ceph (at least RI) [3] [1] https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/3.2/html/release_notes/bug-fixes [2] http://artifacts.opnfv.org/functest/E46RCZLBRYCC/functest-opnfv-functest-smoke-hunter-tempest_slow-run-127/tempest_slow/tempest-report.html [3] http://artifacts.opnfv.org/cntt/WKFRPQODPW34/cntt-opnfv-functest-smoke-latest-tempest_slow-run-37/tempest_slow/tempest-report.html Change-Id: I8127df786c41af0d0285ef0e5cd1b28901685f65 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 461e532424648f03af61d058bedfd2191290b7cc)
2020-04-02Keep the modified tempestCédric Ollivier4-0/+4
http://artifacts.opnfv.org/functest/CRY58ZS3031L/functest-ovn-opnfv-functest-healthcheck-jerma-tempest_smoke-run-37/tempest_smoke/tempest-report.html Change-Id: I9598a45b09151fa267294716f70e65e3050f0239 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 21b512e55eb36e38160b697baae44c464fce9034)
2020-04-01Rename CNTT specific testcasesCédric Ollivier2-9/+9
Test DB and API don't support suites which raise side effects in Cachet if both IaaS verification and CNTT conformance are executed. Vmtp and Shaker haven't been modified for CNTT. They will be renamed once CNTT asks for new post processing. http://testresults.opnfv.org:8080/ Change-Id: I64e06694620027faa06b6d9d339684f5e8d733d7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c37c09b137d61d046a27973ffc44e5b32845462c)
2020-03-29Apply Accept-custom-registered-endpointsCédric Ollivier2-0/+107
This patch is needed to verify Ceph RadosGW and then has to be backported to Hunter (CNTT). Tempest maybe simply updated in a few branches (Jerma, Iruya?) depending on the side effects. Updating Tempest in Hunter would ask for an deep update of CNTT RC. https://github.com/openstack/tempest/commit/1d500e79156ada6bc6fdb628ed1da0efd4121f6a Change-Id: I5cbe6374cc5cb9d4cae92ae390f5ab63f301e4cb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-03-24Remove duplicated g++ in vnf/DockerfileCédric Ollivier1-1/+1
Co-Authored-By: Juha Kosonen <juha.kosonen@nokia.com> Change-Id: I63fbeb8d2a0941d9b3492c97e14a139ba050ad7d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-03-17Remove a duplicated packageCédric Ollivier1-1/+1
Change-Id: I7f9c5b5e2c59f23ada721e7209bec56bfa23ae9e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b732b5b53e1b46e406b8ebfcff16466e2543cd67)
2020-03-05Add oauth1 as optional Keystone featuresCédric Ollivier1-2/+3
It was not listed in Keystone which defacto sets it as optional. It may be considered as mandatory in a second step. It should be noted that it's not working in CNTT RI and there is no true plan to update CNTT RI from the time writing. Close cntt-n/CNTT#1253 Change-Id: If7ee4efeafc05638173a51ce997ecbdcaabfc79c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 13b8fd9d9f54fdac817b99f4506a1171ab0a9481)
2020-03-03Blacklist tests which are not mandatory in CNTTCédric Ollivier2-0/+49
CNTT rally_jobs must conform with CNTT RC whatever the OpenStack version under tests. All tests added by neutron since Hunter must be skipped in conformance. Of course, the IaaS verification part is unchanged as this tests are relevant. Change-Id: I4cfb4ae725e5ce9125f4ed25489dd003e16695f4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a0bbd644a0694bee89032f1176d9c60dd7ac7f8d)
2020-03-03Add OVN Controller Gateway agent in neutron_bind_l2_agent_typesCédric Ollivier1-1/+2
It avoids blacklisting NeutronNetworks.create_and_bind_ports in case of OVN. It conforms with the upstream testing [1] and then reverts the previous change [2]. [1] https://github.com/openstack/networking-ovn/blob/master/zuul.d/networking-ovn-jobs.yaml#L299 [2] https://git.opnfv.org/functest/commit/?id=8e297c49c481961959b29c2080cc059fcc84e9ee This reverts commit 8e297c49c481961959b29c2080cc059fcc84e9ee. Change-Id: I95f1b7146e636ae3ebe9f995733e53ad1b276d26 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 397ef4366cb3067c1a25999eab0e928937cc6e04)
2020-02-28Clean former dirsCédric Ollivier1-1/+1
Change-Id: I9d6d2ba6bfdaac26e4c7d6ea6aaf69b000869b2d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-02-21Skip a few tests in tempest_full and tempest_slowCédric Ollivier1-2/+5
It completes the first patch updating neutron-tempest-plugin-api [1]. The same dvr regex is used in tempest_slow, a new one is defined for tempest_full which will be added in CNTT doc (test_network_basic_ops.TestNetworkBasicOps.test_router_rescheduling). Close cntt-n/CNTT#1106 Change-Id: I9fd79c9a82bb1f84a622ccb9ea316b8e43273e2a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9ebccf93627d929fbf8738fbc9ce5ddb5f12c649)
2020-02-18Update test case list in neutron-tempest-plugin-apiCédric Ollivier1-3/+20
It takes into account latest changes in CNTT [1] [1] https://github.com/cntt-n/CNTT/pull/1107 Close cntt-n/CNTT#1106 Change-Id: I3212d1b765f7fd657ed603ed520d79fccae80bfa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a149d2fa5b8bfcfd1dcd225c0f4bc6f4d949e420)
2020-02-16Exclude vxlan testing in CNTTCédric Ollivier1-1/+5
Close cntt-n/CNTT#1077 Change-Id: If9c0f52138e9f669f17933c42906936e2e196b2a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6a67a88d9511226aba749cdd73a4570eab38bfeb)
2020-02-16Set dhcp_agent_scheduler as optionalCédric Ollivier1-3/+5
dhcp_agent_scheduler [1] indirectly forces the Neutron backends as highlighted by OVN testing. [1] https://specs.openstack.org/openstack/neutron-specs/specs/api/agent_schedulers.html Close cntt-n/CNTT#1073 Change-Id: Iafa3ad7f15dc157c0362ffa59eed31b89bf368e7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9f06dba2a6b5e4eb22652a5e17947dab612f53a4)
2020-02-16Order regex in neutron-tempest-plugin-api (CNTT)Cédric Ollivier1-5/+5
It mostly adds admin as prefix. Change-Id: Ic2e723b858ff1f3e26478f6037a19db1fd52e4aa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a617bcfd4e5754adcf55aa1b69cf8397ed3571cd)