2 name: baremetal_benchmarks
4 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
18 project-type: freestyle
24 - credentials-binding:
26 credential-id: jenkins_lava_key
27 variable: LAVA_JENKINS_TOKEN
29 credential-id: system_tests_storage_key
30 variable: identity_file
33 TOOLS_BRANCH={lttngversion}
34 UST_BRANCH={lttngversion}
35 BUILD_DEVICE=baremetal
38 artifacts: '*.png,*.csv'
40 do-not-fingerprint: true
42 recipients: 'francis.deslauriers@efficios.com'
44 - gallery-type: archived-images-gallery
50 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
56 basedir: src/lttng-tools
58 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
64 basedir: src/lttng-modules
66 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
75 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
76 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/inject-ssh-commands.sh
78 - project: "build_kernel_PARAM"
79 property-file: 'properties.txt'
82 properties-file: properties.txt
83 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
84 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/summarize-results.sh
89 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
90 project-type: freestyle
108 - credentials-binding:
110 credential-id: jenkins_lava_key
111 variable: LAVA_JENKINS_TOKEN
113 properties-content: |
115 TOOLS_BRANCH={lttngversion}
116 UST_BRANCH={lttngversion}
119 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
125 basedir: src/lttng-tools
127 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
133 basedir: src/lttng-modules
135 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
145 recipients: 'francis.deslauriers@efficios.com'
147 strategy: new-failure-and-fixed
148 message-type: summary
154 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
156 - project: "build_kernel_PARAM"
157 property-file: 'properties.txt'
160 properties-file: properties.txt
161 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-tests.sh
164 name: vm_tests_kmainline
173 - credentials-binding:
175 credential-id: jenkins_lava_key
176 variable: LAVA_JENKINS_TOKEN
178 properties-content: |
179 TOOLS_BRANCH={toolsversion}
180 MODULES_BRANCH={modulesversion}
181 UST_BRANCH={ustversion}
182 BUILD_DEVICE=baremetal
185 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
191 basedir: src/lttng-tools
193 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
199 basedir: src/lttng-modules
201 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
202 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
209 name: baremetal_tests
211 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
212 project-type: freestyle
230 - credentials-binding:
232 credential-id: jenkins_lava_key
233 variable: LAVA_JENKINS_TOKEN
235 properties-content: |
236 UST_BRANCH={lttngversion}
237 BUILD_DEVICE=baremetal
240 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
246 basedir: src/lttng-tools
248 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
254 basedir: src/lttng-modules
256 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
266 recipients: 'francis.deslauriers@efficios.com'
268 strategy: new-failure-and-fixed
269 message-type: summary
275 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
277 - project: "build_kernel_PARAM"
278 property-file: 'properties.txt'
281 properties-file: properties.txt
282 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
285 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
286 defaults: baremetal_benchmarks
288 name: vm_tests_k{kversion}_l{lttngversion}
291 name: baremetal_tests_k{kversion}_l{lttngversion}
292 defaults: baremetal_tests
294 # Canary jobs are made to confirm that the whole Lava pipeline is working.
295 # They are scheduled once a day always on the same (LTTng, Kernel) code. If any
296 # of those jobs fails, it means that there is an issue with the configuration
298 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
299 defaults: baremetal_tests
301 - timed: "0 1 * * 1-5"
303 name: vm_tests_k{kversion}_l{lttngversion}_canary
306 - timed: "0 1 * * 1-5"
308 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
309 defaults: baremetal_benchmarks
311 - timed: "0 1 * * 1-5"
313 name: vm_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
314 defaults: vm_tests_kmainline
317 name: vm_tests_fuzzing_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
318 defaults: vm_tests_kmainline
321 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
323 - project: "build_kernel_PARAM"
324 property-file: 'properties.txt'
327 properties-file: properties.txt
328 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-fuzzing-tests.sh
331 name: baremetal_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
332 defaults: baremetal_tests
340 - credentials-binding:
342 credential-id: jenkins_lava_key
343 variable: LAVA_JENKINS_TOKEN
345 properties-content: |
346 TOOLS_BRANCH={toolsversion}
347 MODULES_BRANCH={modulesversion}
348 UST_BRANCH={ustversion}
349 BUILD_DEVICE=baremetal
352 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
358 basedir: src/lttng-tools
360 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
366 basedir: src/lttng-modules
368 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
369 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
375 name: baremetal_benchmarks_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
376 defaults: baremetal_benchmarks
384 - credentials-binding:
386 credential-id: jenkins_lava_key
387 variable: LAVA_JENKINS_TOKEN
389 credential-id: system_tests_storage_key
390 variable: identity_file
392 properties-content: |
393 TOOLS_BRANCH={toolsversion}
394 MODULES_BRANCH={modulesversion}
395 UST_BRANCH={ustversion}
396 BUILD_DEVICE=baremetal
399 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
405 basedir: src/lttng-tools
407 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
413 basedir: src/lttng-modules
415 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
416 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
423 name: build_kernel_PARAM
425 Builds a Linux Kernel and LTTng Modules if necessary
437 - credentials-binding:
439 credential-id: system_tests_storage_key
440 variable: identity_file
442 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
444 properties-file: properties.txt
445 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
449 condition-kind: file-exists
450 condition-filename: kernel-built.txt
451 condition-basedir: workspace
453 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
457 condition-kind: file-exists
458 condition-filename: modules-built.txt
459 condition-basedir: workspace
461 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
465 name: 'LTTNG_MODULES_COMMIT_ID'
466 description: 'The lttng-modules commmit to build.'
468 name: 'LTTNG_MODULES_REPO'
469 description: 'The LTTng Modules git repo to fetch from'
470 default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git'
472 name: 'KERNEL_COMMIT_ID'
473 description: 'The kernel commit to build.'
476 description: 'The kernel git repo to fetch from'
478 name: 'STORAGE_KERNEL_FOLDER'
479 description: 'Path to store the Kernel image'
481 name: 'STORAGE_KERNEL_IMAGE'
482 description: 'Path to store the Kernel IMAGE'
484 name: 'STORAGE_LINUX_MODULES'
485 description: 'Path to store the Kernel Modules'
487 name: 'STORAGE_LTTNG_MODULES'
488 description: 'Path to store the LTTng Modules'
491 description: 'The target device. (kvm or baremetal)'
497 name: lttng-kernel-tests
507 - 'vm_tests_k{kversion}_l{lttngversion}'
508 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
509 - 'baremetal_tests_k{kversion}_l{lttngversion}'
512 name: lttng-kernel-tests-oldkernel
519 - 'vm_tests_k{kversion}_l{lttngversion}':
520 - 'baremetal_tests_k{kversion}_l{lttngversion}':
521 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
524 name: lttng-kernel-tests-canary
530 - 'vm_tests_k{kversion}_l{lttngversion}_canary'
531 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
532 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
535 name: lttng-kernel-tests-mainline
543 - 'vm_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'
544 - 'vm_tests_fuzzing_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'
545 - 'baremetal_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'
546 - 'baremetal_benchmarks_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'