Lava: Generate plots including all past benchmark results
[lttng-ci.git] / jobs / lttng-baremetal-tests.yaml
1 - defaults:
2 name: baremetal_benchmarks
3 description: |
4 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
5
6 triggers:
7 - pollscm:
8 cron: "@hourly"
9 logrotate:
10 numToKeep: 10
11
12 properties:
13 - throttle:
14 max-total: 2
15 option: 'category'
16 categories:
17 - 'baremetal-tests'
18 project-type: freestyle
19 node: 'x86-64'
20 wrappers:
21 - workspace-cleanup
22 - timestamps
23 - ansicolor
24 - credentials-binding:
25 - text:
26 credential-id: jenkins_lava_key
27 variable: LAVA_JENKINS_TOKEN
28 - inject:
29 properties-content: |
30 TOOLS_BRANCH={lttngversion}
31 UST_BRANCH={lttngversion}
32 BUILD_DEVICE=baremetal
33 publishers:
34 - archive:
35 artifacts: '*.png,*.csv'
36 stable: true
37 do-not-fingerprint: true
38 - email:
39 recipients: 'francis.deslauriers@efficios.com'
40 - image-gallery:
41 - gallery-type: archived-images-gallery
42 title: Results
43 includes: '*.png'
44 scm:
45 - git:
46 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
47 branches:
48 - "{lttngversion}"
49 shallow-clone: true
50 skip-tag: true
51 fastpoll: true
52 basedir: src/lttng-tools
53 - git:
54 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
55 branches:
56 - "{lttngversion}"
57 shallow-clone: true
58 skip-tag: true
59 fastpoll: true
60 basedir: src/lttng-modules
61 - git:
62 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
63 branches:
64 - "{kversion}"
65 shallow-clone: true
66 skip-tag: true
67 fastpoll: true
68 basedir: src/linux
69
70 builders:
71 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
72 - trigger-builds:
73 - project: "build_kernel_PARAM"
74 property-file: 'properties.txt'
75 block: true
76 - inject:
77 properties-file: properties.txt
78 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
79 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/summarize-results.sh
80
81 - defaults:
82 name: vm_tests
83 description: |
84 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
85 project-type: freestyle
86 node: 'master'
87 properties:
88 - throttle:
89 max-total: 2
90 option: 'category'
91 categories:
92 - 'kvm-tests'
93 triggers:
94 - pollscm:
95 cron: "@hourly"
96 logrotate:
97 numToKeep: 10
98
99 wrappers:
100 - workspace-cleanup
101 - timestamps
102 - ansicolor
103 - credentials-binding:
104 - text:
105 credential-id: jenkins_lava_key
106 variable: LAVA_JENKINS_TOKEN
107 - inject:
108 properties-content: |
109 BUILD_DEVICE=kvm
110 TOOLS_BRANCH={lttngversion}
111 UST_BRANCH={lttngversion}
112 scm:
113 - git:
114 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
115 branches:
116 - "{lttngversion}"
117 shallow-clone: true
118 skip-tag: true
119 fastpoll: true
120 basedir: src/lttng-tools
121 - git:
122 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
123 branches:
124 - "{lttngversion}"
125 shallow-clone: true
126 skip-tag: true
127 fastpoll: true
128 basedir: src/lttng-modules
129 - git:
130 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
131 branches:
132 - "{kversion}"
133 shallow-clone: true
134 skip-tag: true
135 fastpoll: true
136 basedir: src/linux
137
138 publishers:
139 - email:
140 recipients: 'francis.deslauriers@efficios.com'
141 - ircbot:
142 strategy: new-failure-and-fixed
143 channels:
144 - name: '#lttng'
145
146 builders:
147 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
148 - trigger-builds:
149 - project: "build_kernel_PARAM"
150 property-file: 'properties.txt'
151 block: true
152 - inject:
153 properties-file: properties.txt
154 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-tests.sh
155
156 - defaults:
157 name: baremetal_tests
158 description: |
159 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
160 project-type: freestyle
161 node: 'master'
162 properties:
163 - throttle:
164 max-total: 2
165 option: 'category'
166 categories:
167 - 'baremetal-tests'
168 triggers:
169 - pollscm:
170 cron: "@hourly"
171 logrotate:
172 numToKeep: 10
173
174 wrappers:
175 - workspace-cleanup
176 - timestamps
177 - ansicolor
178 - credentials-binding:
179 - text:
180 credential-id: jenkins_lava_key
181 variable: LAVA_JENKINS_TOKEN
182 - inject:
183 properties-content: |
184 UST_BRANCH={lttngversion}
185 BUILD_DEVICE=baremetal
186 scm:
187 - git:
188 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
189 branches:
190 - "{lttngversion}"
191 shallow-clone: true
192 skip-tag: true
193 fastpoll: true
194 basedir: src/lttng-tools
195 - git:
196 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
197 branches:
198 - "{lttngversion}"
199 shallow-clone: true
200 skip-tag: true
201 fastpoll: true
202 basedir: src/lttng-modules
203 - git:
204 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
205 branches:
206 - "{kversion}"
207 shallow-clone: true
208 skip-tag: true
209 fastpoll: true
210 basedir: src/linux
211
212 publishers:
213 - email:
214 recipients: 'francis.deslauriers@efficios.com'
215 - ircbot:
216 strategy: new-failure-and-fixed
217 channels:
218 - name: '#lttng'
219 builders:
220 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
221 - trigger-builds:
222 - project: "build_kernel_PARAM"
223 property-file: 'properties.txt'
224 block: true
225 - inject:
226 properties-file: properties.txt
227 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
228
229 - job-template:
230 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
231 defaults: baremetal_benchmarks
232 - job-template:
233 name: vm_tests_k{kversion}_l{lttngversion}
234 defaults: vm_tests
235 - job-template:
236 name: baremetal_tests_k{kversion}_l{lttngversion}
237 defaults: baremetal_tests
238
239 - job-template:
240 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
241 defaults: baremetal_tests
242 - job-template:
243 name: vm_tests_k{kversion}_l{lttngversion}_canary
244 defaults: vm_tests
245 - job-template:
246 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
247 defaults: baremetal_benchmarks
248
249 - job-template:
250 name: vm_tests_kmainline_l{lttngversion}
251 defaults: vm_tests
252 triggers:
253 - pollscm:
254 cron: "@daily"
255 scm:
256 - git:
257 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
258 branches:
259 - "{lttngversion}"
260 shallow-clone: true
261 skip-tag: true
262 fastpoll: true
263 basedir: src/lttng-tools
264 - git:
265 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
266 branches:
267 - "{lttngversion}"
268 shallow-clone: true
269 skip-tag: true
270 fastpoll: true
271 basedir: src/lttng-modules
272 - git:
273 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
274 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
275 branches:
276 - "master"
277 fastpoll: true
278 basedir: src/linux
279
280 - job-template:
281 name: baremetal_tests_kmainline_l{lttngversion}
282 defaults: baremetal_tests
283 triggers:
284 - pollscm:
285 cron: "@daily"
286 scm:
287 - git:
288 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
289 branches:
290 - "{lttngversion}"
291 shallow-clone: true
292 skip-tag: true
293 fastpoll: true
294 basedir: src/lttng-tools
295 - git:
296 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
297 branches:
298 - "{lttngversion}"
299 shallow-clone: true
300 skip-tag: true
301 fastpoll: true
302 basedir: src/lttng-modules
303 - git:
304 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
305 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
306 branches:
307 - "master"
308 fastpoll: true
309 basedir: src/linux
310
311 - job-template:
312 name: baremetal_benchmarks_kmainline_l{lttngversion}
313 defaults: baremetal_benchmarks
314 triggers:
315 - pollscm:
316 cron: "@daily"
317 scm:
318 - git:
319 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
320 branches:
321 - "{lttngversion}"
322 shallow-clone: true
323 skip-tag: true
324 fastpoll: true
325 basedir: src/lttng-tools
326 - git:
327 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
328 branches:
329 - "{lttngversion}"
330 shallow-clone: true
331 skip-tag: true
332 fastpoll: true
333 basedir: src/lttng-modules
334 - git:
335 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
336 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
337 branches:
338 - "master"
339 fastpoll: true
340 basedir: src/linux
341
342 - job:
343 name: build_kernel_PARAM
344 description: |
345 Builds a Linux Kernel and LTTng Modules if necessary
346 defaults: global
347 concurrent: true
348
349 logrotate:
350 numToKeep: 50
351 node: 'x86-64'
352
353 wrappers:
354 - workspace-cleanup
355 - timestamps
356 - ansicolor
357 - credentials-binding:
358 - file:
359 credential-id: lava_jenkins_storage_frdeso
360 variable: identity_file
361 builders:
362 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
363 - inject:
364 properties-file: properties.txt
365 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
366 - conditional-step:
367 condition-kind: not
368 condition-operand:
369 condition-kind: file-exists
370 condition-filename: kernel-built.txt
371 condition-basedir: workspace
372 steps:
373 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
374 - conditional-step:
375 condition-kind: not
376 condition-operand:
377 condition-kind: file-exists
378 condition-filename: modules-built.txt
379 condition-basedir: workspace
380 steps:
381 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
382
383 parameters:
384 - string:
385 name: 'LTTNG_MODULES_COMMIT_ID'
386 description: 'The lttng-modules commmit to build.'
387 - string:
388 name: 'KERNEL_COMMIT_ID'
389 description: 'The kernel commit to build.'
390 - string:
391 name: 'KGITREPO'
392 description: 'The kernel git repo to fetch from'
393 - string:
394 name: 'STORAGE_KERNEL_FOLDER'
395 description: 'Path to store the Kernel image'
396 - string:
397 name: 'STORAGE_KERNEL_IMAGE'
398 description: 'Path to store the Kernel IMAGE'
399 - string:
400 name: 'STORAGE_LINUX_MODULES'
401 description: 'Path to store the Kernel Modules'
402 - string:
403 name: 'STORAGE_LTTNG_MODULES'
404 description: 'Path to store the LTTng Modules'
405 - string:
406 name: 'BUILD_DEVICE'
407 description: 'The target device. (kvm or baremetal)'
408
409 ## Project
410 - project:
411 name: lttng-kernel-tests
412 kversion:
413 - linux-4.4.y
414 - linux-4.8.y
415 - v4.8.1
416 lttngversion:
417 - master
418 - stable-2.8
419 - stable-2.9
420 jobs:
421 - 'vm_tests_k{kversion}_l{lttngversion}'
422 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
423 - 'baremetal_tests_k{kversion}_l{lttngversion}'
424
425 - project:
426 name: lttng-kernel-tests-oldkernel
427 kversion:
428 - linux-3.18.y
429 - linux-4.4.y
430 lttngversion:
431 - stable-2.7
432 jobs:
433 - 'vm_tests_k{kversion}_l{lttngversion}':
434 - 'baremetal_tests_k{kversion}_l{lttngversion}':
435 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
436
437 - project:
438 name: lttng-kernel-tests-canary
439 kversion:
440 - v4.4.9
441 lttngversion:
442 - v2.8.1
443 jobs:
444 - 'vm_tests_k{kversion}_l{lttngversion}_canary'
445 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
446 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
447
448 - project:
449 name: lttng-kernel-tests-mainline
450 lttngversion:
451 - v2.8.1
452 jobs:
453 - 'vm_tests_kmainline_l{lttngversion}'
454 - 'baremetal_tests_kmainline_l{lttngversion}'
455 - 'baremetal_benchmarks_kmainline_l{lttngversion}'
This page took 0.038949 seconds and 5 git commands to generate.