Merge "VOL-1870 enabling sca on voltha-go"
diff --git a/jjb/cord-test/voltha.yaml b/jjb/cord-test/voltha.yaml
index e7062dc..60bf08f 100644
--- a/jjb/cord-test/voltha.yaml
+++ b/jjb/cord-test/voltha.yaml
@@ -130,7 +130,7 @@
released: false
test-repo: 'voltha-system-tests'
Jenkinsfile: 'Jenkinsfile-voltha-bal31-build'
- oltDebVersion: 'openolt-2.2.deb'
+ oltDebVersion: 'openolt_asfvolt16.deb'
configurePod: true
profile: 'Default'
time: '1'
@@ -145,6 +145,30 @@
profile: 'Default'
Jenkinsfile: 'Jenkinsfile-voltha-test'
+ # Menlo pod with olt/onu - 1T4GEM tech profile and timer based job
+ - 'build_voltha_pod_release':
+ testvm: 'menlo-demo-pod'
+ config-pod: 'onf-demo-pod'
+ release: 'master'
+ branch: 'master'
+ released: false
+ test-repo: 'voltha-system-tests'
+ Jenkinsfile: 'Jenkinsfile-voltha-bal31-build'
+ oltDebVersion: 'openolt_asfvolt16.deb'
+ configurePod: true
+ profile: '1T4GEM-bal31'
+ time: '2'
+
+ # Menlo pod test job - uses tech profile on voltha branch
+ - 'build_voltha_pod_test':
+ testvm: 'menlo-demo-pod'
+ config-pod: 'onf-demo-pod'
+ release: 'master'
+ branch: 'master'
+ test-repo: 'voltha-system-tests'
+ profile: '1T4GEM-bal31'
+ Jenkinsfile: 'Jenkinsfile-voltha-test'
+
# Menlo DEMO-POD - 1 1TCONT 4 4GEMs TechProfile - Manual build and test job
- 'build_pod_manual':
testvm: 'menlo-demo-pod'
@@ -153,16 +177,16 @@
branch: 'master'
test-repo: 'voltha-system-tests'
Jenkinsfile: 'Jenkinsfile-voltha-bal31-build'
- oltDebVersion: 'openolt-2.2.deb'
+ oltDebVersion: 'openolt_asfvolt16.deb'
configurePod: true
- profile: '1T4GEM'
+ profile: '1T4GEM-bal31'
- 'build_pod_test':
testvm: 'menlo-demo-pod'
config-pod: 'onf-demo-pod'
branch: 'master'
test-repo: 'voltha-system-tests'
Jenkinsfile: 'Jenkinsfile-voltha-test'
- profile: '1T4GEM'
+ profile: '1T4GEM-bal31'
# Menlo DEMO-POD - Default TechProfile - manual build job
- 'build_pod_manual':
@@ -172,7 +196,7 @@
branch: 'master'
test-repo: 'voltha-system-tests'
Jenkinsfile: 'Jenkinsfile-voltha-bal31-build'
- oltDebVersion: 'openolt-2.2.deb'
+ oltDebVersion: 'openolt_asfvolt16.deb'
configurePod: true
profile: 'Default'
diff --git a/jjb/maven.yaml b/jjb/maven.yaml
index d39c1f6..e72b245 100644
--- a/jjb/maven.yaml
+++ b/jjb/maven.yaml
@@ -54,7 +54,7 @@
pom: pom.xml
settings: 'cord-apps-maven-settings'
settings-type: cfp
- goals: 'clean test install'
+ goals: '-Pci-verify clean test install'
publishers:
- junit:
diff --git a/jjb/pipeline/voltha-physical-tests.groovy b/jjb/pipeline/voltha-physical-tests.groovy
index 85d1f0f..44dfd26 100644
--- a/jjb/pipeline/voltha-physical-tests.groovy
+++ b/jjb/pipeline/voltha-physical-tests.groovy
@@ -219,8 +219,8 @@
steps {
script {
deployment_config.olts.each { olt ->
- sh returnStdout: true, script: "sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'service bal_core_dist stop' || true"
- sh returnStdout: true, script: "sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'service bal_core_dist stop' || true"
+ sh returnStdout: true, script: "sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'service openolt stop' || true"
+ sh returnStdout: true, script: "sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'killall dev_mgmt_daemon' || true"
sh returnStdout: true, script: "sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'dpkg --remove asfvolt16 && dpkg --purge asfvolt16'"
waitUntil {
olt_sw_present = sh returnStdout: true, script: "sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'dpkg --list | grep asfvolt16 | wc -l'"
@@ -246,10 +246,10 @@
deployment_config.olts.each { olt ->
sh returnStdout: true, script: """
ssh-keyscan -H ${olt.ip} >> ~/.ssh/known_hosts
- sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'service bal_core_dist stop' || true
sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'service openolt stop' || true
- sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'rm -f /var/log/bal_core_dist.log /var/log/openolt.log'
- sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'service bal_core_dist start &'
+ sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'killall dev_mgmt_daemon' || true
+ sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'rm -f /var/log/openolt.log'
+ sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'service dev_mgmt_daemon start &'
sleep 5
sshpass -p ${olt.pass} ssh -l ${olt.user} ${olt.ip} 'service openolt start &'
"""
diff --git a/jjb/verify/config.yaml b/jjb/verify/config.yaml
index ec9f48f..4d831eb 100644
--- a/jjb/verify/config.yaml
+++ b/jjb/verify/config.yaml
@@ -11,11 +11,13 @@
- 'config-jobs':
branch-regexp: '^(master)$'
+ junit-allow-empty-results: true
- 'config-jobs-legacy':
branch-regexp: '^(config-1.5)$'
jdk-distribution: 'java-1.8.0-amazon-corretto'
name-extension: '-jdk8'
+ junit-allow-empty-results: true
- job-group:
name: 'config-jobs-common'
diff --git a/jjb/verify/mn-stratum-siab.yaml b/jjb/verify/mn-stratum-siab.yaml
new file mode 100644
index 0000000..3056a3a
--- /dev/null
+++ b/jjb/verify/mn-stratum-siab.yaml
@@ -0,0 +1,29 @@
+---
+# verification jobs for 'mn-stratum-siab' repo
+
+- project:
+ name: mn-stratum-siab
+ project: '{name}'
+
+ jobs:
+ - 'verify-mn-stratum-siab-jobs':
+ branch-regexp: '{all-branches-regexp}'
+ - 'publish-mn-stratum-siab-jobs'
+
+- job-group:
+ name: 'verify-mn-stratum-siab-jobs'
+ jobs:
+ - 'verify-licensed'
+ - 'tag-collision-reject'
+ - 'make-unit-test':
+ unit-test-targets: 'test'
+ junit-allow-empty-results: true
+
+- job-group:
+ name: 'publish-mn-stratum-siab-jobs'
+ jobs:
+ - 'docker-publish':
+ build-timeout: 30
+ docker-repo: 'opencord'
+ dependency-jobs: 'version-tag'
+
diff --git a/jjb/voltha-e2e.yaml b/jjb/voltha-e2e.yaml
index b9eba3f..5f30bff 100644
--- a/jjb/voltha-e2e.yaml
+++ b/jjb/voltha-e2e.yaml
@@ -32,7 +32,7 @@
config-pod: 'tucson-pod'
branch: 'master'
pipeline-script: 'voltha-physical-tests.groovy'
- oltDebVersion: 'openolt-seba-2.0.deb'
+ oltDebVersion: 'openolt_asfvolt16.deb'
profile: 'Default'
withPatchset: true
@@ -44,7 +44,7 @@
config-pod: 'tucson-pod'
branch: 'master'
pipeline-script: 'voltha-physical-tests.groovy'
- oltDebVersion: 'openolt-seba-2.0.deb'
+ oltDebVersion: 'openolt_asfvolt16.deb'
profile: 'Default'
withPatchset: false
diff --git a/packer/provision/basebuild.sh b/packer/provision/basebuild.sh
index 23fb474..e212118 100644
--- a/packer/provision/basebuild.sh
+++ b/packer/provision/basebuild.sh
@@ -154,7 +154,7 @@
# install ruby gems
gem install \
- mdl
+ mdl -v 0.5.0
# end of gem install list
# install npm modules