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