Add functest return status in Alpines 79/42479/4
authorMorgan Richomme <morgan.richomme@orange.com>
Wed, 20 Sep 2017 07:15:42 +0000 (09:15 +0200)
committerMorgan Richomme <morgan.richomme@orange.com>
Wed, 20 Sep 2017 07:33:20 +0000 (09:33 +0200)
commitb9ed2db97d34f790bd2db34ece1e4044d55ca339
tree541eb9677987d7c616b83c1edbf3e82a8b0aabdd
parent55746e543b9a56d7648d28620db90688cc2ed3d8
Add functest return status in Alpines

So far we had 2 approaches:

 * return Functest CI status: can be OK even if tests are FAIL
 * return Functest Test status: can be FAIL even if all Functest tests are OK
 (Fail in onboaraded tests)

A 3rd way is possible thanks to [1].
We consider only Functest status and Functest tests for the return statement

the return will be FAIL only if

 * error in the framework
 * error in Functest Tests

So concretely, if promise, Doctor can be FAIL, if Functest tests are OK, the
return will be PASS

[1]: https://gerrit.opnfv.org/gerrit/#/c/42245/

Change-Id: I6c7fbe99d888e43700ddb2dfc9bfd6cc9bfbaed6
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
jjb/functest/functest-alpine.sh
jjb/functest/functest-daily-jobs.yml