aboutsummaryrefslogtreecommitdiffstats
path: root/docker/vnf/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2020-11-11Add rally and xrally_kubernetes in upper-constraints.txtCédric Ollivier1-0/+2
It's needed by functest_kubernetes. Change-Id: I2ebd730a1d9f84a63026e8cf03cf27367d0bcfde Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-10-05Swith to active abot_charm repoCédric Ollivier1-1/+1
We keep syncing both repos but it helps quickly integrating patches. Change-Id: Ia6f05994d209e60d1278b7a033317bf7e17e22c6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit caf48eebae6c3ffadf1589c5f34d4a272fb09b92)
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>
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-2/+1
Change-Id: Id7f82b314af05c6b8ec47ef3685fcc806e72f1a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2020-04-02Keep the modified tempestCédric Ollivier1-0/+1
http://artifacts.opnfv.org/functest/CRY58ZS3031L/functest-ovn-opnfv-functest-healthcheck-jerma-tempest_smoke-run-37/tempest_smoke/tempest-report.html Change-Id: I9598a45b09151fa267294716f70e65e3050f0239 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 21b512e55eb36e38160b697baae44c464fce9034)
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-09-14Select python 3.6 as defaultCédric Ollivier1-3/+3
It switches to Python3 as default due to new OPNFV iruya release date (December) which is very closed to Python2 EOL. Functest Iruya (first release published in April) has supported both Python2 and Python3. Change-Id: I4c1294a5361e591fc7a8a88b3d067fc3b39e00c4 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
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>
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>
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>
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 75d581a9d3ec7c11a9a696db4b271c2691c28f15)
2019-03-30Set package versions instead of masterCédric Ollivier1-1/+2
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-28Prepare Functest Iruya ContainersCédric Ollivier1-3/+3
It takes into account the new branch stable/iruya. Change-Id: I802a42b07ceae2328a812a99a99057beb1b94e5b Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-20Update 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>
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>
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>
2019-02-15Harden upper-constraints.txt operationsCédric Ollivier1-5/+4
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>
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>
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>
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>
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-10-25Revert "Temporarily switch to collivier/abot_charm"Cédric Ollivier1-1/+1
This reverts commit d2c129f8319503a8fabe5b87c71737845f06ab36. Change-Id: Ie8e067486365cd5cc848d307f0078540eac08dcb 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>
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>
2018-09-13Update constraints to OpenStack masterCédric Ollivier1-1/+1
Change-Id: I77765db676e06fef5ccb9ae73a9c995ad4fb76d2 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>