Merge "VOL-2719 Run library sanity tests as nightly jobs"
diff --git a/jjb/cord-test/voltha.yaml b/jjb/cord-test/voltha.yaml
index dcd61d2..6271178 100644
--- a/jjb/cord-test/voltha.yaml
+++ b/jjb/cord-test/voltha.yaml
@@ -136,6 +136,7 @@
branch: 'master'
released: false
name-extension: '_GO'
+ use-ofagent-go: true
test-repo: 'voltha-system-tests'
Jenkinsfile: 'Jenkinsfile-voltha-bal31-build'
oltDebVersion: 'openolt_asfvolt16_bal3.2.deb'
diff --git a/jjb/pipeline/voltha-scale-measurements.groovy b/jjb/pipeline/voltha-scale-measurements.groovy
index 87b8656..ab81eed 100644
--- a/jjb/pipeline/voltha-scale-measurements.groovy
+++ b/jjb/pipeline/voltha-scale-measurements.groovy
@@ -84,6 +84,23 @@
'''
}
}
+ stage('wait for adapters to be registered') {
+ steps{
+ waitUntil {
+ script {
+ openolt_res = sh returnStdout: true, script: """
+ voltctl adapter list | grep openolt | wc -l
+ """
+
+ openonu_res = sh returnStdout: true, script: """
+ voltctl adapter list | grep brcm_openomci_onu | wc -l
+ """
+
+ return openolt_res.toInteger() == 1 && openonu_res.toInteger() == 1
+ }
+ }
+ }
+ }
stage('MIB-template') {
steps {
sh '''
@@ -214,4 +231,4 @@
}
}
}
-}
\ No newline at end of file
+}