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