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