aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-05-25Set utf-8 in decode and encode callsCédric Ollivier10-56/+57
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)
2019-05-24Decode Bytes in logging callsCédric Ollivier5-36/+39
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)
2019-05-24Merge "Enable Vmtp if py3" into stable/hunterCedric Ollivier1-3/+4
2019-05-23Enable Vmtp if py3Cédric Ollivier1-3/+4
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)
2019-05-23Update to Python3Cédric Ollivier11-86/+57
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)
2019-05-23Update Pylint score (10/10) in Release notesCédric Ollivier1-1/+1
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)
2019-05-21Avoid running local dnsmasq when testing IMSCédric Ollivier5-36/+25
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)
2019-05-18Update tempest to avoid resource leaks in EndPointGroupsTestCédric Ollivier5-5/+5
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> (cherry picked from commit 084ce7dd3976d65409f54d8ff5010e709ec76cd6)
2019-05-13Update defcore.txt to the latest cached oneCédric Ollivier1-116/+3
Change-Id: Iea42b7ef8a76ff1c7bd56e88290c716776dd9291 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 90389efe0257f730418181291b82dda9c390b953)
2019-05-13Allow building containers when refstack.openstack.org is downCédric Ollivier2-2/+428
It has been down for days and break our gates again. Change-Id: I66e286f3624c776c7cec5164df53eb117550e78a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6b578b9068164eab33b2cc2d6002f59b9af88f8d)
2019-05-11Revert "Disable Patrole network.test_agents_rbac"Cédric Ollivier2-2/+0
This reverts commit 4fd59de2b5751437ca6faf71415129cf6f64cf8f. It should have been applied in master and iruya only. Change-Id: I8f467e5cbe2f230a0a3f119a3f4ad80da8a5a6bf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-11Update neutron-tempest to 0.3.0Cédric Ollivier1-2/+2
It includes the fix "Cleanup Tempest tests legacy resources" [1] which cleans all remaining routers and security groups detected in Functest gates. [1] https://github.com/openstack/neutron-tempest-plugin/commit/2de722ef0af284b4f68e952df53ad4f0d9d452be#diff-44d072bece4c5873f0e78df8ad7cacf2 Change-Id: I4da824447ab67e4b0aba044c39467f8f105b5630 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-08Disable Patrole network.test_agents_rbacCédric Ollivier2-0/+2
They don't clean routers (tempest-L3AgentsExtRbacTest-Router) after testing. Change-Id: I78cfc783feb51d0f1b029c98e988c07e57e1e694 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d4178d425312497412e9832fb6cb1a074e5099f3)
2019-05-04Enable volume backup testingCédric Ollivier1-1/+1
It conforms with OpenStack gates by default. Change-Id: Icc1537b0f8342666d2a2a0de4655ba99f4f42470 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 305f9f41df7ecba640fc4552269bca8ee588b92c)
2019-05-03Update to tempest 20.0.0Cédric Ollivier5-5/+5
test_dualnet_multi_prefix_slaac which is uncovered (marked as slow) by OpenStack gates [1] is failing on lf-virtual6 [2]. Updating to 20.0.0 is closer to the current OpenStack Neutron Rocky gates (tempest==20.0.1.dev42) [3]. It's worth mentioning that we cannot downgrade to 19.0.0 because the next commit is needed [4]. [1] http://logs.openstack.org/28/656428/1/check/tempest-multinode-full-py3/74d9cd7/testr_results.html.gz [2] http://artifacts.opnfv.org/functest/functest-opnfv-functest-smoke-hunter-tempest_scenario-run-113/results/tempest_scenario/tempest-report.html [3] http://logs.openstack.org/57/654957/2/check/neutron-tempest-multinode-full/e5eda83/job-output.txt.gz [4] https://github.com/openstack/tempest/commit/3588bb3f5ef546a0ef4d4ad621fd1be381b5fdaf Change-Id: I496df1272f26ad73daf388070b762b736e4e5fd8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-05-02Manage block_migration in RallyCédric Ollivier5-7/+16
It creates a new env var BLOCK_MIGRATION (True by default) to allow block migration for live migration in Rally. It updates scenarios and blacklisting to take that env vars into account. Change-Id: I41129432798ae9e40fe23bbe2c2162df4c0dff80 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 940e49a6cdf7ae0f8286c953952a9757ba63a20b)
2019-05-01Use block devices for live migrationCédric Ollivier1-0/+2
The default values conform with OpenStack and Functest gates [1]. It could be set to false if shared storage-based live migration is supported [2]. It also currently disables cold migration. [1] http://logs.openstack.org/84/632984/24/check/tempest-multinode-full-py3/4216037/controller/logs/tempest_conf.txt.gz [2] https://docs.openstack.org/nova/pike/admin/configuring-migrations.html Change-Id: I0faa415eba610c20ba54353ac7ba7b0e83722c32 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f1695eceb3d18501a603dcc89da020c676d9b617)
2019-04-25Leverage on DEBUG env varCédric Ollivier5-9/+126
It allows muting debug logs. Change-Id: I291f3bb7e0a450724a34997c720bde01f72c8e50 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d777f2e588a321d5c01e2e50ffa5c8fc5a27c77c)
2019-04-25Enable stor4nfv in HunterCédric Ollivier2-2/+1
The branch is ready. Change-Id: I0b246cf3bb83eb7ef0151509d2e99c45032b7a7e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-25Merge "Refactor modules to avoid duplicated code" into stable/hunterCedric Ollivier9-178/+86
2019-04-24Refactor modules to avoid duplicated codeCédric Ollivier9-178/+86
It also increases number of lines to warm about duplicated codes. Change-Id: I3914da8a90cbfe8fd024e9944c3adc8a617330d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9dcc30874194382a25c66baf359b863c6e013caf)
2019-04-23Set max_microversion for placement and volumeCédric Ollivier1-0/+3
It sets max_microversion to latest because if both values are not specified, Tempest avoids tests which require a microversion [1]. It completes the previous change about nova [2]. [1] https://docs.openstack.org/tempest/latest/sampleconf.html [2] https://gerrit.opnfv.org/gerrit/#/c/67318/ Change-Id: Ieab56a239077476dd9a0e1ee97ac4293c4075f5c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b9048a25355e1d6c29c84ca10a3d859841468f50)
2019-04-21Remove all sdnvpn loggersCédric Ollivier1-6/+1
OPNFV sdnvpn is over. Change-Id: I78b6c45c6e5216795252be38dbc54f80f6e65061 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 2f80c3c0a89622a673ef7957d0d53d56e75c14ee)
2019-04-21Build arm* functest-vnf containers via travis-ciCédric Ollivier3-14/+35
It doesn't build juju deps if arm* as they can't be cross-compiled. Then that deps won't be built in releng on native arm64 hosts It's worth mentioning that containers have never been executed in OPNFV gates. That change allows running all other VNFs on Raspberry PI and building containers without arm build servers. Change-Id: I836a72f049e7f0e6ae704f5b829914692d5b2c09 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 0c3ae6e09acd16fc50a516975631dd6bb76b8c53)
2019-04-21Update all OpenStack refs to opendev.orgCédric Ollivier9-34/+29
All gates are failing due wrong to redirections (see os-faults [1][2]). [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-tempest-latest-gate/96/console [2] https://travis-ci.org/collivier/functest/builds/522071220 Change-Id: I5a8ca67f0d95df24daa9bdca2f23eb13d896f9d5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 2ceebaa032f07c4162ed3701c6814dfe5cb683d4)
2019-04-19Updated from global requirementsCédric Ollivier1-1/+1
Change-Id: I5e2057c11920bba55d8bae34dc836aa86765ccf3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-15Update Hunter Release Notesopnfv-8.1.0Cédric Ollivier1-43/+19
Change-Id: Ie7826cf2ef8eb537f1b4f213c92c384e0b48c311 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-15Stop forcing admin_scope_domain = TrueCédric Ollivier1-1/+0
tempest fails vs devstack stable/stein and it passes successfully vs devstack stable/rocky (Functest gates) without that option. It may be added to tempest_conf.yaml if SUT requires it. Change-Id: I4730c25b25403fd130d71166a8778e06fd479935 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f038f387a8a0499d39b3fa5091c333b6b0ef5af7)
2019-04-14Speed up lxml buildCédric Ollivier2-1/+8
It allows cross-compiling it via travis-ci (benchmarking) [1][2] [1] https://lxml.de/installation.html [2] https://travis-ci.org/collivier/functest/jobs/519737041 Change-Id: I31609268d77405f036924a010cfb3dab520e9ea3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1d190eb4039194d049cfc97b456978853d0d77d1)
2019-04-14Verify py36 via travis-ciCédric Ollivier2-8/+5
Change-Id: I1180478c19d0f1c56e615a2af568cbbf4cc828d3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8f1248484478813b7881e4642cf5ca6dbcf86f74)
2019-04-13Cross-compile arm and arm64 imagesCédric Ollivier2-5/+108
It allows building images for Raspberry PI via travis-ci. It builds all arm64 images except functest-benchmarking [1]. [1] https://travis-ci.org/collivier/functest/jobs/519673994 Change-Id: I695c3afe8aacda63b7eae0d2672cd836c19e8ceb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 5f525ebaf9d503aa641996fe2ac780dc9dda1774)
2019-04-13Update .travis.ymlCédric Ollivier1-0/+5
It now selects Ubuntu Xenial and libssl1.0.0. It fixes all issues about SSL [1]. [1] https://travis-ci.org/collivier/functest/builds/518874638 Change-Id: Ib7217afc1cfbe3a7c675961b37ad9c097afca037 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 43e0e08bc2a1a294c582bf79300c4ef34242974d)
2019-04-11Fix doc linksCédric Ollivier4-16/+5
It removes 1 link to ask.openstack.org which is being stopped. It also bypasses the issues due to LFN false certificates [1]. [1] https://travis-ci.org/collivier/functest/jobs/518170144 Change-Id: Iccfbc2d91aedb4617f2e29e9d03ba01e0fc58175 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 210803c3895ac9205c28868cc53761b20c2d6a01)
2019-04-11Apply blacklist for OVN noha scenario as wellMichael Polenchuk1-0/+1
Change-Id: I1dd51a54f39967fcf6b3a522e2a548f81e5646a9 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> (cherry picked from commit 3509982923786f91c03d05f26f61df4505299722)
2019-04-09Update tab resultsCédric Ollivier6-199/+57
It also removes all refs to components and to the former binaries. Change-Id: I4f7e3308673ba6ba4dd9c28a7a053e3d558c289d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e108f1ad405e788e0516a55875269adafb338c28)
2019-04-09Set cinder service type in rally testsJuha Kosonen8-1/+99
As a precondition for executing scenarios requiring volume, Rally expects the presence of service named as "cinder". In a case when there is only cinderv2 and cinderv3 configured in the system, Rally fails to validate a testcase even the volume service is working ok. Testcases in question changed to use v3. Change-Id: I42e7f846e80d3647df274b2e03add94c9f0a34d6 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit ebc2b41505299846faeb2163d34d820a8ef2bdb2)
2019-04-02Remove 1 Patrole test with a hardcoded vxlan idCédric Ollivier2-0/+2
It may fail when testing OpenStack in production or when running testcases in parallel [1] because vxlan 200 is hardcoded [2] [1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-smoke-hunter-patrole-run-75/results/patrole/tempest-report.html [2] https://github.com/openstack/patrole/blob/master/patrole_tempest_plugin/tests/api/network/test_networks_rbac.py#L208 Change-Id: Ibfaed6f3a95d016790baafebd203e49e152a889b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8ee279600186f2713b4c181965d8d290d2644cfb)
2019-04-01Update network context in selected rally testsJuha Kosonen2-18/+12
Network context not needed in following scenarios: NeutronNetworks.create_and_delete_routers NeutronNetworks.create_and_list_routers NeutronNetworks.create_and_list_subnets NeutronNetworks.create_and_update_routers NeutronNetworks.create_and_update_subnets NeutronNetworks.create_and_show_routers Router not needed in network context in following scenarios: NeutronNetworks.create_and_update_ports NeutronNetworks.create_and_delete_ports NeutronNetworks.create_and_delete_subnets NeutronNetworks.create_and_list_ports NeutronNetworks.create_and_show_ports NeutronNetworks.create_and_show_subnets This completes the patch skipping router creation [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/67429/ Change-Id: I80ea145a21168fd984cc9ef88d50af227f0d6ed4 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit b4b2e7f9a5a3cb3379b45ac4ddd0ef949974a698)
2019-03-29Skip router creation in selected rally testsJuha Kosonen1-6/+12
Do not create routers in those rally_sanity tests where the test does not require it. Change-Id: I6dd8a2b7579e11ca6ecc3b7383fa4d09a1e56ec3 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit d5e56ad6becd1bb2aa7dafbfccb37c6b84512955)
2019-03-28Update ujson (Alpine 3.9)Cédric Ollivier1-0/+2
ujson v1.35 can't work vs Alpine 3.9 [1]. upper-constraints are overriden to include the patch needed [2]. It fixes rally testcases (gnocchi). [1] https://github.com/esnme/ultrajson/issues/326 [2] https://github.com/esnme/ultrajson/commit/d25e024f481c5571d15f3c0c406a498ca0467cfd Change-Id: Iac9975b0669d5975c63d76ddefb64058e5183369 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c6eb6eca4bb1919c8c943cf534b3e9c935e73118)
2019-03-25Fix other broken linksCédric Ollivier4-4/+4
https://git.opnfv.org/cgit doesn't provide a correct certificate and then sphinx linkcheck fails [1]. [1] https://travis-ci.org/collivier/functest/jobs/510587514 Change-Id: I884535766c39839927ea863d7fac62684ebb5dac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit daf01598d6030a29ccddc3023ee94fe9b0e3b320)
2019-03-25Fix the broken link in docsCédric Ollivier1-1/+1
git.opnfv.org doesn't provide a correct certificate and then sphinx linkcheck fails [1]. [1] https://travis-ci.org/collivier/functest/jobs/510587514 Change-Id: I4e9b8d07fa8e2da2d1b185668b834a8904cf35a3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d35d774484de9e444a35322524357c142acd1859)
2019-03-25Remove snaps testcases from site.ymlCédric Ollivier1-3/+0
Change-Id: I5f979b5ad704f8d9b35dd54deda33f910fe08a25 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8be6277951925e0eeaecb078de2ec4c0b007a38a)
2019-03-24Fix manifest-tool buildsCédric Ollivier1-0/+1
It now selects the last release to allow compiling it [1] [1] https://travis-ci.org/collivier/functest-xtesting/jobs/510384544 Change-Id: If1c2c1d7bdcc5bc0a6a221dfe5f628b75f9d9608 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 34b5f05cefa2b28e2ff9835cdd7415a0023474fe)
2019-03-24Update Alpine tag in ansible/site.yml and build.shCédric Ollivier2-4/+4
It complete the previous commit updating Alpine [1]. [1] https://git.opnfv.org/functest/commit/docker/core/Dockerfile?id=ee700ae5c7ab1fa3e761c330686f89f3ddefbfd3 Change-Id: Icec39d36c661ba3eb3e79c9abb592897f46efa22 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 43d4ce6bd5d0778fb51b014d33a04afafa6a18bb)
2019-03-24Update rest-client for IMS testingCédric Ollivier1-1/+1
It has to be updated to conform with Alpine 3.9 [1] [1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-vnf-latest-cloudify_ims-run-95/results/cloudify_ims/ims_test_output.txt Change-Id: Ic4130d86789537867372f6fbdc026929c28370f2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 6e4d9a3571bddf94065c9eb031b59731dad4b36d)
2019-03-24Update to Apine 3.9Cédric Ollivier1-2/+2
It updates to the latest Alpine release [1] [1] https://www.alpinelinux.org/posts/Alpine-3.9.0-released.html Change-Id: I62ed47547dd8767ca50221840455ed0f7336b438 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ee700ae5c7ab1fa3e761c330686f89f3ddefbfd3)
2019-03-22Remove hardcoded tempos in heat_imsCédric Ollivier2-104/+126
It adds loops to wait for services. It sets dns forwarders to allow sending Heat signal at last instructions. Change-Id: I3ae29ddbaee5f8b2086078bd5245e140348f0dcf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ce305aa6d78ca62649d43b73b1d8f3b851584d81)
2019-03-22Merge "Update RefStack list to 2018.11" into stable/hunterCedric Ollivier3-428/+5
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> (cherry picked from commit 492f85284cbe3b78c66d60e187081701c8eb4869)