Merge lp:~canonical-platform-qa/qa-jenkins-jobs/ust-add-periodic into lp:qa-jenkins-jobs

Proposed by Allan LeSage
Status: Merged
Approved by: Allan LeSage
Approved revision: 166
Merged at revision: 166
Proposed branch: lp:~canonical-platform-qa/qa-jenkins-jobs/ust-add-periodic
Merge into: lp:qa-jenkins-jobs
Diff against target: 81 lines (+31/-6)
1 file modified
jobs/ubuntu-system-tests/jobs.yaml (+31/-6)
To merge this branch: bzr merge lp:~canonical-platform-qa/qa-jenkins-jobs/ust-add-periodic
Reviewer Review Type Date Requested Status
Allan LeSage (community) Approve
platform-qa-bot continuous-integration Approve
Review via email: mp+302192@code.launchpad.net

Commit message

Add periodic ubuntu-system-tests jobs.

Description of the change

Add periodic ubuntu-system-tests jobs, four times a day.

To post a comment you must log in.
Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Needs Fixing (continuous-integration)
166. By Allan LeSage

Merge trunk, resolving conflict.

Revision history for this message
platform-qa-bot (platform-qa-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Allan LeSage (allanlesage) wrote :

LGMT!

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-05 19:55:04 +0000
3+++ jobs/ubuntu-system-tests/jobs.yaml 2016-08-05 21:37:57 +0000
4@@ -34,6 +34,7 @@
5 - 'flash-device'
6 - 'ust_{channel}_{device}_{test_level}'
7 - 'ust_{channel}_{device}_{test_level}_test'
8+ - 'ust_{channel}_{device}_periodic'
9 - 'ust_report-results-to-practitest'
10
11 - job-template:
12@@ -74,11 +75,6 @@
13 properties:
14 - copyartifact:
15 projects: "*"
16- parameters:
17- - ubuntu-system-tests-parameters:
18- test_level: '{test_level}'
19- channel: '{channel}'
20- device_channel: '{device_channel}'
21 node: '{device_node}'
22 builders:
23 - clear-artifacts
24@@ -97,12 +93,22 @@
25 name: 'ust_{channel}_{device}_{test_level}_test'
26 description: |
27 Provided for experimentation--e.g. re-running of failed tests.
28+ parameters:
29+ - ubuntu-system-tests-parameters:
30+ tests_to_run: '{test_level}'
31+ channel: '{channel}'
32+ device_channel: '{device_channel}'
33
34 - job-template:
35 <<: *UST_DEFAULT_JOB_TEMPLATE
36 name: 'ust_{channel}_{device}_{test_level}'
37 description: |
38 Triggered by image publication, reports results to PractiTest.
39+ parameters:
40+ - ubuntu-system-tests-parameters:
41+ tests_to_run: '{test_level}'
42+ channel: '{channel}'
43+ device_channel: '{device_channel}'
44 triggers:
45 - new-system-image-published-trigger:
46 channel: '{channel}'
47@@ -125,6 +131,25 @@
48 current-parameters: true
49 condition: 'UNSTABLE_OR_BETTER'
50
51+- job-template:
52+ <<: *UST_DEFAULT_JOB_TEMPLATE
53+ name: 'ust_{channel}_{device}_periodic'
54+ description: |
55+ Run a single reliable test a few times a day to scout for device problems.
56+ parameters:
57+ - ubuntu-system-tests-parameters:
58+ tests_to_run: ubuntu_system_tests.tests.test_add_contact.AddContactSystemTest.test_add_contact_with_name_and_number
59+ channel: '{channel}'
60+ device_channel: '{device_channel}'
61+ triggers:
62+ - timed: "H */6 * * *"
63+ publishers:
64+ - archive:
65+ artifacts: 'results/**/*'
66+ allow-empty: 'true'
67+ - junit:
68+ results: 'results/artifacts/test-results.xml'
69+
70 - parameter:
71 name: ubuntu-system-tests-parameters
72 parameters:
73@@ -134,7 +159,7 @@
74 description: "Launchpad branch of ubuntu-system-tests from which to run tests."
75 - string:
76 name: TESTS_TO_RUN
77- default: '{test_level}'
78+ default: '{tests_to_run}'
79 description: "List of tests to run, use 'sanity' or 'regression' to run those suites."
80 - string:
81 name: MAX_RETRIES

Subscribers

People subscribed via source and target branches