aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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)
2019-03-21Update RefStack list to 2018.11Cédric Ollivier3-428/+5
It sets max_microversion to 2.65 because if both values are not specified, Tempest avoids tests which require a microversion [1]. Then test_keypairsv22_create_list_show_with_type is skipped and refstack_defcore fails [2]. It also partially reverts "Allow building containers when refstack.openstack.org is down" [3]. [1] https://docs.openstack.org/tempest/latest/sampleconf.html [2] http://artifacts.opnfv.org/functest/functest-opnfv-functest-smoke-latest-refstack_defcore-run-147/results/refstack_defcore/tempest-report.html [3] https://gerrit.opnfv.org/gerrit/#/c/67232/ Change-Id: I609ad1586ad5d03a00196c28ff5c6c23228037ce Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-19Do not allow testcase skipping in refstackJuha Kosonen4-0/+29
Set the result of refstack_defcore as failed if there were skipped testcases in a run. Change-Id: Id782c2dee511cefbafd5b4440f386fd66f934a47 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit cfd79ec4c39e215a25fc3d99fc5368e7d874f7bf)
2019-03-18Avoid killing create_number.pyCédric Ollivier2-51/+64
create_numbers.py has been killed by other services as described in [1]. It's now called when ellis is up and running. It adds few sleeps to ensure the right boot orders (signals must be send before switching DNS). [1] http://www.projectclearwater.org/using-start-stop-daemon-with-the-python-interpreter/ Change-Id: I87ad3828c10d3ccbc707ed8f4ab99987c6968f09 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 45708eda7ba8e4ddac85930dbb5defb14b9af88b)
2019-03-17Print monit summary before running IMS testingCédric Ollivier3-6/+30
Change-Id: I94310aa609d2c56609e0a5f0e46932af4aee02eb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 7bc4e13a4c5409ed7d869ae5c0220feba70dbf65)
2019-03-17Add sleeps and debugs in heat_imsCédric Ollivier1-52/+114
It allows checking all the services and hardening the asynchronuous configurations. It will ease understanding the remaining race conditions in gates. Change-Id: I1f72a828f4eb32c33f43066e5c71558067bd292f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 26ddcc28113219b6180b36549995d94f075403fd) (cherry picked from commit 49dd51392ced7555c59d94a21c7b2632e4cfe8e9)
2019-03-14Revert Snaps in upper-constraints.txtCédric Ollivier1-0/+1
Change-Id: Ie437b8ea6a33871516d42bf022a1f46cdd488d48 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bf94db59bb7347dadcfc31accfaf2b71ec288285)
2019-03-13Boot Cassandra at the end of heat_ims stackCédric Ollivier1-16/+25
Cassandra sometimes doesn't start when it boots in parallel of the other services. It now selects eth0 instead of forcing ipv6 on lo. Change-Id: Id9f8a4e19a43e85fc8a04fbc4c8f138f0adea417 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 56245ada9aad65420f7958224e05c17cf4a1c59f)
2019-03-13Remove Snaps-based testcasesCédric Ollivier42-1829/+8
Snaps hasn't been synchronized for a while regarding requirements. We do remove it due to the inactivity. All test result tabs will be updated in a second change. Change-Id: I834afd902829ed3883b0e88e92aa806ec43d6fcf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit e44841210c53290207db9b958c66cb8019910cb7)
2019-03-12Add deps in clearwater.yamlCédric Ollivier1-8/+50
Ellis must be started right after dns to publish the shared config. Change-Id: I99fb7ff88e55c5c6a963b3a6db65d8d83b212eda Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d217430315c5ac571c0006c1178ff6ac50bd3d3a)
2019-03-11Allow building containers when refstack.openstack.org is downCédric Ollivier2-3/+428
It has been down for days and break our gates. Change-Id: I2e18a95abaced050f85f6efb8e849e0a5d497ea1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a52900d8c926dc4370dea3b3ebe94d20d05e1357)
2019-03-10Remove inactive committersCédric Ollivier1-12/+0
It follows the last guidelines from TSC (1-year inactivity). It stop listing contributors as it's worse than git log. Change-Id: If8fb1ab7371d34798c9f72d8885f4ec092f138ac Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 575916bee58a32b1290ec8d1a3fd707dba541149)
2019-03-10Add dependencies in heat_imsCédric Ollivier2-73/+143
It avoids useless loops for cloud init messages. It now conforms with clearwater-docker (disable ipv6 in cassandra). Change-Id: I6f469cf48224296b2eaa079d342642c5caca65f5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 464829a80878ede363537ec4020be30c21a5b859)
2019-03-08Remove SDNVPN as it doesn't participate to hunterCédric Ollivier5-28/+0
Change-Id: Iddeaa3890635103b66042a918ab66cabd8fdee60 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f799428f8839a59973ba7edb3b6e66819e27e5ee)
2019-03-08Merge tempest.py and conf_utils.pyJuha Kosonen6-382/+318
Change-Id: I597abdbb5bd3de023aa7b66fa27764ca2ec27f0d Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 226e0f36ee86202c262444cd0712250f4691ab49)
2019-03-07Modify the upstream Clearwater Heat filesCédric Ollivier4-136/+1607
It forces a single network for both management and signaling traffic. It meets the OPNFV deployment requirements and the Functest SUT ones. The security group will be improved in a second step to first quickly fix the testcase in gambia. Private IPs may be registered in DNS to avoid network address translations. Change-Id: Ic19cf336ac5c2d07c52c6dd37b06271790145cf9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 39ab5b6cab5d6c664dc96bbb92781a9eed0aa41d)
2019-03-03Stop overriding ssh default timeoutCédric Ollivier2-18/+0
It should be modified by tempest custom yaml file instead. It's safe as the default timeout is bigger than the previous one. It also cleans the obsolete tempest/rally data in config_functest.yaml. [1] https://docs.openstack.org/tempest/latest/sampleconf.html Change-Id: Ibad02d8aaf90f154c82f3b60a6d3f04fc37bd7de Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 147f5a373b4c8659826f1f626bd9b6042afc3934)
2019-03-03Stop forcing non default operator roleCédric Ollivier2-4/+0
Member is the default value [1] and SwiftOperator is not created by default in OpenStack gates (devstack) This role should be modified by tempest custom yaml file instead. [1] https://docs.openstack.org/tempest/latest/sampleconf.html Change-Id: Ie77b91e36a7011e5730cbf5998e029c07ec7fe2f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 543884f5c2100878692260fd840624a549843238)
2019-03-01Change password generatorCédric Ollivier1-1/+4
It adds lower and upper letters JIRA: DOVETAIL-747 Change-Id: I4bdfcbf31a6dae4aa555fca3d42bbdec514a2b6b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 470bcd99fdabf53d4652d13280329243d5f81c4a)
2019-03-01Pin neutron to the last Rocky versionCédric Ollivier1-0/+1
networking sfc and bgpvpn depend on it. If unpinned, neutron 14.0.0.0b2 is selected and raise side effects [1] neutron 14.0.0.0b2 has requirement neutron-lib>=1.24.0, but you'll have neutron-lib 1.18.0 which is incompatible. neutron 14.0.0.0b2 has requirement pyroute2>=0.5.3; sys_platform != "win32", but you'll have pyroute2 0.5.2 which is incompatible. [1] https://build.opnfv.org/ci/job/functest-features-docker-build-amd64-hunter/125/console Change-Id: Id4ff5e67b62e9162bd3e7d866ef57fb1012cd994 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-28Select SFC Hunter in stable/hunterCédric Ollivier1-1/+1
SFC team just published stable/hunter [1] [1] https://gerrit.opnfv.org/gerrit/#/c/66913/ Change-Id: Ie3abe7b07ac86d60a47ba2b0be57cff2dbbce47f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-27Conform heat_ims subnets with other testcasesCédric Ollivier1-0/+11
It will be enhanced in a second step to calculate options from configs. Change-Id: I91738e1aaad9a7049df44f734c4190def62fff91 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 96bb5dc834e3600a3bd0666f80f3298a420b37fa)