aboutsummaryrefslogtreecommitdiffstats
path: root/docker/vnf/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2020-08-17Boot a VM to run jujuCédric Ollivier1-24/+5
It allows running juju_epc vs arm32 and arm64. It stops offering juju in functest-vnf and rather installs it in a VM. It also adds a couple of missing output decode() Change-Id: I2218742b2824c8328823051bde32422e56784e90 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit c4db06b2254e075af242965bec70a9b4c0c0ba38)
2020-07-02Updates Kubernetes versionsCédric Ollivier1-0/+1
Kubernetes client selected by OpenStack is too old compared to K8s testing. Change-Id: I453b9518251ae3c907c17eef17a41ecc0e23dd2c Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 15f8bc5f0f60f529cc9681a8c1eb8dbb699bf61c)
2020-04-25Use ujson version asked by OpenStack requirementCédric Ollivier1-0/+1
It's newer than the former tag selected [1]. [1] https://github.com/openstack/requirements/blob/master/upper-constraints.txt Change-Id: Ie89136da364d7e972a1d7f49c71bdfbbdd9671d8 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 743235f280b675cab39adb15de8bcea215a1c038)
2020-04-03Fix upper-constraints in tempest-based containersCédric Ollivier1-1/+1
Change-Id: Id7f82b314af05c6b8ec47ef3685fcc806e72f1a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 749613f723ac25dc161b4311d20e3e691b7a8341)
2020-03-24Remove duplicated g++ in vnf/DockerfileCédric Ollivier1-1/+1
Co-Authored-By: Juha Kosonen <juha.kosonen@nokia.com> Change-Id: I63fbeb8d2a0941d9b3492c97e14a139ba050ad7d Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 1413d32a207502f88675e379264765687230884b)
2020-03-17Remove a duplicated packageCédric Ollivier1-1/+1
Change-Id: I7f9c5b5e2c59f23ada721e7209bec56bfa23ae9e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b732b5b53e1b46e406b8ebfcff16466e2543cd67)
2019-07-27Select the latest tempest versionCédric Ollivier1-1/+1
It selects the first release including our fixes. Change-Id: I553abc2df3c6adc727a24b9a27a7737f78fa3f5e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit b231ceb959a486b934c421a4d439b11dc3ac6916)
2019-06-19Update tempest commit idCédric Ollivier1-1/+1
It includes "Fix region leaks after testing endpoints" [1]. [1] https://github.com/openstack/tempest/commit/e8088d1218eba0b8e4ed59fa5ca30ac9b664b7fb Change-Id: I063a9c4e2f09a27c79ea77ba0cf9307642950070 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit bf0b79d887851ebf36dca853328d388a727fd483)
2019-05-28Remove PyNacl contraints in FeaturesCédric Ollivier1-0/+1
It conforms with "Install PyNaCl via package" [1]. functest-feature may raise timeouts when cross-compiling PyNacl [2]. [1] https://gerrit.opnfv.org/gerrit/#/c/67956/ [2] https://travis-ci.org/collivier/functest/jobs/538119733 Change-Id: I986677b869f62caee6be219ee1de622b7bc20ca4 Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com> (cherry picked from commit 7a628f087403089d282cda14bcba858d8b0bc6c3)
2019-05-21Avoid running local dnsmasq when testing IMSCédric Ollivier1-1/+1
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 Ollivier1-1/+1
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-03Update to tempest 20.0.0Cédric Ollivier1-1/+1
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-04-21Build arm* functest-vnf containers via travis-ciCédric Ollivier1-13/+16
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 Ollivier1-2/+2
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-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-07Modify the upstream Clearwater Heat filesCédric Ollivier1-3/+3
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 Ollivier1-2/+5
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-15Harden upper-constraints.txt operationsCédric Ollivier1-5/+5
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-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 Ollivier1-2/+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)
2018-11-16Fix cherry-pick mistakesCédric Ollivier1-6/+0
Change-Id: I891a8bb9f1440688dd17bda750d6e9fca17eb7a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-11-15Switch to Clearwater Zamin (heat_ims)Cédric Ollivier1-1/+7
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-10-25Revert "Temporarily switch to collivier/abot_charm"Cédric Ollivier1-1/+1
This reverts commit 204835a691869dc22031d207787f83a2a2937b0c. Change-Id: Ib64c3bd331f412692de3cac3ddff3b18e6bf819a 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-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-13Fix OPENSTACK_TAG (stable/rocky)Cédric Ollivier1-1/+1
It completes the previous change. Change-Id: I3d65e15eba6a4ba812466a01cefe938002a9b177 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-09-13Prepare hunter Docker tagsCédric Ollivier1-2/+2
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-03Avoid cloning reposCédric Ollivier1-12/+24
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-02Optimize fetchCédric Ollivier1-5/+5
depth 1 is set when fetching. Change-Id: I1b470d1e370e18de9b3cfa51e5aea0374f76cac6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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>
2018-09-01Avoid downloading git historyCédric Ollivier1-2/+2
It decreases container build duration. depth 1 is set only when TAG is not a commit id because github.com doesn't advertise commit ids. It switches to git.openstack.org as much as possible. Change-Id: I3ad7a38eda0f7023302d71bb55de23828120f599 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-08-26Set juju wait versionCédric Ollivier1-1/+2
It's mandatory before releasing. Change-Id: Iac7b49fb1061b39ee6683e7b30f163cfc2060a95 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-07-23New Heat IMS testcaseValentin Boucher1-3/+5
In order to validate OpenStack Master deployment we create this new testcase using OpenStack Heat as an Orchestrator for Clearwater VNF JIRA: FUNCTEST-995 Change-Id: I8b7b74a3753c2d4d4614e9a2798283bd3f99d5d2 Signed-off-by: Valentin Boucher <valentin.boucher@kontron.com>
2018-07-18Delete the right dir when building functest-vnfCédric Ollivier1-1/+1
It reduces a lot the size of the docker image. Change-Id: Ifd577169697b33dfd89594e8dd3afe4aa34ec7f9 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-19Add functest in upper-constraintsCédric Ollivier1-3/+4
It's required by OPNFV Features such as sfc. Functest is removed from constraints in Dockerfile else it would conflict with the local dir. Change-Id: I2df5cd151b43eb1a4f0320510183d0f28cdf84c3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-09Select the right quaff repoCédric Ollivier1-2/+2
Change-Id: I0aa090bf1f8c6220918ebc1b041bab4a43d444b5 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-09Force unf_ext 0.0.7.4Cédric Ollivier1-0/+1
Else it cannot compile vs arm [1][2] [1] https://build.opnfv.org/ci/job/functest-vnf-docker-build-arm64-master/231/console [2] https://github.com/sile/unf/pull/2/commits/74ed3e3b1ec31474cf9b8d8a90aee535607fdfe8 Change-Id: I8b0890c3b7a2a148975635c0f4eafbcc5568fc00 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-09Stop using a forked obsolete repoCédric Ollivier1-4/+9
It leverages on the official clearwater live test instead. It now parses the output directly. Change-Id: Ia7746c13362323daf72b3536d294401f0b7ae42f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-05-11Install Cloudify descritors in functest-vnfCédric Ollivier1-3/+8
It completes [1] to fix gates [2] and stops getting thirdparty vnf master (dependencies). It also prints data to ease debugging. [1] https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater/commit/abd39d772c77317a25745feaaf312165e7588346 [2] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-fraser/110/console Change-Id: Ib317a491e54820f4edb01fcecfca9d2a08b40c0f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-04-12Update to stable/queensCédric Ollivier1-1/+1
It allows getting first results before the blackout between MS0 and MS2.1. Testcases could work thanks to backward compatibility provided by openstack clients. It disables all features which are not synced (patches are under review). It will ease verifying installers which are following master because it reduces the gap between releases. Change-Id: If0893f6dbaed76d4bafbd10a4f0934e6c5057477 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-02Leverage on XtestingCédric Ollivier1-1/+1
It removes all the files which have moved to Xtesting. Vnf inheritances and env management will be improved in other changes. It keeps the same tree thanks to a symlink to allow publishing artifacts. Change-Id: I551bbd3f344cdab0158a50b7b09e541576695631 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-02-01Install vEPC dependencies in DockerfileCédric Ollivier1-0/+9
It also cleans sources and packages. Change-Id: Ie3a1a836c27af295b93386e8df63c0ae5accde84 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-12-11vEPC tests with juju as an VNF managersoumaya1-3/+13
juju_epc testcase validate EPC setup with the help of ABoT which acting as test executor. Functest-abot-epc-bundle deploys OAI charms alongwith mysql and ABoT. JUJU is acting as a VNF manager. Change-Id: I45d7b37f21f6b8c7049ab2bf42a4678e30b67a72 Signed-off-by: soumaya <soumaya.nayek@rebaca.com>
2017-11-22Remove prepare_envJose Lausuch1-1/+1
After moving the rally installation out of prepare_env It doesn't much sense to keep this script as it doesn't do useful things any more. Change-Id: I9ab3b2dd30c8ec0fbb825ee4302a83cce80f1cbe Signed-off-by: Jose Lausuch <jalausuch@suse.com>
2017-09-13Optimize Alpine DockerfilesCédric Ollivier1-3/+6
It mainly splits vnfs runtime and build dependencies to save space at the end. Change-Id: I8307fa416066cc8c50b96862de8bafd2c47a2ace Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-22Use dnsmasq to cache DNS queriesCédric Ollivier1-1/+1
It's mandatory for clearwater_ims as musl's resolver queries nameservers all in parallel and accepts whichever response arrives first [1]. [1] http://wiki.musl-libc.org/wiki/Functional_differences_from_glibc#Name_Resolver_.2F_DNS Change-Id: I01a17436279a0be2fac1b27b73052edc594c33e0 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-18Integrate cloudify_ims in functest-featuresCédric Ollivier1-0/+12
We only rely on system libraries in case of Alpine. It's not possible in case of Ubuntu 14.04 because libxml is too old. Change-Id: I304f8ea5e9a6541e9719210db9d07949107bf193 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>