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