[VOL-5010] - Clone unit tests onto a v2.12 branch
[VOL-5005] - Create a v2.12 release branch for test jobs.
[VOL-5004] - Deprecate voltha-2.8 unit tests
makefiles/release/include.mk
makefiles/release/help.mk
makefiles/release/voltha-versions.mk
makefiles/release/targets.mk
makefiles/release/targets/voltha-certification.mk
makefiles/release/targets/voltha-e2e.mk
makefiles/release/targets/voltha-nightly-jobs.mk
-------------------------------------------------
o Define make targets to create versioned subdirectories.
o 'branched' unit test files will live in subdirs.
o Refactoring still in progress, v2.8 tests are disabled/retired in the interim.
jjb/voltha-e2e.yaml
jjb/pipeline/voltha/voltha-2.12/
jjb/voltha-test/voltha-nightly-jobs/voltha-2.12.yaml
----------------------------------------------------
o Create versioned subdirectories to support v2.12 unit testing.
jjb/voltha-e2e.yaml
jjb/voltha-e2e/voltha-master.yaml
jjb/voltha-e2e/voltha-2.12.yaml
jjb/voltha-e2e/voltha-2.8.yaml
--------------------------------
o Guineapig: periodic-voltha-pm-data-test-bbsim
o Refactor unit test from voltha-e2e.yaml.
o Create new v2.12 pipeline job.
o Disable pre-lts legacy pipeline job 2.8
o Refactoring one test so job state in all branches can be checked.
o Tomorrow verify the v2.8 job did not launch
Change-Id: Ib550fae395e1a416466c2f5fb9640be8405dc39e
diff --git a/jjb/voltha-e2e/README b/jjb/voltha-e2e/README
new file mode 100644
index 0000000..8b57f6f
--- /dev/null
+++ b/jjb/voltha-e2e/README
@@ -0,0 +1,7 @@
+This directory is used for refactoring and breakup of the kitchen sink
+JJB job yaml template that contains all versioned VOLTHA test stuies.
+
+git branches are not used, all jobs are visible.
+To support modular branch based testing naming conventions that include
+some form of voltha-X.YY will be used within configs and templates to
+support separation of jobs by release branch.
\ No newline at end of file
diff --git a/jjb/voltha-e2e/master.yaml b/jjb/voltha-e2e/master.yaml
new file mode 100644
index 0000000..f1f9aba
--- /dev/null
+++ b/jjb/voltha-e2e/master.yaml
@@ -0,0 +1,46 @@
+---
+# voltha 2.x tests
+
+- project:
+ name: voltha-e2e-master
+
+ project-name: '{name}'
+ manualBranch: ''
+ olts: 1
+ onus: 1
+ pons: 1
+ withAlarms: true
+ make-target-failtest: bbsim-failurescenarios
+ make-target-errortest: bbsim-errorscenarios
+ make-target-alarmtest: bbsim-alarms-kind
+ make-target-multipleolt: bbsim-multiolt-kind
+ make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
+ make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
+ make-target-reconciletest: reconcile-openonu-go-adapter-test-att
+ make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
+ make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
+
+ jobs:
+ - 'voltha-periodic-test':
+ name: 'periodic-voltha-pm-data-test-bbsim'
+ code-branch: 'master'
+ extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
+ time-trigger: "H H/23 * * *"
+ logLevel: 'DEBUG'
+ testTargets: |
+ - target: voltha-pm-data-single-kind-att
+ workflow: att
+ flags: ""
+ teardown: true
+ logging: true
+ - target: voltha-pm-data-single-kind-dt
+ workflow: dt
+ flags: ""
+ teardown: true
+ logging: true
+ - target: voltha-pm-data-single-kind-tt
+ workflow: tt
+ flags: ""
+ teardown: true
+ logging: true
+ timeout: 140
diff --git a/jjb/voltha-e2e/playground.yaml b/jjb/voltha-e2e/playground.yaml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/jjb/voltha-e2e/playground.yaml
diff --git a/jjb/voltha-e2e/voltha-2.11.yaml b/jjb/voltha-e2e/voltha-2.11.yaml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/jjb/voltha-e2e/voltha-2.11.yaml
diff --git a/jjb/voltha-e2e/voltha-2.12.yaml b/jjb/voltha-e2e/voltha-2.12.yaml
new file mode 100644
index 0000000..5c419b4
--- /dev/null
+++ b/jjb/voltha-e2e/voltha-2.12.yaml
@@ -0,0 +1,48 @@
+---
+# voltha 2.x tests
+
+- project:
+ name: voltha-e2e-2.12
+
+ project-name: '{name}'
+ manualBranch: ''
+ olts: 1
+ onus: 1
+ pons: 1
+ withAlarms: true
+ make-target-failtest: bbsim-failurescenarios
+ make-target-errortest: bbsim-errorscenarios
+ make-target-alarmtest: bbsim-alarms-kind
+ make-target-multipleolt: bbsim-multiolt-kind
+ make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
+ make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
+ make-target-reconciletest: reconcile-openonu-go-adapter-test-att
+ make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
+ make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
+
+# source: voltha-e2e.yaml
+ jobs:
+ - 'voltha-periodic-test':
+ name: 'periodic-voltha-pm-data-test-bbsim-2.12'
+ pipeline-script: 'voltha/voltha-2.12/bbsim-tests.groovy'
+ code-branch: 'voltha-2.12'
+ extraHelmFlags: '--set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
+ time-trigger: "H H/23 * * *"
+ logLevel: 'DEBUG'
+ testTargets: |
+ - target: voltha-pm-data-single-kind-att
+ workflow: att
+ flags: ""
+ teardown: true
+ logging: true
+ - target: voltha-pm-data-single-kind-dt
+ workflow: dt
+ flags: ""
+ teardown: true
+ logging: true
+ - target: voltha-pm-data-single-kind-tt
+ workflow: tt
+ flags: ""
+ teardown: true
+ logging: true
+ timeout: 140
diff --git a/jjb/voltha-e2e/voltha-2.8.yaml b/jjb/voltha-e2e/voltha-2.8.yaml
new file mode 100644
index 0000000..dcb1232
--- /dev/null
+++ b/jjb/voltha-e2e/voltha-2.8.yaml
@@ -0,0 +1,50 @@
+---
+# voltha 2.0 tests
+
+- project:
+ name: voltha-e2e-2.8
+
+ project-name: '{name}'
+ manualBranch: ''
+ olts: 1
+ onus: 1
+ pons: 1
+ withAlarms: true
+ make-target-failtest: bbsim-failurescenarios
+ make-target-errortest: bbsim-errorscenarios
+ make-target-alarmtest: bbsim-alarms-kind
+ make-target-multipleolt: bbsim-multiolt-kind
+ make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
+ make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
+ make-target-reconciletest: reconcile-openonu-go-adapter-test-att
+ make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
+ make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
+
+# source: voltha-e2e.yaml
+ jobs:
+ - 'voltha-periodic-test':
+ name: 'periodic-voltha-pm-data-test-bbsim-2.8-playground'
+ disable-job: true
+ pipeline-script: 'voltha/voltha-2.8/bbsim-tests.groovy'
+ code-branch: 'voltha-2.8'
+ extraHelmFlags: '--set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
+ time-trigger: "H H/23 * * *"
+ logLevel: 'DEBUG'
+ testTargets: |
+ - target: voltha-pm-data-single-kind-att
+ workflow: att
+ flags: ""
+ teardown: true
+ logging: true
+ - target: voltha-pm-data-single-kind-dt
+ workflow: dt
+ flags: ""
+ teardown: true
+ logging: true
+ - target: voltha-pm-data-single-kind-tt
+ workflow: tt
+ flags: ""
+ teardown: true
+ logging: true
+ timeout: 140
+