VOL-5155 - triage failure in periodic-voltha-test-bbsim-2.12
jjb/voltha-e2e/voltha-2.12.yaml
-------------------------------
o Cosmetic pipeline change to try and force job regeneration.
jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy
--------------------------------------------------
o Inline a hardcoded version string so we can easily check
for changes in jenkins UI or logfile output.
Change-Id: I95770b2c94a529397a7eb4c9cb4bd866167c2b15
diff --git a/jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy b/jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy
index 5d97b82..b411109 100644
--- a/jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy
+++ b/jjb/pipeline/voltha/voltha-2.12/bbsim-tests.groovy
@@ -40,10 +40,13 @@
// -----------------------------------------------------------------------
// Intent: Due to lack of a reliable stack trace, construct a literal.
-// Jenkins will re-write the call stack for serialization.
+// Jenkins will re-write the call stack for serialization.S
// -----------------------------------------------------------------------
-String getIam(String func) {
+// Note: Hardcoded version string used to visualize changes in jenkins UI
+// -----------------------------------------------------------------------
+tring getIam(String func, Boolean verbose=True) {
String branchName = branchName()
+ String version = '4f87de8f31d588d8277dc5ea6fbb69e714c66079'
String src = [
'ci-management',
'jjb',
@@ -53,7 +56,7 @@
'bbsim-tests.groovy'
].join('/')
- String name = [src, func].join('::')
+ String name = [src, version, func].join('::')
return(name)
}
diff --git a/jjb/voltha-e2e/voltha-2.12.yaml b/jjb/voltha-e2e/voltha-2.12.yaml
index 2a5878b..58ade1e 100644
--- a/jjb/voltha-e2e/voltha-2.12.yaml
+++ b/jjb/voltha-e2e/voltha-2.12.yaml
@@ -137,12 +137,21 @@
# -----------------------------------------------------------------------
# md5sum(master): eff05a324e94fdef076b2d5f7cb4f80f
# -----------------------------------------------------------------------
+ # https://www.lenar.io/jenkins-schedule-build-periodically/
+ # -----------------------------------------------------------------------
- 'voltha-periodic-test':
name: 'periodic-voltha-dt-test-bbsim-2.12'
build-node: 'ubuntu18.04-basebuild-4c-8g'
pipeline-script: 'voltha/voltha-2.12/bbsim-tests.groovy'
code-branch: 'voltha-2.12'
- time-trigger: "@daily"
+ time-trigger : "* 7-18/4 * * *" # build every 4 hrs between 7am-6pm
+ # -----------------------------------------------------------------------
+ # time-trigger : "H/20 * * * *" # every 20 min
+ # time-trigger: "@hourly"
+ # time-trigger: "@daily"
+ # time-trigger: "@weekly"
+ # time-trigger: "monthly"
+ # -----------------------------------------------------------------------
extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master '
testTargets: |
- target: functional-single-kind-dt