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