blob: 1398f29134233fa59760516ec138c58446d3505a [file] [log] [blame]
Joey Armstrong7bcb5782023-06-07 12:25:57 -04001---
2# voltha 2.x tests
Joey Armstrongf8b5b8e2023-08-10 13:49:21 -04003# [NOTE]
4# o md5sum(master) can be used to locate branch/release variants of a job.
Joey Armstrong7bcb5782023-06-07 12:25:57 -04005
6- project:
7 name: voltha-e2e-master
8
9 project-name: '{name}'
10 manualBranch: ''
11 olts: 1
12 onus: 1
13 pons: 1
14 withAlarms: true
15 make-target-failtest: bbsim-failurescenarios
16 make-target-errortest: bbsim-errorscenarios
17 make-target-alarmtest: bbsim-alarms-kind
18 make-target-multipleolt: bbsim-multiolt-kind
19 make-target-1t4gemtest: 1t4gem-openonu-go-adapter-test
20 make-target-1t8gemtest: 1t8gem-openonu-go-adapter-test
21 make-target-reconciletest: reconcile-openonu-go-adapter-test-att
22 make-target-reconciledttest: reconcile-openonu-go-adapter-test-dt
23 make-target-reconciletttest: reconcile-openonu-go-adapter-test-tt
24
25 jobs:
26 - 'voltha-periodic-test':
27 name: 'periodic-voltha-pm-data-test-bbsim'
28 code-branch: 'master'
29 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'
30 time-trigger: "H H/23 * * *"
31 logLevel: 'DEBUG'
32 testTargets: |
33 - target: voltha-pm-data-single-kind-att
34 workflow: att
35 flags: ""
36 teardown: true
37 logging: true
38 - target: voltha-pm-data-single-kind-dt
39 workflow: dt
40 flags: ""
41 teardown: true
42 logging: true
43 - target: voltha-pm-data-single-kind-tt
44 workflow: tt
45 flags: ""
46 teardown: true
47 logging: true
48 timeout: 140
Joey Armstrong2d689982023-06-08 18:14:16 -040049
50 - 'voltha-periodic-test':
51 name: 'periodic-voltha-multiple-olts-pm-data-test-bbsim'
52 code-branch: 'master'
53 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2 --set kafka.externalAccess.enabled=true,kafka.externalAccess.service.type=NodePort,kafka.externalAccess.service.nodePorts[0]=30201,kafka.externalAccess.service.domain=127.0.0.1'
54 olts: 2
55 timeout: 180
56 logLevel: 'DEBUG'
57 testTargets: |
58 - target: voltha-pm-data-multiolt-kind-att
59 workflow: att
60 flags: ""
61 teardown: true
62 logging: true
63 - target: voltha-pm-data-multiolt-kind-dt
64 workflow: dt
65 flags: ""
66 teardown: true
67 logging: true
68 - target: voltha-pm-data-multiolt-kind-tt
69 workflow: tt
70 flags: ""
71 teardown: true
72 logging: true
73 time-trigger: "H H/23 * * *"
74
Joey Armstrong6146f7e2023-08-28 09:05:38 -040075 # -----------------------------------------------------------------------
76 # md5sum(master): c606493da6ee7cbb18ca8aee97ea2957
77 # -----------------------------------------------------------------------
Joey Armstrong63a59252023-06-14 09:40:36 -040078 - 'voltha-periodic-test':
79 name: 'periodic-voltha-test-bbsim'
Joey Armstrong6146f7e2023-08-28 09:05:38 -040080 code-branch : 'master'
Joey Armstrong63a59252023-06-14 09:40:36 -040081 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onos-classic.replicas=3,onos-classic.atomix.replicas=3 --set voltha.onos_classic.replicas=3 '
Joey Armstrong6146f7e2023-08-28 09:05:38 -040082 logLevel: 'DEBUG' # Force job to regenerate
83 # ---------------------------------------------------------
84 # 20230828 - strange, release branches have pipeline-script
85 # 20230828 - while master branch did not (?) Script does
86 # 20230828 - show in the jenkins UI but w/o updates.
87 # ---------------------------------------------------------
88 pipeline-script: 'voltha/master/bbsim-tests.groovy'
89 time-trigger: "H H/23 * * *" # Build daily at 11pm
Joey Armstrongd7105fa2023-08-18 23:35:34 -040090# time-trigger: "H/30 * * * *" # Build every 30 min
Joey Armstrong63a59252023-06-14 09:40:36 -040091 testTargets: |
92 - target: functional-single-kind
93 workflow: att
94 flags: ""
95 teardown: true
96 logging: true
97 - target: bbsim-alarms-kind
98 workflow: att
99 flags: ""
100 teardown: false
101 logging: true
102 - target: bbsim-failurescenarios
103 workflow: att
104 flags: ""
105 teardown: false
106 logging: true
107 - target: bbsim-errorscenarios
108 workflow: att
109 flags: ""
110 teardown: false
111 logging: true
112 - target: onos-ha-test
113 workflow: att
114 flags: ""
115 teardown: false
116 logging: true
117
118 - 'voltha-periodic-test':
119 name: 'periodic-voltha-sanity-test-multi-runs'
120 code-branch: 'master'
121 time-trigger: "H H/23 * * *"
122 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
123 testTargets: |
124 - target: sanity-kind
125 workflow: att
126 flags: ""
127 teardown: true
128 logging: true
129 - target: sanity-kind
130 workflow: att
131 flags: ""
132 teardown: false
133 logging: true
134 - target: sanity-kind
135 workflow: att
136 flags: ""
137 teardown: false
138 logging: true
139 - target: sanity-kind
140 workflow: att
141 flags: ""
142 teardown: false
143 logging: true
144 - target: sanity-kind
145 workflow: att
146 flags: ""
147 teardown: false
148 logging: true
Joey Armstrongf8b5b8e2023-08-10 13:49:21 -0400149
150 # -----------------------------------------------------------------------
151 # md5sum(master): eff05a324e94fdef076b2d5f7cb4f80f
152 # -----------------------------------------------------------------------
153 - 'voltha-periodic-test':
154 name: 'periodic-voltha-dt-test-bbsim-master'
155 build-node: 'ubuntu18.04-basebuild-4c-8g'
156 pipeline-script: 'voltha/master/bbsim-tests.groovy'
157 code-branch: 'master'
158 time-trigger: "@daily"
159 testTargets: |
160 - target: functional-single-kind-dt
161 workflow: dt
162 flags: ""
163 teardown: true
164 logging: true
165 - target: bbsim-failurescenarios-dt
166 workflow: dt
167 flags: ""
168 teardown: false
169 logging: true
170
Joey Armstrong2d689982023-06-08 18:14:16 -0400171# [EOF]