blob: b21e70f81f8d7f817a43d5a9d785eb2ba21e119e [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
Joey Armstrongdaa1f0a2024-04-03 18:07:59 -040086 # 20230828 - show in the jenkins UI but w/o updates.
Joey Armstrong6146f7e2023-08-28 09:05:38 -040087 # ---------------------------------------------------------
Jan Klare8846dea2023-09-15 14:31:56 +020088 pipeline-script: 'voltha/bbsim-tests.groovy'
Jan Klare8b7b3df2023-09-15 11:27:15 +020089 pipeline-branch: 'master'
Joey Armstrong6146f7e2023-08-28 09:05:38 -040090 time-trigger: "H H/23 * * *" # Build daily at 11pm
Joey Armstrongd7105fa2023-08-18 23:35:34 -040091# time-trigger: "H/30 * * * *" # Build every 30 min
Joey Armstrong63a59252023-06-14 09:40:36 -040092 testTargets: |
93 - target: functional-single-kind
94 workflow: att
95 flags: ""
96 teardown: true
97 logging: true
98 - target: bbsim-alarms-kind
99 workflow: att
100 flags: ""
101 teardown: false
102 logging: true
103 - target: bbsim-failurescenarios
104 workflow: att
105 flags: ""
106 teardown: false
107 logging: true
108 - target: bbsim-errorscenarios
109 workflow: att
110 flags: ""
111 teardown: false
112 logging: true
113 - target: onos-ha-test
114 workflow: att
115 flags: ""
116 teardown: false
117 logging: true
118
119 - 'voltha-periodic-test':
120 name: 'periodic-voltha-sanity-test-multi-runs'
121 code-branch: 'master'
122 time-trigger: "H H/23 * * *"
123 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set onu=2,pon=2'
124 testTargets: |
125 - target: sanity-kind
126 workflow: att
127 flags: ""
128 teardown: true
129 logging: true
130 - target: sanity-kind
131 workflow: att
132 flags: ""
133 teardown: false
134 logging: true
135 - target: sanity-kind
136 workflow: att
137 flags: ""
138 teardown: false
139 logging: true
140 - target: sanity-kind
141 workflow: att
142 flags: ""
143 teardown: false
144 logging: true
145 - target: sanity-kind
146 workflow: att
147 flags: ""
148 teardown: false
149 logging: true
Joey Armstrongf8b5b8e2023-08-10 13:49:21 -0400150
151 # -----------------------------------------------------------------------
152 # md5sum(master): eff05a324e94fdef076b2d5f7cb4f80f
153 # -----------------------------------------------------------------------
154 - 'voltha-periodic-test':
155 name: 'periodic-voltha-dt-test-bbsim-master'
156 build-node: 'ubuntu18.04-basebuild-4c-8g'
Jan Klare8846dea2023-09-15 14:31:56 +0200157 pipeline-script: 'voltha/bbsim-tests.groovy'
Jan Klare8b7b3df2023-09-15 11:27:15 +0200158 pipeline-branch: 'master'
Joey Armstrongf8b5b8e2023-08-10 13:49:21 -0400159 code-branch: 'master'
160 time-trigger: "@daily"
161 testTargets: |
162 - target: functional-single-kind-dt
163 workflow: dt
164 flags: ""
165 teardown: true
166 logging: true
167 - target: bbsim-failurescenarios-dt
168 workflow: dt
169 flags: ""
170 teardown: false
171 logging: true
172
Joey Armstrongc63186b2023-08-30 12:39:40 -0400173 # -----------------------------------------------------------------------
174 # md5sum(master): 6a1a43e203f8b5d4ad0c3d9f73116045
175 # -----------------------------------------------------------------------
176 - 'voltha-periodic-test':
177 name: 'periodic-voltha-dt-fttb-test-bbsim-master'
178 build-node: 'ubuntu18.04-basebuild-4c-8g'
179 code-branch: 'master'
180 time-trigger: "H H/23 * * *"
181 extraHelmFlags: '--set global.image_tag=master --set onos-classic.image.tag=master --set voltha-adapter-openonu.adapter_open_onu.uni_port_mask=0x00FF --set onu=2'
182 testTargets: |
183 - target: sanity-kind-dt-fttb
184 workflow: dt-fttb
185 flags: ""
186 teardown: true
187 logging: true
188
Joey Armstrong2d689982023-06-08 18:14:16 -0400189# [EOF]