diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2017-09-11 11:48:46 +0200 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2017-09-11 11:48:46 +0200 |
commit | e19f03540368a5d3f78e6a2d856a91cf52892414 (patch) | |
tree | 6497611cbd19fde1b07ddc0141efda6bc5b01f84 /jjb | |
parent | b584f4d1b522b2dc62b664c5dca33e121a2efab2 (diff) |
Switch daily job to Alpine containers
The following alpine containers will be launched one after the others:
- healthcheck
- smoke
- features
- vnf
Old container is kept for suite (which could be refactored later)
Jenkins exit condition (return_value) and push_test_logs to be checkeded.
Regarding the return condition, I did not reapply the mechanism that returns false
when one of the test suite is FAIL. This was misleading for lots of people as
for them, red means functest is FAIL.The argument was, if functest jenkins status
is blue, people believe that tests are PASS and do not consider the results, which
may be FAIL, which may be also misleading...
Due to the refactoring I think we can be more Functest Centric and consider
that if we succeeded in running the test, our CI status shall be PASS (same
behavior than other test projects..HA test FAIL in yardstick do not prevent blue
status).
Scenario owner must have a look at the reportign page to get more details.
Functest PASS means that tests have been succesfully launched, so they know that
there are available results
To summarize
previously Functest OK but 1 or more tests FAIL => red status in Jenkins
currently Functest OK but 1 or more tests FAIL => blue status in Jenkins
Regarding the push to artifacts, it should be transparent (volume) but the last
log links listed on huawei-virtual5 are broken [1]
[1]: https://build.opnfv.org/ci/view/functest/job/functest-alpine-compass-huawei-virtual5-daily-master/27/consoleFull
Change-Id: I4ed036dda3daae3d46726e5946f9d04897bab9bb
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'jjb')
-rw-r--r-- | jjb/functest/functest-daily-jobs.yml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/jjb/functest/functest-daily-jobs.yml b/jjb/functest/functest-daily-jobs.yml index d34437265..b1d7e748d 100644 --- a/jjb/functest/functest-daily-jobs.yml +++ b/jjb/functest/functest-daily-jobs.yml @@ -364,10 +364,9 @@ name: functest-daily-builder builders: - 'functest-cleanup' - - 'set-functest-env' + - 'set-functest-env-alpine' - 'functest-daily' - 'functest-store-results' - - 'functest-exit' - builder: name: functest-suite-builder @@ -392,7 +391,7 @@ name: functest-daily builders: - shell: - !include-raw: ./functest-loop.sh + !include-raw: ./functest-alpine.sh - builder: @@ -411,6 +410,14 @@ - ./set-functest-env.sh - builder: + name: set-functest-env-alpine + builders: + - shell: + !include-raw: + - ./functest-env-presetup.sh + - ../../utils/fetch_os_creds.sh + +- builder: name: functest-store-results builders: - shell: |