aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-05-28Install PyNaCl via packageCédric Ollivier2-8/+7
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)
2019-05-25Run bandit when verifying changesCédric Ollivier3-1/+8
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)
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-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>
2019-05-16Add all RefStack listsCédric Ollivier9-15/+518
It adds platform and object targets. refstack_defcore is renamed to refstack_compute. Change-Id: Iad5bfb27be614aada98eef5b3148965e65210725 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit ce75381bdce754d40f632894f81a31ba6771a39f)
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>
2019-05-13Merge "Stop leveraging on neutron-tempest-plugin package" into stable/iruyaCedric Ollivier1-2/+8
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-11Stop leveraging on neutron-tempest-plugin packageCédric Ollivier1-2/+8
It reverts "Take new upper-constraints into account" [1] to follow the upstream revert [2]. [1] https://github.com/opnfv/functest/commit/14534c4ea68ee84645f8b1ddd836ed684a808385 [2] https://github.com/openstack/requirements/commit/ea2cfe661785c838991aa64b64e59aec245a0c0e Change-Id: I7085679ff6b04726842289133e526aaed87a416c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 8bd9733158239ee3bf24f2f3d75ec108099d7994)
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-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-25Merge "Refactor modules to avoid duplicated code" into stable/iruyaJuha Kosonen9-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-22Install neutron package due to upper-constraintsCédric Ollivier1-3/+2
SFC requires constraints about neutron. We do switch to packages instead of cloning repos when generating policy files [1]. [1] https://build.opnfv.org/ci/view/functest%20(Installer%20gates)/job/functest-docker-iruya/25/ Change-Id: Ia2e8a1aa704372e543e9e967ba90e6d9e5db6c9a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-21Leverage on stein networking packagesCédric Ollivier1-2/+2
It updates refs for networking sfc and bgpvpn. Change-Id: I78f9815c688a3a4814f17f916e7429d2599af971 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-21Add Stein in Nova API microversionsCédric Ollivier2-1/+11
Change-Id: I42e854122fde9495cb3472ccc78900eccb20670d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit aa1d68e2b9647825f703f280d2913801be794deb)
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-21Pin Neutron in stable/iruyaCédric Ollivier1-0/+1
Change-Id: If92e969ad23fc7214b17bb834043afaa9b8bee6b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-21Update all OpenStack refs to opendev.orgCédric Ollivier9-37/+30
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 75d581a9d3ec7c11a9a696db4b271c2691c28f15)
2019-04-19Updated from global requirementsCédric Ollivier1-1/+1
Change-Id: I20646efd6acd2b79c4073d67008110840ca8a9cc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-18Update rally-openstack to support block-storageopnfv-9.0.0Cédric Ollivier1-1/+1
Block-storage is the official service type for cinder, according to the service-types-authority starting from OpenStack Stein release [1]. It is unversioned endpoint which replaces old 'volume', 'volumev2' and 'volumev3'. It updates rally-openstack to the right commit id [2] till the new rally-openstack release. [1] https://review.openstack.org/#/c/510939/ [2] https://review.openstack.org/#/c/652405/ Change-Id: I3bdb48d20a55ec6f86ea3c6ccfcbda86057e91a1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-04-15Update Iruya Release NotesCédric Ollivier1-45/+10
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-14Disable falsy Patrole subtestsCédric Ollivier2-0/+4
It disables the two subtests which are failing in OpenStack Gates [1]. [1] http://logs.openstack.org/51/651851/1/check/patrole-admin/48dbeb0/testr_results.html.gz Change-Id: I6814d003d80593d2a89fefa439f0775187eb6f4d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b8b9b44d7a3902a39730945236b07c4c4be40cf2)
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-13Stop generating policies for unexecuted servicesCédric Ollivier1-8/+2
It saves time when cross-compiling smoke. Then it allows building arm (Raspberry PI) smoke via travis-ci [1]. [1] https://travis-ci.org/collivier/functest/jobs/519630251 Change-Id: Ifbfcc0d726a8f74fd8a861bb52d6ea2543870e0c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 03c35e95fc852e44f446780d9137fe4c9a3f2ebe)
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-200/+58
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-30Set package versions instead of masterCédric Ollivier6-11/+16
It leverages on few beta releases as the official packages are being published. Tempest 20.0.0 is forced to conform with Release Plan [1]. (upper-constraints still offer 19.0.0 [2]) [1] https://releases.openstack.org/stein/ [2] https://github.com/openstack/requirements/blob/stable/stein/upper-constraints.txt#L391 Change-Id: Iaadf5bbc3b984e95cd018ac69bb9efb4eb111df9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-30Use absolute dir when removing vmtp src dirCédric Ollivier1-1/+1
Change-Id: I7254201f97e9615d5d34ab9c199b33ef9de3680c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f96e57b969220cfc1b0a5da37858aaa13d518880)
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-28Prepare Functest Iruya ContainersCédric Ollivier12-46/+49
It takes into account the new branch stable/iruya. Change-Id: I802a42b07ceae2328a812a99a99057beb1b94e5b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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)