2 name: baremetal_benchmarks
4 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
19 project-type: freestyle
25 - credentials-binding:
27 credential-id: jenkins_lava_key
28 variable: LAVA_JENKINS_TOKEN
30 credential-id: system_tests_storage_key
31 variable: identity_file
34 TOOLS_BRANCH={lttngversion}
35 UST_BRANCH={lttngversion}
36 BUILD_DEVICE=baremetal
40 artifacts: '*.png,*.csv'
42 do-not-fingerprint: true
44 recipients: '{obj:email_to}'
45 reply-to: ci-notification@lists.lttng.org
62 matrix-trigger: only-parent
66 - gallery-type: archived-images-gallery
73 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
79 basedir: src/lttng-tools
81 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
87 basedir: src/lttng-modules
89 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
98 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
99 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/inject-ssh-commands.sh
101 - project: "build_kernel_PARAM"
102 property-file: 'properties.txt'
105 properties-file: properties.txt
106 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
107 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/summarize-results.sh
113 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
114 project-type: freestyle
134 - credentials-binding:
136 credential-id: jenkins_lava_key
137 variable: LAVA_JENKINS_TOKEN
139 properties-content: |
141 TOOLS_BRANCH={lttngversion}
142 UST_BRANCH={lttngversion}
146 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
152 basedir: src/lttng-tools
154 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
160 basedir: src/lttng-modules
162 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
172 recipients: '{obj:email_to}'
173 reply-to: ci-notification@lists.lttng.org
182 second-failure: false
187 fixed-unhealthy: true
188 still-unstable: false
190 matrix-trigger: only-parent
196 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
198 - project: "build_kernel_PARAM"
199 property-file: 'properties.txt'
202 properties-file: properties.txt
203 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-tests.sh
207 name: vm_tests_kmainline
218 - credentials-binding:
220 credential-id: jenkins_lava_key
221 variable: LAVA_JENKINS_TOKEN
223 properties-content: |
224 TOOLS_BRANCH={lttngversion}
225 MODULES_BRANCH={lttngversion}
226 UST_BRANCH={lttngversion}
227 BUILD_DEVICE=baremetal
230 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
236 basedir: src/lttng-tools
238 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
244 basedir: src/lttng-modules
246 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
247 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
255 name: baremetal_tests
257 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
258 project-type: freestyle
278 - credentials-binding:
280 credential-id: jenkins_lava_key
281 variable: LAVA_JENKINS_TOKEN
283 properties-content: |
284 UST_BRANCH={lttngversion}
285 BUILD_DEVICE=baremetal
289 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
295 basedir: src/lttng-tools
297 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
303 basedir: src/lttng-modules
305 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
316 recipients: '{obj:email_to}'
317 reply-to: ci-notification@lists.lttng.org
326 second-failure: false
331 fixed-unhealthy: true
332 still-unstable: false
334 matrix-trigger: only-parent
339 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
341 - project: "build_kernel_PARAM"
342 property-file: 'properties.txt'
345 properties-file: properties.txt
346 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
350 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
351 defaults: baremetal_benchmarks
353 name: vm_tests_k{kversion}_l{lttngversion}
356 name: baremetal_tests_k{kversion}_l{lttngversion}
357 defaults: baremetal_tests
360 # Canary jobs are made to confirm that the whole Lava pipeline is working.
361 # They are scheduled once a day always on the same (LTTng, Kernel) code. If any
362 # of those jobs fails, it means that there is an issue with the configuration
364 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
365 defaults: baremetal_tests
367 - timed: "0 1 * * 1-5"
369 name: vm_tests_k{kversion}_l{lttngversion}_canary
372 - timed: "0 1 * * 1-5"
374 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
375 defaults: baremetal_benchmarks
377 - timed: "0 1 * * 1-5"
379 name: vm_tests_kmainline_l{lttngversion}
380 defaults: vm_tests_kmainline
383 name: vm_tests_fuzzing_kmainline_l{lttngversion}
384 defaults: vm_tests_kmainline
387 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
389 - project: "build_kernel_PARAM"
390 property-file: 'properties.txt'
393 properties-file: properties.txt
394 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-fuzzing-tests.sh
397 name: baremetal_tests_kmainline_l{lttngversion}
398 defaults: baremetal_tests
408 - credentials-binding:
410 credential-id: jenkins_lava_key
411 variable: LAVA_JENKINS_TOKEN
413 properties-content: |
414 TOOLS_BRANCH={lttngversion}
415 MODULES_BRANCH={lttngversion}
416 UST_BRANCH={lttngversion}
417 BUILD_DEVICE=baremetal
421 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
427 basedir: src/lttng-tools
429 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
435 basedir: src/lttng-modules
437 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
438 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
446 name: baremetal_benchmarks_kmainline_l{lttngversion}
447 defaults: baremetal_benchmarks
457 - credentials-binding:
459 credential-id: jenkins_lava_key
460 variable: LAVA_JENKINS_TOKEN
462 credential-id: system_tests_storage_key
463 variable: identity_file
465 properties-content: |
466 TOOLS_BRANCH={lttngversion}
467 MODULES_BRANCH={lttngversion}
468 UST_BRANCH={lttngversion}
469 BUILD_DEVICE=baremetal
473 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
479 basedir: src/lttng-tools
481 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
487 basedir: src/lttng-modules
489 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
490 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
498 name: build_kernel_PARAM
500 Builds a Linux Kernel and LTTng Modules if necessary
512 - credentials-binding:
514 credential-id: system_tests_storage_key
515 variable: identity_file
518 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
520 properties-file: properties.txt
521 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
525 condition-kind: file-exists
526 condition-filename: kernel-built.txt
527 condition-basedir: workspace
529 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
533 condition-kind: file-exists
534 condition-filename: modules-built.txt
535 condition-basedir: workspace
537 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
541 name: 'LTTNG_MODULES_COMMIT_ID'
542 description: 'The lttng-modules commmit to build.'
544 name: 'LTTNG_MODULES_REPO'
545 description: 'The LTTng Modules git repo to fetch from'
546 default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git'
548 name: 'KERNEL_COMMIT_ID'
549 description: 'The kernel commit to build.'
552 description: 'The kernel git repo to fetch from'
554 name: 'STORAGE_KERNEL_FOLDER'
555 description: 'Path to store the Kernel image'
557 name: 'STORAGE_KERNEL_IMAGE'
558 description: 'Path to store the Kernel IMAGE'
560 name: 'STORAGE_LINUX_MODULES'
561 description: 'Path to store the Kernel Modules'
563 name: 'STORAGE_LTTNG_MODULES'
564 description: 'Path to store the LTTng Modules'
567 description: 'The target device. (kvm or baremetal)'
575 name: lttng-kernel-tests
576 email_to: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com'
586 - 'vm_tests_k{kversion}_l{lttngversion}'
587 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
588 - 'baremetal_tests_k{kversion}_l{lttngversion}'
591 name: lttng-kernel-tests-oldkernel
592 email_to: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com'
599 - 'vm_tests_k{kversion}_l{lttngversion}':
600 - 'baremetal_tests_k{kversion}_l{lttngversion}':
601 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
604 name: lttng-kernel-tests-canary
605 email_to: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com'
611 - 'vm_tests_k{kversion}_l{lttngversion}_canary'
612 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
613 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
616 name: lttng-kernel-tests-mainline
619 email_to: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com'
621 - 'vm_tests_kmainline_l{lttngversion}'
622 - 'vm_tests_fuzzing_kmainline_l{lttngversion}'
623 - 'baremetal_tests_kmainline_l{lttngversion}'
624 - 'baremetal_benchmarks_kmainline_l{lttngversion}'