summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-24Remove SNAPS test_create_router_external_networkCédric Ollivier1-7/+1
test_create_router_external_network fails if DVR. Then CreateRouterSuccessTests has to be removed due to the interface between Functest and SNAPS. ft1.5: snaps.openstack.tests.create_router_tests.CreateRouterSuccessTests.test_create_router_external_network_StringException: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/snaps/openstack/tests/create_router_tests.py", line 431, in test_create_router_external_network self.check_router_recreation(router, router_settings) File "/usr/lib/python2.7/site-packages/snaps/openstack/tests/create_router_tests.py", line 499, in check_router_recreation len(derived_settings.port_settings)) File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual raise self.failureException(msg) AssertionError: 1 != 4 Change-Id: I09946de01b5d0f0c9b9a41a6520d6b2be51f5238 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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-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-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-21Set max_microversion to 2.60Cédric Ollivier1-0/+2
By setting max version (Queens), it avoids skipping any test [1]. [1] https://docs.openstack.org/tempest/latest/sampleconf.html Change-Id: I1641fd1daeddc91cfdbdd6957e750e85b22897df Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-21Revert "Allow building containers when refstack.openstack.org is down"Cédric Ollivier2-428/+3
refstack.openstack.org is up! This reverts commit c693862a4014fd444b6f75da62da4cd8c2a088fc. Change-Id: I95326167763e67baccd866a1e61611cd187ec316 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-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-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-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 Queens versionCédric Ollivier1-0/+1
networking sfc and bgpvpn depend on it. If unpinned, a newer version could be selected and then could raise side effects Change-Id: Id01e19096d03c4857a51a40650808f2bd2e81860 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)
2019-02-27Reduce Heat Ims resourcesCédric Ollivier1-3/+3
It eases testing with less resources. It conforms with the new values in the Cloudify part [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/67092/ Change-Id: I1f6158a42fd8ed390c07e7c773bb246f81adef3b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 57ef1f3dfd0b0d2d7a0646c75d5b295fbbe6aec9)
2019-02-27Ensure boot order in heat_imsCédric Ollivier2-2/+131
Ellis publishes the shared config which mostly fails when resources are allocated in parallel (conflict). Then nothing works when the shared config is blank. It still remains failures in IMS testing which are still under analysis. Change-Id: Ic54a2a7478e07a9291c76be8ffc57f04d199421e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b0d0e945ebdff62045fe74bceacbf731f5d1abfd)
2019-02-27Gather all skipped tempest test casesPanagiotis Karalis1-1/+1
This patch applies a change to the regex responsible for identifying Tempest test cases. With the current regex some skipped test cases are erroneously ignored. The condition has been updated in order to match both format of skipped testcases ('skip:' and 'skip [xxx]:') Change-Id: Ie7144b01e07cae92918eede0324f3f1f2582c4aa Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com> (cherry picked from commit 692c50bbeb01b57c184cd8629a534a19f9b9ad73)
2019-02-25Remove useless vyos_vrouter output dirCédric Ollivier2-9/+2
It doesn't store any file. Change-Id: I94801508a11edb8f0bbff7e4319c4d50411ec715 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9262d3c0ee23aa5b79dbf790162134acccb5c42b)
2019-02-25Update VyOS to 1.1.8Cédric Ollivier2-4/+4
It's worth mentionning that the filesystem is hugely reduced. Change-Id: Ic3e8a5d601a62f1762cbd491c228b7f053905e35 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d4efec0554d8ba66d71d67626630ff9cc0761da2)
2019-02-24Ease copying/pasting the private keys from logsCédric Ollivier2-2/+2
Change-Id: I8f1ccdb709dbb3e7a22a404c036714dd848dd87d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f6b2577f4e052f493f6359265fc473fe98830b62)
2019-02-24Reduce Cloudify Ims resourcesCédric Ollivier1-3/+3
It eases testing with less resources. Change-Id: I301cdff0c8dfb2cf70ef53fc446749e1a70b0919 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit fd2375f17a6294210ffb48cdcb79e7d129ebe94d)
2019-02-23Stop downloading Cloudify containerCédric Ollivier2-1/+11
It selects the Docker image archive as proposed by Cloudify. Change-Id: I88b5333625a8d2cab140291552c1c8ca5bac3a36 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit fc5bccf4d29cd4bf705e3938fc189be686083f41)
2019-02-18Enrich Rally results outputStamatis Katsaounis2-5/+36
This patch adds success/failure information of rally test cases to summary output. Change-Id: Ie4f9b4972a26e187bb7afdddfd5ce51b16f3db12 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com> (cherry picked from commit 13777d607dd219ace0157e560ff11c3cd6f1aad0)
2019-02-18Only run bgpvpn tempest api testsCédric Ollivier2-2/+2
It conforms with SFC regex and fits OPNFV criteria. Running scenarios may force the use of bagpipe [1]. The SUT (functest-virtual) is being updated to verify SFC and BGPVPN apis. [1] https://docs.openstack.org/networking-bgpvpn/latest/user/drivers/bagpipe/index.html Change-Id: I1442b9cac7eaba1aeef04e36a2f790bd29f90976 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 2b4e7955815ce27284043c03730fff6ace029a0d)
2019-02-15Harden upper-constraints.txt operationsCédric Ollivier7-39/+42
It takes into account the wget exit values and avoids manipulating a falsy empty file. It won't help fixing the network outages in LF network which have been highlighted by false failures in api_check (the wrong snaps package is installed [1]) [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-healthcheck-latest-api_check-run/100/console Change-Id: Ic9b75965b1ffb1f7bb342ff216bda9933ca75f0b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit fa8c50f4fd19576a2fde5b04077810d4ca91b330)
2019-02-15Generate xunit reports (rally and tempest)Cédric Ollivier6-128/+153
It adds xunit reports for rally-based and tempest-based testcases. It completes the reports provided by snaps (thanks to Xtesting). All rally related operations are moved to rally. It allows removing the rally dependency to tempest which was false. Change-Id: Ia7d2476f58f4f68b7c88442e50cad844037a36e9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3393f2016483555c27d612c69ec11274cc8aa72a)
2019-02-15Update rally to support one global htmlCédric Ollivier1-1/+1
It isn't supported by Rally initally selected in Functest Hunter [1]. [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-smoke-hunter-rally_sanity-run/15/console Change-Id: I3182e73db580fc32959339c13b3b725283535b29 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 18e2880cba0265219941dfc4700f334e500d23eb)
2019-02-14Specify which rally tests to runStamatis Katsaounis2-24/+16
This patch adds the ability to specify which rally test to run by setting the appropriate configuration value. Change-Id: I6cbc9d12aada4f8eab68d2219d94ae1391a79021 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com> (cherry picked from commit d0cb38d7ad5046700564f2700df9b8c92706b32c)
2019-02-13Publish tempest details into databaseCédric Ollivier1-1/+1
It switches from tempest.log to rally.log to conform with rally/stestr. Change-Id: I00c2a268a2bc312a22a8d70278fad618c1c25235 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 4afaf09c94da6e98ca449a7495f158e2d30255e5)
2019-02-13Generate one single report for Rally testcasesCédric Ollivier2-9/+41
It eases sharing one single report including all task results. For the time being, rally_jobs only generates neutron.html. Then it only adds one report for rally_full and rally_sanity. We may consider generating only one json file but it asks for a refactoring (result parsing) which can be done in a second change. Change-Id: I8fa75ae80750336950f355c2aedc3dd4dc621cc5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 2df7a0728d687de9a24d8432ef30bbd2ecd771c8)
2019-02-13Increase timeout to reach vnf APICédric Ollivier2-3/+3
It increases the timeout in cloudify-based and clearwater-based testcases to allow running them in parallel (functest-virtual) [1]. [1] https://build.opnfv.org/ci/job/functest-latest-gate/54/ Change-Id: Ic637cb46a1380a683cb1e2b633cb97ac3be6affa Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 38cba4aa2c2cdfd17ea1aa0c29ee14ed7b2bf035)
2019-02-12Remove go cache dirCédric Ollivier1-1/+1
It saves about 290M. Change-Id: I603c689be989a603e933970f52510026026c7001 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 56c077dde1556b88030619cd4d26703060cb0824)
2019-02-12Select last git commit id from vyos blueprintCédric Ollivier1-1/+1
The pull request #4 fixing the blueprint [1] was merged [1]. [1] https://github.com/oolorg/opnfv-vnf-vyos-blueprint/commit/9b76d46a388d32d4985797620e67c2ed3315b3e4 [2] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-hunter-gate/4/console Change-Id: I3ddd86ee8c9fd30e68de74f06f40f782b1b04fd2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 83a4d0ca9875890ddee2128976325c0c6a6263fe)
2019-02-11Update and enable Cloudify-based testcasesCédric Ollivier8-20/+50
It switches from the Cloudify virtual machine to the community container which allows deploying vyos_vrouter and cloudify_ims. Last stable Cloudify OpenStack plugin (2.4.17) is now deployed. It also updates the Cloudify python package to latest release. It adds a delay before deleting the blueprint which may be improved in a second change (it allows enabling the testcase in the stable release). Change-Id: Ie48a2c9d2badab0d7ba0b9e7845f453fad335ef7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 97dde581982b9d49122aee3630328fb6064c8609)
2019-02-11Increase juju_epc timeoutCédric Ollivier1-1/+1
It fails 4 times in functest-virtual (out of 34) due to a possible slow bandwidth (e.g. [1]). [1] https://build.opnfv.org/ci/job/functest-opnfv-functest-vnf-latest-juju_epc-run/24/console Change-Id: Ie1aa69464f8dd0fa1a15900e7d49576368187a44 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-03Update Cloudify imagesCédric Ollivier4-2/+6
The former image can't be downloaded and then breaks all gates. It will be completed by changes in vnf if needed. Change-Id: Ie364aa2315257157a5e09eb4ba121926a60e7b26 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit f501b520f80d573a77cdae941fe19db216b94307)
2019-02-03Add missing | (typos) in DockerfilesCédric Ollivier2-2/+2
https://build.opnfv.org/ci/job/functest-tempest-docker-build-amd64-gambia/100/console Change-Id: I84075b585a0c45effb4120f3c0050e85a1ea6cfd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-02Update tempest to fix interfaces_by_fixed_ipCédric Ollivier3-3/+12
It includes [1] which allows testing even if one shared network is defined. [1] https://review.openstack.org/#/c/615425/3 Change-Id: I4fe3a6c355fd05bdac5a466816c5ed142be14fed Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-01-31Allow running latest tempest_fullCédric Ollivier1-0/+5
It allows running test_user_update_own_password [1] [1] http://artifacts.opnfv.org/functest/functest-opnfv-functest-components-latest-tempest_full-run-8/results/tempest_full/tempest-report.html Change-Id: I9f273ba58871f1e16886af623dcbb91f5c20c2f6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 9cd8ca6db84fd80f17b2d9c37d66d6a861130e7a)
2019-01-28Remove CreateInstanceVolumeTests (snaps_smoke)Cédric Ollivier1-7/+1
The volume and the virtual machine created are not deleted. Change-Id: I238fcb0839a2f609333080bc8c88b84327d51475 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 14d26a963665f17dc01d95bb996e1ae91ac44f03)
2019-01-28Decrease volume_size in all Rally testsCédric Ollivier3-7/+7
Devstack allocates a 24G disk image by default [1]. It can be easily reached by setting volume size to 5G or 10G. [1] https://github.com/openstack-dev/devstack/blob/master/stackrc#L779 Change-Id: I7c35d8f333718d6c192a9f12a714e626d60b1895 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 890d9a764bf88752d36983802f375d5e29c2bee2)