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 | 95a7343 | 2020-12-16 13:17:48 -0800 | [diff] [blame] | 54 | name: 'periodic-voltha-2.6-multiple-olts-test-bbsim' |
| 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 |
| 63 | code-branch: 'voltha-2.6' |
| 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' |
| 72 | build-node: 'ubuntu16.04-basebuild-4c-8g' |
| 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' |
| 83 | build-node: 'ubuntu16.04-basebuild-4c-8g' |
| 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': |
Andrea Campanella | e973949 | 2020-12-17 09:54:04 +0100 | [diff] [blame] | 104 | name: 'periodic-voltha-test-DMI-2.6' |
| 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 |
| 109 | code-branch: 'voltha-2.6' |
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 | 1d3e021 | 2020-12-10 16:36:00 -0800 | [diff] [blame] | 113 | name: 'periodic-voltha-test-bbsim-2.6' |
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 | 1d3e021 | 2020-12-10 16:36:00 -0800 | [diff] [blame] | 121 | code-branch: 'voltha-2.6' |
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 | 1d3e021 | 2020-12-10 16:36:00 -0800 | [diff] [blame] | 137 | name: 'periodic-voltha-etcd-test-2.6' |
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 | 1d3e021 | 2020-12-10 16:36:00 -0800 | [diff] [blame] | 140 | code-branch: 'voltha-2.6' |
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 | 1d3e021 | 2020-12-10 16:36:00 -0800 | [diff] [blame] | 159 | name: 'periodic-voltha-sanity-test-multi-runs-2.6' |
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 | 1d3e021 | 2020-12-10 16:36:00 -0800 | [diff] [blame] | 162 | code-branch: 'voltha-2.6' |
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 | ad74650 | 2021-01-11 10:08:05 -0800 | [diff] [blame] | 184 | oltDebVersionMaster: 'openolt_asfvolt16-3.3.2-f7feb4b828467ccc99104b56b29dc7a19aa2008b-40G-NNI.deb' |
Girish Gowdra | 5b112da | 2020-12-14 11:17:34 -0800 | [diff] [blame] | 185 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.2.0-fc10f0d035181d3125ffc6e7a60bf5328fcf5bfa-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 | ad74650 | 2021-01-11 10:08:05 -0800 | [diff] [blame] | 194 | oltDebVersionMaster: 'openolt_asfvolt16-3.3.2-f7feb4b828467ccc99104b56b29dc7a19aa2008b-40G-NNI.deb' |
Girish Gowdra | 5b112da | 2020-12-14 11:17:34 -0800 | [diff] [blame] | 195 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.2.0-fc10f0d035181d3125ffc6e7a60bf5328fcf5bfa-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 | ad74650 | 2021-01-11 10:08:05 -0800 | [diff] [blame] | 206 | oltDebVersionMaster: 'openolt_asfvolt16-3.3.2-f7feb4b828467ccc99104b56b29dc7a19aa2008b-40G-NNI.deb' |
Girish Gowdra | 5b112da | 2020-12-14 11:17:34 -0800 | [diff] [blame] | 207 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.2.0-fc10f0d035181d3125ffc6e7a60bf5328fcf5bfa-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 | ad74650 | 2021-01-11 10:08:05 -0800 | [diff] [blame] | 221 | oltDebVersionMaster: 'openolt_asfvolt16-3.3.2-f7feb4b828467ccc99104b56b29dc7a19aa2008b-40G-NNI.deb' |
Girish Gowdra | 5b112da | 2020-12-14 11:17:34 -0800 | [diff] [blame] | 222 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.2.0-fc10f0d035181d3125ffc6e7a60bf5328fcf5bfa-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: |
| 530 | name: cordRepoUrl |
| 531 | default: '{gerrit-server-url}' |
| 532 | description: 'The URL of the CORD Project repository' |
| 533 | |
| 534 | - string: |
| 535 | name: podName |
| 536 | default: '{config-pod}' |
| 537 | |
| 538 | - string: |
| 539 | name: deploymentConfigFile |
| 540 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 541 | description: 'Path of deployment config file' |
| 542 | |
| 543 | - string: |
| 544 | name: kindVolthaValuesFile |
| 545 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 546 | description: 'Path of kind-voltha values override file' |
| 547 | |
| 548 | - string: |
| 549 | name: sadisConfigFile |
| 550 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 551 | description: 'Path of SADIS config to load' |
| 552 | |
| 553 | - string: |
| 554 | name: localConfigDir |
| 555 | default: null |
| 556 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 557 | |
| 558 | - string: |
| 559 | name: configRepo |
| 560 | default: 'pod-configs' |
| 561 | description: 'A repository containing the config files, will be checked out if specified' |
| 562 | |
| 563 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 564 | name: oltDebVersionMaster |
| 565 | default: '{oltDebVersionMaster}' |
| 566 | description: 'OLT Software version to install for master branch builds' |
| 567 | |
| 568 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 569 | name: oltDebVersion |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 570 | default: '{oltDebVersionVoltha23}' |
| 571 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 572 | |
| 573 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 574 | name: profile |
| 575 | default: '{profile}' |
| 576 | description: 'Technology Profile pushed to the ETCD' |
| 577 | |
| 578 | - string: |
| 579 | name: notificationEmail |
| 580 | default: 'andy@opennetworking.org' |
| 581 | description: '' |
| 582 | |
| 583 | - bool: |
| 584 | name: reinstallOlt |
| 585 | default: true |
| 586 | description: "Re-install OLT software" |
| 587 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 588 | - string: |
| 589 | name: manualBranch |
| 590 | default: '{manualBranch}' |
| 591 | 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] | 592 | |
| 593 | - string: |
| 594 | name: extraRobotArgs |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 595 | default: '{default-test-args}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 596 | description: 'Arguments to pass to robot' |
| 597 | |
| 598 | project-type: pipeline |
| 599 | concurrent: true |
| 600 | |
| 601 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 602 | |
| 603 | triggers: |
| 604 | - gerrit: |
| 605 | server-name: '{gerrit-server-name}' |
| 606 | dependency-jobs: '{dependency-jobs}' |
| 607 | silent-start: false |
| 608 | successful-message: "PASSED hardware test" |
| 609 | failure-message: "FAILED hardware test" |
| 610 | unstable-message: "UNSTABLE hardware test" |
| 611 | trigger-on: |
| 612 | - comment-added-event: |
| 613 | approval-category: 'Code-Review' |
| 614 | approval-value: '+2' |
| 615 | projects: |
| 616 | - project-compare-type: REG_EXP |
Girish Gowdra | 7beebea | 2021-01-31 18:56:45 -0800 | [diff] [blame] | 617 | 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] | 618 | branches: |
Andy Bavier | 37f6ea9 | 2020-04-03 11:13:35 -0700 | [diff] [blame] | 619 | - branch-compare-type: REG_EXP |
Andy Bavier | a654abd | 2020-04-03 12:43:54 -0700 | [diff] [blame] | 620 | branch-pattern: '{all-branches-regexp}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 621 | |
| 622 | |
| 623 | - job-template: |
| 624 | name: '{name}' |
| 625 | id: verify_physical_voltha_patchset_manual |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 626 | description: | |
| 627 | <!-- Managed by Jenkins Job Builder --> |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 628 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
Andy Bavier | e991645 | 2019-11-06 12:32:47 -0700 | [diff] [blame] | 629 | 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] | 630 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 631 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 632 | sandbox: true |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 633 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 634 | trigger-string: 'hardware test' |
| 635 | default-test-args: '-i sanityORDeleteOLT -X' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 636 | |
| 637 | properties: |
| 638 | - cord-infra-properties: |
| 639 | build-days-to-keep: '{build-days-to-keep}' |
| 640 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 641 | |
| 642 | parameters: |
| 643 | - string: |
Andy Bavier | 97ebbba | 2019-11-08 10:47:46 -0700 | [diff] [blame] | 644 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 645 | default: '{build-node}' |
Andy Bavier | 97ebbba | 2019-11-08 10:47:46 -0700 | [diff] [blame] | 646 | description: 'Pod management node' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 647 | |
| 648 | - string: |
| 649 | name: manifestUrl |
| 650 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 651 | description: 'URL to the repo manifest' |
| 652 | |
| 653 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 654 | name: branch |
| 655 | default: '$GERRIT_BRANCH' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 656 | description: 'Name of the repo branch to use' |
| 657 | |
| 658 | - string: |
| 659 | name: gerritProject |
| 660 | default: '$GERRIT_PROJECT' |
| 661 | description: 'Name of the Gerrit project' |
| 662 | |
| 663 | - string: |
| 664 | name: gerritChangeNumber |
| 665 | default: '$GERRIT_CHANGE_NUMBER' |
| 666 | description: 'Changeset number in Gerrit' |
| 667 | |
| 668 | - string: |
| 669 | name: gerritPatchsetNumber |
| 670 | default: '$GERRIT_PATCHSET_NUMBER' |
| 671 | description: 'PatchSet number in Gerrit' |
| 672 | |
| 673 | - string: |
| 674 | name: cordRepoUrl |
| 675 | default: '{gerrit-server-url}' |
| 676 | description: 'The URL of the CORD Project repository' |
| 677 | |
| 678 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 679 | name: podName |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 680 | default: '{config-pod}' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 681 | |
| 682 | - string: |
| 683 | name: deploymentConfigFile |
| 684 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 685 | description: 'Path of deployment config file' |
| 686 | |
| 687 | - string: |
| 688 | name: kindVolthaValuesFile |
| 689 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 690 | description: 'Path of kind-voltha values override file' |
| 691 | |
| 692 | - string: |
| 693 | name: sadisConfigFile |
| 694 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 695 | description: 'Path of SADIS config to load' |
| 696 | |
| 697 | - string: |
| 698 | name: localConfigDir |
| 699 | default: null |
| 700 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 701 | |
| 702 | - string: |
| 703 | name: configRepo |
| 704 | default: 'pod-configs' |
| 705 | 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] | 706 | |
| 707 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 708 | name: oltDebVersionMaster |
| 709 | default: '{oltDebVersionMaster}' |
| 710 | description: 'OLT Software version to install for master branch builds' |
| 711 | |
| 712 | - string: |
| 713 | name: oltDebVersionVoltha23 |
| 714 | default: '{oltDebVersionVoltha23}' |
| 715 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 716 | |
| 717 | - string: |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 718 | name: profile |
| 719 | default: '{profile}' |
| 720 | description: 'Technology Profile pushed to the ETCD' |
| 721 | |
| 722 | - string: |
| 723 | name: notificationEmail |
| 724 | default: 'andy@opennetworking.org' |
| 725 | description: '' |
| 726 | |
| 727 | - bool: |
| 728 | name: reinstallOlt |
| 729 | default: true |
| 730 | description: "Re-install OLT software" |
| 731 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 732 | - string: |
| 733 | name: manualBranch |
| 734 | default: '{manualBranch}' |
| 735 | 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] | 736 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 737 | - string: |
| 738 | name: extraRobotArgs |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 739 | default: '{default-test-args}' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 740 | description: 'Arguments to pass to robot' |
| 741 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 742 | project-type: pipeline |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 743 | concurrent: true |
| 744 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 745 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 746 | |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 747 | triggers: |
| 748 | - gerrit: |
| 749 | server-name: '{gerrit-server-name}' |
| 750 | dependency-jobs: '{dependency-jobs}' |
| 751 | silent-start: false |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 752 | successful-message: "PASSED {trigger-string}" |
| 753 | failure-message: "FAILED {trigger-string}" |
| 754 | unstable-message: "UNSTABLE {trigger-string}" |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 755 | trigger-on: |
| 756 | - comment-added-contains-event: |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 757 | comment-contains-value: '^{trigger-string}$' |
Scott Baker | da31d7b | 2020-01-08 16:35:52 -0800 | [diff] [blame] | 758 | - comment-added-contains-event: |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 759 | comment-contains-value: '^{trigger-string} with delay$' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 760 | projects: |
| 761 | - project-compare-type: REG_EXP |
Girish Gowdra | 7beebea | 2021-01-31 18:56:45 -0800 | [diff] [blame] | 762 | 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] | 763 | branches: |
Andy Bavier | fc3ca14 | 2020-03-27 13:44:25 -0700 | [diff] [blame] | 764 | - branch-compare-type: REG_EXP |
Andy Bavier | a654abd | 2020-04-03 12:43:54 -0700 | [diff] [blame] | 765 | branch-pattern: '{all-branches-regexp}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 766 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 767 | |
| 768 | - job-template: |
| 769 | name: '{name}' |
| 770 | id: build_physical_voltha_manual |
| 771 | description: | |
| 772 | <!-- Managed by Jenkins Job Builder --> |
| 773 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 774 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 775 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 776 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 777 | sandbox: true |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 778 | pipeline-script: 'voltha-physical-build-and-tests.groovy' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 779 | |
| 780 | properties: |
| 781 | - cord-infra-properties: |
| 782 | build-days-to-keep: '{build-days-to-keep}' |
| 783 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 784 | |
| 785 | parameters: |
| 786 | - string: |
| 787 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 788 | default: '{build-node}' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 789 | description: 'Pod management node' |
| 790 | |
| 791 | - string: |
| 792 | name: manifestUrl |
| 793 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 794 | description: 'URL to the repo manifest' |
| 795 | |
| 796 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 797 | name: branch |
| 798 | default: "$GERRIT_BRANCH" |
| 799 | description: 'Name of the repo manifest branch to use' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 800 | |
| 801 | - string: |
| 802 | name: gerritProject |
| 803 | default: '$GERRIT_PROJECT' |
| 804 | description: 'Name of the Gerrit project' |
| 805 | |
| 806 | - string: |
| 807 | name: gerritChangeNumber |
| 808 | default: '$GERRIT_CHANGE_NUMBER' |
| 809 | description: 'Changeset number in Gerrit' |
| 810 | |
| 811 | - string: |
| 812 | name: gerritPatchsetNumber |
| 813 | default: '$GERRIT_PATCHSET_NUMBER' |
| 814 | description: 'PatchSet number in Gerrit' |
| 815 | |
| 816 | - string: |
| 817 | name: cordRepoUrl |
| 818 | default: '{gerrit-server-url}' |
| 819 | description: 'The URL of the CORD Project repository' |
| 820 | |
| 821 | - string: |
| 822 | name: podName |
| 823 | default: '{config-pod}' |
| 824 | |
| 825 | - string: |
| 826 | name: deploymentConfigFile |
| 827 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 828 | description: 'Path of deployment config file' |
| 829 | |
| 830 | - string: |
| 831 | name: kindVolthaValuesFile |
| 832 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 833 | description: 'Path of kind-voltha values override file' |
| 834 | |
| 835 | - string: |
| 836 | name: sadisConfigFile |
| 837 | default: 'voltha/voltha-system-tests/tests/data/{config-pod}-sadis.json' |
| 838 | description: 'Path of SADIS config to load' |
| 839 | |
| 840 | - string: |
| 841 | name: localConfigDir |
| 842 | default: null |
| 843 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 844 | |
| 845 | - string: |
| 846 | name: configRepo |
| 847 | default: 'pod-configs' |
| 848 | description: 'A repository containing the config files, will be checked out if specified' |
| 849 | |
| 850 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 851 | name: oltDebVersionMaster |
| 852 | default: '{oltDebVersionMaster}' |
| 853 | description: 'OLT Software version to install for master branch builds' |
| 854 | |
| 855 | - string: |
| 856 | name: oltDebVersionVoltha23 |
| 857 | default: '{oltDebVersionVoltha23}' |
| 858 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 859 | |
| 860 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 861 | name: profile |
| 862 | default: '{profile}' |
| 863 | description: 'Technology Profile pushed to the ETCD' |
| 864 | |
| 865 | - string: |
| 866 | name: notificationEmail |
| 867 | default: 'andy@opennetworking.org' |
| 868 | description: '' |
| 869 | |
| 870 | - bool: |
| 871 | name: reinstallOlt |
| 872 | default: false |
| 873 | description: "Re-install OLT software" |
| 874 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 875 | - string: |
| 876 | name: manualBranch |
| 877 | default: '{manualBranch}' |
| 878 | 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] | 879 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 880 | - string: |
| 881 | name: extraRobotArgs |
Andy Bavier | d2b25fe | 2020-06-09 07:22:00 -0700 | [diff] [blame] | 882 | default: '-e bbsim -X' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 883 | description: 'Arguments to pass to robot' |
| 884 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 885 | project-type: pipeline |
| 886 | concurrent: true |
| 887 | |
| 888 | dsl: !include-raw-escape: pipeline/{pipeline-script} |