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