Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 1 | --- |
| 2 | # voltha 2.0 tests |
| 3 | |
| 4 | - project: |
| 5 | name: voltha-e2e |
| 6 | |
| 7 | project-name: '{name}' |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 8 | manualBranch: '' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 9 | |
| 10 | jobs: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 11 | - 'voltha-periodic-test': |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 12 | name: 'periodic-voltha-sanity-test' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 13 | build-node: 'qct-pod4-node2' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 14 | code-branch: 'master' |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 15 | make-target: sanity-multi-kind |
| 16 | onus: 2 |
| 17 | pons: 2 |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 18 | time-trigger: "H H/6 * * *" |
| 19 | |
| 20 | - 'voltha-periodic-test': |
| 21 | name: 'periodic-voltha-sanity-test-2.3' |
| 22 | build-node: 'qct-pod4-node2' |
| 23 | code-branch: 'voltha-2.3' |
| 24 | make-target: sanity-multi-kind |
| 25 | onus: 2 |
| 26 | pons: 2 |
| 27 | time-trigger: "H H/6 * * *" |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 28 | |
| 29 | - 'voltha-periodic-test': |
Hung-Wei Chiu | 5ec2edf | 2020-04-30 14:53:13 -0700 | [diff] [blame] | 30 | name: 'periodic-voltha-test-bbsim' |
| 31 | pipeline-script: 'voltha-nightly-tests-bbsim.groovy' |
Andy Bavier | f93f314 | 2020-01-09 16:08:51 -0700 | [diff] [blame] | 32 | build-node: 'qct-pod4-node2' |
Andy Bavier | d4ba337 | 2020-01-21 17:01:53 -0700 | [diff] [blame] | 33 | make-target: functional-single-kind |
Hung-Wei Chiu | 5ec2edf | 2020-04-30 14:53:13 -0700 | [diff] [blame] | 34 | code-branch: 'master' |
Andy Bavier | f93f314 | 2020-01-09 16:08:51 -0700 | [diff] [blame] | 35 | onus: 1 |
| 36 | pons: 1 |
Andy Bavier | d4ba337 | 2020-01-21 17:01:53 -0700 | [diff] [blame] | 37 | time-trigger: "H H/12 * * *" |
Andy Bavier | f93f314 | 2020-01-09 16:08:51 -0700 | [diff] [blame] | 38 | |
| 39 | - 'voltha-periodic-test': |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 40 | name: 'periodic-voltha-functional-test-2.3' |
| 41 | build-node: 'qct-pod4-node2' |
| 42 | code-branch: 'voltha-2.3' |
| 43 | make-target: functional-single-kind |
| 44 | onus: 1 |
| 45 | pons: 1 |
| 46 | time-trigger: "H H/12 * * *" |
| 47 | |
| 48 | - 'voltha-periodic-test': |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 49 | name: 'periodic-voltha-system-test' |
| 50 | pipeline-script: 'voltha-system-test-bbsim.groovy' |
hwchiu | c7d5d03 | 2019-12-03 16:42:47 -0800 | [diff] [blame] | 51 | build-node: 'ubuntu16.04-basebuild-4c-8g' |
hwchiu | c9189b7 | 2019-12-02 15:12:29 -0800 | [diff] [blame] | 52 | code-branch: 'master' |
hwchiu | 593a95a | 2020-01-30 10:09:39 -0800 | [diff] [blame] | 53 | make-target: sanity-multi-kind |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 54 | onus: 2 |
| 55 | pons: 2 |
| 56 | time-trigger: "H H/12 * * *" |
| 57 | |
| 58 | - 'voltha-periodic-test': |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 59 | name: 'periodic-voltha-system-test-2.3' |
| 60 | pipeline-script: 'voltha-system-test-bbsim.groovy' |
| 61 | build-node: 'ubuntu16.04-basebuild-4c-8g' |
| 62 | code-branch: 'voltha-2.3' |
| 63 | make-target: sanity-multi-kind |
| 64 | onus: 2 |
| 65 | pons: 2 |
| 66 | time-trigger: "H H/12 * * *" |
| 67 | |
| 68 | |
| 69 | - 'voltha-periodic-test': |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 70 | name: 'periodic-voltha-sanity-test-multi-runs' |
Andy Bavier | 0088c21 | 2020-01-08 13:44:03 -0700 | [diff] [blame] | 71 | pipeline-script: 'voltha-go-multi-tests.groovy' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 72 | build-node: 'qct-pod4-node2' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 73 | code-branch: 'master' |
Andy Bavier | eea37da | 2020-01-17 17:11:32 -0700 | [diff] [blame] | 74 | make-target: sanity-kind |
Andy Bavier | 93e125e | 2020-01-17 15:23:50 -0700 | [diff] [blame] | 75 | onus: 1 |
| 76 | pons: 1 |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 77 | test-runs: 5 |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 78 | time-trigger: "H H/6 * * *" |
| 79 | |
| 80 | - 'voltha-periodic-test': |
| 81 | name: 'periodic-voltha-sanity-test-multi-runs-2.3' |
| 82 | pipeline-script: 'voltha-go-multi-tests.groovy' |
| 83 | build-node: 'qct-pod4-node2' |
| 84 | code-branch: 'voltha-2.3' |
| 85 | make-target: sanity-kind |
| 86 | onus: 1 |
| 87 | pons: 1 |
| 88 | test-runs: 5 |
| 89 | time-trigger: "H H/6 * * *" |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 90 | |
| 91 | - 'voltha-periodic-test': |
Andy Bavier | 0d1d63e | 2020-03-03 13:52:02 -0700 | [diff] [blame] | 92 | name: 'periodic-voltha-alarm-test' |
| 93 | build-node: 'qct-pod4-node2' |
Andy Bavier | 0d1d63e | 2020-03-03 13:52:02 -0700 | [diff] [blame] | 94 | code-branch: 'master' |
| 95 | make-target: bbsim-alarms-kind |
| 96 | onus: 1 |
| 97 | pons: 1 |
| 98 | time-trigger: "H H/3 * * *" |
| 99 | |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 100 | - 'voltha-periodic-test': |
| 101 | name: 'periodic-voltha-alarm-test-2.3' |
| 102 | build-node: 'qct-pod4-node2' |
| 103 | code-branch: 'voltha-2.3' |
| 104 | make-target: bbsim-alarms-kind |
| 105 | onus: 1 |
| 106 | pons: 1 |
| 107 | time-trigger: "H H/3 * * *" |
| 108 | |
Hung-Wei Chiu | f3f0005 | 2020-03-31 11:12:06 -0700 | [diff] [blame] | 109 | - 'voltha-periodic-test': |
| 110 | name: 'nightly-voltha-DTflow-sanity-test' |
| 111 | build-node: 'ubuntu16.04-basebuild-4c-8g' |
| 112 | code-branch: 'master' |
| 113 | make-target: sanity-kind-dt |
| 114 | onus: 1 |
| 115 | pons: 1 |
| 116 | time-trigger: "@daily" |
Hung-Wei Chiu | f284d3f | 2020-04-08 11:38:13 -0700 | [diff] [blame] | 117 | work-flow: DT |
Hung-Wei Chiu | f3f0005 | 2020-03-31 11:12:06 -0700 | [diff] [blame] | 118 | |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 119 | # Per-patchset Pod builds on Tucson pod |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 120 | - 'verify_physical_voltha_patchset_auto': |
| 121 | name: 'verify_physical_voltha_patchset_auto' |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 122 | build-node: 'tucson-pod' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 123 | config-pod: 'tucson-pod' |
Andy Bavier | 9c45bd2 | 2020-04-06 10:37:38 -0700 | [diff] [blame] | 124 | oltDebVersion: 'openolt_asfvolt16-2.3.0-bc6e0853e0e8bf6bd7e4223d4a7ee0dd35ce634d.deb' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 125 | profile: 'Default' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 126 | |
| 127 | # Per-patchset Pod builds on Tucson pod |
| 128 | - 'verify_physical_voltha_patchset_manual': |
| 129 | name: 'verify_physical_voltha_patchset_manual' |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 130 | build-node: 'tucson-pod' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 131 | config-pod: 'tucson-pod' |
Andy Bavier | 9c45bd2 | 2020-04-06 10:37:38 -0700 | [diff] [blame] | 132 | oltDebVersion: 'openolt_asfvolt16-2.3.0-bc6e0853e0e8bf6bd7e4223d4a7ee0dd35ce634d.deb' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 133 | profile: 'Default' |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 134 | |
| 135 | # Manual build job for Tucson pod |
| 136 | # Allow local testing without disrupting above job |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 137 | - 'build_physical_voltha_manual': |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 138 | name: 'build_tucson-pod_manual' |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 139 | build-node: 'tucson-pod' |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 140 | config-pod: 'tucson-pod' |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 141 | manualBranch: 'master' |
Andy Bavier | 9c45bd2 | 2020-04-06 10:37:38 -0700 | [diff] [blame] | 142 | oltDebVersion: 'openolt_asfvolt16-2.3.0-bc6e0853e0e8bf6bd7e4223d4a7ee0dd35ce634d.deb' |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 143 | profile: 'Default' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 144 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 145 | - job-template: |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 146 | id: 'voltha-periodic-test' |
| 147 | name: '{name}' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 148 | pipeline-script: 'voltha-go-tests.groovy' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 149 | test-runs: 1 |
| 150 | robot-args: '' |
Andy Bavier | b35171c | 2020-03-06 15:47:29 -0700 | [diff] [blame] | 151 | gerrit-project: '' |
Hung-Wei Chiu | f284d3f | 2020-04-08 11:38:13 -0700 | [diff] [blame] | 152 | work-flow: '' |
Andy Bavier | 02b00dc | 2020-04-28 13:01:12 -0700 | [diff] [blame] | 153 | sandbox: true |
Andy Bavier | b35171c | 2020-03-06 15:47:29 -0700 | [diff] [blame] | 154 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 155 | description: | |
| 156 | <!-- Managed by Jenkins Job Builder --> |
| 157 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 158 | E2E Validation for Voltha 2.X |
| 159 | |
| 160 | properties: |
| 161 | - cord-infra-properties: |
| 162 | build-days-to-keep: '{build-days-to-keep}' |
| 163 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 164 | |
| 165 | wrappers: |
| 166 | - lf-infra-wrappers: |
| 167 | build-timeout: '{build-timeout}' |
| 168 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 169 | |
| 170 | parameters: |
| 171 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 172 | name: buildNode |
Andy Bavier | 833b78e | 2019-11-22 17:01:31 -0700 | [diff] [blame] | 173 | default: '{build-node}' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 174 | description: 'Name of the Jenkins node to run the job on' |
| 175 | |
| 176 | - string: |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 177 | name: extraHelmFlags |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 178 | default: '--set onu={onus},pon={pons}' |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 179 | description: 'Helm flags to pass to ./voltha up' |
| 180 | |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 181 | - string: |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 182 | name: makeTarget |
| 183 | default: '{make-target}' |
| 184 | description: 'Makefile target to invoke during test' |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 185 | |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 186 | - string: |
| 187 | name: manifestUrl |
| 188 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
Andy Bavier | 6dfaf7e | 2020-03-30 14:52:59 -0700 | [diff] [blame] | 189 | description: 'Repo manifest URL for code checkout' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 190 | |
| 191 | - string: |
Andy Bavier | 6dfaf7e | 2020-03-30 14:52:59 -0700 | [diff] [blame] | 192 | name: branch |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 193 | default: '{code-branch}' |
Andy Bavier | 6dfaf7e | 2020-03-30 14:52:59 -0700 | [diff] [blame] | 194 | description: 'Repo manifest branch for code checkout' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 195 | |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 196 | - string: |
Andy Bavier | b35171c | 2020-03-06 15:47:29 -0700 | [diff] [blame] | 197 | name: gerritProject |
| 198 | default: '{gerrit-project}' |
| 199 | description: 'Name of the Gerrit project' |
| 200 | |
| 201 | - string: |
| 202 | name: gerritChangeNumber |
| 203 | default: '' |
| 204 | description: 'Changeset number in Gerrit' |
| 205 | |
| 206 | - string: |
| 207 | name: gerritPatchsetNumber |
| 208 | default: '' |
| 209 | description: 'PatchSet number in Gerrit' |
| 210 | |
| 211 | - string: |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 212 | name: testRuns |
| 213 | default: '{test-runs}' |
| 214 | description: 'How many times to repeat the tests' |
| 215 | |
| 216 | - string: |
| 217 | name: extraRobotArgs |
| 218 | default: '{robot-args}' |
| 219 | description: 'Arguments to pass to robot' |
| 220 | |
Hung-Wei Chiu | f284d3f | 2020-04-08 11:38:13 -0700 | [diff] [blame] | 221 | - string: |
| 222 | name: workFlow |
| 223 | default: '{work-flow}' |
| 224 | description: 'Workflow for testcase' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 225 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 226 | project-type: pipeline |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 227 | concurrent: true |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 228 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 229 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 230 | |
| 231 | triggers: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 232 | - timed: | |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 233 | TZ=America/Los_Angeles |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 234 | {time-trigger} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 235 | |
| 236 | - job-template: |
| 237 | id: 'voltha-patch-test' |
Matteo Scandolo | 84e5f00 | 2020-02-10 11:50:05 -0800 | [diff] [blame] | 238 | name: 'verify_{project}_sanity-test{name-extension}' |
Andy Bavier | 4318f8d | 2020-04-09 13:50:53 -0700 | [diff] [blame] | 239 | override-branch: '$GERRIT_BRANCH' |
Andy Bavier | 02b00dc | 2020-04-28 13:01:12 -0700 | [diff] [blame] | 240 | sandbox: true |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 241 | |
| 242 | description: | |
| 243 | <!-- Managed by Jenkins Job Builder --> |
| 244 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 245 | E2E Validation for Voltha 2.X |
| 246 | |
| 247 | properties: |
| 248 | - cord-infra-properties: |
| 249 | build-days-to-keep: '{build-days-to-keep}' |
| 250 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 251 | |
| 252 | wrappers: |
| 253 | - lf-infra-wrappers: |
| 254 | build-timeout: '{build-timeout}' |
| 255 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 256 | |
| 257 | parameters: |
| 258 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 259 | name: buildNode |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 260 | default: 'ubuntu16.04-basebuild-4c-8g' |
| 261 | description: 'Name of the Jenkins node to run the job on' |
| 262 | |
| 263 | - string: |
| 264 | name: manifestUrl |
| 265 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 266 | description: 'URL to the repo manifest' |
| 267 | |
| 268 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 269 | name: branch |
Andy Bavier | 4318f8d | 2020-04-09 13:50:53 -0700 | [diff] [blame] | 270 | default: '{override-branch}' |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 271 | description: 'Name of the branch to use' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 272 | |
| 273 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 274 | name: gerritProject |
| 275 | default: '$GERRIT_PROJECT' |
| 276 | description: 'Name of the Gerrit project' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 277 | |
| 278 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 279 | name: gerritChangeNumber |
| 280 | default: '$GERRIT_CHANGE_NUMBER' |
| 281 | description: 'Changeset number in Gerrit' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 282 | |
| 283 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 284 | name: gerritPatchsetNumber |
| 285 | default: '$GERRIT_PATCHSET_NUMBER' |
| 286 | description: 'PatchSet number in Gerrit' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 287 | |
| 288 | - string: |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 289 | name: extraHelmFlags |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 290 | default: '' |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 291 | description: 'Helm flags to pass to ./voltha up' |
| 292 | |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 293 | project-type: pipeline |
Kailash | b59bc7f | 2019-09-03 13:13:27 -0700 | [diff] [blame] | 294 | concurrent: true |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 295 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 296 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 297 | |
| 298 | triggers: |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 299 | - gerrit: |
| 300 | server-name: '{gerrit-server-name}' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 301 | dependency-jobs: '{dependency-jobs}' |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 302 | silent-start: true |
| 303 | trigger-on: |
| 304 | - patchset-created-event: |
| 305 | exclude-drafts: true |
| 306 | exclude-trivial-rebase: false |
| 307 | exclude-no-code-change: true |
| 308 | - draft-published-event |
| 309 | - comment-added-contains-event: |
| 310 | comment-contains-value: '(?i)^.*recheck$' |
| 311 | projects: |
| 312 | - project-compare-type: REG_EXP |
| 313 | project-pattern: '^{project}$' |
| 314 | branches: |
| 315 | - branch-compare-type: REG_EXP |
Andy Bavier | a654abd | 2020-04-03 12:43:54 -0700 | [diff] [blame] | 316 | branch-pattern: '{all-branches-regexp}' |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 317 | file-paths: |
| 318 | - compare-type: REG_EXP |
| 319 | pattern: '{all-files-regexp}' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 320 | |
| 321 | # POD Per Patchset Pipeline Jobs |
| 322 | |
| 323 | - job-template: |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 324 | name: '{name}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 325 | id: verify_physical_voltha_patchset_auto |
| 326 | description: | |
| 327 | <!-- Managed by Jenkins Job Builder --> |
| 328 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 329 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 330 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 331 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 332 | sandbox: true |
| 333 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
| 334 | |
| 335 | properties: |
| 336 | - cord-infra-properties: |
| 337 | build-days-to-keep: '{build-days-to-keep}' |
| 338 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 339 | |
| 340 | parameters: |
| 341 | - string: |
| 342 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 343 | default: '{build-node}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 344 | description: 'Pod management node' |
| 345 | |
| 346 | - string: |
| 347 | name: manifestUrl |
| 348 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 349 | description: 'URL to the repo manifest' |
| 350 | |
| 351 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 352 | name: branch |
| 353 | default: '$GERRIT_BRANCH' |
| 354 | description: 'Name of the branch to use' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 355 | |
| 356 | - string: |
| 357 | name: gerritProject |
| 358 | default: '$GERRIT_PROJECT' |
| 359 | description: 'Name of the Gerrit project' |
| 360 | |
| 361 | - string: |
| 362 | name: gerritChangeNumber |
| 363 | default: '$GERRIT_CHANGE_NUMBER' |
| 364 | description: 'Changeset number in Gerrit' |
| 365 | |
| 366 | - string: |
| 367 | name: gerritPatchsetNumber |
| 368 | default: '$GERRIT_PATCHSET_NUMBER' |
| 369 | description: 'PatchSet number in Gerrit' |
| 370 | |
| 371 | - string: |
| 372 | name: cordRepoUrl |
| 373 | default: '{gerrit-server-url}' |
| 374 | description: 'The URL of the CORD Project repository' |
| 375 | |
| 376 | - string: |
| 377 | name: podName |
| 378 | default: '{config-pod}' |
| 379 | |
| 380 | - string: |
| 381 | name: deploymentConfigFile |
| 382 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 383 | description: 'Path of deployment config file' |
| 384 | |
| 385 | - string: |
| 386 | name: kindVolthaValuesFile |
| 387 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 388 | description: 'Path of kind-voltha values override file' |
| 389 | |
| 390 | - string: |
| 391 | name: sadisConfigFile |
| 392 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 393 | description: 'Path of SADIS config to load' |
| 394 | |
| 395 | - string: |
| 396 | name: localConfigDir |
| 397 | default: null |
| 398 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 399 | |
| 400 | - string: |
| 401 | name: configRepo |
| 402 | default: 'pod-configs' |
| 403 | description: 'A repository containing the config files, will be checked out if specified' |
| 404 | |
| 405 | - string: |
| 406 | name: oltDebVersion |
| 407 | default: '{oltDebVersion}' |
| 408 | description: 'OLT Software version to install' |
| 409 | |
| 410 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 411 | name: profile |
| 412 | default: '{profile}' |
| 413 | description: 'Technology Profile pushed to the ETCD' |
| 414 | |
| 415 | - string: |
| 416 | name: notificationEmail |
| 417 | default: 'andy@opennetworking.org' |
| 418 | description: '' |
| 419 | |
| 420 | - bool: |
| 421 | name: reinstallOlt |
| 422 | default: true |
| 423 | description: "Re-install OLT software" |
| 424 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 425 | - string: |
| 426 | name: manualBranch |
| 427 | default: '{manualBranch}' |
| 428 | description: "If a non-empty string, build manually as a specific branch, not with a specific patchset" |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 429 | |
| 430 | - string: |
| 431 | name: extraRobotArgs |
Andy Bavier | f2b2607 | 2020-03-05 16:02:29 -0700 | [diff] [blame] | 432 | default: '-i sanityORDeleteOLT' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 433 | description: 'Arguments to pass to robot' |
| 434 | |
| 435 | project-type: pipeline |
| 436 | concurrent: true |
| 437 | |
| 438 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 439 | |
| 440 | triggers: |
| 441 | - gerrit: |
| 442 | server-name: '{gerrit-server-name}' |
| 443 | dependency-jobs: '{dependency-jobs}' |
| 444 | silent-start: false |
| 445 | successful-message: "PASSED hardware test" |
| 446 | failure-message: "FAILED hardware test" |
| 447 | unstable-message: "UNSTABLE hardware test" |
| 448 | trigger-on: |
| 449 | - comment-added-event: |
| 450 | approval-category: 'Code-Review' |
| 451 | approval-value: '+2' |
| 452 | projects: |
| 453 | - project-compare-type: REG_EXP |
Andy Bavier | f2b2607 | 2020-03-05 16:02:29 -0700 | [diff] [blame] | 454 | project-pattern: '^(voltha-openolt-adapter|voltha-openonu-adapter|voltha-go)$' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 455 | branches: |
Andy Bavier | 37f6ea9 | 2020-04-03 11:13:35 -0700 | [diff] [blame] | 456 | - branch-compare-type: REG_EXP |
Andy Bavier | a654abd | 2020-04-03 12:43:54 -0700 | [diff] [blame] | 457 | branch-pattern: '{all-branches-regexp}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 458 | |
| 459 | |
| 460 | - job-template: |
| 461 | name: '{name}' |
| 462 | id: verify_physical_voltha_patchset_manual |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 463 | description: | |
| 464 | <!-- Managed by Jenkins Job Builder --> |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 465 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
Andy Bavier | e991645 | 2019-11-06 12:32:47 -0700 | [diff] [blame] | 466 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 467 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 468 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 469 | sandbox: true |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 470 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 471 | |
| 472 | properties: |
| 473 | - cord-infra-properties: |
| 474 | build-days-to-keep: '{build-days-to-keep}' |
| 475 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 476 | |
| 477 | parameters: |
| 478 | - string: |
Andy Bavier | 97ebbba | 2019-11-08 10:47:46 -0700 | [diff] [blame] | 479 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 480 | default: '{build-node}' |
Andy Bavier | 97ebbba | 2019-11-08 10:47:46 -0700 | [diff] [blame] | 481 | description: 'Pod management node' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 482 | |
| 483 | - string: |
| 484 | name: manifestUrl |
| 485 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 486 | description: 'URL to the repo manifest' |
| 487 | |
| 488 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 489 | name: branch |
| 490 | default: '$GERRIT_BRANCH' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 491 | description: 'Name of the repo branch to use' |
| 492 | |
| 493 | - string: |
| 494 | name: gerritProject |
| 495 | default: '$GERRIT_PROJECT' |
| 496 | description: 'Name of the Gerrit project' |
| 497 | |
| 498 | - string: |
| 499 | name: gerritChangeNumber |
| 500 | default: '$GERRIT_CHANGE_NUMBER' |
| 501 | description: 'Changeset number in Gerrit' |
| 502 | |
| 503 | - string: |
| 504 | name: gerritPatchsetNumber |
| 505 | default: '$GERRIT_PATCHSET_NUMBER' |
| 506 | description: 'PatchSet number in Gerrit' |
| 507 | |
| 508 | - string: |
| 509 | name: cordRepoUrl |
| 510 | default: '{gerrit-server-url}' |
| 511 | description: 'The URL of the CORD Project repository' |
| 512 | |
| 513 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 514 | name: podName |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 515 | default: '{config-pod}' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 516 | |
| 517 | - string: |
| 518 | name: deploymentConfigFile |
| 519 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 520 | description: 'Path of deployment config file' |
| 521 | |
| 522 | - string: |
| 523 | name: kindVolthaValuesFile |
| 524 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 525 | description: 'Path of kind-voltha values override file' |
| 526 | |
| 527 | - string: |
| 528 | name: sadisConfigFile |
| 529 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 530 | description: 'Path of SADIS config to load' |
| 531 | |
| 532 | - string: |
| 533 | name: localConfigDir |
| 534 | default: null |
| 535 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 536 | |
| 537 | - string: |
| 538 | name: configRepo |
| 539 | default: 'pod-configs' |
| 540 | description: 'A repository containing the config files, will be checked out if specified' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 541 | |
| 542 | - string: |
| 543 | name: oltDebVersion |
| 544 | default: '{oltDebVersion}' |
| 545 | description: 'OLT Software version to install' |
| 546 | |
| 547 | - string: |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 548 | name: profile |
| 549 | default: '{profile}' |
| 550 | description: 'Technology Profile pushed to the ETCD' |
| 551 | |
| 552 | - string: |
| 553 | name: notificationEmail |
| 554 | default: 'andy@opennetworking.org' |
| 555 | description: '' |
| 556 | |
| 557 | - bool: |
| 558 | name: reinstallOlt |
| 559 | default: true |
| 560 | description: "Re-install OLT software" |
| 561 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 562 | - string: |
| 563 | name: manualBranch |
| 564 | default: '{manualBranch}' |
| 565 | description: "If a non-empty string, build manually on a specific branch, not with a specific patchset" |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 566 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 567 | - string: |
| 568 | name: extraRobotArgs |
Andy Bavier | f2b2607 | 2020-03-05 16:02:29 -0700 | [diff] [blame] | 569 | default: '-i sanityORDeleteOLT' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 570 | description: 'Arguments to pass to robot' |
| 571 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 572 | project-type: pipeline |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 573 | concurrent: true |
| 574 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 575 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 576 | |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 577 | triggers: |
| 578 | - gerrit: |
| 579 | server-name: '{gerrit-server-name}' |
| 580 | dependency-jobs: '{dependency-jobs}' |
| 581 | silent-start: false |
| 582 | successful-message: "PASSED hardware test" |
| 583 | failure-message: "FAILED hardware test" |
| 584 | unstable-message: "UNSTABLE hardware test" |
| 585 | trigger-on: |
| 586 | - comment-added-contains-event: |
| 587 | comment-contains-value: '^hardware test$' |
Scott Baker | da31d7b | 2020-01-08 16:35:52 -0800 | [diff] [blame] | 588 | - comment-added-contains-event: |
| 589 | comment-contains-value: '^hardware test with delay$' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 590 | projects: |
| 591 | - project-compare-type: REG_EXP |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 592 | project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter|voltha-api-server|voltha-system-tests|ofagent-py|ofagent-go|voltha-onos)$' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 593 | branches: |
Andy Bavier | fc3ca14 | 2020-03-27 13:44:25 -0700 | [diff] [blame] | 594 | - branch-compare-type: REG_EXP |
Andy Bavier | a654abd | 2020-04-03 12:43:54 -0700 | [diff] [blame] | 595 | branch-pattern: '{all-branches-regexp}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 596 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 597 | |
| 598 | - job-template: |
| 599 | name: '{name}' |
| 600 | id: build_physical_voltha_manual |
| 601 | description: | |
| 602 | <!-- Managed by Jenkins Job Builder --> |
| 603 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 604 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 605 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 606 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 607 | sandbox: true |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 608 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 609 | |
| 610 | properties: |
| 611 | - cord-infra-properties: |
| 612 | build-days-to-keep: '{build-days-to-keep}' |
| 613 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 614 | |
| 615 | parameters: |
| 616 | - string: |
| 617 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 618 | default: '{build-node}' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 619 | description: 'Pod management node' |
| 620 | |
| 621 | - string: |
| 622 | name: manifestUrl |
| 623 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 624 | description: 'URL to the repo manifest' |
| 625 | |
| 626 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 627 | name: branch |
| 628 | default: "$GERRIT_BRANCH" |
| 629 | description: 'Name of the repo manifest branch to use' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 630 | |
| 631 | - string: |
| 632 | name: gerritProject |
| 633 | default: '$GERRIT_PROJECT' |
| 634 | description: 'Name of the Gerrit project' |
| 635 | |
| 636 | - string: |
| 637 | name: gerritChangeNumber |
| 638 | default: '$GERRIT_CHANGE_NUMBER' |
| 639 | description: 'Changeset number in Gerrit' |
| 640 | |
| 641 | - string: |
| 642 | name: gerritPatchsetNumber |
| 643 | default: '$GERRIT_PATCHSET_NUMBER' |
| 644 | description: 'PatchSet number in Gerrit' |
| 645 | |
| 646 | - string: |
| 647 | name: cordRepoUrl |
| 648 | default: '{gerrit-server-url}' |
| 649 | description: 'The URL of the CORD Project repository' |
| 650 | |
| 651 | - string: |
| 652 | name: podName |
| 653 | default: '{config-pod}' |
| 654 | |
| 655 | - string: |
| 656 | name: deploymentConfigFile |
| 657 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 658 | description: 'Path of deployment config file' |
| 659 | |
| 660 | - string: |
| 661 | name: kindVolthaValuesFile |
| 662 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 663 | description: 'Path of kind-voltha values override file' |
| 664 | |
| 665 | - string: |
| 666 | name: sadisConfigFile |
| 667 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 668 | description: 'Path of SADIS config to load' |
| 669 | |
| 670 | - string: |
| 671 | name: localConfigDir |
| 672 | default: null |
| 673 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 674 | |
| 675 | - string: |
| 676 | name: configRepo |
| 677 | default: 'pod-configs' |
| 678 | description: 'A repository containing the config files, will be checked out if specified' |
| 679 | |
| 680 | - string: |
| 681 | name: oltDebVersion |
| 682 | default: '{oltDebVersion}' |
| 683 | description: 'OLT Software version to install' |
| 684 | |
| 685 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 686 | name: profile |
| 687 | default: '{profile}' |
| 688 | description: 'Technology Profile pushed to the ETCD' |
| 689 | |
| 690 | - string: |
| 691 | name: notificationEmail |
| 692 | default: 'andy@opennetworking.org' |
| 693 | description: '' |
| 694 | |
| 695 | - bool: |
| 696 | name: reinstallOlt |
| 697 | default: false |
| 698 | description: "Re-install OLT software" |
| 699 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 700 | - string: |
| 701 | name: manualBranch |
| 702 | default: '{manualBranch}' |
| 703 | description: "If a non-empty string, build manually on a specific branch, not with a specific patchset" |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 704 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 705 | - string: |
| 706 | name: extraRobotArgs |
| 707 | default: '-e bbsim' |
| 708 | description: 'Arguments to pass to robot' |
| 709 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 710 | project-type: pipeline |
| 711 | concurrent: true |
| 712 | |
| 713 | dsl: !include-raw-escape: pipeline/{pipeline-script} |