Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 1 | --- |
| 2 | # ONOS System Test Pipeline jobs |
| 3 | |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 4 | # TODO: for some reason, lf-* types of macro cannot access to the variable. I think it is typical problem to pipeline job type. |
| 5 | |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 6 | - var-init-boiler-plate: &var-init-boiler-plate |
| 7 | name: var-init-boiler-plate |
| 8 | FUNC: "FUNCgroup\nFUNCflow\nFUNCintent\nFUNCintentRest\nFUNCipv6Intent\nFUNCnetCfg\nFUNCnetconf\nFUNCoptical\nFUNCovsdbtest\nFUNCformCluster" |
| 9 | HA: "HAclusterRestart\nHAfullNetPartition\nHAkillNodes\nHAsanity\nHAscaling\nHAsingleInstanceRestart\nHAstopNodes\nHAswapNodes\nHAupgrade\nHAupgradeRollback" |
| 10 | SCPF: "SCPFcbench\nSCPFflowTp1g\nSCPFhostLat\nSCPFintentEventTp\nSCPFintentInstallWithdrawLat\nSCPFintentRerouteLat\nSCPFmastershipFailoverLat\nSCPFbatchFlowResp\nSCPFportLat\nSCPFscaleTopo\nSCPFscalingMaxIntents\nSCPFswitchLat\nSCPFflowTp1gWithFlowObj\nSCPFintentEventTpWithFlowObj\nSCPFintentRerouteLatWithFlowObj\nSCPFscalingMaxIntentsWithFlowObj\nSCPFintentInstallWithdrawLatWithFlowObj" |
Devin Lim | 8054691 | 2018-03-23 17:49:39 -0700 | [diff] [blame] | 11 | USECASE: "FUNCbgpls\nFUNCvirNetNB\nPLATdockertest\nVPLSBasic\nVPLSfailsafe\nUSECASE_SdnipFunction\nUSECASE_SdnipFunctionCluster" |
| 12 | SR: "SRRouting\nSRBridging\nSRDhcprelay\nSRDynamicConf\nSRMulticast\nSRClusterRestart\nSRDynamic\nSRHighAvailability\nSRLinkFailure\nSROnosFailure\nSRSanity\nSRSwitchFailure" |
Jon Hall | 9017d2e | 2018-06-11 12:04:52 -0700 | [diff] [blame] | 13 | SRHA: "SRHAclusterRestart\nSRHAfullNetPartition\nSRHAkillNodes\nSRHAsanity\nSRHAscaling\nSRHAsingleInstanceRestart\nSRHAstopNodes\nSRHAswapNodes\nSRHAupgrade\nSRHAupgradeRollback" |
Jon Hall | fcf70ec | 2020-07-23 15:49:19 -0700 | [diff] [blame] | 14 | SR-StratumBMv2: "SRBridging-stratum\nSRDhcprelay-stratum" |
| 15 | SR-Tofino: "SRBridging-tofino" |
Jon Hall | 9017d2e | 2018-06-11 12:04:52 -0700 | [diff] [blame] | 16 | |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 17 | |
Devin Lim | 49200ec | 2018-01-19 16:17:41 -0800 | [diff] [blame] | 18 | - test-pipe-job-boiler-plate: &test-pipe-job-boiler-plate |
| 19 | name: test-pipe-job-boiler-plate |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 20 | |
| 21 | project-type: pipeline |
| 22 | |
| 23 | sandbox: true |
| 24 | |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 25 | properties: |
| 26 | |
| 27 | - build-discarder: |
| 28 | num-to-keep: 20 |
Devin Lim | ca864a1 | 2018-02-09 11:25:30 -0800 | [diff] [blame] | 29 | gitURL: https://gerrit.onosproject.org/OnosSystemTest |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 30 | |
Devin Lim | 49200ec | 2018-01-19 16:17:41 -0800 | [diff] [blame] | 31 | - test-pipe-init-procedure-plate: &test-pipe-init-procedure-plate |
| 32 | name: test-pipe-init-procedure-plate |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 33 | project: OnosSystemTest |
| 34 | stream: 'master' |
| 35 | jenkins-path: 'TestON/JenkinsFile' |
| 36 | |
| 37 | - job-version-plate: &job-version-plate |
| 38 | name: job-version-plate |
| 39 | version: |
You Wang | 5efd759 | 2018-08-02 21:49:51 +0000 | [diff] [blame] | 40 | - '1.12' |
| 41 | - '1.13' |
You Wang | 7ab523d | 2018-08-20 15:03:43 -0700 | [diff] [blame] | 42 | - '1.14' |
You Wang | befeecf | 2018-11-09 15:06:57 -0800 | [diff] [blame] | 43 | - '1.15' |
You Wang | 30ff744 | 2018-12-21 14:11:27 -0800 | [diff] [blame] | 44 | - '2.0' |
You Wang | 6eae0a4 | 2019-04-22 16:25:24 -0700 | [diff] [blame] | 45 | - '2.1' |
Jeremy Ronquillo | b3ddd59 | 2019-08-14 15:19:45 -0700 | [diff] [blame] | 46 | - '2.2' |
Jeremy Ronquillo | 409cf35 | 2020-01-21 17:01:01 -0800 | [diff] [blame] | 47 | - '2.3' |
You Wang | 55ab976 | 2020-12-02 09:00:34 -0800 | [diff] [blame] | 48 | - '2.4' |
| 49 | - '2.5' |
You Wang | 73685ab | 2021-07-13 18:52:04 -0700 | [diff] [blame] | 50 | - '2.6' |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 51 | - 'master' |
| 52 | - 'manually' |
| 53 | |
Jeremy Ronquillo | 3245408 | 2019-08-21 11:22:59 -0700 | [diff] [blame] | 54 | - job-version-plate: &job-mo-version-plate |
| 55 | name: job-mo-version-plate |
| 56 | mo-version: |
| 57 | - 'master' |
| 58 | - 'manually' |
| 59 | |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 60 | - job-type-plate: &job-type-plate |
| 61 | name: job-type-plate |
| 62 | type: |
| 63 | - 'FUNC' |
| 64 | - 'HA' |
| 65 | - 'SCPF' |
| 66 | - 'USECASE' |
Devin Lim | 323c987 | 2018-01-30 19:57:58 -0800 | [diff] [blame] | 67 | - 'SR' |
Jon Hall | 9017d2e | 2018-06-11 12:04:52 -0700 | [diff] [blame] | 68 | - 'SRHA' |
Jon Hall | fcf70ec | 2020-07-23 15:49:19 -0700 | [diff] [blame] | 69 | - 'SR-StratumBMv2' |
Jon Hall | 9c3cf6e | 2020-07-29 10:55:43 -0700 | [diff] [blame] | 70 | - 'SR-Tofino' |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 71 | |
Jeremy Ronquillo | 3245408 | 2019-08-21 11:22:59 -0700 | [diff] [blame] | 72 | - job-type-plate: &job-mo-type-plate |
| 73 | name: job-mo-type-plate |
| 74 | mo-type: |
| 75 | - 'MO' |
| 76 | |
Devin Lim | 74cf6cb | 2018-01-12 15:03:34 -0800 | [diff] [blame] | 77 | - job-template: |
Jeremy Ronquillo | a54ecad | 2019-06-14 09:36:21 -0700 | [diff] [blame] | 78 | name: 'master-trigger' |
Jeremy Ronquillo | 34e993b | 2018-02-07 10:43:15 -0800 | [diff] [blame] | 79 | description: | |
| 80 | <!-- Managed by Jenkins Job Builder --> |
Jeremy Ronquillo | a54ecad | 2019-06-14 09:36:21 -0700 | [diff] [blame] | 81 | master-trigger can trigger TestON tests on any branches of ONOS and TestON, by running the test category pipeline that contains the test. <br /> |
Devin Lim | 1c4753e | 2018-03-23 15:31:38 -0700 | [diff] [blame] | 82 | This pipeline is triggered by timer for the nightly builds. <br /> |
| 83 | You may manually trigger this pipeline as well - provide the tests to run and the branch of ONOS and TestON. <br /> <br /> |
| 84 | Note: <i>The console output for this job does <b>not</b> contain any test result logs.</i><br /> |
Devin Lim | 3e15df6 | 2018-05-09 17:45:51 -0700 | [diff] [blame] | 85 | Visit the test category pipelines (such as <a href="https://jenkins.onosproject.org/view/QA/job/FUNC-pipeline-master/">FUNC-pipeline-master</a>) to view the test logs. <br /> <br /> |
Devin Lim | 1c4753e | 2018-03-23 15:31:38 -0700 | [diff] [blame] | 86 | Created by Devin Lim - devin@opennetworking.org<br /> |
| 87 | Copyright (c) 2017 Open Networking Foundation (ONF) |
| 88 | |
Devin Lim | 1c4753e | 2018-03-23 15:31:38 -0700 | [diff] [blame] | 89 | <<: *test-pipe-job-boiler-plate |
| 90 | |
| 91 | parameters: |
| 92 | |
| 93 | - bool: |
| 94 | name: manual_run |
| 95 | default: false |
| 96 | description: | |
Jeremy Ronquillo | a54ecad | 2019-06-14 09:36:21 -0700 | [diff] [blame] | 97 | Check this option if you are manually running this job. <br /> |
| 98 | You must specify which tests to run in the text field below. <br /> |
| 99 | Leave this unchecked if simulating a nightly test run. |
| 100 | |
| 101 | - string: |
Jeremy Ronquillo | fc9868d | 2019-07-29 12:00:02 -0700 | [diff] [blame] | 102 | name: TimeOut |
| 103 | default: '1410' |
Jeremy Ronquillo | a54ecad | 2019-06-14 09:36:21 -0700 | [diff] [blame] | 104 | description: | |
Jeremy Ronquillo | fc9868d | 2019-07-29 12:00:02 -0700 | [diff] [blame] | 105 | Minutes until the entire pipeline times out. Default: 23 hours 30 minutes. This value is also passed to the downstream jobs. |
Devin Lim | 1c4753e | 2018-03-23 15:31:38 -0700 | [diff] [blame] | 106 | |
| 107 | - bool: |
| 108 | name: PostResult |
| 109 | default: false |
| 110 | description: | |
| 111 | Check this option if you want to update the results on the wiki. <br /> |
| 112 | When manually run, this will update the wiki pages corresponding to the tests that were run. <br /> |
| 113 | This option will always be selected during nightly builds. |
| 114 | |
Jeremy Ronquillo | acef458 | 2019-05-31 13:22:55 -0700 | [diff] [blame] | 115 | - text: |
| 116 | name: branches |
Jeremy Ronquillo | fc9868d | 2019-07-29 12:00:02 -0700 | [diff] [blame] | 117 | default: "" |
You Wang | d7e71d0 | 2019-09-18 11:46:28 -0700 | [diff] [blame] | 118 | description: "ONOS and TestON version to run on. E.g. 1.15" |
Jeremy Ronquillo | 994df44 | 2019-07-09 16:18:01 -0700 | [diff] [blame] | 119 | |
| 120 | - text: |
| 121 | name: Tests |
| 122 | default: "" |
| 123 | description: 'Specify the tests you want to run, if manual_run is selected.' |
Devin Lim | 1c4753e | 2018-03-23 15:31:38 -0700 | [diff] [blame] | 124 | |
| 125 | - string: |
Jeremy Ronquillo | fc9868d | 2019-07-29 12:00:02 -0700 | [diff] [blame] | 126 | name: simulate_day |
| 127 | default: "" |
| 128 | description: | |
| 129 | Enter a day prefix (first 3 letters of a day, lowercase) to simulate running a nightly test on that day. Leave this field empty to default to today.<br /> |
| 130 | The "manual_run" parameter must not be selected for this to take effect. |
| 131 | |
| 132 | - string: |
You Wang | 8a605bc | 2019-01-03 10:48:45 -0800 | [diff] [blame] | 133 | name: ONOSJAVAOPTS |
You Wang | 2e8ef57 | 2019-05-20 16:05:17 -0700 | [diff] [blame] | 134 | default: "\"${{JAVA_OPTS:--Xms8G -Xmx8G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Dkaraf.log.console=INFO -Dds.lock.timeout.milliseconds=60000}}\"" |
You Wang | 8a605bc | 2019-01-03 10:48:45 -0800 | [diff] [blame] | 135 | description: 'ONOS cell JAVA_OPTS setting.' |
Devin Lim | 1c4753e | 2018-03-23 15:31:38 -0700 | [diff] [blame] | 136 | |
| 137 | - string: |
| 138 | name: ONOSTag |
| 139 | default: '' |
| 140 | desciption: 'specific branch trying to checkout' |
| 141 | |
Devin Lim | 1c4753e | 2018-03-23 15:31:38 -0700 | [diff] [blame] | 142 | - lf-infra-parameters: |
| 143 | project: 'OnosSystemTest' |
| 144 | branch: 'master' |
| 145 | stream: 'master' |
| 146 | lftools-version: '<1.0.0' |
| 147 | |
Jeremy Ronquillo | fc9868d | 2019-07-29 12:00:02 -0700 | [diff] [blame] | 148 | concurrent: true |
Devin Lim | 1c4753e | 2018-03-23 15:31:38 -0700 | [diff] [blame] | 149 | |
Jeremy Ronquillo | acef458 | 2019-05-31 13:22:55 -0700 | [diff] [blame] | 150 | triggers: |
| 151 | - timed: | |
| 152 | TZ=America/Los_Angeles |
| 153 | 30 19 * * 1,2,3,4,5 |
| 154 | 30 11 * * 6,7 |
| 155 | |
Devin Lim | 1c4753e | 2018-03-23 15:31:38 -0700 | [diff] [blame] | 156 | pipeline-scm: |
Jeremy Ronquillo | a54ecad | 2019-06-14 09:36:21 -0700 | [diff] [blame] | 157 | script-path: '{jenkins-path}/MasterTrigger.groovy' |
Devin Lim | 1c4753e | 2018-03-23 15:31:38 -0700 | [diff] [blame] | 158 | scm: |
| 159 | - git: |
| 160 | url: '{gitURL}' |
| 161 | branches: |
| 162 | - 'master' |
| 163 | |
| 164 | - job-template: |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 165 | name: '{type}-pipeline-{version}' |
Jeremy Ronquillo | bc50af8 | 2019-07-12 15:51:42 -0700 | [diff] [blame] | 166 | description: | |
| 167 | <!-- Managed by Jenkins Job Builder --> |
Jeremy Ronquillo | ae3c769 | 2018-03-05 08:47:05 -0800 | [diff] [blame] | 168 | This pipeline contains the test results and logs of {type} on ONOS {version}. <br /><br /> |
Jeremy Ronquillo | 994df44 | 2019-07-09 16:18:01 -0700 | [diff] [blame] | 169 | Visit <a href="https://jenkins.onosproject.org/view/QA/job/master-trigger/">master-trigger</a> to trigger a build in this pipeline.<br /> |
Jeremy Ronquillo | bc50af8 | 2019-07-12 15:51:42 -0700 | [diff] [blame] | 170 | Wiki graphs may also be refreshed here. <br /><br /> |
Jeremy Ronquillo | 34e993b | 2018-02-07 10:43:15 -0800 | [diff] [blame] | 171 | Created by Devin Lim - devin@opennetworking.org<br /> |
Jeremy Ronquillo | bc50af8 | 2019-07-12 15:51:42 -0700 | [diff] [blame] | 172 | Copyright (c) 2017 Open Networking Foundation (ONF) |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 173 | |
Devin Lim | 49200ec | 2018-01-19 16:17:41 -0800 | [diff] [blame] | 174 | <<: *test-pipe-job-boiler-plate |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 175 | |
| 176 | parameters: |
| 177 | |
Jeremy Ronquillo | bc50af8 | 2019-07-12 15:51:42 -0700 | [diff] [blame] | 178 | - bool: |
| 179 | name: 'OnlyRefreshGraphs' |
| 180 | default: false |
| 181 | description: "Check this option to refresh the graphs without running any of the tests." |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 182 | |
Jeremy Ronquillo | 994df44 | 2019-07-09 16:18:01 -0700 | [diff] [blame] | 183 | - string: |
Jeremy Ronquillo | fc9868d | 2019-07-29 12:00:02 -0700 | [diff] [blame] | 184 | name: 'TimeOut' |
| 185 | default: '1410' |
| 186 | description: 'Minutes until the entire pipeline times out. Default: 23 hours 30 minutes. This value is usually passed from the upstream <a href="https://jenkins.onosproject.org/view/QA/job/master-trigger/">master-trigger</a> job.' |
| 187 | |
| 188 | - string: |
Jeremy Ronquillo | 994df44 | 2019-07-09 16:18:01 -0700 | [diff] [blame] | 189 | name: 'TestStation' |
| 190 | default: '' |
Jeremy Ronquillo | bc50af8 | 2019-07-12 15:51:42 -0700 | [diff] [blame] | 191 | description: 'Name of the test station to run this pipeline. Example: "TestStation-VMs".' |
Jeremy Ronquillo | 994df44 | 2019-07-09 16:18:01 -0700 | [diff] [blame] | 192 | |
| 193 | - string: |
| 194 | name: 'NodeLabel' |
| 195 | default: '' |
Jeremy Ronquillo | bc50af8 | 2019-07-12 15:51:42 -0700 | [diff] [blame] | 196 | description: 'Node label of the test station that runs this pipeline. Example: "VM".' |
| 197 | |
Jeremy Ronquillo | fc9868d | 2019-07-29 12:00:02 -0700 | [diff] [blame] | 198 | - text: |
| 199 | name: 'TestsOverride' |
| 200 | default: '' |
| 201 | description: "Add a list of tests here to run, which overrides the test list from the .property file." |
| 202 | |
Jeremy Ronquillo | bc50af8 | 2019-07-12 15:51:42 -0700 | [diff] [blame] | 203 | - string: |
| 204 | name: 'Category' |
| 205 | default: '{type}' |
| 206 | description: 'Category of the pipeline. Not recommended to modify. Primarily used when triggered by the upstream <a href="https://jenkins.onosproject.org/view/QA/job/master-trigger/">master-trigger</a> job.' |
| 207 | |
| 208 | - string: |
| 209 | name: 'Branch' |
| 210 | default: '{version}' |
| 211 | description: 'Branch of the pipeline. Not recommended to modify. Primarily used when triggered by the upstream <a href="https://jenkins.onosproject.org/view/QA/job/master-trigger/">master-trigger</a> job.' |
Jeremy Ronquillo | 994df44 | 2019-07-09 16:18:01 -0700 | [diff] [blame] | 212 | |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 213 | - lf-infra-parameters: |
| 214 | project: 'OnosSystemTest' |
| 215 | branch: 'master' |
| 216 | stream: 'master' |
| 217 | lftools-version: '<1.0.0' |
| 218 | |
| 219 | concurrent: false |
| 220 | |
| 221 | pipeline-scm: |
Jeremy Ronquillo | 74735c5 | 2019-06-26 10:01:23 -0700 | [diff] [blame] | 222 | script-path: '{jenkins-path}/CommonJenkinsFile.groovy' |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 223 | scm: |
| 224 | - git: |
Devin Lim | ca864a1 | 2018-02-09 11:25:30 -0800 | [diff] [blame] | 225 | url: '{gitURL}' |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 226 | branches: |
| 227 | - 'master' |
| 228 | |
| 229 | - job-template: |
Jeremy Ronquillo | 3245408 | 2019-08-21 11:22:59 -0700 | [diff] [blame] | 230 | name: '{mo-type}-pipeline-{mo-version}' |
| 231 | description: | |
| 232 | <!-- Managed by Jenkins Job Builder --> |
| 233 | This pipeline contains the test results and logs of {mo-type} on micro-ONOS {mo-version}. <br /><br /> |
| 234 | Visit <a href="https://jenkins.onosproject.org/view/QA/job/master-trigger/">master-trigger</a> to trigger a build in this pipeline.<br /> |
| 235 | Created by Jeremy Ronquillo - jeremyr@opennetworking.org<br /> |
| 236 | Copyright (c) 2019 Open Networking Foundation (ONF) |
| 237 | |
| 238 | <<: *test-pipe-job-boiler-plate |
| 239 | |
| 240 | parameters: |
| 241 | |
| 242 | - string: |
| 243 | name: 'TimeOut' |
| 244 | default: '1410' |
| 245 | description: 'Minutes until the entire pipeline times out. Default: 23 hours 30 minutes. This value is usually passed from the upstream <a href="https://jenkins.onosproject.org/view/QA/job/master-trigger/">master-trigger</a> job.' |
| 246 | |
| 247 | - string: |
| 248 | name: 'TestStation' |
| 249 | default: '' |
| 250 | description: 'Name of the test station to run this pipeline. Example: "TestStation-micro-onos-node".' |
| 251 | |
| 252 | - string: |
| 253 | name: 'NodeLabel' |
| 254 | default: '' |
| 255 | description: 'Node label of the test station that runs this pipeline. Example: "micro-onos".' |
| 256 | |
| 257 | - text: |
| 258 | name: 'TestsOverride' |
| 259 | default: '' |
| 260 | description: "Add a list of tests here to run, which overrides the test list from the .property file." |
| 261 | |
| 262 | - string: |
| 263 | name: 'Category' |
| 264 | default: '{mo-type}' |
| 265 | description: 'Category of the pipeline. Not recommended to modify. Primarily used when triggered by the upstream <a href="https://jenkins.onosproject.org/view/QA/job/master-trigger/">master-trigger</a> job.' |
| 266 | |
| 267 | - string: |
| 268 | name: 'Branch' |
| 269 | default: '{mo-version}' |
| 270 | description: 'Branch of the pipeline. Not recommended to modify. Primarily used when triggered by the upstream <a href="https://jenkins.onosproject.org/view/QA/job/master-trigger/">master-trigger</a> job.' |
| 271 | |
| 272 | - lf-infra-parameters: |
| 273 | project: 'OnosSystemTest' |
| 274 | branch: 'master' |
| 275 | stream: 'master' |
| 276 | lftools-version: '<1.0.0' |
| 277 | |
| 278 | concurrent: false |
| 279 | |
| 280 | pipeline-scm: |
| 281 | script-path: '{jenkins-path}/MOJenkinsFile.groovy' |
| 282 | scm: |
| 283 | - git: |
| 284 | url: '{gitURL}' |
| 285 | branches: |
| 286 | - 'master' |
| 287 | |
| 288 | |
| 289 | - job-template: |
Jeremy Ronquillo | 3dbd8e8 | 2018-03-05 10:23:25 -0800 | [diff] [blame] | 290 | name: 'manual-graph-generator-overall' |
| 291 | description: | |
| 292 | <!-- Managed by Jenkins Job Builder --> |
| 293 | Refresh the overall graphs here. Useful when there is a change in the graph scripts. <br /> |
| 294 | Graphs are stored in pipeline-postjob-vm. |
| 295 | |
| 296 | <<: *test-pipe-job-boiler-plate |
| 297 | |
| 298 | parameters: |
| 299 | - choice: |
| 300 | name: ONOSbranch |
| 301 | choices: |
| 302 | - 'master' |
You Wang | 73685ab | 2021-07-13 18:52:04 -0700 | [diff] [blame] | 303 | - 'onos-2.6' |
You Wang | 55ab976 | 2020-12-02 09:00:34 -0800 | [diff] [blame] | 304 | - 'onos-2.5' |
| 305 | - 'onos-2.4' |
Jeremy Ronquillo | 409cf35 | 2020-01-21 17:01:01 -0800 | [diff] [blame] | 306 | - 'onos-2.3' |
Jeremy Ronquillo | b3ddd59 | 2019-08-14 15:19:45 -0700 | [diff] [blame] | 307 | - 'onos-2.2' |
You Wang | 6eae0a4 | 2019-04-22 16:25:24 -0700 | [diff] [blame] | 308 | - 'onos-2.1' |
You Wang | 30ff744 | 2018-12-21 14:11:27 -0800 | [diff] [blame] | 309 | - 'onos-2.0' |
You Wang | befeecf | 2018-11-09 15:06:57 -0800 | [diff] [blame] | 310 | - 'onos-1.15' |
You Wang | 7ab523d | 2018-08-20 15:03:43 -0700 | [diff] [blame] | 311 | - 'onos-1.14' |
Devin Lim | 7550e02 | 2018-04-13 18:31:02 -0700 | [diff] [blame] | 312 | - 'onos-1.13' |
Jeremy Ronquillo | 3dbd8e8 | 2018-03-05 10:23:25 -0800 | [diff] [blame] | 313 | - 'onos-1.12' |
Jeremy Ronquillo | 3dbd8e8 | 2018-03-05 10:23:25 -0800 | [diff] [blame] | 314 | description: "Possible branches (may vary depending on test)" |
| 315 | |
| 316 | - lf-infra-parameters: |
| 317 | project: 'OnosSystemTest' |
| 318 | branch: 'master' |
| 319 | stream: 'master' |
| 320 | lftools-version: '<1.0.0' |
| 321 | |
| 322 | pipeline-scm: |
| 323 | script-path: '{jenkins-path}/Overall_Graph_Generator' |
| 324 | scm: |
| 325 | - git: |
| 326 | url: '{gitURL}' |
| 327 | branches: |
| 328 | - 'master' |
| 329 | |
Devin Lim | 02197b2 | 2018-05-10 17:09:38 -0700 | [diff] [blame] | 330 | - job-template: |
| 331 | name: 'graph-generator-CHO' |
| 332 | description: | |
| 333 | <!-- Managed by Jenkins Job Builder --> |
| 334 | Generates the CHO graphs. <br /> |
| 335 | Graphs are stored in pipeline-postjob-cho. |
| 336 | |
| 337 | <<: *test-pipe-job-boiler-plate |
| 338 | |
| 339 | parameters: |
| 340 | - text: |
| 341 | name: ONOSbranch |
| 342 | default: | |
You Wang | 273f3b0 | 2019-02-06 16:41:51 -0800 | [diff] [blame] | 343 | onos-1.15 |
Devin Lim | 02197b2 | 2018-05-10 17:09:38 -0700 | [diff] [blame] | 344 | description: "Branch of the onos" |
| 345 | |
Devin Lim | e48c6dd | 2018-05-14 13:58:21 -0700 | [diff] [blame] | 346 | - choice: |
| 347 | name: hours |
| 348 | choices: |
| 349 | - '168' |
| 350 | - '72' |
| 351 | description: "Hours of data to display." |
| 352 | |
Devin Lim | 02197b2 | 2018-05-10 17:09:38 -0700 | [diff] [blame] | 353 | - lf-infra-parameters: |
| 354 | project: 'OnosSystemTest' |
| 355 | branch: 'master' |
| 356 | stream: 'master' |
| 357 | lftools-version: '<1.0.0' |
Devin Lim | e91edd4 | 2018-05-11 15:50:09 -0700 | [diff] [blame] | 358 | triggers: |
| 359 | - timed: 'H/60 * * * *' |
Devin Lim | 02197b2 | 2018-05-10 17:09:38 -0700 | [diff] [blame] | 360 | pipeline-scm: |
| 361 | script-path: '{jenkins-path}/CHO_Graph_Generator' |
| 362 | scm: |
| 363 | - git: |
| 364 | url: '{gitURL}' |
| 365 | branches: |
| 366 | - 'master' |
| 367 | |
Jeremy Ronquillo | c665e57 | 2019-05-09 17:18:47 -0700 | [diff] [blame] | 368 | - job-template: |
| 369 | name: 'generate_wiki_pages' |
| 370 | description: | |
| 371 | <!-- Managed by Jenkins Job Builder --> |
| 372 | <p>When there is a new version of ONOS about to release, run this job multiple times in the |
| 373 | following order to create all necessary test result wiki pages.</p> |
| 374 | <p>How to run this job:</p><ol> |
| 375 | <li>First, run the job with the following parameters to generate only the <b>top-level |
| 376 | result page</b> for that version:<ul> |
| 377 | <li>top_level_page_id: -1</li> |
| 378 | <li>SCPF_page_id: -1</li> |
| 379 | <li>USECASE_page_id: -1</li> |
| 380 | </ul> |
| 381 | <li>Second, get the pageID of the top-level result page just generated, and run |
| 382 | this job again with "top_level_page_id" as the known pageID to generate the <b>test |
| 383 | category front pages</b>.<ul> |
| 384 | <li>top_level_page_id: <i>page ID of top-level result page</i> </li> |
| 385 | <li>SCPF_page_id: -1</li> |
| 386 | <li>USECASE_page_id: -1</li> |
| 387 | </ul> |
| 388 | <li>Next, get the pageID of the SCPF result page just generated, and run |
| 389 | this job again with "SCPF_page_id" as the known pageID to generate <b>SCPF individual |
| 390 | result pages</b>.<ul> |
| 391 | <li>top_level_page_id: -1</li> |
| 392 | <li>SCPF_page_id: <i>page ID of SCPF result page</i></li> |
| 393 | <li>USECASE_page_id: -1</li> |
| 394 | </ul> |
| 395 | <li>Finally, get the pageID of the USECASE result page, and run |
| 396 | this job again with "USECASE_page_id" as the known pageID to generate the <b>SR results |
| 397 | page</b>.<ul> |
| 398 | <li>top_level_page_id: -1</li> |
| 399 | <li>SCPF_page_id: -1</li> |
| 400 | <li>USECASE_page_id: <i>page ID of USECASE result page</i></li> |
| 401 | </ul> |
| 402 | </ol> |
| 403 | |
Jeremy Ronquillo | af610ce | 2019-05-17 13:39:49 -0700 | [diff] [blame] | 404 | <<: *test-pipe-job-boiler-plate |
Jeremy Ronquillo | c665e57 | 2019-05-09 17:18:47 -0700 | [diff] [blame] | 405 | |
Jeremy Ronquillo | af610ce | 2019-05-17 13:39:49 -0700 | [diff] [blame] | 406 | parameters: |
Jeremy Ronquillo | c665e57 | 2019-05-09 17:18:47 -0700 | [diff] [blame] | 407 | - string: |
| 408 | name: version |
| 409 | default: '' |
| 410 | description: | |
| 411 | <p>The version of ONOS to create wiki pages.</p> |
| 412 | <p>Must be in the format: #.## <br /> Example: "1.15"</p> |
| 413 | <p><b>DO NOT PREFIX WITH "ONOS-" OR "onos-".</b></p> |
| 414 | |
| 415 | - string: |
| 416 | name: bird |
| 417 | default: '' |
| 418 | description: | |
| 419 | <p>The name of the bird representing the ONOS release. |
| 420 | This is used for the title of the version top-level result page.<br /> |
| 421 | Example: "Peacock"</p> |
| 422 | |
| 423 | - string: |
| 424 | name: top_level_page_id |
| 425 | default: '-1' |
| 426 | description: | |
| 427 | <p>If you know the page ID for the version top-level result page, add that here. |
| 428 | This will publish the test category pages (FUNC, HA, etc.) as child pages.<br /> |
| 429 | Example: "31556529" is the pageID for <a href="https://wiki.onosproject.org/pages/viewpage.action?pageId=31556529">ONOS-1.15 (Peacock)</a><br /> |
Jeremy Ronquillo | 4733696 | 2019-08-15 11:52:36 -0700 | [diff] [blame] | 430 | Example: "-1" means the page does not exist yet or is not needed for this run.<br /> |
| 431 | <b>DO NOT SPECIFY MORE THAN 1 PAGE IDs IN THE SAME BUILD.</b> |
| 432 | </p> |
| 433 | |
| 434 | - string: |
| 435 | name: FUNC_page_id |
| 436 | default: '-1' |
| 437 | description: | |
| 438 | <p>If you know the page ID for the FUNC results front page, add that here. |
| 439 | This will publish the FUNC individual test child pages.<br /> |
| 440 | Example: "31556540" is the pageID for <a href="https://wiki.onosproject.org/pages/viewpage.action?pageId=31556540">1.15-Functionality</a><br /> |
| 441 | Example: "-1" means the page does not exist yet or is not needed for this run.<br /> |
| 442 | <b>DO NOT SPECIFY MORE THAN 1 PAGE IDs IN THE SAME BUILD.</b> |
| 443 | </p> |
| 444 | |
| 445 | - string: |
| 446 | name: HA_page_id |
| 447 | default: '-1' |
| 448 | description: | |
| 449 | <p>If you know the page ID for the HA results front page, add that here. |
| 450 | This will publish the HA individual test child pages.<br /> |
| 451 | Example: "31556547" is the pageID for <a href="https://wiki.onosproject.org/pages/viewpage.action?pageId=31556547">1.15-HA</a><br /> |
| 452 | Example: "-1" means the page does not exist yet or is not needed for this run.<br /> |
| 453 | <b>DO NOT SPECIFY MORE THAN 1 PAGE IDs IN THE SAME BUILD.</b> |
Jeremy Ronquillo | c665e57 | 2019-05-09 17:18:47 -0700 | [diff] [blame] | 454 | </p> |
| 455 | |
| 456 | - string: |
| 457 | name: SCPF_page_id |
| 458 | default: '-1' |
| 459 | description: | |
| 460 | <p>If you know the page ID for the SCPF results front page, add that here. |
| 461 | This will publish the SCPF individual test child pages.<br /> |
| 462 | Example: "31556549" is the pageID for <a href="https://wiki.onosproject.org/pages/viewpage.action?pageId=31556549">1.15-Performance and Scale-out</a><br /> |
Jeremy Ronquillo | 4733696 | 2019-08-15 11:52:36 -0700 | [diff] [blame] | 463 | Example: "-1" means the page does not exist yet or is not needed for this run.<br /> |
| 464 | <b>DO NOT SPECIFY MORE THAN 1 PAGE IDs IN THE SAME BUILD.</b> |
Jeremy Ronquillo | c665e57 | 2019-05-09 17:18:47 -0700 | [diff] [blame] | 465 | </p> |
| 466 | |
| 467 | - string: |
| 468 | name: USECASE_page_id |
| 469 | default: '-1' |
| 470 | description: | |
| 471 | <p>If you know the page ID for the USECASE results front page, add that here. |
| 472 | This will publish the SR front page as a child page.<br /> |
| 473 | Example: "31556579" is the pageID for <a href="https://wiki.onosproject.org/pages/viewpage.action?pageId=31556579">1.15-USECASE</a><br /> |
Jeremy Ronquillo | 4733696 | 2019-08-15 11:52:36 -0700 | [diff] [blame] | 474 | Example: "-1" means the page does not exist yet or is not needed for this run.<br /> |
| 475 | <b>DO NOT SPECIFY MORE THAN 1 PAGE IDs IN THE SAME BUILD.</b> |
| 476 | </p> |
| 477 | |
| 478 | - string: |
| 479 | name: SR_page_id |
| 480 | default: '-1' |
| 481 | description: | |
| 482 | <p>If you know the page ID for the SR results front page, add that here. |
| 483 | This will publish the SR individual test child pages.<br /> |
| 484 | Example: "31556601" is the pageID for <a href="https://wiki.onosproject.org/pages/viewpage.action?pageId=31556601">1.15-Segment Routing</a><br /> |
| 485 | Example: "-1" means the page does not exist yet or is not needed for this run.<br /> |
| 486 | <b>DO NOT SPECIFY MORE THAN 1 PAGE IDs IN THE SAME BUILD.</b> |
Jeremy Ronquillo | c665e57 | 2019-05-09 17:18:47 -0700 | [diff] [blame] | 487 | </p> |
| 488 | |
| 489 | |
| 490 | - lf-infra-parameters: |
| 491 | project: 'OnosSystemTest' |
| 492 | branch: 'master' |
| 493 | stream: 'master' |
| 494 | lftools-version: '<1.0.0' |
| 495 | |
| 496 | pipeline-scm: |
| 497 | script-path: '{jenkins-path}/generateReleaseTestONWiki.groovy' |
| 498 | scm: |
| 499 | - git: |
| 500 | url: '{gitURL}' |
| 501 | branches: |
| 502 | - 'master' |
| 503 | |
Jeremy Ronquillo | 64026c3 | 2019-06-17 12:54:16 -0700 | [diff] [blame] | 504 | - job-template: |
| 505 | name: 'generate_automated_schedule_wiki' |
| 506 | description: | |
| 507 | <!-- Managed by Jenkins Job Builder --> |
| 508 | <p>Build this job to refresh the <a href="https://wiki.onosproject.org/display/ONOS/Automated+Test+Schedule">Automated Test Schedule</a> on the ONOS Wiki.</p> |
| 509 | |
| 510 | <<: *test-pipe-job-boiler-plate |
| 511 | |
| 512 | pipeline-scm: |
| 513 | script-path: '{jenkins-path}/generateWikiTestList.groovy' |
| 514 | scm: |
| 515 | - git: |
| 516 | url: '{gitURL}' |
| 517 | branches: |
| 518 | - 'master' |
| 519 | |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 520 | - project: |
Devin Lim | 1c4753e | 2018-03-23 15:31:38 -0700 | [diff] [blame] | 521 | name: pipeline-trigger |
| 522 | project-name: pipeline-trigger |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 523 | |
Devin Lim | 49200ec | 2018-01-19 16:17:41 -0800 | [diff] [blame] | 524 | <<: *test-pipe-init-procedure-plate |
Devin Lim | 3e15df6 | 2018-05-09 17:45:51 -0700 | [diff] [blame] | 525 | <<: *var-init-boiler-plate |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 526 | |
Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame] | 527 | jobs: |
Jeremy Ronquillo | a54ecad | 2019-06-14 09:36:21 -0700 | [diff] [blame] | 528 | - 'master-trigger' |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 529 | |
| 530 | - project: |
| 531 | name: build-pipeline |
| 532 | |
| 533 | <<: *job-type-plate |
| 534 | |
| 535 | project-name: '{type}-pipeline' |
| 536 | |
Devin Lim | 49200ec | 2018-01-19 16:17:41 -0800 | [diff] [blame] | 537 | <<: *test-pipe-init-procedure-plate |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 538 | <<: *job-version-plate |
| 539 | |
| 540 | jobs: |
| 541 | - '{type}-pipeline-{version}' |
| 542 | |
| 543 | - project: |
Jeremy Ronquillo | 3245408 | 2019-08-21 11:22:59 -0700 | [diff] [blame] | 544 | name: micro-onos-build-pipeline |
| 545 | |
| 546 | <<: *job-mo-type-plate |
| 547 | |
| 548 | project-name: '{mo-type}-pipeline' |
| 549 | |
| 550 | <<: *test-pipe-init-procedure-plate |
| 551 | <<: *job-mo-version-plate |
| 552 | |
| 553 | jobs: |
| 554 | - '{mo-type}-pipeline-{mo-version}' |
| 555 | |
| 556 | - project: |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 557 | name: graph-generator |
| 558 | |
| 559 | project-name: 'graph-generator' |
| 560 | |
Devin Lim | 49200ec | 2018-01-19 16:17:41 -0800 | [diff] [blame] | 561 | <<: *test-pipe-init-procedure-plate |
Devin Lim | 7a87787 | 2018-01-16 14:50:57 -0800 | [diff] [blame] | 562 | |
| 563 | jobs: |
Jeremy Ronquillo | 3dbd8e8 | 2018-03-05 10:23:25 -0800 | [diff] [blame] | 564 | - 'manual-graph-generator-overall' |
Devin Lim | 02197b2 | 2018-05-10 17:09:38 -0700 | [diff] [blame] | 565 | - 'graph-generator-CHO' |
Jeremy Ronquillo | af610ce | 2019-05-17 13:39:49 -0700 | [diff] [blame] | 566 | |
| 567 | - project: |
| 568 | name: generate-wiki-pages |
| 569 | |
| 570 | project-name: 'generate-wiki-pages' |
| 571 | |
| 572 | <<: *test-pipe-init-procedure-plate |
| 573 | |
Jeremy Ronquillo | 63c6fab | 2019-08-12 16:26:14 -0700 | [diff] [blame] | 574 | properties: |
| 575 | - 'disable-resume' |
| 576 | |
Jeremy Ronquillo | af610ce | 2019-05-17 13:39:49 -0700 | [diff] [blame] | 577 | jobs: |
| 578 | - 'generate_wiki_pages' |
Jeremy Ronquillo | a2b380c | 2019-06-20 13:58:49 -0700 | [diff] [blame] | 579 | - 'generate_automated_schedule_wiki' |