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