Merge lp:~canonical-platform-qa/qa-jenkins-jobs/ust-stable-and-unstable into lp:qa-jenkins-jobs

Proposed by Allan LeSage
Status: Merged
Approved by: Max Brustkern
Approved revision: 174
Merged at revision: 167
Proposed branch: lp:~canonical-platform-qa/qa-jenkins-jobs/ust-stable-and-unstable
Merge into: lp:qa-jenkins-jobs
Diff against target: 85 lines (+35/-2)
3 files modified
jobs/ubuntu-system-tests/jobs.yaml (+23/-0)
jobs/ubuntu-system-tests/ubuntu-system-tests-builder.sh (+8/-2)
jobs/vis/vis.sh (+4/-0)
To merge this branch: bzr merge lp:~canonical-platform-qa/qa-jenkins-jobs/ust-stable-and-unstable
Reviewer Review Type Date Requested Status
Max Brustkern (community) Approve
platform-qa-bot continuous-integration Approve
Review via email: mp+304006@code.launchpad.net

Commit message

Add jobs and reporting for ust "stable" and "unstable" tests.

Description of the change

Create new "stable" and "unstable" lists to be read and reported from PractiTest.

We'll load these lists with new convergence tests, remove some outmoded tests.

To post a comment you must log in.
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Max Brustkern (nuclearbob) wrote :

I like it.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'jobs/ubuntu-system-tests/jobs.yaml'
2--- jobs/ubuntu-system-tests/jobs.yaml 2016-08-24 21:32:15 +0000
3+++ jobs/ubuntu-system-tests/jobs.yaml 2016-08-25 21:04:14 +0000
4@@ -20,6 +20,9 @@
5 test_level:
6 - sanity
7 - regression
8+ automation_status:
9+ - stable
10+ - unstable
11 channel:
12 - 'rc'
13 - 'rc-proposed'
14@@ -36,6 +39,7 @@
15 - 'ust_{channel}_{device}_{test_level}_test'
16 - 'ust_{channel}_{device}_periodic'
17 - 'ust_report-results-to-practitest'
18+ - 'ust_rc-proposed_{device}_{automation_status}'
19
20 - job-template:
21 name: 'flash-device'
22@@ -151,6 +155,25 @@
23 - junit:
24 results: 'results/artifacts/test-results.xml'
25
26+- job-template:
27+ <<: *UST_DEFAULT_JOB_TEMPLATE
28+ name: 'ust_rc-proposed_{device}_{automation_status}'
29+ description: |
30+ Run stable or unstable tests periodically.
31+ parameters:
32+ - ubuntu-system-tests-parameters:
33+ tests_to_run: {automation_status}
34+ channel: rc-proposed
35+ device_channel: '{device_channel}'
36+ triggers:
37+ - timed: "H */6 * * *"
38+ publishers:
39+ - archive:
40+ artifacts: 'results/**/*'
41+ allow-empty: 'true'
42+ - junit:
43+ results: 'results/artifacts/test-results.xml'
44+
45 - parameter:
46 name: ubuntu-system-tests-parameters
47 parameters:
48
49=== modified file 'jobs/ubuntu-system-tests/ubuntu-system-tests-builder.sh'
50--- jobs/ubuntu-system-tests/ubuntu-system-tests-builder.sh 2016-08-24 18:09:36 +0000
51+++ jobs/ubuntu-system-tests/ubuntu-system-tests-builder.sh 2016-08-25 21:04:14 +0000
52@@ -40,11 +40,17 @@
53
54 case "$TESTS_TO_RUN" in
55 # yes we magically know the filter numbers
56+ "sanity")
57+ TESTS_TO_RUN=$(query_practitest_for_tests_to_run_by_filter 63805)
58+ ;;
59 "regression")
60 TESTS_TO_RUN=$(query_practitest_for_tests_to_run_by_filter 117776)
61 ;;
62- "sanity")
63- TESTS_TO_RUN=$(query_practitest_for_tests_to_run_by_filter 63805)
64+ "stable")
65+ TESTS_TO_RUN=$(query_practitest_for_tests_to_run_by_filter 126345)
66+ ;;
67+ "unstable")
68+ TESTS_TO_RUN=$(query_practitest_for_tests_to_run_by_filter 126346)
69 ;;
70 "")
71 # NOTE that conditional build step should've prevented
72
73=== modified file 'jobs/vis/vis.sh'
74--- jobs/vis/vis.sh 2016-07-14 21:33:41 +0000
75+++ jobs/vis/vis.sh 2016-08-25 21:04:14 +0000
76@@ -23,6 +23,10 @@
77 python3 qakit/vis/visualize.py --mongo-host $MONGO_HOST -o ${WORKSPACE}/results/ust_rc_krillin_regression.json ust_rc_krillin_regression
78 python3 qakit/vis/visualize.py --mongo-host $MONGO_HOST -o ${WORKSPACE}/results/ust_rc_arale_sanity.json ust_rc_arale_sanity
79 python3 qakit/vis/visualize.py --mongo-host $MONGO_HOST -o ${WORKSPACE}/results/ust_rc_arale_regression.json ust_rc_arale_regression
80+python3 qakit/vis/visualize.py --mongo-host $MONGO_HOST -o ${WORKSPACE}/results/ust_rc-proposed_krillin_stable.json ust_rc-proposed_krillin_stable
81+python3 qakit/vis/visualize.py --mongo-host $MONGO_HOST -o ${WORKSPACE}/results/ust_rc-proposed_arale_stable.json ust_rc-proposed_arale_stable
82+python3 qakit/vis/visualize.py --mongo-host $MONGO_HOST -o ${WORKSPACE}/results/ust_rc-proposed_krillin_unstable.json ust_rc-proposed_krillin_unstable
83+python3 qakit/vis/visualize.py --mongo-host $MONGO_HOST -o ${WORKSPACE}/results/ust_rc-proposed_arale_unstable.json ust_rc-proposed_arale_unstable
84
85 deactivate
86

Subscribers

People subscribed via source and target branches