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 |
TorstenThieme | a6c2134 | 2021-05-05 09:21:59 +0000 | [diff] [blame] | 19 | make-target-reconciletest: reconcile-openonu-go-adapter-test-att |
TorstenThieme | 4542261 | 2021-03-23 10:38:59 +0000 | [diff] [blame] | 20 | make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt |
| 21 | make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 22 | |
| 23 | jobs: |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 24 | - 'voltha-periodic-test': |
Hung-Wei Chiu | 5ec2edf | 2020-04-30 14:53:13 -0700 | [diff] [blame] | 25 | name: 'periodic-voltha-test-bbsim' |
Hung-Wei Chiu | 5ec2edf | 2020-04-30 14:53:13 -0700 | [diff] [blame] | 26 | code-branch: 'master' |
Hardik Windlass | 696002d | 2021-05-07 11:38:28 +0000 | [diff] [blame] | 27 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master' |
Suchitra Vemuri | cbb9d84 | 2021-02-24 20:29:19 -0800 | [diff] [blame] | 28 | time-trigger: "H H/23 * * *" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 29 | testTargets: | |
| 30 | - target: functional-single-kind |
| 31 | workflow: att |
| 32 | flags: "" |
| 33 | teardown: true |
| 34 | - target: bbsim-alarms-kind |
| 35 | workflow: att |
| 36 | flags: "" |
| 37 | teardown: false |
| 38 | - target: bbsim-failurescenarios |
| 39 | workflow: att |
| 40 | flags: "" |
| 41 | teardown: false |
| 42 | - target: bbsim-errorscenarios |
| 43 | workflow: att |
| 44 | flags: "" |
| 45 | teardown: false |
| 46 | |
| 47 | - 'voltha-periodic-test': |
| 48 | name: 'periodic-voltha-multiple-olts-test-bbsim' |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 49 | code-branch: 'master' |
| 50 | olts: 2 |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 51 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2' |
Suchitra Vemuri | cbb9d84 | 2021-02-24 20:29:19 -0800 | [diff] [blame] | 52 | time-trigger: "H H/23 * * *" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 53 | testTargets: | |
| 54 | - target: functional-multi-olt |
| 55 | workflow: att |
| 56 | flags: "" |
| 57 | teardown: true |
| 58 | - target: bbsim-multiolt-failurescenarios |
| 59 | workflow: att |
| 60 | flags: "" |
| 61 | teardown: false |
| 62 | - target: bbsim-multiolt-errorscenarios |
| 63 | workflow: att |
| 64 | flags: "" |
| 65 | teardown: false |
| 66 | - target: bbsim-multiolt-kind |
| 67 | workflow: att |
| 68 | flags: "" |
| 69 | teardown: false |
Andy Bavier | f93f314 | 2020-01-09 16:08:51 -0700 | [diff] [blame] | 70 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 71 | - 'voltha-periodic-test-kind-voltha-based': |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 72 | name: 'periodic-voltha-multiple-olts-test-bbsim-2.7' |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 73 | pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy' |
Suchitra Vemuri | 95a7343 | 2020-12-16 13:17:48 -0800 | [diff] [blame] | 74 | build-node: 'qct-pod4-node2' |
| 75 | make-target: functional-multi-olt |
| 76 | make-target-failtest: bbsim-multiolt-failurescenarios |
| 77 | make-target-errortest: bbsim-multiolt-errorscenarios |
| 78 | make-target-alarmtest: bbsim-alarms-kind |
| 79 | make-target-multipleolt: bbsim-multiolt-kind |
| 80 | withAlarms: false |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 81 | code-branch: 'voltha-2.7' |
Suchitra Vemuri | 95a7343 | 2020-12-16 13:17:48 -0800 | [diff] [blame] | 82 | olts: 2 |
| 83 | onus: 2 |
| 84 | pons: 2 |
Suchitra Vemuri | 5fc1c6a | 2021-04-13 19:12:38 -0700 | [diff] [blame] | 85 | time-trigger: "H H * * *" |
Suchitra Vemuri | 95a7343 | 2020-12-16 13:17:48 -0800 | [diff] [blame] | 86 | |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 87 | # openonu Go periodic tests |
Suchitra Vemuri | 95a7343 | 2020-12-16 13:17:48 -0800 | [diff] [blame] | 88 | - 'voltha-periodic-test': |
TorstenThieme | 326e797 | 2021-01-19 14:27:59 +0000 | [diff] [blame] | 89 | name: 'periodic-voltha-openonu-go-test-bbsim' |
TorstenThieme | 326e797 | 2021-01-19 14:27:59 +0000 | [diff] [blame] | 90 | code-branch: 'master' |
Matteo Scandolo | ee626e0 | 2021-05-05 08:13:16 -0700 | [diff] [blame] | 91 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master' |
TorstenThieme | 326e797 | 2021-01-19 14:27:59 +0000 | [diff] [blame] | 92 | time-trigger: "H H/12 * * *" |
Hardik Windlass | 696002d | 2021-05-07 11:38:28 +0000 | [diff] [blame] | 93 | logLevel: 'DEBUG' |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 94 | testTargets: | |
TorstenThieme | a6c2134 | 2021-05-05 09:21:59 +0000 | [diff] [blame] | 95 | - target: 1t1gem-openonu-go-adapter-test |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 96 | workflow: att |
| 97 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 98 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 99 | - target: 1t4gem-openonu-go-adapter-test |
| 100 | workflow: att |
| 101 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 102 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 103 | - target: 1t8gem-openonu-go-adapter-test |
| 104 | workflow: att |
| 105 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 106 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 107 | - target: mib-upload-templating-openonu-go-adapter-test |
| 108 | workflow: att |
| 109 | flags: "--set pon=2,onu=2,controlledActivation=only-onu" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 110 | teardown: true |
TorstenThieme | a6c2134 | 2021-05-05 09:21:59 +0000 | [diff] [blame] | 111 | - target: reconcile-openonu-go-adapter-test-att |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 112 | workflow: att |
| 113 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 114 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 115 | - target: reconcile-openonu-go-adapter-test-dt |
| 116 | workflow: dt |
| 117 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 118 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 119 | - target: reconcile-openonu-go-adapter-test-tt |
| 120 | workflow: tt |
| 121 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 122 | teardown: true |
TorstenThieme | 326e797 | 2021-01-19 14:27:59 +0000 | [diff] [blame] | 123 | |
| 124 | - 'voltha-periodic-test': |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 125 | name: 'patchset-voltha-openonu-go-test-bbsim' |
Hardik Windlass | 8c3813b | 2021-05-07 08:13:37 +0000 | [diff] [blame] | 126 | trigger-comment: "voltha test openonu singleolt" |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 127 | code-branch: '$GERRIT_BRANCH' |
Matteo Scandolo | ee626e0 | 2021-05-05 08:13:16 -0700 | [diff] [blame] | 128 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 129 | gerrit-project: '$GERRIT_PROJECT' |
| 130 | gerritRefspec: '$GERRIT_REFSPEC' |
Hardik Windlass | 696002d | 2021-05-07 11:38:28 +0000 | [diff] [blame] | 131 | logLevel: 'DEBUG' |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 132 | testTargets: | |
TorstenThieme | a6c2134 | 2021-05-05 09:21:59 +0000 | [diff] [blame] | 133 | - target: 1t1gem-openonu-go-adapter-test |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 134 | workflow: att |
| 135 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 136 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 137 | - target: 1t4gem-openonu-go-adapter-test |
| 138 | workflow: att |
| 139 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 140 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 141 | - target: 1t8gem-openonu-go-adapter-test |
| 142 | workflow: att |
| 143 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 144 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 145 | - target: mib-upload-templating-openonu-go-adapter-test |
| 146 | workflow: att |
| 147 | flags: "--set pon=2,onu=2,controlledActivation=only-onu" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 148 | teardown: true |
TorstenThieme | a6c2134 | 2021-05-05 09:21:59 +0000 | [diff] [blame] | 149 | - target: reconcile-openonu-go-adapter-test-att |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 150 | workflow: att |
| 151 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 152 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 153 | - target: reconcile-openonu-go-adapter-test-dt |
| 154 | workflow: dt |
| 155 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 156 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 157 | - target: reconcile-openonu-go-adapter-test-tt |
| 158 | workflow: tt |
| 159 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 160 | teardown: true |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 161 | |
| 162 | - 'voltha-periodic-test-kind-voltha-based': |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 163 | name: 'periodic-voltha-openonu-go-test-bbsim-2.7' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 164 | pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 165 | build-node: 'ubuntu18.04-basebuild-8c-15g' |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 166 | make-target: openonu-go-adapter-test |
| 167 | make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test |
| 168 | make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test |
TorstenThieme | 4542261 | 2021-03-23 10:38:59 +0000 | [diff] [blame] | 169 | make-target-reconciletest: reconcile-openonu-go-adapter-test |
| 170 | make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt |
| 171 | make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 172 | withAlarms: false |
| 173 | code-branch: 'voltha-2.7' |
| 174 | time-trigger: "H H/23 * * *" |
| 175 | |
| 176 | - 'voltha-periodic-test': |
TorstenThieme | 669258d | 2021-01-29 09:03:10 +0000 | [diff] [blame] | 177 | name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 178 | code-branch: 'master' |
Hardik Windlass | 696002d | 2021-05-07 11:38:28 +0000 | [diff] [blame] | 179 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 180 | olts: 2 |
Hardik Windlass | 696002d | 2021-05-07 11:38:28 +0000 | [diff] [blame] | 181 | logLevel: 'DEBUG' |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 182 | testTargets: | |
TorstenThieme | a6c2134 | 2021-05-05 09:21:59 +0000 | [diff] [blame] | 183 | - target: 1t1gem-openonu-go-adapter-multi-olt-test |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 184 | workflow: att |
| 185 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 186 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 187 | - target: 1t4gem-openonu-go-adapter-multi-olt-test |
| 188 | workflow: att |
| 189 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 190 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 191 | - target: 1t8gem-openonu-go-adapter-multi-olt-test |
| 192 | workflow: att |
| 193 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 194 | teardown: true |
TorstenThieme | a6c2134 | 2021-05-05 09:21:59 +0000 | [diff] [blame] | 195 | - target: reconcile-openonu-go-adapter-multi-olt-test-att |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 196 | workflow: att |
| 197 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 198 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 199 | - target: reconcile-openonu-go-adapter-multi-olt-test-dt |
| 200 | workflow: dt |
| 201 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 202 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 203 | - target: reconcile-openonu-go-adapter-multi-olt-test-tt |
| 204 | workflow: tt |
| 205 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 206 | teardown: true |
TorstenThieme | 669258d | 2021-01-29 09:03:10 +0000 | [diff] [blame] | 207 | time-trigger: "H H/12 * * *" |
| 208 | |
| 209 | - 'voltha-periodic-test': |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 210 | name: 'patchset-voltha-multiple-olts-openonu-go-test-bbsim' |
| 211 | trigger-comment: "voltha test openonu multiolt" |
| 212 | code-branch: '$GERRIT_BRANCH' |
Hardik Windlass | 696002d | 2021-05-07 11:38:28 +0000 | [diff] [blame] | 213 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 214 | gerrit-project: '$GERRIT_PROJECT' |
| 215 | gerritRefspec: '$GERRIT_REFSPEC' |
Hardik Windlass | 696002d | 2021-05-07 11:38:28 +0000 | [diff] [blame] | 216 | logLevel: 'DEBUG' |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 217 | testTargets: | |
TorstenThieme | a6c2134 | 2021-05-05 09:21:59 +0000 | [diff] [blame] | 218 | - target: 1t1gem-openonu-go-adapter-multi-olt-test |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 219 | workflow: att |
| 220 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 221 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 222 | - target: 1t4gem-openonu-go-adapter-multi-olt-test |
| 223 | workflow: att |
| 224 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 225 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 226 | - target: 1t8gem-openonu-go-adapter-multi-olt-test |
| 227 | workflow: att |
| 228 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 229 | teardown: true |
TorstenThieme | a6c2134 | 2021-05-05 09:21:59 +0000 | [diff] [blame] | 230 | - target: reconcile-openonu-go-adapter-multi-olt-test-att |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 231 | workflow: att |
| 232 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 233 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 234 | - target: reconcile-openonu-go-adapter-multi-olt-test-dt |
| 235 | workflow: dt |
| 236 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 237 | teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 238 | - target: reconcile-openonu-go-adapter-multi-olt-test-tt |
| 239 | workflow: tt |
| 240 | flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 241 | teardown: true |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 242 | olts: 2 |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 243 | |
TorstenThieme | 869ba32 | 2021-05-05 12:11:42 +0000 | [diff] [blame] | 244 | - 'voltha-periodic-test': |
| 245 | name: 'periodic-voltha-pm-data-test-bbsim' |
| 246 | code-branch: 'master' |
TorstenThieme | 7254946 | 2021-05-12 12:21:14 +0000 | [diff] [blame^] | 247 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set externalAccess.enabled=true,externalAccess.service.type=NodePort,externalAccess.service.nodePorts[0]=30201,externalAccess.service.domain=127.0.0.1' |
TorstenThieme | 869ba32 | 2021-05-05 12:11:42 +0000 | [diff] [blame] | 248 | time-trigger: "H H/23 * * *" |
| 249 | logLevel: 'DEBUG' |
| 250 | testTargets: | |
| 251 | - target: voltha-pm-data-single-kind-att |
| 252 | workflow: att |
| 253 | flags: "" |
| 254 | teardown: true |
| 255 | - target: voltha-pm-data-single-kind-dt |
| 256 | workflow: dt |
| 257 | flags: "" |
| 258 | teardown: true |
| 259 | - target: voltha-pm-data-single-kind-tt |
| 260 | workflow: tt |
| 261 | flags: "" |
| 262 | teardown: true |
| 263 | timeout: 140 |
| 264 | |
| 265 | - 'voltha-periodic-test': |
| 266 | name: 'patchset-voltha-pm-data-test-bbsim' |
| 267 | trigger-comment: "voltha test pm data singleolt" |
| 268 | code-branch: '$GERRIT_BRANCH' |
TorstenThieme | 7254946 | 2021-05-12 12:21:14 +0000 | [diff] [blame^] | 269 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set externalAccess.enabled=true,externalAccess.service.type=NodePort,externalAccess.service.nodePorts[0]=30201,externalAccess.service.domain=127.0.0.1' |
TorstenThieme | 869ba32 | 2021-05-05 12:11:42 +0000 | [diff] [blame] | 270 | code-branch: '$GERRIT_BRANCH' |
| 271 | gerrit-project: '$GERRIT_PROJECT' |
| 272 | gerritRefspec: '$GERRIT_REFSPEC' |
| 273 | logLevel: 'DEBUG' |
| 274 | testTargets: | |
| 275 | - target: voltha-pm-data-single-kind-att |
| 276 | workflow: att |
| 277 | flags: "" |
| 278 | teardown: true |
| 279 | - target: voltha-pm-data-single-kind-dt |
| 280 | workflow: dt |
| 281 | flags: "" |
| 282 | teardown: true |
| 283 | - target: voltha-pm-data-single-kind-tt |
| 284 | workflow: tt |
| 285 | flags: "" |
| 286 | teardown: true |
| 287 | timeout: 140 |
| 288 | |
| 289 | - 'voltha-periodic-test': |
| 290 | name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim' |
| 291 | code-branch: 'master' |
TorstenThieme | 7254946 | 2021-05-12 12:21:14 +0000 | [diff] [blame^] | 292 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2 --set externalAccess.enabled=true,externalAccess.service.type=NodePort,externalAccess.service.nodePorts[0]=30201,externalAccess.service.domain=127.0.0.1' |
TorstenThieme | 869ba32 | 2021-05-05 12:11:42 +0000 | [diff] [blame] | 293 | olts: 2 |
| 294 | timeout: 180 |
| 295 | logLevel: 'DEBUG' |
| 296 | testTargets: | |
| 297 | - target: voltha-pm-data-multiolt-kind-att |
| 298 | workflow: att |
| 299 | flags: "" |
| 300 | teardown: true |
| 301 | - target: voltha-pm-data-multiolt-kind-dt |
| 302 | workflow: dt |
| 303 | flags: "" |
| 304 | teardown: true |
| 305 | - target: voltha-pm-data-multiolt-kind-tt |
| 306 | workflow: tt |
| 307 | flags: "" |
| 308 | teardown: true |
| 309 | time-trigger: "H H/23 * * *" |
| 310 | |
| 311 | - 'voltha-periodic-test': |
| 312 | name: 'patchset-voltha-multiple-olts-pm-data-test-bbsim' |
| 313 | trigger-comment: "voltha test pm data multiolt" |
| 314 | code-branch: '$GERRIT_BRANCH' |
TorstenThieme | 7254946 | 2021-05-12 12:21:14 +0000 | [diff] [blame^] | 315 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2 --set externalAccess.enabled=true,externalAccess.service.type=NodePort,externalAccess.service.nodePorts[0]=30201,externalAccess.service.domain=127.0.0.1' |
TorstenThieme | 869ba32 | 2021-05-05 12:11:42 +0000 | [diff] [blame] | 316 | gerrit-project: '$GERRIT_PROJECT' |
| 317 | gerritRefspec: '$GERRIT_REFSPEC' |
| 318 | logLevel: 'DEBUG' |
| 319 | testTargets: | |
| 320 | - target: voltha-pm-data-multiolt-kind-att |
| 321 | workflow: att |
| 322 | flags: "" |
| 323 | teardown: true |
| 324 | - target: voltha-pm-data-multiolt-kind-dt |
| 325 | workflow: dt |
| 326 | flags: "" |
| 327 | teardown: true |
| 328 | - target: voltha-pm-data-multiolt-kind-tt |
| 329 | workflow: tt |
| 330 | flags: "" |
| 331 | teardown: true |
| 332 | olts: 2 |
| 333 | timeout: 180 |
| 334 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 335 | - 'voltha-periodic-test-kind-voltha-based': |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 336 | name: 'periodic-voltha-multiple-olts-openonu-go-test-bbsim-2.7' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 337 | pipeline-script: 'voltha/voltha-2.7/voltha-openonu-go-test-bbsim.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 338 | build-node: 'ubuntu18.04-basebuild-8c-15g' |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 339 | make-target: openonu-go-adapter-multi-olt-test |
| 340 | make-target-1t4gemtest: 1t4gem-openonu-go-adapter-multi-olt-test |
| 341 | make-target-1t8gemtest: 1t8gem-openonu-go-adapter-multi-olt-test |
TorstenThieme | a6c2134 | 2021-05-05 09:21:59 +0000 | [diff] [blame] | 342 | make-target-reconciletest: reconcile-openonu-go-adapter-multi-olt-test |
| 343 | make-target-reconciledttest: reconcile-openonu-go-adapter-multi-olt-test-dt |
| 344 | make-target-reconciletttest: reconcile-openonu-go-adapter-multi-olt-test-tt |
Hardik Windlass | 46d6113 | 2021-03-30 16:42:07 +0530 | [diff] [blame] | 345 | withAlarms: false |
| 346 | code-branch: 'voltha-2.7' |
| 347 | olts: 2 |
| 348 | onus: 2 |
| 349 | pons: 2 |
| 350 | time-trigger: "H H/23 * * *" |
| 351 | |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 352 | - 'voltha-periodic-test': |
Andrea Campanella | f3c32af | 2020-12-10 12:21:57 +0100 | [diff] [blame] | 353 | name: 'periodic-voltha-test-DMI' |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 354 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master' |
Andrea Campanella | f3c32af | 2020-12-10 12:21:57 +0100 | [diff] [blame] | 355 | code-branch: 'master' |
Suchitra Vemuri | cbb9d84 | 2021-02-24 20:29:19 -0800 | [diff] [blame] | 356 | time-trigger: "H H/23 * * *" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 357 | testTargets: | |
| 358 | - target: bbsim-dmi-hw-management-test |
| 359 | workflow: att |
| 360 | flags: "" |
| 361 | teardown: true |
Andrea Campanella | f3c32af | 2020-12-10 12:21:57 +0100 | [diff] [blame] | 362 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 363 | - 'voltha-periodic-test-kind-voltha-based': |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 364 | name: 'periodic-voltha-test-DMI-2.7' |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 365 | pipeline-script: 'voltha/voltha-2.7/voltha-DMI-bbsim-tests.groovy' |
Andrea Campanella | e973949 | 2020-12-17 09:54:04 +0100 | [diff] [blame] | 366 | build-node: 'qct-pod4-node2' |
| 367 | make-target: bbsim-dmi-hw-management-test |
| 368 | withAlarms: false |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 369 | code-branch: 'voltha-2.7' |
Suchitra Vemuri | cbb9d84 | 2021-02-24 20:29:19 -0800 | [diff] [blame] | 370 | time-trigger: "H H/23 * * *" |
Andrea Campanella | e973949 | 2020-12-17 09:54:04 +0100 | [diff] [blame] | 371 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 372 | - 'voltha-periodic-test-kind-voltha-based': |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 373 | name: 'periodic-voltha-test-bbsim-2.7' |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 374 | pipeline-script: 'voltha/voltha-2.7/voltha-nightly-tests-bbsim.groovy' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 375 | build-node: 'qct-pod4-node2' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 376 | make-target: functional-single-kind |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 377 | make-target-failtest: bbsim-failurescenarios |
| 378 | make-target-errortest: bbsim-errorscenarios |
| 379 | make-target-alarmtest: bbsim-alarms-kind |
| 380 | withAlarms: true |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 381 | code-branch: 'voltha-2.7' |
Suchitra Vemuri | 5fc1c6a | 2021-04-13 19:12:38 -0700 | [diff] [blame] | 382 | time-trigger: "H H * * *" |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 383 | |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 384 | - 'voltha-periodic-test': |
Andy Bavier | 4be3706 | 2020-06-29 15:17:26 -0700 | [diff] [blame] | 385 | name: 'periodic-voltha-etcd-test' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 386 | build-node: 'ubuntu18.04-basebuild-4c-8g' |
hwchiu | c9189b7 | 2019-12-02 15:12:29 -0800 | [diff] [blame] | 387 | code-branch: 'master' |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 388 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2' |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 389 | time-trigger: "H H/12 * * *" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 390 | testTargets: | |
| 391 | - target: sanity-multi-kind |
| 392 | workflow: att |
| 393 | flags: "" |
| 394 | teardown: true |
hwchiu | fdc4924 | 2019-11-18 16:37:22 -0800 | [diff] [blame] | 395 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 396 | - 'voltha-periodic-test-kind-voltha-based': |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 397 | name: 'periodic-voltha-etcd-test-2.7' |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 398 | pipeline-script: 'voltha/voltha-2.7/voltha-system-test-bbsim.groovy' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 399 | build-node: 'ubuntu18.04-basebuild-4c-8g' |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 400 | code-branch: 'voltha-2.7' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 401 | make-target: sanity-multi-kind |
| 402 | onus: 2 |
| 403 | pons: 2 |
| 404 | time-trigger: "H H/12 * * *" |
| 405 | |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 406 | - 'voltha-periodic-test': |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 407 | name: 'periodic-voltha-sanity-test-multi-runs' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 408 | code-branch: 'master' |
Suchitra Vemuri | cbb9d84 | 2021-02-24 20:29:19 -0800 | [diff] [blame] | 409 | time-trigger: "H H/23 * * *" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 410 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master' |
| 411 | testTargets: | |
| 412 | - target: sanity-kind |
| 413 | workflow: att |
| 414 | flags: "" |
| 415 | teardown: true |
| 416 | - target: sanity-kind |
| 417 | workflow: att |
| 418 | flags: "" |
| 419 | teardown: false |
| 420 | - target: sanity-kind |
| 421 | workflow: att |
| 422 | flags: "" |
| 423 | teardown: false |
| 424 | - target: sanity-kind |
| 425 | workflow: att |
| 426 | flags: "" |
| 427 | teardown: false |
| 428 | - target: sanity-kind |
| 429 | workflow: att |
| 430 | flags: "" |
| 431 | teardown: false |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 432 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 433 | - 'voltha-periodic-test-kind-voltha-based': |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 434 | name: 'periodic-voltha-sanity-test-multi-runs-2.7' |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 435 | pipeline-script: 'voltha/voltha-2.7/voltha-go-multi-tests.groovy' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 436 | build-node: 'qct-pod4-node2' |
Suchitra Vemuri | 2b0f488 | 2021-03-22 22:10:43 -0700 | [diff] [blame] | 437 | code-branch: 'voltha-2.7' |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 438 | make-target: sanity-kind |
| 439 | onus: 1 |
| 440 | pons: 1 |
| 441 | test-runs: 5 |
Suchitra Vemuri | cbb9d84 | 2021-02-24 20:29:19 -0800 | [diff] [blame] | 442 | time-trigger: "H H/23 * * *" |
Andy Bavier | 10926f1 | 2020-03-27 16:53:43 -0700 | [diff] [blame] | 443 | |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 444 | - 'voltha-periodic-test': |
Hung-Wei Chiu | f3f0005 | 2020-03-31 11:12:06 -0700 | [diff] [blame] | 445 | name: 'nightly-voltha-DTflow-sanity-test' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 446 | build-node: 'ubuntu18.04-basebuild-4c-8g' |
Hung-Wei Chiu | f3f0005 | 2020-03-31 11:12:06 -0700 | [diff] [blame] | 447 | code-branch: 'master' |
Hung-Wei Chiu | f3f0005 | 2020-03-31 11:12:06 -0700 | [diff] [blame] | 448 | time-trigger: "@daily" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 449 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master' |
| 450 | testTargets: | |
| 451 | - target: sanity-kind-dt |
| 452 | workflow: dt |
| 453 | flags: "" |
| 454 | teardown: true |
Hung-Wei Chiu | f3f0005 | 2020-03-31 11:12:06 -0700 | [diff] [blame] | 455 | |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 456 | # Per-patchset Pod builds on Tucson pod (master) |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 457 | - 'verify_physical_voltha_patchset_auto': |
| 458 | name: 'verify_physical_voltha_patchset_auto' |
Girish Gowdra | aabad2b | 2021-01-21 12:24:34 -0800 | [diff] [blame] | 459 | default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X' |
Matteo Scandolo | bb7382d | 2021-05-05 08:32:35 -0700 | [diff] [blame] | 460 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 461 | |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 462 | # Per-patchset Pod builds on Tucson pod (voltha-2.7) |
| 463 | - 'verify_physical_voltha_patchset_auto': |
| 464 | name: 'verify_physical_voltha_patchset_auto_voltha-2.7' |
Girish Gowdra | 1a1f5cc | 2021-05-04 14:14:37 -0700 | [diff] [blame] | 465 | oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb' |
Girish Gowdra | b6015cf | 2021-03-18 12:55:20 -0700 | [diff] [blame] | 466 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 467 | default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X' |
| 468 | pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy' |
| 469 | branch-pattern: voltha-2.7 |
| 470 | |
| 471 | # Per-patchset Pod builds on Tucson pod (master) |
| 472 | - 'verify_physical_voltha_patchset_manual': |
| 473 | name: 'verify_physical_voltha_patchset_manual' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 474 | profile: 'Default' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 475 | trigger-string: 'hardware test' |
Girish Gowdra | aabad2b | 2021-01-21 12:24:34 -0800 | [diff] [blame] | 476 | default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 477 | branch-pattern: master |
Matteo Scandolo | bb7382d | 2021-05-05 08:32:35 -0700 | [diff] [blame] | 478 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 479 | |
| 480 | |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 481 | # Per-patchset Pod builds on Tucson pod (master) |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 482 | - 'verify_physical_voltha_patchset_manual': |
| 483 | name: 'verify_physical_voltha_patchset_manual_DT' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 484 | workflow: 'dt' |
| 485 | profile: 'Default' |
| 486 | pipeline-script: 'voltha/voltha-2.7/voltha-dt-physical-build-and-tests.groovy' |
| 487 | trigger-string: 'DT hardware test' |
| 488 | default-test-args: '-i sanityDt -i PowerSwitch -X' |
| 489 | branch-pattern: master |
Matteo Scandolo | bb7382d | 2021-05-05 08:32:35 -0700 | [diff] [blame] | 490 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 491 | |
| 492 | # Per-patchset Pod builds on Tucson pod (voltha-2.7) |
| 493 | - 'verify_physical_voltha_patchset_manual': |
| 494 | name: 'verify_physical_voltha_patchset_manual_voltha-2.7' |
Girish Gowdra | 1a1f5cc | 2021-05-04 14:14:37 -0700 | [diff] [blame] | 495 | oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb' |
Girish Gowdra | b6015cf | 2021-03-18 12:55:20 -0700 | [diff] [blame] | 496 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 497 | profile: 'Default' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 498 | pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy' |
| 499 | trigger-string: 'hardware test' |
| 500 | default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X' |
| 501 | branch-pattern: voltha-2.7 |
| 502 | |
| 503 | |
| 504 | # Per-patchset Pod builds on Tucson pod (voltha-2.7) |
| 505 | - 'verify_physical_voltha_patchset_manual': |
| 506 | name: 'verify_physical_voltha_patchset_manual_DT_voltha-2.7' |
| 507 | workflow: 'dt' |
Girish Gowdra | 1a1f5cc | 2021-05-04 14:14:37 -0700 | [diff] [blame] | 508 | oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 509 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
| 510 | profile: 'Default' |
| 511 | pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 512 | trigger-string: 'DT hardware test' |
Girish Gowdra | aabad2b | 2021-01-21 12:24:34 -0800 | [diff] [blame] | 513 | default-test-args: '-i sanityDt -i PowerSwitch -X' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 514 | branch-pattern: voltha-2.7 |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 515 | |
| 516 | # Manual build job for Tucson pod |
| 517 | # Allow local testing without disrupting above job |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 518 | - 'build_physical_voltha_manual': |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 519 | name: 'build_tucson-pod_manual' |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 520 | config-pod: 'tucson-pod' |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 521 | manualBranch: 'master' |
Girish Gowdra | 1a1f5cc | 2021-05-04 14:14:37 -0700 | [diff] [blame] | 522 | oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb' |
Girish Gowdra | b6015cf | 2021-03-18 12:55:20 -0700 | [diff] [blame] | 523 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
Andy Bavier | 19c98a2 | 2019-11-11 13:57:11 -0700 | [diff] [blame] | 524 | profile: 'Default' |
Girish Gowdra | aabad2b | 2021-01-21 12:24:34 -0800 | [diff] [blame] | 525 | default-test-args: '-i sanityORDeleteOLT -i PowerSwitch -X' |
Matteo Scandolo | bb7382d | 2021-05-05 08:32:35 -0700 | [diff] [blame] | 526 | extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 527 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 528 | - job-template: |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 529 | id: 'voltha-periodic-test' |
| 530 | name: '{name}' |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 531 | pipeline-script: 'voltha/master/periodic-bbsim-tests.groovy' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 532 | build-node: 'ubuntu18.04-basebuild-8c-15g' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 533 | robot-args: '' |
| 534 | gerrit-project: '' |
| 535 | gerritRefspec: '' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 536 | volthaSystemTestsChange: '' |
| 537 | volthaHelmChartsChange: '' |
| 538 | extraHelmFlags: '' |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 539 | registry: mirror.registry.opennetworking.org |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 540 | sandbox: true |
| 541 | olts: 1 |
TorstenThieme | 869ba32 | 2021-05-05 12:11:42 +0000 | [diff] [blame] | 542 | timeout: 130 |
Hardik Windlass | 696002d | 2021-05-07 11:38:28 +0000 | [diff] [blame] | 543 | logLevel: 'INFO' |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 544 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 545 | trigger-comment: vv7CBoQQYYonvaN8xcru |
| 546 | time-trigger: 0 0 29 2 * |
| 547 | |
| 548 | description: | |
| 549 | <!-- Managed by Jenkins Job Builder --> |
| 550 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 551 | E2E Validation for Voltha 2.X |
| 552 | |
| 553 | properties: |
| 554 | - cord-infra-properties: |
| 555 | build-days-to-keep: '{big-build-days-to-keep}' |
| 556 | artifact-num-to-keep: '{big-artifact-num-to-keep}' |
| 557 | |
| 558 | wrappers: |
| 559 | - lf-infra-wrappers: |
| 560 | build-timeout: '{build-timeout}' |
| 561 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 562 | |
| 563 | parameters: |
| 564 | - string: |
| 565 | name: buildNode |
| 566 | default: '{build-node}' |
| 567 | description: 'Name of the Jenkins node to run the job on' |
| 568 | |
| 569 | - string: |
| 570 | name: extraHelmFlags |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 571 | default: '{extraHelmFlags}' |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 572 | description: 'Helm flags (passed to each deployment)' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 573 | |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 574 | # test configuration |
| 575 | # this is a parameter to drive the test execution, VOLTHA is redeployed each time with |
| 576 | # the provided configuration and then the make target is invoked, |
| 577 | # example value (has to be valid YAML): |
| 578 | # testTargets: | |
TorstenThieme | a6c2134 | 2021-05-05 09:21:59 +0000 | [diff] [blame] | 579 | # - target: 1t1gem-openonu-go-adapter-test |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 580 | # workflow: att |
| 581 | # flags: "" |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 582 | # teardown: true |
Matteo Scandolo | 886cb8e | 2021-05-03 13:37:41 -0700 | [diff] [blame] | 583 | - text: |
| 584 | name: testTargets |
| 585 | default: '{testTargets}' |
| 586 | description: 'Test configuration, see the ci-management job definition for more info' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 587 | |
| 588 | - string: |
| 589 | name: branch |
| 590 | default: '{code-branch}' |
| 591 | description: 'Repo manifest branch for code checkout' |
| 592 | |
| 593 | - string: |
| 594 | name: gerritProject |
| 595 | default: '{gerrit-project}' |
| 596 | description: 'Name of the Gerrit project' |
| 597 | |
| 598 | - string: |
| 599 | name: gerritRefspec |
| 600 | default: '' |
| 601 | description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"' |
| 602 | |
| 603 | - string: |
| 604 | name: extraRobotArgs |
| 605 | default: '{robot-args}' |
| 606 | description: 'Arguments to pass to robot' |
| 607 | |
| 608 | - string: |
| 609 | name: volthaSystemTestsChange |
| 610 | default: '{volthaSystemTestsChange}' |
| 611 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 612 | |
| 613 | - string: |
| 614 | name: volthaHelmChartsChange |
| 615 | default: '{volthaHelmChartsChange}' |
| 616 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"' |
| 617 | |
| 618 | - string: |
| 619 | name: olts |
| 620 | default: '{olts}' |
| 621 | description: 'How many BBSim instances to run' |
| 622 | |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 623 | - string: |
| 624 | name: registry |
| 625 | default: '{registry}' |
| 626 | description: 'Which registry to use (amazon vs menlo)' |
| 627 | |
Hardik Windlass | 696002d | 2021-05-07 11:38:28 +0000 | [diff] [blame] | 628 | - string: |
| 629 | name: logLevel |
| 630 | default: '{logLevel}' |
| 631 | description: 'Log level for all the components' |
| 632 | |
TorstenThieme | 869ba32 | 2021-05-05 12:11:42 +0000 | [diff] [blame] | 633 | - string: |
| 634 | name: timeout |
| 635 | default: '{timeout}' |
| 636 | description: 'Timeout of pipeline job [minutes]' |
| 637 | |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 638 | project-type: pipeline |
| 639 | concurrent: true |
| 640 | |
| 641 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 642 | |
| 643 | triggers: |
| 644 | # patchset jobs will set this to "0 0 29 2 *" (feb 29th, it's once every 4 years) |
| 645 | - timed: | |
| 646 | TZ=America/Los_Angeles |
| 647 | {time-trigger} |
| 648 | # periodic jobs will set this to vv7CBoQQYYonvaN8xcru (hopefully no-one will comment with that) |
| 649 | - gerrit: |
| 650 | server-name: '{gerrit-server-name}' |
| 651 | silent-start: false |
| 652 | successful-message: "PASSED openonu-go test" |
| 653 | failure-message: "FAILED openonu-go test" |
| 654 | unstable-message: "UNSTABLE openonu-go test" |
| 655 | trigger-on: |
| 656 | - comment-added-contains-event: |
| 657 | comment-contains-value: '.*{trigger-comment}.*' |
| 658 | projects: |
| 659 | - project-compare-type: REG_EXP |
| 660 | project-pattern: '^(voltha-go|voltha-openolt-adapter|voltha-openonu-adapter-go|ofagent-go|voltha-onos|bbsim)$' |
| 661 | branches: |
| 662 | - branch-compare-type: REG_EXP |
| 663 | branch-pattern: '{all-branches-regexp}' |
| 664 | |
| 665 | - job-template: |
| 666 | id: 'voltha-periodic-test-kind-voltha-based' |
| 667 | name: '{name}' |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 668 | pipeline-script: 'voltha/voltha-2.7/voltha-go-tests.groovy' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 669 | test-runs: 1 |
| 670 | robot-args: '' |
Andy Bavier | b35171c | 2020-03-06 15:47:29 -0700 | [diff] [blame] | 671 | gerrit-project: '' |
Hung-Wei Chiu | f284d3f | 2020-04-08 11:38:13 -0700 | [diff] [blame] | 672 | work-flow: '' |
Matteo Scandolo | 861a53a | 2020-09-16 11:39:42 -0700 | [diff] [blame] | 673 | volthaSystemTestsChange: '' |
Matteo Scandolo | 075740f | 2021-04-22 14:52:29 -0700 | [diff] [blame] | 674 | volthaHelmChartsChange: '' |
Matteo Scandolo | 861a53a | 2020-09-16 11:39:42 -0700 | [diff] [blame] | 675 | kindVolthaChange: '' |
Andrea Campanella | 6d56218 | 2020-10-06 18:39:30 +0200 | [diff] [blame] | 676 | extraHelmFlags: '' |
Andy Bavier | 02b00dc | 2020-04-28 13:01:12 -0700 | [diff] [blame] | 677 | sandbox: true |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 678 | olts: 1 |
Matteo Scandolo | b36f089 | 2020-11-23 12:19:48 -0800 | [diff] [blame] | 679 | withAlarms: false |
Andy Bavier | b35171c | 2020-03-06 15:47:29 -0700 | [diff] [blame] | 680 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 681 | description: | |
| 682 | <!-- Managed by Jenkins Job Builder --> |
| 683 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 684 | E2E Validation for Voltha 2.X |
| 685 | |
| 686 | properties: |
| 687 | - cord-infra-properties: |
Matteo Scandolo | a0e6f3f | 2020-11-12 17:13:20 -0800 | [diff] [blame] | 688 | build-days-to-keep: '{big-build-days-to-keep}' |
| 689 | artifact-num-to-keep: '{big-artifact-num-to-keep}' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 690 | |
| 691 | wrappers: |
| 692 | - lf-infra-wrappers: |
| 693 | build-timeout: '{build-timeout}' |
| 694 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 695 | |
| 696 | parameters: |
| 697 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 698 | name: buildNode |
Andy Bavier | 833b78e | 2019-11-22 17:01:31 -0700 | [diff] [blame] | 699 | default: '{build-node}' |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 700 | description: 'Name of the Jenkins node to run the job on' |
| 701 | |
| 702 | - string: |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 703 | name: extraHelmFlags |
Andrea Campanella | e951792 | 2021-05-06 10:01:44 +0200 | [diff] [blame] | 704 | default: '--set onu={onus},pon={pons} {extraHelmFlags}' |
Andy Bavier | ea26c5c | 2019-09-18 08:09:17 -0700 | [diff] [blame] | 705 | description: 'Helm flags to pass to ./voltha up' |
| 706 | |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 707 | - bool: |
| 708 | name: withAlarms |
Matteo Scandolo | b36f089 | 2020-11-23 12:19:48 -0800 | [diff] [blame] | 709 | default: '{withAlarms}' |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 710 | description: "Run alarm based tests when true" |
| 711 | |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 712 | - string: |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 713 | name: makeTarget |
| 714 | default: '{make-target}' |
| 715 | description: 'Makefile target to invoke during test' |
Andy Bavier | dabe9fc | 2019-10-24 17:10:48 -0700 | [diff] [blame] | 716 | |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 717 | - string: |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 718 | name: makeFailtestTarget |
| 719 | default: '{make-target-failtest}' |
| 720 | description: 'Makefile target to invoke during failure/based test' |
| 721 | |
| 722 | - string: |
Suchitra Vemuri | 0a9c8c6 | 2020-12-07 18:24:31 -0800 | [diff] [blame] | 723 | name: makeMultiOltTarget |
| 724 | default: '{make-target-multipleolt}' |
| 725 | description: 'Makefile target to invoke during multiple olt test' |
| 726 | |
| 727 | - string: |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 728 | name: makeErrortestTarget |
| 729 | default: '{make-target-errortest}' |
| 730 | description: 'Makefile target to invoke during error test' |
| 731 | |
| 732 | - string: |
| 733 | name: makeAlarmtestTarget |
| 734 | default: '{make-target-alarmtest}' |
| 735 | description: 'Makefile target to invoke during alarm test' |
| 736 | |
| 737 | - string: |
TorstenThieme | 669258d | 2021-01-29 09:03:10 +0000 | [diff] [blame] | 738 | name: make1t4gemTestTarget |
| 739 | default: '{make-target-1t4gemtest}' |
| 740 | description: 'Makefile target to invoke during 1t4gem test' |
| 741 | |
| 742 | - string: |
| 743 | name: make1t8gemTestTarget |
| 744 | default: '{make-target-1t8gemtest}' |
| 745 | description: 'Makefile target to invoke during 1t8gem test' |
| 746 | |
| 747 | - string: |
TorstenThieme | 4542261 | 2021-03-23 10:38:59 +0000 | [diff] [blame] | 748 | name: makeReconcileTestTarget |
| 749 | default: '{make-target-reconciletest}' |
| 750 | description: 'Makefile target to invoke during reconcile test' |
| 751 | |
| 752 | - string: |
| 753 | name: makeReconcileDtTestTarget |
| 754 | default: '{make-target-reconciledttest}' |
| 755 | description: 'Makefile target to invoke during reconcile dt test' |
| 756 | |
| 757 | - string: |
| 758 | name: makeReconcileTtTestTarget |
| 759 | default: '{make-target-reconciletttest}' |
| 760 | description: 'Makefile target to invoke during reconcile tt test' |
| 761 | |
| 762 | - string: |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 763 | name: manifestUrl |
| 764 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
Andy Bavier | 6dfaf7e | 2020-03-30 14:52:59 -0700 | [diff] [blame] | 765 | description: 'Repo manifest URL for code checkout' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 766 | |
| 767 | - string: |
Andy Bavier | 6dfaf7e | 2020-03-30 14:52:59 -0700 | [diff] [blame] | 768 | name: branch |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 769 | default: '{code-branch}' |
Andy Bavier | 6dfaf7e | 2020-03-30 14:52:59 -0700 | [diff] [blame] | 770 | description: 'Repo manifest branch for code checkout' |
Andy Bavier | 4c8b323 | 2019-11-22 16:17:47 -0700 | [diff] [blame] | 771 | |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 772 | - string: |
Andy Bavier | b35171c | 2020-03-06 15:47:29 -0700 | [diff] [blame] | 773 | name: gerritProject |
| 774 | default: '{gerrit-project}' |
| 775 | description: 'Name of the Gerrit project' |
| 776 | |
| 777 | - string: |
| 778 | name: gerritChangeNumber |
| 779 | default: '' |
| 780 | description: 'Changeset number in Gerrit' |
| 781 | |
| 782 | - string: |
| 783 | name: gerritPatchsetNumber |
| 784 | default: '' |
| 785 | description: 'PatchSet number in Gerrit' |
| 786 | |
| 787 | - string: |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 788 | name: testRuns |
| 789 | default: '{test-runs}' |
| 790 | description: 'How many times to repeat the tests' |
| 791 | |
| 792 | - string: |
| 793 | name: extraRobotArgs |
| 794 | default: '{robot-args}' |
| 795 | description: 'Arguments to pass to robot' |
| 796 | |
Hung-Wei Chiu | f284d3f | 2020-04-08 11:38:13 -0700 | [diff] [blame] | 797 | - string: |
| 798 | name: workFlow |
| 799 | default: '{work-flow}' |
| 800 | description: 'Workflow for testcase' |
Andy Bavier | 3708d07 | 2019-12-10 15:22:18 -0700 | [diff] [blame] | 801 | |
pierventre | f48ebc1 | 2020-07-17 16:01:32 +0200 | [diff] [blame] | 802 | - string: |
| 803 | name: karafHome |
| 804 | default: '{karaf-home}' |
| 805 | description: 'Karaf home' |
| 806 | |
Matteo Scandolo | 861a53a | 2020-09-16 11:39:42 -0700 | [diff] [blame] | 807 | - string: |
| 808 | name: volthaSystemTestsChange |
| 809 | default: '{volthaSystemTestsChange}' |
| 810 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 811 | |
| 812 | - string: |
| 813 | name: kindVolthaChange |
| 814 | default: '{kindVolthaChange}' |
| 815 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1"' |
| 816 | |
Suchitra Vemuri | 456b6b4 | 2020-11-10 19:06:22 -0800 | [diff] [blame] | 817 | - string: |
| 818 | name: olts |
| 819 | default: '{olts}' |
| 820 | description: 'How many BBSim instances to run' |
| 821 | |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 822 | project-type: pipeline |
Andy Bavier | 358aa0b | 2019-11-22 11:55:39 -0700 | [diff] [blame] | 823 | concurrent: true |
Kailash | 8b8de74 | 2019-07-30 08:54:51 -0700 | [diff] [blame] | 824 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 825 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 826 | |
| 827 | triggers: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 828 | - timed: | |
Kailash | 6be1aa9 | 2019-08-05 18:11:11 -0700 | [diff] [blame] | 829 | TZ=America/Los_Angeles |
Andy Bavier | 218385e | 2019-11-13 09:51:38 -0700 | [diff] [blame] | 830 | {time-trigger} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 831 | |
| 832 | - job-template: |
| 833 | id: 'voltha-patch-test' |
Matteo Scandolo | 84e5f00 | 2020-02-10 11:50:05 -0800 | [diff] [blame] | 834 | name: 'verify_{project}_sanity-test{name-extension}' |
Hung-Wei Chiu | f6cbde2 | 2021-04-22 22:15:23 -0700 | [diff] [blame] | 835 | build-node: 'ubuntu18.04-basebuild-4c-8g' |
Andy Bavier | 4318f8d | 2020-04-09 13:50:53 -0700 | [diff] [blame] | 836 | override-branch: '$GERRIT_BRANCH' |
Andy Bavier | 02b00dc | 2020-04-28 13:01:12 -0700 | [diff] [blame] | 837 | sandbox: true |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 838 | build-timeout: 20 |
Matteo Scandolo | 9aae495 | 2020-09-14 13:05:53 -0700 | [diff] [blame] | 839 | volthaSystemTestsChange: '' |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 840 | volthaHelmChartsChange: '' |
Matteo Scandolo | cecb084 | 2021-05-04 13:16:47 -0700 | [diff] [blame] | 841 | extraHelmFlags: '' |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 842 | branch-regexp: '{all-branches-regexp}' |
Matteo Scandolo | 42f517b | 2021-05-07 09:36:53 -0700 | [diff] [blame] | 843 | kindVolthaChange: '' # this is only needed to test kind-voltha patches |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 844 | |
| 845 | description: | |
| 846 | <!-- Managed by Jenkins Job Builder --> |
| 847 | Created by {id} job-template from ci-management/jjb/voltha-e2e.yaml <br /><br /> |
| 848 | E2E Validation for Voltha 2.X |
| 849 | |
| 850 | properties: |
| 851 | - cord-infra-properties: |
| 852 | build-days-to-keep: '{build-days-to-keep}' |
| 853 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 854 | |
| 855 | wrappers: |
| 856 | - lf-infra-wrappers: |
| 857 | build-timeout: '{build-timeout}' |
| 858 | jenkins-ssh-credential: '{jenkins-ssh-credential}' |
| 859 | |
| 860 | parameters: |
| 861 | - string: |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 862 | name: buildNode |
Andrea Campanella | 4792b7f | 2021-04-23 15:06:42 +0200 | [diff] [blame] | 863 | default: '{build-node}' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 864 | description: 'Name of the Jenkins node to run the job on' |
| 865 | |
| 866 | - string: |
hwchiu | 14f9785 | 2019-10-08 10:51:11 -0700 | [diff] [blame] | 867 | name: gerritProject |
| 868 | default: '$GERRIT_PROJECT' |
| 869 | description: 'Name of the Gerrit project' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 870 | |
| 871 | - string: |
Matteo Scandolo | 9aae495 | 2020-09-14 13:05:53 -0700 | [diff] [blame] | 872 | name: gerritRefspec |
| 873 | default: '$GERRIT_REFSPEC' |
| 874 | description: 'PatchSet REFSPEC in Gerrit, example value: "refs/changes/79/18779/13"' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 875 | |
| 876 | - string: |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 877 | name: extraHelmFlags |
Matteo Scandolo | cecb084 | 2021-05-04 13:16:47 -0700 | [diff] [blame] | 878 | default: '{extraHelmFlags}' |
Matteo Scandolo | a57b097 | 2021-05-03 14:04:58 -0700 | [diff] [blame] | 879 | description: 'Helm flags to pass to every helm command' |
Andy Bavier | bedd039 | 2019-10-16 13:58:18 -0700 | [diff] [blame] | 880 | |
Matteo Scandolo | 9aae495 | 2020-09-14 13:05:53 -0700 | [diff] [blame] | 881 | - string: |
| 882 | name: volthaSystemTestsChange |
| 883 | default: '{volthaSystemTestsChange}' |
| 884 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 885 | |
| 886 | - string: |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 887 | name: volthaHelmChartsChange |
| 888 | default: '{volthaHelmChartsChange}' |
| 889 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"' |
| 890 | |
| 891 | - string: |
| 892 | name: branch |
| 893 | default: '{override-branch}' |
| 894 | description: 'Name of the branch to use' |
| 895 | |
Matteo Scandolo | 42f517b | 2021-05-07 09:36:53 -0700 | [diff] [blame] | 896 | # Used in the 2.7 based pipeline, can be removed after 2.8 |
| 897 | - string: |
| 898 | name: kindVolthaChange |
| 899 | default: '{kindVolthaChange}' |
| 900 | description: 'Download a change for gerrit in the kind-voltha repo, example value: "refs/changes/32/19132/1" (only used to test kind-voltha changes in 2.7)' |
| 901 | |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 902 | project-type: pipeline |
Kailash | b59bc7f | 2019-09-03 13:13:27 -0700 | [diff] [blame] | 903 | concurrent: true |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 904 | |
Zack Williams | b329208 | 2019-10-11 17:15:18 -0700 | [diff] [blame] | 905 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 906 | |
| 907 | triggers: |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 908 | - gerrit: |
| 909 | server-name: '{gerrit-server-name}' |
Kailash | aad7101 | 2019-08-27 10:36:53 -0700 | [diff] [blame] | 910 | dependency-jobs: '{dependency-jobs}' |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 911 | silent-start: true |
| 912 | trigger-on: |
| 913 | - patchset-created-event: |
| 914 | exclude-drafts: true |
| 915 | exclude-trivial-rebase: false |
| 916 | exclude-no-code-change: true |
| 917 | - draft-published-event |
| 918 | - comment-added-contains-event: |
| 919 | comment-contains-value: '(?i)^.*recheck$' |
| 920 | projects: |
| 921 | - project-compare-type: REG_EXP |
| 922 | project-pattern: '^{project}$' |
| 923 | branches: |
| 924 | - branch-compare-type: REG_EXP |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 925 | branch-pattern: '{branch-regexp}' |
Andy Bavier | b99c3d3 | 2020-02-18 11:14:17 -0700 | [diff] [blame] | 926 | file-paths: |
| 927 | - compare-type: REG_EXP |
| 928 | pattern: '{all-files-regexp}' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 929 | |
| 930 | # POD Per Patchset Pipeline Jobs |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 931 | # to use these parameters in a job: `<<: *voltha-physical-patchset-parameters` |
| 932 | - voltha-physical-patchset-parameters: &voltha-physical-patchset-parameters |
| 933 | name: voltha-physical-patchset-parameters |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 934 | parameters: |
| 935 | - string: |
| 936 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 937 | default: '{build-node}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 938 | description: 'Pod management node' |
| 939 | |
| 940 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 941 | name: branch |
| 942 | default: '$GERRIT_BRANCH' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 943 | description: 'Name of the repo branch to use' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 944 | |
| 945 | - string: |
| 946 | name: gerritProject |
| 947 | default: '$GERRIT_PROJECT' |
| 948 | description: 'Name of the Gerrit project' |
| 949 | |
| 950 | - string: |
Matteo Scandolo | 7a33002 | 2021-03-29 14:03:48 -0700 | [diff] [blame] | 951 | name: gerritRefspec |
| 952 | default: '$GERRIT_REFSPEC' |
| 953 | description: 'RefSpec number in Gerrit' |
| 954 | |
| 955 | - string: |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 956 | name: gerritComment |
| 957 | default: '$GERRIT_EVENT_COMMENT_TEXT' |
| 958 | description: 'RefSpec number in Gerrit' |
| 959 | |
| 960 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 961 | name: cordRepoUrl |
| 962 | default: '{gerrit-server-url}' |
| 963 | description: 'The URL of the CORD Project repository' |
| 964 | |
| 965 | - string: |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 966 | name: configBaseDir |
| 967 | default: 'pod-configs' |
| 968 | description: 'The directory inside the POD configs repository' |
| 969 | |
| 970 | - string: |
| 971 | name: configDeploymentDir |
| 972 | default: 'deployment-configs' |
| 973 | description: 'The deployment configs folder' |
| 974 | |
| 975 | - string: |
| 976 | name: configKubernetesDir |
| 977 | default: 'kubernetes-configs' |
| 978 | description: 'The kubernetes config folder' |
| 979 | |
| 980 | - string: |
| 981 | name: configFileName |
| 982 | default: '{config-pod}' |
| 983 | description: 'The config file' |
| 984 | |
| 985 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 986 | name: podName |
| 987 | default: '{config-pod}' |
| 988 | |
| 989 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 990 | name: sadisConfigFile |
Matteo Scandolo | 7a33002 | 2021-03-29 14:03:48 -0700 | [diff] [blame] | 991 | default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 992 | description: 'Path of SADIS config to load' |
| 993 | |
| 994 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 995 | name: oltDebVersionMaster |
| 996 | default: '{oltDebVersionMaster}' |
| 997 | description: 'OLT Software version to install for master branch builds' |
| 998 | |
| 999 | - string: |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1000 | name: oltDebVersionVoltha23 |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 1001 | default: '{oltDebVersionVoltha23}' |
| 1002 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 1003 | |
| 1004 | - string: |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 1005 | name: profile |
| 1006 | default: '{profile}' |
| 1007 | description: 'Technology Profile pushed to the ETCD' |
| 1008 | |
| 1009 | - string: |
| 1010 | name: notificationEmail |
| 1011 | default: 'andy@opennetworking.org' |
| 1012 | description: '' |
| 1013 | |
| 1014 | - bool: |
| 1015 | name: reinstallOlt |
| 1016 | default: true |
| 1017 | description: "Re-install OLT software" |
| 1018 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 1019 | - string: |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1020 | name: extraRobotArgs |
| 1021 | default: '{default-test-args}' |
| 1022 | description: 'Arguments to pass to robot' |
| 1023 | |
| 1024 | - string: |
| 1025 | name: volthaSystemTestsChange |
| 1026 | default: '{volthaSystemTestsChange}' |
| 1027 | description: 'Download a change for gerrit in the voltha-system-tests repo, example value: "refs/changes/79/18779/13"' |
| 1028 | |
| 1029 | - string: |
| 1030 | name: volthaHelmChartsChange |
| 1031 | default: '{volthaHelmChartsChange}' |
| 1032 | description: 'Download a change for gerrit in the voltha-helm-charts repo, example value: "refs/changes/79/18779/13"' |
| 1033 | |
| 1034 | - string: |
| 1035 | name: workflow |
| 1036 | default: '{workflow}' |
| 1037 | description: 'Installs and uses the specified work flow on the POD' |
| 1038 | |
Matteo Scandolo | bb7382d | 2021-05-05 08:32:35 -0700 | [diff] [blame] | 1039 | - string: |
| 1040 | name: extraHelmFlags |
| 1041 | default: '{extraHelmFlags}' |
| 1042 | description: 'Helm flags (passed to each helm command)' |
| 1043 | |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1044 | # deprecated parameters, remove after VOLTHA-2.8 is released |
| 1045 | - string: |
| 1046 | name: deploymentConfigFile |
| 1047 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 1048 | description: 'Path of deployment config file' |
| 1049 | |
| 1050 | - string: |
| 1051 | name: kindVolthaValuesFile |
| 1052 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 1053 | description: 'Path of kind-voltha values override file' |
| 1054 | |
| 1055 | - string: |
| 1056 | name: manifestUrl |
| 1057 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 1058 | description: 'URL to the repo manifest' |
| 1059 | |
| 1060 | - string: |
| 1061 | name: gerritChangeNumber |
| 1062 | default: '$GERRIT_CHANGE_NUMBER' |
| 1063 | description: 'Changeset number in Gerrit' |
| 1064 | |
| 1065 | - string: |
| 1066 | name: gerritPatchsetNumber |
| 1067 | default: '$GERRIT_PATCHSET_NUMBER' |
| 1068 | description: 'PatchSet number in Gerrit' |
| 1069 | |
| 1070 | - string: |
| 1071 | name: localConfigDir |
| 1072 | default: null |
| 1073 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 1074 | |
| 1075 | - string: |
| 1076 | name: configRepo |
| 1077 | default: 'pod-configs' |
| 1078 | description: 'A repository containing the config files, will be checked out if specified' |
| 1079 | |
| 1080 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 1081 | name: manualBranch |
| 1082 | default: '{manualBranch}' |
| 1083 | 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] | 1084 | |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1085 | - job-template: |
| 1086 | name: '{name}' |
| 1087 | id: verify_physical_voltha_patchset_auto |
| 1088 | description: | |
| 1089 | <!-- Managed by Jenkins Job Builder --> |
| 1090 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 1091 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 1092 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 1093 | Copyright (c) 2019 Open Networking Foundation (ONF) |
| 1094 | sandbox: true |
| 1095 | pipeline-script: 'voltha/master/tucson-build-and-test.groovy' |
| 1096 | default-test-args: '-i sanityORDeleteOLT -X' |
| 1097 | branch-pattern: '{all-branches-regexp}' |
| 1098 | build-node: 'tucson-pod' |
| 1099 | config-pod: 'tucson-pod' |
| 1100 | workflow: 'att' |
| 1101 | profile: 'Default' |
Girish Gowdra | 1a1f5cc | 2021-05-04 14:14:37 -0700 | [diff] [blame] | 1102 | oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1103 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
| 1104 | volthaSystemTestsChange: '' |
| 1105 | volthaHelmChartsChange: '' |
Matteo Scandolo | bb7382d | 2021-05-05 08:32:35 -0700 | [diff] [blame] | 1106 | extraHelmFlags: '' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1107 | |
| 1108 | properties: |
| 1109 | - cord-infra-properties: |
| 1110 | build-days-to-keep: '{build-days-to-keep}' |
| 1111 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 1112 | |
| 1113 | <<: *voltha-physical-patchset-parameters |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 1114 | |
| 1115 | project-type: pipeline |
| 1116 | concurrent: true |
| 1117 | |
| 1118 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
| 1119 | |
| 1120 | triggers: |
| 1121 | - gerrit: |
| 1122 | server-name: '{gerrit-server-name}' |
| 1123 | dependency-jobs: '{dependency-jobs}' |
| 1124 | silent-start: false |
| 1125 | successful-message: "PASSED hardware test" |
| 1126 | failure-message: "FAILED hardware test" |
| 1127 | unstable-message: "UNSTABLE hardware test" |
| 1128 | trigger-on: |
| 1129 | - comment-added-event: |
| 1130 | approval-category: 'Code-Review' |
| 1131 | approval-value: '+2' |
| 1132 | projects: |
| 1133 | - project-compare-type: REG_EXP |
Girish Gowdra | 7beebea | 2021-01-31 18:56:45 -0800 | [diff] [blame] | 1134 | 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] | 1135 | branches: |
Andy Bavier | 37f6ea9 | 2020-04-03 11:13:35 -0700 | [diff] [blame] | 1136 | - branch-compare-type: REG_EXP |
Matteo Scandolo | 5b998a2 | 2021-04-22 09:42:40 -0700 | [diff] [blame] | 1137 | branch-pattern: '{branch-pattern}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 1138 | |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 1139 | - job-template: |
| 1140 | name: '{name}' |
| 1141 | id: verify_physical_voltha_patchset_manual |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 1142 | description: | |
| 1143 | <!-- Managed by Jenkins Job Builder --> |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1144 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
Andy Bavier | e991645 | 2019-11-06 12:32:47 -0700 | [diff] [blame] | 1145 | 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] | 1146 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 1147 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 1148 | sandbox: true |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1149 | build-node: 'tucson-pod' |
| 1150 | config-pod: 'tucson-pod' |
Girish Gowdra | 1a1f5cc | 2021-05-04 14:14:37 -0700 | [diff] [blame] | 1151 | oltDebVersionMaster: 'openolt_asfvolt16-3.4.1-dev-c5dcc7f2b27df1c42868b3a79a5416808511bb1d-40G-NNI.deb' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1152 | oltDebVersionVoltha23: 'openolt_asfvolt16-3.3.3-1a5d68b50d8bcc5ba6cb1630d3294c30c37cd2f5-40G-NNI.deb' |
| 1153 | pipeline-script: 'voltha/master/tucson-build-and-test.groovy' |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 1154 | trigger-string: 'hardware test' |
| 1155 | default-test-args: '-i sanityORDeleteOLT -X' |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1156 | branch-pattern: '{all-branches-regexp}' |
| 1157 | volthaSystemTestsChange: '' |
| 1158 | volthaHelmChartsChange: '' |
| 1159 | workflow: 'att' |
Matteo Scandolo | bb7382d | 2021-05-05 08:32:35 -0700 | [diff] [blame] | 1160 | extraHelmFlags: '' |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 1161 | |
| 1162 | properties: |
| 1163 | - cord-infra-properties: |
| 1164 | build-days-to-keep: '{build-days-to-keep}' |
| 1165 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 1166 | |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1167 | <<: *voltha-physical-patchset-parameters |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 1168 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 1169 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1170 | project-type: pipeline |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 1171 | concurrent: true |
| 1172 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1173 | dsl: !include-raw-escape: pipeline/{pipeline-script} |
Andy Bavier | bf68c5e | 2019-10-25 15:05:28 -0700 | [diff] [blame] | 1174 | |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 1175 | triggers: |
| 1176 | - gerrit: |
| 1177 | server-name: '{gerrit-server-name}' |
| 1178 | dependency-jobs: '{dependency-jobs}' |
| 1179 | silent-start: false |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 1180 | successful-message: "PASSED {trigger-string}" |
| 1181 | failure-message: "FAILED {trigger-string}" |
| 1182 | unstable-message: "UNSTABLE {trigger-string}" |
Andy Bavier | 1f46559 | 2019-11-06 10:03:56 -0700 | [diff] [blame] | 1183 | trigger-on: |
| 1184 | - comment-added-contains-event: |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 1185 | comment-contains-value: '^{trigger-string}$' |
Scott Baker | da31d7b | 2020-01-08 16:35:52 -0800 | [diff] [blame] | 1186 | - comment-added-contains-event: |
Andy Bavier | d83bf3a | 2020-08-13 14:55:07 -0700 | [diff] [blame] | 1187 | comment-contains-value: '^{trigger-string} with delay$' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 1188 | projects: |
| 1189 | - project-compare-type: REG_EXP |
Girish Gowdra | 7beebea | 2021-01-31 18:56:45 -0800 | [diff] [blame] | 1190 | 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] | 1191 | branches: |
Andy Bavier | fc3ca14 | 2020-03-27 13:44:25 -0700 | [diff] [blame] | 1192 | - branch-compare-type: REG_EXP |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1193 | branch-pattern: '{branch-pattern}' |
Andy Bavier | 51ba7e8 | 2019-12-17 11:01:01 -0700 | [diff] [blame] | 1194 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1195 | - job-template: |
| 1196 | name: '{name}' |
| 1197 | id: build_physical_voltha_manual |
| 1198 | description: | |
| 1199 | <!-- Managed by Jenkins Job Builder --> |
| 1200 | Automated build on POD {config-pod} using {pipeline-script} <br /><br /> |
| 1201 | Created from job-template {id} from ci-management/jjb/voltha-e2e.yaml <br /> |
| 1202 | Created by Andy Bavier, andy@opennetworking.org <br /> |
| 1203 | Copyright (c) 2019 Open Networking Foundation (ONF) |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1204 | sandbox: true |
Matteo Scandolo | 9b644ba | 2021-04-19 11:21:07 -0700 | [diff] [blame] | 1205 | pipeline-script: 'voltha/voltha-2.7/voltha-physical-build-and-tests.groovy' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1206 | |
| 1207 | properties: |
| 1208 | - cord-infra-properties: |
| 1209 | build-days-to-keep: '{build-days-to-keep}' |
| 1210 | artifact-num-to-keep: '{artifact-num-to-keep}' |
| 1211 | |
| 1212 | parameters: |
| 1213 | - string: |
| 1214 | name: buildNode |
Zack Williams | 8ef7981 | 2019-10-29 11:09:18 -0700 | [diff] [blame] | 1215 | default: '{build-node}' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1216 | description: 'Pod management node' |
| 1217 | |
| 1218 | - string: |
| 1219 | name: manifestUrl |
| 1220 | default: '{gerrit-server-url}/{voltha-test-manifest-repo}' |
| 1221 | description: 'URL to the repo manifest' |
| 1222 | |
| 1223 | - string: |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 1224 | name: branch |
| 1225 | default: "$GERRIT_BRANCH" |
| 1226 | description: 'Name of the repo manifest branch to use' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1227 | |
| 1228 | - string: |
| 1229 | name: gerritProject |
| 1230 | default: '$GERRIT_PROJECT' |
| 1231 | description: 'Name of the Gerrit project' |
| 1232 | |
| 1233 | - string: |
| 1234 | name: gerritChangeNumber |
| 1235 | default: '$GERRIT_CHANGE_NUMBER' |
| 1236 | description: 'Changeset number in Gerrit' |
| 1237 | |
| 1238 | - string: |
| 1239 | name: gerritPatchsetNumber |
| 1240 | default: '$GERRIT_PATCHSET_NUMBER' |
| 1241 | description: 'PatchSet number in Gerrit' |
| 1242 | |
| 1243 | - string: |
Matteo Scandolo | 7a33002 | 2021-03-29 14:03:48 -0700 | [diff] [blame] | 1244 | name: gerritRefspec |
| 1245 | default: '$GERRIT_REFSPEC' |
| 1246 | description: 'RefSpec number in Gerrit' |
| 1247 | |
| 1248 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1249 | name: cordRepoUrl |
| 1250 | default: '{gerrit-server-url}' |
| 1251 | description: 'The URL of the CORD Project repository' |
| 1252 | |
| 1253 | - string: |
| 1254 | name: podName |
| 1255 | default: '{config-pod}' |
| 1256 | |
| 1257 | - string: |
| 1258 | name: deploymentConfigFile |
| 1259 | default: 'pod-configs/deployment-configs/{config-pod}.yaml' |
| 1260 | description: 'Path of deployment config file' |
| 1261 | |
| 1262 | - string: |
| 1263 | name: kindVolthaValuesFile |
| 1264 | default: 'pod-configs/kubernetes-configs/voltha/{config-pod}.yml' |
| 1265 | description: 'Path of kind-voltha values override file' |
| 1266 | |
| 1267 | - string: |
| 1268 | name: sadisConfigFile |
Matteo Scandolo | 7a33002 | 2021-03-29 14:03:48 -0700 | [diff] [blame] | 1269 | default: 'voltha-system-tests/tests/data/{config-pod}-sadis.json' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1270 | description: 'Path of SADIS config to load' |
| 1271 | |
| 1272 | - string: |
| 1273 | name: localConfigDir |
| 1274 | default: null |
| 1275 | description: 'If specified, config file paths are relative to this dir; otherwise $WORKSPACE' |
| 1276 | |
| 1277 | - string: |
| 1278 | name: configRepo |
| 1279 | default: 'pod-configs' |
| 1280 | description: 'A repository containing the config files, will be checked out if specified' |
| 1281 | |
| 1282 | - string: |
Andy Bavier | 893d244 | 2020-05-21 12:41:17 -0700 | [diff] [blame] | 1283 | name: oltDebVersionMaster |
| 1284 | default: '{oltDebVersionMaster}' |
| 1285 | description: 'OLT Software version to install for master branch builds' |
| 1286 | |
| 1287 | - string: |
| 1288 | name: oltDebVersionVoltha23 |
| 1289 | default: '{oltDebVersionVoltha23}' |
| 1290 | description: 'OLT Software version to install for voltha-2.3 branch builds' |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1291 | |
| 1292 | - string: |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1293 | name: profile |
| 1294 | default: '{profile}' |
| 1295 | description: 'Technology Profile pushed to the ETCD' |
| 1296 | |
| 1297 | - string: |
| 1298 | name: notificationEmail |
| 1299 | default: 'andy@opennetworking.org' |
| 1300 | description: '' |
| 1301 | |
| 1302 | - bool: |
| 1303 | name: reinstallOlt |
| 1304 | default: false |
| 1305 | description: "Re-install OLT software" |
| 1306 | |
Zack Williams | 03ebb27 | 2020-03-27 09:42:33 -0700 | [diff] [blame] | 1307 | - string: |
| 1308 | name: manualBranch |
| 1309 | default: '{manualBranch}' |
| 1310 | 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] | 1311 | |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 1312 | - string: |
| 1313 | name: extraRobotArgs |
Andy Bavier | d2b25fe | 2020-06-09 07:22:00 -0700 | [diff] [blame] | 1314 | default: '-e bbsim -X' |
Andy Bavier | 8c11d46 | 2019-12-17 08:19:34 -0700 | [diff] [blame] | 1315 | description: 'Arguments to pass to robot' |
| 1316 | |
Andy Bavier | 61c5b2a | 2019-11-12 12:08:19 -0700 | [diff] [blame] | 1317 | project-type: pipeline |
| 1318 | concurrent: true |
| 1319 | |
| 1320 | dsl: !include-raw-escape: pipeline/{pipeline-script} |