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