Joey Armstrong | 8c6f648 | 2023-01-12 12:31:44 -0500 | [diff] [blame] | 1 | // Copyright 2021-2023 Open Networking Foundation (ONF) and the ONF Contributors |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 15 | // voltha-2.x e2e tests for openonu-go |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 16 | // uses bbsim to simulate OLT/ONUs |
| 17 | |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 18 | // [TODO] Update syntax below to the latest supported |
Matteo Scandolo | a156b57 | 2021-02-04 11:52:18 -0800 | [diff] [blame] | 19 | library identifier: 'cord-jenkins-libraries@master', |
| 20 | retriever: modernSCM([ |
| 21 | $class: 'GitSCMSource', |
| 22 | remote: 'https://gerrit.opencord.org/ci-management.git' |
| 23 | ]) |
| 24 | |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 25 | //------------------// |
| 26 | //---] GLOBAL [---// |
| 27 | //------------------// |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 28 | String clusterName = 'kind-ci' // was def |
Joey Armstrong | f076c31 | 2023-08-01 17:17:10 -0400 | [diff] [blame] | 29 | |
| 30 | // ----------------------------------------------------------------------- |
Joey Armstrong | 0e0a42b | 2023-08-02 21:04:21 -0400 | [diff] [blame] | 31 | // Intent: |
Joey Armstrong | f076c31 | 2023-08-01 17:17:10 -0400 | [diff] [blame] | 32 | // ----------------------------------------------------------------------- |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 33 | String branchName() { |
Joey Armstrong | f076c31 | 2023-08-01 17:17:10 -0400 | [diff] [blame] | 34 | String name = 'master' |
Joey Armstrong | 0e0a42b | 2023-08-02 21:04:21 -0400 | [diff] [blame] | 35 | |
| 36 | // [TODO] Sanity check the target branch |
| 37 | // if (name != jenkins.branch) { fatal } |
Joey Armstrong | f076c31 | 2023-08-01 17:17:10 -0400 | [diff] [blame] | 38 | return(name) |
| 39 | } |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 40 | |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 41 | // ----------------------------------------------------------------------- |
Joey Armstrong | 06a6837 | 2023-07-24 16:37:16 -0400 | [diff] [blame] | 42 | // Intent: Due to lack of a reliable stack trace, construct a literal. |
| 43 | // Jenkins will re-write the call stack for serialization. |
| 44 | // ----------------------------------------------------------------------- |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 45 | String getIam(String func) { |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 46 | String branchName = branchName() |
Joey Armstrong | 06a6837 | 2023-07-24 16:37:16 -0400 | [diff] [blame] | 47 | String src = [ |
| 48 | 'ci-management', |
| 49 | 'jjb', |
| 50 | 'pipeline', |
| 51 | 'voltha', |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 52 | branchName, |
Joey Armstrong | 06a6837 | 2023-07-24 16:37:16 -0400 | [diff] [blame] | 53 | 'bbsim-tests.groovy' |
| 54 | ].join('/') |
| 55 | |
Joey Armstrong | 0e0a42b | 2023-08-02 21:04:21 -0400 | [diff] [blame] | 56 | String name = [src, func].join('::') |
| 57 | return(name) |
Joey Armstrong | 06a6837 | 2023-07-24 16:37:16 -0400 | [diff] [blame] | 58 | } |
| 59 | |
| 60 | // ----------------------------------------------------------------------- |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 61 | // Intent: Determine if working on a release branch. |
| 62 | // Note: Conditional is legacy, should also check for *-dev or *-pre |
| 63 | // ----------------------------------------------------------------------- |
| 64 | Boolean isReleaseBranch(String name) |
| 65 | { |
| 66 | // List modifiers = ['-dev', '-pre', 'voltha-x.y.z-pre'] |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 67 | // if branchName in modifiers |
| 68 | return(name != 'master') // OR branchName.contains('-') |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 69 | } |
| 70 | |
| 71 | // ----------------------------------------------------------------------- |
| 72 | // Intent: |
| 73 | // ----------------------------------------------------------------------- |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 74 | void execute_test(testTarget, workflow, testLogging, teardown, testSpecificHelmFlags='') |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 75 | { |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 76 | String infraNamespace = 'default' |
| 77 | String volthaNamespace = 'voltha' |
| 78 | String logsDir = "$WORKSPACE/${testTarget}" |
Joey Armstrong | 293e16b | 2022-11-26 20:16:33 -0500 | [diff] [blame] | 79 | |
| 80 | stage('IAM') |
| 81 | { |
Joey Armstrong | 84adc54 | 2023-04-11 14:47:34 -0400 | [diff] [blame] | 82 | script |
| 83 | { |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 84 | // Announce ourselves for log usability |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 85 | String iam = getIam('execute_test') |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 86 | println("${iam}: ENTER") |
| 87 | println("${iam}: LEAVE") |
Joey Armstrong | 84adc54 | 2023-04-11 14:47:34 -0400 | [diff] [blame] | 88 | } |
Joey Armstrong | 293e16b | 2022-11-26 20:16:33 -0500 | [diff] [blame] | 89 | } |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 90 | |
Joey Armstrong | 0e0a42b | 2023-08-02 21:04:21 -0400 | [diff] [blame] | 91 | // ----------------------------------------------------------------------- |
| 92 | // ----------------------------------------------------------------------- |
Joey Armstrong | f076c31 | 2023-08-01 17:17:10 -0400 | [diff] [blame] | 93 | stage('Cleanup') |
| 94 | { |
Joey Armstrong | 84adc54 | 2023-04-11 14:47:34 -0400 | [diff] [blame] | 95 | if (teardown) { |
| 96 | timeout(15) { |
| 97 | script { |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 98 | helmTeardown(['default', infraNamespace, volthaNamespace]) |
Joey Armstrong | 84adc54 | 2023-04-11 14:47:34 -0400 | [diff] [blame] | 99 | } |
| 100 | timeout(1) { |
| 101 | sh returnStdout: false, script: ''' |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 102 | # remove orphaned port-forward from different namespaces |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 103 | ps aux | grep port-forw | grep -v grep | awk '{print $2}' | xargs --no-run-if-empty kill -9 |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 104 | ''' |
Joey Armstrong | 84adc54 | 2023-04-11 14:47:34 -0400 | [diff] [blame] | 105 | } |
| 106 | } |
| 107 | } |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 108 | } |
Joey Armstrong | 8c6f648 | 2023-01-12 12:31:44 -0500 | [diff] [blame] | 109 | |
Joey Armstrong | 0e0a42b | 2023-08-02 21:04:21 -0400 | [diff] [blame] | 110 | // ----------------------------------------------------------------------- |
| 111 | // ----------------------------------------------------------------------- |
Joey Armstrong | 06a6837 | 2023-07-24 16:37:16 -0400 | [diff] [blame] | 112 | stage('Deploy common infrastructure') |
| 113 | { |
Joey Armstrong | 84adc54 | 2023-04-11 14:47:34 -0400 | [diff] [blame] | 114 | sh ''' |
Hardik Windlass | e166049 | 2022-03-14 15:12:46 +0000 | [diff] [blame] | 115 | helm repo add onf https://charts.opencord.org |
| 116 | helm repo update |
| 117 | if [ ${withMonitoring} = true ] ; then |
| 118 | helm install nem-monitoring onf/nem-monitoring \ |
| 119 | --set prometheus.alertmanager.enabled=false,prometheus.pushgateway.enabled=false \ |
| 120 | --set kpi_exporter.enabled=false,dashboards.xos=false,dashboards.onos=false,dashboards.aaa=false,dashboards.voltha=false |
| 121 | fi |
| 122 | ''' |
Joey Armstrong | 8c6f648 | 2023-01-12 12:31:44 -0500 | [diff] [blame] | 123 | } |
| 124 | |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 125 | stage('Deploy Voltha') |
| 126 | { |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 127 | if (teardown) |
| 128 | { |
| 129 | timeout(10) |
| 130 | { |
| 131 | script |
| 132 | { |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 133 | sh """ |
Matteo Scandolo | 9c230bb | 2021-10-22 12:48:39 -0700 | [diff] [blame] | 134 | mkdir -p ${logsDir} |
| 135 | _TAG=kail-startup kail -n ${infraNamespace} -n ${volthaNamespace} > ${logsDir}/onos-voltha-startup-combined.log & |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 136 | """ |
| 137 | |
Joey Armstrong | 54dec09 | 2023-08-03 18:21:38 -0400 | [diff] [blame] | 138 | // if we're downloading a voltha-helm-charts patch, then install from a local copy of the charts |
| 139 | Boolean localCharts = false |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 140 | |
Joey Armstrong | 54dec09 | 2023-08-03 18:21:38 -0400 | [diff] [blame] | 141 | if (volthaHelmChartsChange != '' |
| 142 | || gerritProject == 'voltha-helm-charts' |
| 143 | || isReleaseBranch(branch) // branch != 'master' |
| 144 | ) { |
| 145 | localCharts = true |
| 146 | } |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 147 | |
Joey Armstrong | 8a960ee | 2023-08-03 15:00:00 -0400 | [diff] [blame] | 148 | String branchName = branchName() |
| 149 | Boolean is_release = isReleaseBranch(branch) |
| 150 | println([ |
| 151 | " ** localCharts=${localCharts}", |
| 152 | "branchName=${branchName}", |
| 153 | "branch=${branch}", |
| 154 | "branch=isReleaseBranch=${is_release}", |
| 155 | ].join(', ')) |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 156 | |
Joey Armstrong | 8a960ee | 2023-08-03 15:00:00 -0400 | [diff] [blame] | 157 | // ----------------------------------------------------------------------- |
| 158 | // Rewrite localHelmFlags using array join, moving code around and |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 159 | // refactoring into standalone functions |
Joey Armstrong | 8a960ee | 2023-08-03 15:00:00 -0400 | [diff] [blame] | 160 | // ----------------------------------------------------------------------- |
| 161 | // hudson.remoting.ProxyException: groovy.lang.MissingMethodException: |
| 162 | // No signature of method: java.lang.String.positive() is applicable for argument types: () values: [] |
| 163 | // ----------------------------------------------------------------------- |
| 164 | // NOTE temporary workaround expose ONOS node ports |
| 165 | // ----------------------------------------------------------------------- |
| 166 | String localHelmFlags = [ |
| 167 | extraHelmFlags.trim(), |
| 168 | "--set global.log_level=${logLevel.toUpperCase()}", |
| 169 | '--set onos-classic.onosSshPort=30115', |
| 170 | '--set onos-classic.onosApiPort=30120', |
| 171 | '--set onos-classic.onosOfPort=31653', |
| 172 | '--set onos-classic.individualOpenFlowNodePorts=true', |
| 173 | testSpecificHelmFlags |
| 174 | ].join(' ') |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 175 | |
Joey Armstrong | 28e86ee | 2023-08-03 15:22:29 -0400 | [diff] [blame] | 176 | println("** localHelmFlags = ${localHelmFlags}") |
| 177 | |
Joey Armstrong | 8a960ee | 2023-08-03 15:00:00 -0400 | [diff] [blame] | 178 | if (gerritProject != '') { |
| 179 | localHelmFlags = "${localHelmFlags} " + getVolthaImageFlags("${gerritProject}") |
| 180 | } |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 181 | |
Joey Armstrong | 8a960ee | 2023-08-03 15:00:00 -0400 | [diff] [blame] | 182 | println('volthaDeploy: ENTER') |
| 183 | volthaDeploy([ |
| 184 | infraNamespace: infraNamespace, |
| 185 | volthaNamespace: volthaNamespace, |
| 186 | workflow: workflow.toLowerCase(), |
| 187 | withMacLearning: enableMacLearning.toBoolean(), |
| 188 | extraHelmFlags: localHelmFlags, |
| 189 | localCharts: localCharts, |
| 190 | bbsimReplica: olts.toInteger(), |
| 191 | dockerRegistry: registry, |
Joey Armstrong | 54dec09 | 2023-08-03 18:21:38 -0400 | [diff] [blame] | 192 | ]) |
Joey Armstrong | 8a960ee | 2023-08-03 15:00:00 -0400 | [diff] [blame] | 193 | println('volthaDeploy: LEAVE') |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 194 | } // script |
Matteo Scandolo | fcfc60d | 2021-02-24 09:06:48 -0800 | [diff] [blame] | 195 | |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 196 | // ----------------------------------------------------------------------- |
| 197 | // Intent: Replacing P_IDS with pgrep/pkill is a step forward. |
| 198 | // Why not simply use a pid file, capture _TAG=kail-startup above |
| 199 | // Grep runs the risk of terminating stray commands (??-good <=> bad-??) |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 200 | // ----------------------------------------------------------------------- |
| 201 | script { |
| 202 | println('Try out pgrep/pkill commands') |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 203 | sh('''pgrep --list-full kail-startup || true''') |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 204 | } |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 205 | |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 206 | // ----------------------------------------------------------------------- |
| 207 | // stop logging |
| 208 | // ----------------------------------------------------------------------- |
Matteo Scandolo | d17de3a | 2021-04-09 15:47:52 -0700 | [diff] [blame] | 209 | sh """ |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 210 | P_IDS="\$(ps e -ww -A | grep "_TAG=kail-startup" | grep -v grep | awk '{print \$1}')" |
| 211 | if [ -n "\$P_IDS" ]; then |
| 212 | echo \$P_IDS |
| 213 | for P_ID in \$P_IDS; do |
| 214 | kill -9 \$P_ID |
| 215 | done |
| 216 | fi |
Matteo Scandolo | 9c230bb | 2021-10-22 12:48:39 -0700 | [diff] [blame] | 217 | cd ${logsDir} |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 218 | gzip -k onos-voltha-startup-combined.log |
| 219 | rm onos-voltha-startup-combined.log |
Matteo Scandolo | d17de3a | 2021-04-09 15:47:52 -0700 | [diff] [blame] | 220 | """ |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 221 | } |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 222 | |
| 223 | sh """ |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 224 | JENKINS_NODE_COOKIE="dontKillMe" _TAG="voltha-voltha-api" bash -c "while true; do kubectl port-forward --address 0.0.0.0 -n ${volthaNamespace} svc/voltha-voltha-api 55555:55555; done"& |
| 225 | JENKINS_NODE_COOKIE="dontKillMe" _TAG="voltha-infra-etcd" bash -c "while true; do kubectl port-forward --address 0.0.0.0 -n ${infraNamespace} svc/voltha-infra-etcd 2379:2379; done"& |
| 226 | JENKINS_NODE_COOKIE="dontKillMe" _TAG="voltha-infra-kafka" bash -c "while true; do kubectl port-forward --address 0.0.0.0 -n ${infraNamespace} svc/voltha-infra-kafka 9092:9092; done"& |
| 227 | bbsimDmiPortFwd=50075 |
| 228 | for i in {0..${olts.toInteger() - 1}}; do |
| 229 | JENKINS_NODE_COOKIE="dontKillMe" _TAG="bbsim\${i}" bash -c "while true; do kubectl port-forward --address 0.0.0.0 -n ${volthaNamespace} svc/bbsim\${i} \${bbsimDmiPortFwd}:50075; done"& |
| 230 | ((bbsimDmiPortFwd++)) |
| 231 | done |
Hardik Windlass | 3bb089a | 2022-03-22 17:56:03 +0000 | [diff] [blame] | 232 | if [ ${withMonitoring} = true ] ; then |
| 233 | JENKINS_NODE_COOKIE="dontKillMe" _TAG="nem-monitoring-prometheus-server" bash -c "while true; do kubectl port-forward --address 0.0.0.0 -n default svc/nem-monitoring-prometheus-server 31301:80; done"& |
| 234 | fi |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 235 | ps aux | grep port-forward |
| 236 | """ |
Joey Armstrong | 8c6f648 | 2023-01-12 12:31:44 -0500 | [diff] [blame] | 237 | |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 238 | // setting ONOS log level |
| 239 | script |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 240 | { |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 241 | println('** setOnosLogLevels: ENTER') |
| 242 | setOnosLogLevels([ |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 243 | onosNamespace: infraNamespace, |
| 244 | apps: [ |
| 245 | 'org.opencord.dhcpl2relay', |
| 246 | 'org.opencord.olt', |
| 247 | 'org.opencord.aaa', |
| 248 | 'org.opencord.maclearner', |
| 249 | 'org.onosproject.net.flowobjective.impl.FlowObjectiveManager', |
| 250 | 'org.onosproject.net.flowobjective.impl.InOrderFlowObjectiveManager' |
| 251 | ], |
| 252 | logLevel: logLevel |
| 253 | ]) |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 254 | println('** setOnosLogLevels: LEAVE') |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 255 | } // script |
| 256 | } // if (teardown) |
| 257 | } // stage('Deploy Voltha') |
| 258 | |
Joey Armstrong | fd89652 | 2023-08-04 13:30:48 -0400 | [diff] [blame] | 259 | stage("Run test ${testTarget} on workflow ${workflow}") |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 260 | { |
| 261 | sh """ |
Joey Armstrong | 54dec09 | 2023-08-03 18:21:38 -0400 | [diff] [blame] | 262 | echo -e "\n** Monitor using mem_consumption.py ?" |
Hardik Windlass | 8cd517c | 2022-03-22 04:01:40 +0000 | [diff] [blame] | 263 | if [ ${withMonitoring} = true ] ; then |
Joey Armstrong | 8c6f648 | 2023-01-12 12:31:44 -0500 | [diff] [blame] | 264 | mkdir -p "$WORKSPACE/voltha-pods-mem-consumption-${workflow}" |
| 265 | cd "$WORKSPACE/voltha-system-tests" |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 266 | make venv-activate-script |
| 267 | set +u && source .venv/bin/activate && set -u |
Hardik Windlass | 8cd517c | 2022-03-22 04:01:40 +0000 | [diff] [blame] | 268 | # Collect initial memory consumption |
Joey Armstrong | 0eb8bd8 | 2023-07-10 13:26:25 -0400 | [diff] [blame] | 269 | python scripts/mem_consumption.py -o $WORKSPACE/voltha-pods-mem-consumption-${workflow} -a 0.0.0.0:31301 -n ${volthaNamespace} |
Hardik Windlass | 8cd517c | 2022-03-22 04:01:40 +0000 | [diff] [blame] | 270 | fi |
Hardik Windlass | e166049 | 2022-03-14 15:12:46 +0000 | [diff] [blame] | 271 | """ |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 272 | |
| 273 | sh """ |
Joey Armstrong | 54dec09 | 2023-08-03 18:21:38 -0400 | [diff] [blame] | 274 | echo -e "\n** make testTarget=[${testTarget}]" |
Matteo Scandolo | 9c230bb | 2021-10-22 12:48:39 -0700 | [diff] [blame] | 275 | mkdir -p ${logsDir} |
Hardik Windlass | d62442d | 2021-11-30 10:51:20 +0000 | [diff] [blame] | 276 | export ROBOT_MISC_ARGS="-d ${logsDir} ${params.extraRobotArgs} " |
Matteo Scandolo | 9c230bb | 2021-10-22 12:48:39 -0700 | [diff] [blame] | 277 | ROBOT_MISC_ARGS+="-v ONOS_SSH_PORT:30115 -v ONOS_REST_PORT:30120 -v NAMESPACE:${volthaNamespace} -v INFRA_NAMESPACE:${infraNamespace} -v container_log_dir:${logsDir} -v logging:${testLogging}" |
Hardik Windlass | 7294730 | 2021-06-14 10:36:57 +0000 | [diff] [blame] | 278 | export KVSTOREPREFIX=voltha/voltha_voltha |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 279 | |
Joey Armstrong | 0eb8bd8 | 2023-07-10 13:26:25 -0400 | [diff] [blame] | 280 | make -C "$WORKSPACE/voltha-system-tests" ${testTarget} |
Hardik Windlass | 7294730 | 2021-06-14 10:36:57 +0000 | [diff] [blame] | 281 | """ |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 282 | |
| 283 | getPodsInfo("${logsDir}") |
| 284 | |
| 285 | sh """ |
Joey Armstrong | 54dec09 | 2023-08-03 18:21:38 -0400 | [diff] [blame] | 286 | echo -e '\n** Gather robot Framework logs: ENTER' |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 287 | # set +e |
Hardik Windlass | dad8e5c | 2021-11-11 05:19:47 +0000 | [diff] [blame] | 288 | # collect logs collected in the Robot Framework StartLogging keyword |
| 289 | cd ${logsDir} |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 290 | gzip *-combined.log |
| 291 | rm -f *-combined.log |
Joey Armstrong | 54dec09 | 2023-08-03 18:21:38 -0400 | [diff] [blame] | 292 | |
| 293 | echo -e '** Gather robot Framework logs: LEAVE\n' |
Hardik Windlass | dad8e5c | 2021-11-11 05:19:47 +0000 | [diff] [blame] | 294 | """ |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 295 | |
Hardik Windlass | 8cd517c | 2022-03-22 04:01:40 +0000 | [diff] [blame] | 296 | sh """ |
Joey Armstrong | 54dec09 | 2023-08-03 18:21:38 -0400 | [diff] [blame] | 297 | echo -e '** Monitor pod-mem-consumption: ENTER' |
Hardik Windlass | 8cd517c | 2022-03-22 04:01:40 +0000 | [diff] [blame] | 298 | if [ ${withMonitoring} = true ] ; then |
Joey Armstrong | 8c6f648 | 2023-01-12 12:31:44 -0500 | [diff] [blame] | 299 | cd "$WORKSPACE/voltha-system-tests" |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 300 | make venv-activate-script |
| 301 | set +u && source .venv/bin/activate && set -u |
Hardik Windlass | 8cd517c | 2022-03-22 04:01:40 +0000 | [diff] [blame] | 302 | # Collect memory consumption of voltha pods once all the tests are complete |
Joey Armstrong | 0eb8bd8 | 2023-07-10 13:26:25 -0400 | [diff] [blame] | 303 | python scripts/mem_consumption.py -o $WORKSPACE/voltha-pods-mem-consumption-${workflow} -a 0.0.0.0:31301 -n ${volthaNamespace} |
Hardik Windlass | 8cd517c | 2022-03-22 04:01:40 +0000 | [diff] [blame] | 304 | fi |
Joey Armstrong | 54dec09 | 2023-08-03 18:21:38 -0400 | [diff] [blame] | 305 | echo -e '** Monitor pod-mem-consumption: LEAVE\n' |
Hardik Windlass | 8cd517c | 2022-03-22 04:01:40 +0000 | [diff] [blame] | 306 | """ |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 307 | } // stage |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 308 | |
| 309 | return |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 310 | } // execute_test() |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 311 | |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 312 | // ----------------------------------------------------------------------- |
| 313 | // ----------------------------------------------------------------------- |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 314 | def collectArtifacts(exitStatus) { |
Joey Armstrong | cd41912 | 2023-08-07 14:56:39 -0400 | [diff] [blame^] | 315 | String iam = getIam('execute_test') |
| 316 | |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 317 | echo ''' |
| 318 | |
| 319 | ** ----------------------------------------------------------------------- |
| 320 | ** collectArtifacts |
| 321 | ** ----------------------------------------------------------------------- |
| 322 | ''' |
Joey Armstrong | cd41912 | 2023-08-07 14:56:39 -0400 | [diff] [blame^] | 323 | println("${iam}: ENTER (exitStatus=${exitStatus})") |
| 324 | |
| 325 | getPodsInfo("$WORKSPACE/${exitStatus}") |
| 326 | |
| 327 | sh """ |
Joey Armstrong | 0eb8bd8 | 2023-07-10 13:26:25 -0400 | [diff] [blame] | 328 | kubectl logs -n voltha -l app.kubernetes.io/part-of=voltha > $WORKSPACE/${exitStatus}/voltha.log |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 329 | """ |
Joey Armstrong | cd41912 | 2023-08-07 14:56:39 -0400 | [diff] [blame^] | 330 | |
| 331 | archiveArtifacts artifacts: '**/*.log,**/*.gz,**/*.txt,**/*.html,**/voltha-pods-mem-consumption-att/*,**/voltha-pods-mem-consumption-dt/*,**/voltha-pods-mem-consumption-tt/*' |
| 332 | |
| 333 | sh(returnStdout:true, script: ''' |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 334 | sync |
Joey Armstrong | cd41912 | 2023-08-07 14:56:39 -0400 | [diff] [blame^] | 335 | echo '** Running: pgrep --list-full kail-startup (ENTER)' |
| 336 | pgrep --list-full 'kail-startup' || true |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 337 | [[ $(pgrep --count kail) -gt 0 ]] && pkill --echo kail |
Joey Armstrong | cd41912 | 2023-08-07 14:56:39 -0400 | [diff] [blame^] | 338 | echo '** Running: pgrep --list-full kail-startup (LEAVE)' |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 339 | ''') |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 340 | |
Joey Armstrong | cd41912 | 2023-08-07 14:56:39 -0400 | [diff] [blame^] | 341 | sh(''' |
| 342 | echo |
| 343 | echo '** -----------------------------------------------------------------------' |
| 344 | echo '** [DEBUG] Display logfiles for RobotPublisher consumption' |
| 345 | echo "PWD: $(/bin/pwd)" |
| 346 | echo '** -----------------------------------------------------------------------find . \( -name 'log*.html' -o -name 'output*.xml' -o 'report*.html' \) -print |
| 347 | echo |
| 348 | ' |
| 349 | ''') |
| 350 | |
| 351 | println("${iam}: ENTER RobotPublisher") |
| 352 | step([$class: 'RobotPublisher', |
| 353 | disableArchiveOutput: false, |
| 354 | logFileName: '**/*/log*.html', |
| 355 | otherFiles: '', |
| 356 | outputFileName: '**/*/output*.xml', |
| 357 | outputPath: '.', |
| 358 | passThreshold: 100, |
| 359 | reportFileName: '**/*/report*.html', |
| 360 | unstableThreshold: 0, |
| 361 | onlyCritical: true]); |
| 362 | println("${iam}: LEAVE RobotPublisher") |
| 363 | |
| 364 | println("${iam}: LEAVE (exitStatus=${exitStatus})") |
| 365 | return |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 366 | } |
| 367 | |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 368 | // ----------------------------------------------------------------------- |
| 369 | // Intent: main |
| 370 | // ----------------------------------------------------------------------- |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 371 | pipeline { |
| 372 | |
| 373 | /* no label, executor is determined by JJB */ |
| 374 | agent { |
| 375 | label "${params.buildNode}" |
| 376 | } |
| 377 | options { |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 378 | timeout(time: "${timeout}", unit: 'MINUTES') |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 379 | } |
| 380 | environment { |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 381 | KUBECONFIG = "$HOME/.kube/kind-${clusterName}" |
| 382 | VOLTCONFIG = "$HOME/.volt/config" |
| 383 | PATH = "$PATH:$WORKSPACE/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| 384 | DIAGS_PROFILE = 'VOLTHA_PROFILE' |
| 385 | SSHPASS = 'karaf' |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 386 | } |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 387 | stages { |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 388 | stage('Download Code') { |
| 389 | steps { |
| 390 | getVolthaCode([ |
| 391 | branch: "${branch}", |
| 392 | gerritProject: "${gerritProject}", |
| 393 | gerritRefspec: "${gerritRefspec}", |
| 394 | volthaSystemTestsChange: "${volthaSystemTestsChange}", |
| 395 | volthaHelmChartsChange: "${volthaHelmChartsChange}", |
| 396 | ]) |
| 397 | } |
| 398 | } |
Joey Armstrong | 84adc54 | 2023-04-11 14:47:34 -0400 | [diff] [blame] | 399 | |
| 400 | stage('Build patch v1.1') |
| 401 | { |
| 402 | // build the patch only if gerritProject is specified |
| 403 | when |
| 404 | { |
| 405 | expression |
| 406 | { |
| 407 | return !gerritProject.isEmpty() |
| 408 | } |
Hardik Windlass | ec9341b | 2021-06-07 11:58:29 +0000 | [diff] [blame] | 409 | } |
Joey Armstrong | 06a6837 | 2023-07-24 16:37:16 -0400 | [diff] [blame] | 410 | |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 411 | steps |
| 412 | { |
| 413 | // NOTE that the correct patch has already been checked out |
| 414 | // during the getVolthaCode step |
| 415 | buildVolthaComponent("${gerritProject}") |
Joey Armstrong | 06a6837 | 2023-07-24 16:37:16 -0400 | [diff] [blame] | 416 | } |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 417 | } |
Joey Armstrong | ed161f7 | 2023-04-11 13:16:59 -0400 | [diff] [blame] | 418 | |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 419 | // ----------------------------------------------------------------------- |
Joey Armstrong | 0e0a42b | 2023-08-02 21:04:21 -0400 | [diff] [blame] | 420 | // ----------------------------------------------------------------------- |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 421 | stage('Install Kail') |
Joey Armstrong | 0e0a42b | 2023-08-02 21:04:21 -0400 | [diff] [blame] | 422 | { |
Joey Armstrong | 2b2010d | 2023-08-02 21:47:20 -0400 | [diff] [blame] | 423 | steps |
| 424 | { |
| 425 | script |
| 426 | { |
| 427 | String cmd = [ |
| 428 | 'make', |
Joey Armstrong | 9f184d3 | 2023-08-03 11:34:48 -0400 | [diff] [blame] | 429 | '--no-print-directory', |
Joey Armstrong | 2b2010d | 2023-08-02 21:47:20 -0400 | [diff] [blame] | 430 | '-C', "$WORKSPACE/voltha-system-tests", |
| 431 | "KAIL_PATH=\"$WORKSPACE/bin\"", |
| 432 | 'kail', |
| 433 | ].join(' ') |
Joey Armstrong | 0e0a42b | 2023-08-02 21:04:21 -0400 | [diff] [blame] | 434 | |
Joey Armstrong | 2b2010d | 2023-08-02 21:47:20 -0400 | [diff] [blame] | 435 | println(" ** Running: ${cmd}:\n") |
| 436 | sh("${cmd}") |
| 437 | } // script |
| 438 | } // steps |
| 439 | } // stage |
Joey Armstrong | 0e0a42b | 2023-08-02 21:04:21 -0400 | [diff] [blame] | 440 | |
| 441 | // ----------------------------------------------------------------------- |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 442 | // ----------------------------------------------------------------------- |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 443 | stage('Install Kind') |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 444 | { |
Joey Armstrong | 2b2010d | 2023-08-02 21:47:20 -0400 | [diff] [blame] | 445 | steps |
| 446 | { |
| 447 | script |
| 448 | { |
Joey Armstrong | 0e0a42b | 2023-08-02 21:04:21 -0400 | [diff] [blame] | 449 | |
Joey Armstrong | 2b2010d | 2023-08-02 21:47:20 -0400 | [diff] [blame] | 450 | String cmd = [ |
| 451 | 'make', |
Joey Armstrong | 9f184d3 | 2023-08-03 11:34:48 -0400 | [diff] [blame] | 452 | '--no-print-directory', |
Joey Armstrong | 2b2010d | 2023-08-02 21:47:20 -0400 | [diff] [blame] | 453 | '-C', "$WORKSPACE/voltha-system-tests", |
| 454 | "KIND_PATH=\"$WORKSPACE/bin\"", |
| 455 | 'install-command-kind', |
| 456 | ].join(' ') |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 457 | |
Joey Armstrong | 2b2010d | 2023-08-02 21:47:20 -0400 | [diff] [blame] | 458 | println(" ** Running: ${cmd}:\n") |
| 459 | sh("${cmd}") |
| 460 | } // script |
| 461 | } // steps |
| 462 | } // stage |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 463 | |
| 464 | // ----------------------------------------------------------------------- |
| 465 | // ----------------------------------------------------------------------- |
Joey Armstrong | e5aae1c | 2023-07-24 14:11:20 -0400 | [diff] [blame] | 466 | stage('Create K8s Cluster') |
| 467 | { |
Joey Armstrong | f076c31 | 2023-08-01 17:17:10 -0400 | [diff] [blame] | 468 | steps |
| 469 | { |
| 470 | script |
Joey Armstrong | 84adc54 | 2023-04-11 14:47:34 -0400 | [diff] [blame] | 471 | { |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 472 | def clusterExists = sh( |
Joey Armstrong | f076c31 | 2023-08-01 17:17:10 -0400 | [diff] [blame] | 473 | returnStdout: true, |
| 474 | script: """kind get clusters | grep "${clusterName}" | wc -l""") |
Joey Armstrong | bf49292 | 2023-04-13 17:05:09 -0400 | [diff] [blame] | 475 | |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 476 | if (clusterExists.trim() == '0') |
Joey Armstrong | f076c31 | 2023-08-01 17:17:10 -0400 | [diff] [blame] | 477 | { |
| 478 | createKubernetesCluster([nodes: 3, name: clusterName]) |
| 479 | } |
| 480 | } // script |
| 481 | } // steps |
| 482 | } // stage('Create K8s Cluster') |
Joey Armstrong | 84adc54 | 2023-04-11 14:47:34 -0400 | [diff] [blame] | 483 | |
Joey Armstrong | cd41912 | 2023-08-07 14:56:39 -0400 | [diff] [blame^] | 484 | // ----------------------------------------------------------------------- |
| 485 | // ----------------------------------------------------------------------- |
| 486 | stage('Replace voltctl') |
| 487 | { |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 488 | // if the project is voltctl, override the downloaded one with the built one |
| 489 | when { |
| 490 | expression { |
| 491 | return gerritProject == 'voltctl' |
| 492 | } |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 493 | } |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 494 | |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 495 | // Hmmmm(?) where did the voltctl download happen ? |
| 496 | // Likely Makefile but would be helpful to document here. |
| 497 | steps |
| 498 | { |
| 499 | println("${iam} Running: installVoltctl($branch)") |
| 500 | installVoltctl("$branch") |
| 501 | } // steps |
| 502 | } // stage |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 503 | |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 504 | // ----------------------------------------------------------------------- |
| 505 | // ----------------------------------------------------------------------- |
| 506 | stage('Load image in kind nodes') |
| 507 | { |
| 508 | when { |
| 509 | expression { |
| 510 | return !gerritProject.isEmpty() |
| 511 | } |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 512 | } |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 513 | steps { |
| 514 | loadToKind() |
| 515 | } // steps |
| 516 | } // stage |
Joey Armstrong | 97a8b88 | 2023-08-02 16:08:52 -0400 | [diff] [blame] | 517 | |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 518 | // ----------------------------------------------------------------------- |
| 519 | // ----------------------------------------------------------------------- |
| 520 | stage('Parse and execute tests') |
| 521 | { |
| 522 | steps { |
| 523 | script { |
| 524 | def tests = readYaml text: testTargets |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 525 | |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 526 | tests.eachWithIndex { test, idx -> |
| 527 | println "** readYaml test suite[$idx]) test=[${test}]" |
| 528 | // def test = tests[i] |
| 529 | String target = test['target'] |
| 530 | String workflow = test['workflow'] |
| 531 | String flags = test['flags'] |
| 532 | Boolean teardown = test['teardown'].toBoolean() |
| 533 | Boolean logging = test['logging'].toBoolean() |
| 534 | String testLogging = (logging) ? 'True' : 'False' |
| 535 | |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 536 | println "Executing test ${target} on workflow ${workflow} with logging ${testLogging} and extra flags ${flags}" |
Joey Armstrong | 54dec09 | 2023-08-03 18:21:38 -0400 | [diff] [blame] | 537 | println "Executing test ${target}: ENTER" |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 538 | execute_test(target, workflow, testLogging, teardown, flags) |
Joey Armstrong | 54dec09 | 2023-08-03 18:21:38 -0400 | [diff] [blame] | 539 | println "Executing test ${target}: LEAVE" |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 540 | } // for |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 541 | |
Joey Armstrong | cd41912 | 2023-08-07 14:56:39 -0400 | [diff] [blame^] | 542 | String iam = getIam('Parse and execute tests') |
Joey Armstrong | f404b64 | 2023-08-04 14:39:13 -0400 | [diff] [blame] | 543 | println("** ${iam} ran to completion") |
Joey Armstrong | b65ada3 | 2023-08-03 12:50:20 -0400 | [diff] [blame] | 544 | } // script |
| 545 | } // steps |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 546 | } // stage |
| 547 | } // stages |
Joey Armstrong | 84adc54 | 2023-04-11 14:47:34 -0400 | [diff] [blame] | 548 | |
| 549 | post |
| 550 | { |
| 551 | aborted { collectArtifacts('aborted') } |
| 552 | failure { collectArtifacts('failed') } |
Joey Armstrong | bf49292 | 2023-04-13 17:05:09 -0400 | [diff] [blame] | 553 | always { collectArtifacts('always') } |
Matteo Scandolo | 42f6e57 | 2021-01-25 15:11:34 -0800 | [diff] [blame] | 554 | } |
Joey Armstrong | 2d5a7c1 | 2023-04-13 09:37:42 -0400 | [diff] [blame] | 555 | } // pipeline |
Joey Armstrong | ed161f7 | 2023-04-11 13:16:59 -0400 | [diff] [blame] | 556 | |
| 557 | // EOF |