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