summaryrefslogtreecommitdiffstats
path: root/jjb/functest/functest-env-presetup.sh
AgeCommit message (Collapse)AuthorFilesLines
2018-06-28Fix unset RC_FILE_PATH in ScriptsTrevor Bramwell1-1/+0
Even though RC_FILE_PATH is defined in Jenkins as passed in as a parameter, bash still sees it as unset. Removing the 'nounset' option from these scripts should allow the check to success (RC_FILE_PATH set to blank). Change-Id: Ibcfdcf0d2a12c8119d2fe3ec3b354be782338bd5 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-06-27Functest: Restores ability to run with pre-defined credsTim Rozet1-19/+23
This patch is needed for the case where there are provided OS credentials to functest, and there is no need to find the installer VM and copy the credentials to the host. In the Apex snapshot case, there is no installer VM on the slave, so we must provide the credentials file. Also includes a fix to use tempest_smoke_serial for the snapshot netvirt verification until CSIT suite is working correctly. Change-Id: Ic84955f527e3f84bb0d8579a377b4a1883fe3eb2 Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-03-30add a default value for SSH_KEYdongwenjuan1-1/+1
Change-Id: I6b7d3a35cf9609e983e76b8c8d76757a99bbe15f Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-03-29bugfix: missing mcp ssh_key mappingdongwenjuan1-0/+6
For doctor test, we need the ssh_key to access to installer, controller and compute nodes in functest container. Change-Id: I821b7413e2e18064576c2ddbdb611eda5f3fd19b Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2018-02-06Get Daisy IP correctlyAlex Yang1-1/+1
In [1], there are two IP addresses of daisy VM in the arp table. Select the first one. [1]: https://build.opnfv.org/ci/job/functest-daisy-zte-pod9-daily-master/2/ Change-Id: Ic071d718004bf9ed215b7e53c56568f7f018051a Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-10-16Get daisy installer IPAlex Yang1-0/+18
Now the job functest-daisy-baremetal-daily-master runs on zte-pod3, but the INSTALLER_IP in [1] belongs to zte-pod2. Use virsh and arp commands to get the real INSTALLER_IP. [1] https://build.opnfv.org/ci/view/functest/job/functest-daisy-baremetal-daily-master/151/console Change-Id: I9e297b8f7a240437f81b4c3e2eab5949ac9d5e51 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-05-23Functest: fixes fetching os credsTim Rozet1-0/+31
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>