aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/download_images.sh
AgeCommit message (Collapse)AuthorFilesLines
2019-10-04Update Shaker image (1.3.0 + Debian Stretch)Cédric Ollivier1-2/+1
It udates Shaker to 1.3.0 and switches to Debian Stretch as base image. It also eases debugging as ssh basic auth is enabled (shaker/shaker). The arm image has to be built before enabling the testcase for arm. Change-Id: I894bae86c7e8f7cafbba2b4e00e3334afed0b6e2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-03-12Remove Snaps-based testcasesCédric Ollivier1-5/+0
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>
2019-02-24Update VyOS to 1.1.8Cédric Ollivier1-1/+1
It's worth mentionning that the filesystem is hugely reduced. Change-Id: Ic3e8a5d601a62f1762cbd491c228b7f053905e35 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-23Stop downloading Cloudify containerCédric Ollivier1-0/+1
It selects the Docker image archive as proposed by Cloudify. Change-Id: I88b5333625a8d2cab140291552c1c8ca5bac3a36 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2019-02-11Update and enable Cloudify-based testcasesCédric Ollivier1-1/+0
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>
2019-02-02Update Cloudify imagesCédric Ollivier1-1/+1
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>
2018-08-20ci/download_images.sh: Reduce wget dot reportingAlexandru Avadanii1-0/+1
Downloading large images outputs a lot of useless dots to show progress. Switch to 1M per dot (from 1K). Change-Id: I00e3d09ef28e7722798eeadc27649a96398aac32 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-08-14Remove all lxd refsCédric Ollivier1-1/+0
All Joid runs are stopped, then these scenarios can't be maintained. Change-Id: Ida7c8c86cbd377024047d4abbbc1806ad65afc8a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-26Take shaker arm64 image into accountCédric Ollivier1-0/+1
Change-Id: Ia1da6e97027df2cfa923f5ba076731e4a2817b1f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-06-21Integrate Shaker as a new testcaseCédric Ollivier1-0/+1
Shaker wraps around popular system network testing tools like iperf, iperf3 and netperf (with help of flent). Change-Id: Idd82ffd9642c90335ad156e899c0330473260f15 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-05-14Update cirros image version for ARM architectureDelia Popescu1-3/+1
Change-Id: Ia7a65a4f83798cb80ca7470d475c2c2d8c9fb6ea Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2018-04-23Check shell scripts via bashateCédric Ollivier1-1/+2
It also removes functest/cli/functest-complete.sh. Change-Id: I5d9313be6a155b4adf1b82ce2b111ec06823cd8f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-15Remove the image for orchestra testsLinda Wang1-1/+0
Change-Id: I80797fc08c03795c6e1ec604306f77da7ecefc19 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-08Remove duplicate ubuntu trusty/14.04 os imageValentin Boucher1-1/+0
VNF testcase use some Operating System image 2 of those are the same but not with the same name Change-Id: Ide5ae683f606f7f58535c0a59cec45e4a30d225c Signed-off-by: Valentin Boucher <valentin.boucher@kontron.com>
2017-12-21Update cirros image to 0.4.0Michael Polenchuk1-2/+2
ChangeLog: https://git.launchpad.net/cirros/plain/ChangeLog Change-Id: Ic41bec08b9dbfa7f1a501d5ba18602ba455fb5d0 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-09-11Re-enable orchestra tests (VNF)Morgan Richomme1-0/+1
"Marketplace is now running on port 8080. In addition, we have extended the marketplace backend in order to return the last modified header so that images are not re-downloaded all the time tests are executed. It should be done by Monday EOB" [1] [1]: https://jira.opnfv.org/browse/ORCHESTRA-17?jql=project%20%3D%20ORCHESTRA JIRA: ORCHESTRA-17 Change-Id: I17f6316003be9c2c3131ed640e6a32e482d1a174 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-09-05Stop downloading openbaton image.Cédric Ollivier1-1/+0
It's downloaded in all CI runs and forbids several ones (timeout). Change-Id: I2f269d941990b7235eba7cc6d58ad17072495176 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-29Revert cirros downloading urls to official onesLinda Wang1-5/+5
Change-Id: If8add206b2c3274adfa3eac77607fb7beaa59941 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-29Refactor the vyos_vrouter to adopt VNF abstractionShuya Nakama1-0/+1
JIRA: FUNCTEST-788 1.Modifying code of vyos_vrouter to inherit vnf abstraction class. 2.Adding vyos_vrouter code from our repo to functest. 3.Adding unit test of vyos_vrouter. 4.Doing test of modified vyos_vrouter codes on our labs. Change-Id: I77e4be8b2a140ea0176c607f2be736599f893ace Signed-off-by: Shuya Nakama <shuya.nakama@okinawaopenlabs.org>
2017-08-28Temporarily download cirros from artifactsLinda Wang1-5/+5
The domain download.cirros-cloud.net expired 2017-08-27, meaning cirros image downloads fail, so change the download url to artifacts temporarily. Change-Id: I26e0723b5df1300c3869cc2f4cad138794c17e4b Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-25download_images.sh: add --keep option to avoid redownloading imagesMorgan Richomme1-3/+1
Change-Id: Id25f1a354ffd067ba926dc67907b6ca913999437 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-24bug fix download_images.shMorgan Richomme1-1/+1
when xz the downloaded file, if the uncompressed target file already exists it exits with status 1 and breaks the gate Change-Id: Ie97ff34e6522af48c799e7c8c97dc3310222e683 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-23Download images from marketplace.openbaton.org:8082Cédric Ollivier1-3/+1
LF admins opened port 8082. Change-Id: I57a2beff32f0a346855968c4229dae4487ccbd85 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-23AArch64: SNAPS: CentOS, Ubuntu image configCatalina Focsa1-0/+4
Change-Id: I8cbbfda7dd4089c122af4e0a459f4c03c1a3bb3a Signed-off-by: Catalina Focsa <catalina.focsa@enea.com>
2017-08-23Fixes image download scriptTim Rozet1-2/+8
Fixes Include: - Fix previous behavior where multiple copies of the same file would be downloaded as blah.qcow.1, blah.qcow.2 and not overwrite original file. - Fix issue where files were always downloaded, even when they were not different from server version. It temporarily stops downloading from marketplace.openbaton.org:8082 which is blocked by LF firewalls. wget options are tuned to avoid wasting jjobs time. Change-Id: I9191847a3f80045329c160e86655cc0a0e80831c Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-21Give a list of links to wgetCédric Ollivier1-60/+15
Now download_images.sh simply relies on wget -i. It downloads all requirements as the biggest ones are mandatory or scenario independent (VNF) The offical ubuntu-16.04-server-cloudimg-amd64-disk1.img is selected instead of the one hosting by OPNFV SDNVPN. Change-Id: Ica566bb351f22dfba001678fe93b8a2b1523941a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-07-13Remove add_images.shjose.lausuch1-10/+34
The Docker images should not host any OS image. They shall be pre-downloaded and mounted as a docker volume to the functest container. Also, add scenario argument to skip images that are not needed for the scenario Change-Id: I652ec32b177ddea73c8a253359e873f13bf0c950 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-02Apply restrictive file permissionsCédric Ollivier1-0/+0
It conforms with [1] by creating a new venv which checks the unix permissions. As jjobs call Functest console scripts [2], all perms can be 644. Dockerfiles are updated as well. [1] https://security.openstack.org/guidelines/dg_apply-restrictive-file-permissions.html [2] https://gerrit.opnfv.org/gerrit/#/c/36805/ Depends-On: I9209e6efa1b493e24135402a46df72aaa14115d1 Change-Id: I31bc7f12b775928845e23b6b40288b0a50b87219 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-27SNAPS tests now support offline testing.spisarski1-0/+7
Images by type (cirros, centos, ubuntu) can now have the download URL be overridden, told to leverage a local file, or have custom configuration when using the snaps.openstack.tests.openstack_tests.py image settings helper functions. JIRA: FUNCTEST-809 Change-Id: I790094a7a26eb5a55f53d6e875c658dc5e7ac2f9 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-05-29Chmod 755 functest/ci/download_images.shCédric Ollivier1-0/+0
It's designed to be called via Jenkins and was fixed by the next rule: $ find ${FUNCTEST_REPO_DIR} -name "*.sh" \ |xargs grep \#\! |cut -d\: -f 1 |xargs chmod -c 755 Change-Id: I186aa9c3227dbac4e80f9a463632efdb2512020e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-18Add a new directory to hold pre-downloaded imageshelenyao1-0/+31
Put all images in the new direcotry. If users want to use the local image, map the local directory to the ${HOME}/functest/images Change-Id: I0d309b93f52b3da23d6130056f1a19907313ef68 Signed-off-by: helenyao <yaohelan@huawei.com>