Hi,

There was a problem with functest-suite and exporting the environment variables 
in the shell scripts we were running within the jenkins builders. This patch 
should fix that issue:
https://gerrit.opnfv.org/gerrit/#/c/45301/ 
<https://gerrit.opnfv.org/gerrit/#/c/45301/>

and this one should fix the TESTCASE_OPTIONS issue and also the error you get 
in the jenkins output when trying to push the results to the DB:
https://gerrit.opnfv.org/gerrit/#/c/45349/ 
<https://gerrit.opnfv.org/gerrit/#/c/45349/>

Once the second one is merged, please try again to run the doctor job.

Regards,
Jose





> On 17 Oct 2017, at 04:01, [email protected] wrote:
> 
> 
> 
> Hi All,
> 
> 
> 
> As doctor verify job using the 'functest-suite-builder' to test, I found that 
> many parameters are not passed to start functest docker container.
> 
> Such as {sshkey_vol}, {TESTCASE_OPTIONS}, you can see the log from[1]
> 
> 
> 
> [1] 
> https://build.opnfv.org/ci/job/doctor-python-verify-apex-sample-master/121/console
>  
> <https://build.opnfv.org/ci/job/doctor-python-verify-apex-sample-master/121/console>
> This part:
> 
> docker run --privileged=true -e INSTALLER_TYPE=apex -e 
> INSTALLER_IP=192.168.X.X     -e NODE_NAME=zte-virtual3 -e 
> DEPLOY_SCENARIO=os-nosdn-nofeature-ha     -e 
> BUILD_TAG=jenkins-doctor-python-verify-apex-sample-master-121 -e 
> DEPLOY_TYPE=baremetal -v 
> /home/jenkins/opnfv/functest/images:/home/opnfv/functest/images -v 
> /home/jenkins/opnfv/functest/results/master:/home/opnfv/functest/results  -v 
> /home/jenkins/opnfv-openrc.sh:/home/opnfv/functest/conf/openstack.creds  
> opnfv/functest-features:latest /bin/bash -c 'prepare_env start && run_tests 
> -r -t doctor-notification'
> 
> 
> You can see that  {sshkey_vol}, {TESTCASE_OPTIONS} are missing and 
> 'INSTALLER_IP' is wrong.
> 
> I remember that using 'export XXX=XXX' in different builders are not 
> effective, they have different workspace.
> 
> Not sure about that. Do you have any ideas? Can you help to fix it? Thanks~
> 
> 
> 
> 
> 
> BR,
> 
> dwj
> 
> 
> 
> 
> 

_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to