summaryrefslogtreecommitdiffstats
path: root/docker
AgeCommit message (Collapse)AuthorFilesLines
2019-03-22Remove hardcoded tempos in heat_imsCédric Ollivier1-103/+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-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 Kosonen1-0/+1
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 Ollivier1-48/+59
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 Ollivier1-2/+2
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-10Add dependencies in heat_imsCédric Ollivier1-72/+142
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 Ollivier3-129/+1603
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-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-18Only run bgpvpn tempest api testsCédric Ollivier1-1/+1
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-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-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 Ollivier2-4/+3
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-03Update Cloudify imagesCédric Ollivier1-0/+2
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-27Set Gnocchi scenario as optional in rally testsJuha Kosonen2-0/+9
The execution of an optional scenario is skipped if the corresponding openstack service does not exist. Change-Id: I8721f26ebc253ce02138b85d6c88e659c5afae80 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 3b7b393ca643bcf7db0361bcc4414b74fff953be)
2018-12-20Select Rocky for Neutron Rally jobsCédric Ollivier1-1/+1
It fixes our gates (the testcase was developed just after OpenStack Rocky). Change-Id: Ic1eac9a54115a56c60e609faea818989cd2bfce8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-12-18Allow pulling Neutron reviews or tagsCédric Ollivier1-2/+4
It updates smoke/Dockerfile to allow pulling Neutron reviews/tags (rally_jobs). Change-Id: Ifc10eebb444bfe2c3e1fb47a9bd52d8a4f8a7007 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 2d0c8cb6eaf10b7c712335beb79fae726ea3a965)
2018-12-16Fix NEUTRON_RALLY_TAG in smokeCédric Ollivier1-1/+1
It also fixes rally task name in config. Change-Id: I4f6fbbef814a5b45aeb3b6152878421fc6e998bc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 58df8ab5544a5bfff43dc6c4a2546194299a7734)
2018-11-15Switch to Clearwater Zamin (heat_ims)Cédric Ollivier1-2/+2
Zamin is declared as the first "stable" release. Cloudify descriptor is not ready for the update. Change-Id: Ibfd2e3a226e1a547dd8c4e32ff998bac007f10a5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 3ac3d8d6f725b76ccb22a730cd802f36f75c8b90)
2018-11-06Run vnfs in all scenariosCédric Ollivier1-10/+0
It allows fair comparisons between scenarios (e.g. ovs dpdk). os-nosdn-calipso-noha could be verified VNFs as well [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-gambia/32/console Change-Id: I0490eade81c531e38ce7156a61446a9fccaffb17 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 61b708cc0987bf48d07df9d46ed25e4b42c15efc)
2018-10-25Revert "Temporarily switch to collivier/abot_charm"Cédric Ollivier1-1/+1
This reverts commit 41177bc31389f923580278a0b914e511322961b2. Change-Id: Ic4e7f790ed084713eeb930d86f00af0989d46874 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-25Temporarily switch to collivier/abot_charmCédric Ollivier1-1/+1
It hosts a key fix which should be merged in the right repo. This patch can be safely reverted as soon as [1] is merged. [1] https://github.com/RebacaInc/abot_charm/pull/3 Change-Id: If98d163ecd2ce6b50c08d8dad886c0d4b2c39a34 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d2c129f8319503a8fabe5b87c71737845f06ab36)
2018-10-09Remove fds from stable/gambiaCédric Ollivier2-22/+1
FDS doesn't participate to Gambia. Change-Id: I9fb293b2972e0deb318ac9d3d08377039ea247e4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-10-06Read thirdparty-requirements.txt if py3Cédric Ollivier2-9/+10
It fixes the current build issues due to unsynced doctor [1]. [1] https://build.opnfv.org/ci/job/functest-features-docker-build-arm64-master/455/console Change-Id: Iad8b667e2615dcd976cd8120e4204665134922b7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 01509097c7447ee70d61f7e97d7947b127425eac)
2018-09-24Update Juju to 2.3.9Cédric Ollivier1-1/+1
It should fix the key bug about subnet discovery. Now juju_epc may run in parallel of rally testcases. Change-Id: I04c1fcf2a18b461e5809d436846aa52c4b2660c8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a51d42200d94643314ece1a833181a7193ce2265)
2018-09-20Add support for Rally OpenStack CI test casesJuha Kosonen2-0/+17
Include Neutron rally-jobs. Change-Id: Ic1122962bd7d876d179729640a8a321bc36442d8 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com> (cherry picked from commit 5d54a533d25a989dc64a2789788ff2f2fd6ad5c6)
2018-09-13Fix typoCédric Ollivier1-1/+0
This line should have been deleted by the previous commit. Change-Id: I18eb2dcc3c6124127c2bba2c9ec6e524caae8b09 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Remove former logic for tempestCédric Ollivier1-9/+3
It's now useless as Functest master conform with OpenStack master. Change-Id: Ibb08d40a721a9fa114967c6a504804b641b4a881 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Prepare gambia Docker tagsCédric Ollivier8-14/+14
Change-Id: I409975acd1493e2f5a6bdcb3a4bd6ff6e383e02e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-11Fix godeps commit idCédric Ollivier1-1/+3
Change-Id: I7af07849fb70ef53f293002f313035b46731b705 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-08Stop cloning when running vyos_vrouterCédric Ollivier1-0/+5
It moves the clone operation into docker build instead. Change-Id: I296005d8638510a999665d383a26c4fcd48897a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-05Conform with Barbican gatesCédric Ollivier1-2/+2
tempest.conf conforms with Devstack post-actions [1]. One test is still disabled as it may force to sign all images. A deeper analysis has to be done before enabling it. [1] https://github.com/openstack/barbican-tempest-plugin/blob/master/tools/pre_test_hook.sh Change-Id: I163c0e7c4671ca67f0b6c127c29fdcb12a8e426b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-04Remove vmtp and shaker from docker/smoke/testcases.yamlCédric Ollivier1-27/+0
Change-Id: Ic5754821542e873bb7d33a8864a852993947b762 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-03Avoid cloning reposCédric Ollivier7-31/+64
It inits the repos and fetch the required tags/ids/branches. All tags are fetched to meet pbr requirements. Change-Id: I0accd8ad04b93d63857e301dea11af69e0edf957 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-03Update tempest plugins tagsCédric Ollivier1-2/+2
Neutron and Barbican tempest plugins have just been released. Change-Id: Ib9c523e9a75dae31249fd84ba454d0ef8537ca1d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-02Move shaker and vmtp into functest-benchmarkingCédric Ollivier11-16/+78
It also updates all jobs and fixes Dockerhub hooks. Change-Id: Ib182155736b4dbdb829293081741a9d5cb8ea6d7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-02Update Xtesting to 0.60Cédric Ollivier5-85/+40
Xtesting leverages on stevedore [1] which will bring much more flexibility (discovery, module or class renaming, etc). OPNFV Features have to be updated as well: - https://gerrit.opnfv.org/gerrit/61713 - https://gerrit.opnfv.org/gerrit/61715 - https://gerrit.opnfv.org/gerrit/61717 - https://gerrit.opnfv.org/gerrit/61719 [1] https://docs.openstack.org/stevedore/latest/ Change-Id: I0ce45eb6c9af66546c2c020eb962fa457f6c7e1a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-02Merge "Optimize fetch"Cedric Ollivier4-10/+10
2018-09-02Optimize fetchCédric Ollivier4-10/+10
depth 1 is set when fetching. Change-Id: I1b470d1e370e18de9b3cfa51e5aea0374f76cac6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-02Merge changes Ib7384772,I94e94c21Cedric Ollivier1-1/+1
* changes: Update to Alpine 3.8 Publish unit test report
2018-09-01Update to Alpine 3.8Cédric Ollivier1-1/+1
https://alpinelinux.org/posts/Alpine-3.8.0-released.html Change-Id: Ib7384772175dd83f735d8cfbfafa1cef3fdc382c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-01Merge changes I4079fa36,I3ad7a38eCedric Ollivier6-31/+37
* changes: Allow refs as vnf requirement versions Avoid downloading git history
2018-09-01Allow refs as vnf requirement versionsCédric Ollivier1-3/+9
Change-Id: I4079fa3641373eee40f8a876a2a525635f2752eb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>