summaryrefslogtreecommitdiffstats
path: root/jjb/functest/set-functest-env.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-08-29Merge "[fuel] Handle os cacert for baremetal deployments"Trevor Bramwell1-7/+8
2017-08-29Do not redirect errors in ${redirect}Cédric Ollivier1-1/+1
${redirect} can be equal to /dev/null. Change-Id: Ie66ee7ca2da92270de8619399a7f362acff8873a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-28[fuel] Handle os cacert for baremetal deploymentsMichael Polenchuk1-7/+8
Change-Id: I02503772dc5ed59562c2e0aba96280e2cae1da50 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-08-25Remove download images logs (too verbose)Morgan Richomme1-1/+1
logs were used to troubleshoot Functest CI pipeline issue solved with [1] [1]: https://gerrit.opnfv.org/gerrit/#/c/40109/ Change-Id: I56587f355c5e117efa8d0338204b0ced741477a7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-24Merge "Integrate functest with ARM Architecture"Aric Gardner1-0/+6
2017-08-24clean set-functest-envMorgan Richomme1-1/+5
- remove useless parameters when calling download_images.sh - add traces Change-Id: Iecb3516b53e572ae93ba411fc9c23b691be26e69 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-23Integrate functest with ARM ArchitectureDelia Popescu1-0/+6
Reads architecture of first compute node found on MCP installer and sends it as env variable when creating the conatiner. It is needed by https://gerrit.opnfv.org/gerrit/#/c/39991/ JIRA: ARMBAND-279 Change-Id: I7eec485507bd182190e95c0478182f506db4c821 Signed-off-by: Delia Popescu <delia.popescu@enea.com>
2017-07-17Merge "[Functest] Adapt set-functest-env to download OS images"Jose Lausuch1-2/+2
2017-07-14Compass: add cacert file to enable SSL verificationLinda Wang1-1/+5
Now only Openstack https is supported by OSA repo LXC in compass deployment, so certification file is required to enable SSL verification. After [1] is merged, the cacert file os_cacert will be provided in the container compass-tasks. [1]: https://gerrit.opnfv.org/gerrit/#/c/37451/ Change-Id: Id747cef1955733a1c93feb20a26d503a5de1fb93 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-07-13[Functest] Adapt set-functest-env to download OS imagesjose.lausuch1-2/+2
When [1] is ready and merged, we don't need to download the OS images that are not needed for the deployed scenario. The same filter applies to armband jobs. [1] https://gerrit.opnfv.org/gerrit/#/c/37373/ Change-Id: I5813c738a8d9fa1262299cc50993557757f6d7e8 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-07-04Use former calls to running Functest in Danubejose.lausuch1-1/+6
Change-Id: I472a41e3c2ad41e97a6f4ea3b82d72df73c8416b Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-30Directly call Functest console scriptsCédric Ollivier1-1/+1
It conforms jjobs with "Define console_scripts" [1]. [1] https://gerrit.opnfv.org/gerrit/#/c/36781/ Change-Id: I9209e6efa1b493e24135402a46df72aaa14115d1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-05-24Functest: removes redundant exit 0 from fetch credsTim Rozet1-0/+3
Also allows unset and pipefail explicitly in set-functest-env.sh Change-Id: I06ae718f563fed0596a37cec1b3a78e44ee7ea5d Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-23Functest: fixes fetching os credsTim Rozet1-31/+1
Since jenkins just imports the bash script at upload time, referencing another script in the releng repo inside of bash doesn't work. We need to split them out into their own builder includes. Change-Id: Id120a338ae5ec48eaa285681463bff01677bf316 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-23Functest: fixes downloading images for danube branchTim Rozet1-6/+12
The script for downloading images "download_images.sh" does not exist in stable/danube for functest. Therefore we revert to old behavior for that branch. Change-Id: Id94f3db27fd5b71bb981007472b55fadae0e5394 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-23Merge "[Functest] Provide credentials to Functest as a volume"Tim Rozet1-20/+13
2017-05-23[Functest] Provide credentials to Functest as a volumejose.lausuch1-20/+13
The OpenStack credentials shall be fetched from jjob and provided to Functest as a docker volume. This way, Functest framework doesn't need to do it. It will assume the RC file is already present. Change-Id: I7a94ffffaefe65911594a9894b60b10cd13735ad Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-05-22[Functest] Redirect output when downloading imagesjose.lausuch1-1/+1
Change-Id: Ieb3df7a4fa1519cf13c4f597c62d17ce356168fb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-05-19Merge "Download images and map the folder to container"Jose Lausuch1-3/+8
2017-05-19Download images and map the folder to containerhelenyao1-3/+8
This patch is to accommadate with the change in patch[1] Before running the Functest Docker container, downloading all required images first and map the folder to the container [1] https://gerrit.opnfv.org/gerrit/#/c/34033 Change-Id: I617bd988caf1fd354cf9ef675661d40742b693c6 Signed-off-by: helenyao <yaohelan@huawei.com>
2017-05-03[Functest] Remove Colorado and Brahmaputra supportjose.lausuch1-7/+3
CI no longer runs brahmaputra and colorado jobs. To keep the jobs as simple as possible, remove that support. Change-Id: I29661f414923807dc6c0d22526dc852a45dbe7bb Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-05-03Support opera test in functest relengHarry Huang1-0/+9
Because opera vnf test requires Open-O msb ip and the independency of this test case, set specific docker env vars for compass4nfv os-nosdn-openo-ha scenario. Change-Id: I486e3896dc86d29cf93818b317675c088c1c5198 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-02-15Apex,Functest: Updates env detectionTim Rozet1-16/+18
If Apex installer VM doesn't exist (such as in snapshot deployments) and the credentials file is already provided, then can continue functest. This patch adds that functionality and removes detection for the "instack" installer VM which is deprecated. Change-Id: I4267aebbcf0582529f38d451a7e8ba30f71c132a Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-13CSIT: Fixes credential file passingTim Rozet1-1/+2
Change-Id: I1605452d5ad4e61915e537677fc291f911dfb6e8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-02-10Use the aarch64 image for functestCristina Pauna1-6/+11
An aarch64 image was created for functest in https://gerrit.opnfv.org/gerrit/#/c/27801/ This image is build and pushed with https://gerrit.opnfv.org/gerrit/#/c/28291/ In this commit, the aarch64 image is pulled when an aarch64 jenkins slave is used for running functest. JIRA: ARMBAND-180 Change-Id: Idfe7115275a056ef5137cff0a963910c2707457c Signed-off-by: Cristina Pauna <cristina.pauna@enea.com>
2017-02-01merge GIT_BRANCH and GERRIT_BRANCH into BRANCHRyota MIBU1-4/+3
GIT_BRANCH parameter is different; master or stable/danube in daily jobs, but 'refs/changes/57/27657/6' in verify jobs. This breaks some job builders triggered by the both types of jobs. We have GERRIT_BRANCH parameter for verify jobs to identify stream and expected branch into the patch will be merged after it got +2 and submitted. To avoid further confusion and to have common job builders for daily and verify jobs, this patch introduce BRANCH parameter. GERRIT_BRANCH is now deprecated. Change-Id: Ibcd42c1cd8a0be0f330878b21d3011f1ec97043b Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-12-01Functest jjob: add the option to provide the rc file as parameterjose.lausuch1-17/+33
Change-Id: Icb5dd3f0f46eb4891609d1f0e4d868e84fe49a14 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-11-11Colorado bug fix: ci path did not changeMorgan Richomme1-0/+2
After refactoring of the repo structure we add to adapt the path in releng but this change is only valid for Danube and after old pathes must be kept for colorado JIRA: FUNCTEST-525 Change-Id: I4cf5951111dbb9cb3d7a002c24efe1167e994222 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-11-10Adapt jjb path to new functest repo structureMorgan Richomme1-1/+1
JIRA: FUNCTEST-525 Change-Id: I613757f98a7b41e924f1334053f83f8966536018 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2016-09-09add doctor-functest verify jobRyota MIBU1-1/+3
This patch adds a new jenkins job which will be executed every time doctor patch is uploaded. The code will be verified by executing doctor scenario on the specific pod using functest. JIRA: DOCTOR-70 Change-Id: I480cd905991ccb1ef7426187fe83cbf1ae798ce9 Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
2016-07-25[Functest] Add DEPLOY_TYPE in the container creationjose.lausuch1-1/+4
Change-Id: Id06771db96d1ca014c153ffc2b7567d6b2ea07ea Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-01Apex, Functest: Fixes iptables ruleTim Rozet1-1/+1
Something in Apex is pushing the RETURN rule down the chain, and adding REJECT reject-with icmp-port-unreachable. This enhances the check to make sure not only does the rule exist, but it is at the top of the chain. Change-Id: I527bc45c30008aaf30d5bc9e1d474a14065b3fdf Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-01Functest, Apex: Add iptables forwarding ruleTim Rozet1-0/+7
Change-Id: Ice55eece4aad6b9b8a1f51ebac13e26251b50708 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-21Functest, fix stackrc docker volume for Apex deploymentsjose.lausuch1-2/+2
Change-Id: Iea61baaca6f52fc794011aba40195c76c6da6b68 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-06-21Apex, Functest: Fixes ssh options when copying Apex stackrcTim Rozet1-1/+2
Change-Id: I53e7e208d380beb2799182dc85394215d7397f7c Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-15Fixed destintation path used for stackrcLuke Hinds1-1/+1
JIRA: RELENG-116 Change-Id: I6aaa933616c6bb2d31ebcd51fbccaac6ed92aef4 Signed-off-by: Luke Hinds <lukehinds@gmail.com>
2016-06-15Functest, add stackrc file to container for security tests in Apexjose.lausuch1-1/+4
JIRA: RELENG-116 Change-Id: I178bc9046b3dc37b29b1b2fffd5c477ce4971afc Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-05-24functest: Take builders out of jjbFatih Degirmenci1-0/+73
Change-Id: I546b1b323db2d1839335a34e8293b27f368b0626 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>