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: 'francis.deslauriers@efficios.com'
46 - gallery-type: archived-images-gallery
53 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
59 basedir: src/lttng-tools
61 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
67 basedir: src/lttng-modules
69 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
78 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
79 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/inject-ssh-commands.sh
81 - project: "build_kernel_PARAM"
82 property-file: 'properties.txt'
85 properties-file: properties.txt
86 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
87 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/summarize-results.sh
93 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
94 project-type: freestyle
114 - credentials-binding:
116 credential-id: jenkins_lava_key
117 variable: LAVA_JENKINS_TOKEN
119 properties-content: |
121 TOOLS_BRANCH={lttngversion}
122 UST_BRANCH={lttngversion}
126 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
132 basedir: src/lttng-tools
134 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
140 basedir: src/lttng-modules
142 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
152 recipients: 'francis.deslauriers@efficios.com'
154 strategy: new-failure-and-fixed
155 message-type: summary
161 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
163 - project: "build_kernel_PARAM"
164 property-file: 'properties.txt'
167 properties-file: properties.txt
168 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-tests.sh
172 name: vm_tests_kmainline
183 - credentials-binding:
185 credential-id: jenkins_lava_key
186 variable: LAVA_JENKINS_TOKEN
188 properties-content: |
189 TOOLS_BRANCH={lttngversion}
190 MODULES_BRANCH={lttngversion}
191 UST_BRANCH={lttngversion}
192 BUILD_DEVICE=baremetal
195 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
201 basedir: src/lttng-tools
203 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
209 basedir: src/lttng-modules
211 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
212 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
220 name: baremetal_tests
222 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
223 project-type: freestyle
243 - credentials-binding:
245 credential-id: jenkins_lava_key
246 variable: LAVA_JENKINS_TOKEN
248 properties-content: |
249 UST_BRANCH={lttngversion}
250 BUILD_DEVICE=baremetal
254 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
260 basedir: src/lttng-tools
262 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
268 basedir: src/lttng-modules
270 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
280 recipients: 'francis.deslauriers@efficios.com'
282 strategy: new-failure-and-fixed
283 message-type: summary
289 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
291 - project: "build_kernel_PARAM"
292 property-file: 'properties.txt'
295 properties-file: properties.txt
296 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
300 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
301 defaults: baremetal_benchmarks
303 name: vm_tests_k{kversion}_l{lttngversion}
306 name: baremetal_tests_k{kversion}_l{lttngversion}
307 defaults: baremetal_tests
310 # Canary jobs are made to confirm that the whole Lava pipeline is working.
311 # They are scheduled once a day always on the same (LTTng, Kernel) code. If any
312 # of those jobs fails, it means that there is an issue with the configuration
314 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
315 defaults: baremetal_tests
317 - timed: "0 1 * * 1-5"
319 name: vm_tests_k{kversion}_l{lttngversion}_canary
322 - timed: "0 1 * * 1-5"
324 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
325 defaults: baremetal_benchmarks
327 - timed: "0 1 * * 1-5"
329 name: vm_tests_kmainline_l{lttngversion}
330 defaults: vm_tests_kmainline
333 name: vm_tests_fuzzing_kmainline_l{lttngversion}
334 defaults: vm_tests_kmainline
337 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
339 - project: "build_kernel_PARAM"
340 property-file: 'properties.txt'
343 properties-file: properties.txt
344 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-fuzzing-tests.sh
347 name: baremetal_tests_kmainline_l{lttngversion}
348 defaults: baremetal_tests
358 - credentials-binding:
360 credential-id: jenkins_lava_key
361 variable: LAVA_JENKINS_TOKEN
363 properties-content: |
364 TOOLS_BRANCH={lttngversion}
365 MODULES_BRANCH={lttngversion}
366 UST_BRANCH={lttngversion}
367 BUILD_DEVICE=baremetal
371 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
377 basedir: src/lttng-tools
379 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
385 basedir: src/lttng-modules
387 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
388 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
396 name: baremetal_benchmarks_kmainline_l{lttngversion}
397 defaults: baremetal_benchmarks
407 - credentials-binding:
409 credential-id: jenkins_lava_key
410 variable: LAVA_JENKINS_TOKEN
412 credential-id: system_tests_storage_key
413 variable: identity_file
415 properties-content: |
416 TOOLS_BRANCH={lttngversion}
417 MODULES_BRANCH={lttngversion}
418 UST_BRANCH={lttngversion}
419 BUILD_DEVICE=baremetal
423 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
429 basedir: src/lttng-tools
431 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
437 basedir: src/lttng-modules
439 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
440 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
448 name: build_kernel_PARAM
450 Builds a Linux Kernel and LTTng Modules if necessary
462 - credentials-binding:
464 credential-id: system_tests_storage_key
465 variable: identity_file
468 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
470 properties-file: properties.txt
471 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
475 condition-kind: file-exists
476 condition-filename: kernel-built.txt
477 condition-basedir: workspace
479 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
483 condition-kind: file-exists
484 condition-filename: modules-built.txt
485 condition-basedir: workspace
487 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
491 name: 'LTTNG_MODULES_COMMIT_ID'
492 description: 'The lttng-modules commmit to build.'
494 name: 'LTTNG_MODULES_REPO'
495 description: 'The LTTng Modules git repo to fetch from'
496 default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git'
498 name: 'KERNEL_COMMIT_ID'
499 description: 'The kernel commit to build.'
502 description: 'The kernel git repo to fetch from'
504 name: 'STORAGE_KERNEL_FOLDER'
505 description: 'Path to store the Kernel image'
507 name: 'STORAGE_KERNEL_IMAGE'
508 description: 'Path to store the Kernel IMAGE'
510 name: 'STORAGE_LINUX_MODULES'
511 description: 'Path to store the Kernel Modules'
513 name: 'STORAGE_LTTNG_MODULES'
514 description: 'Path to store the LTTng Modules'
517 description: 'The target device. (kvm or baremetal)'
525 name: lttng-kernel-tests
535 - 'vm_tests_k{kversion}_l{lttngversion}'
536 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
537 - 'baremetal_tests_k{kversion}_l{lttngversion}'
540 name: lttng-kernel-tests-oldkernel
547 - 'vm_tests_k{kversion}_l{lttngversion}':
548 - 'baremetal_tests_k{kversion}_l{lttngversion}':
549 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
552 name: lttng-kernel-tests-canary
558 - 'vm_tests_k{kversion}_l{lttngversion}_canary'
559 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
560 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
563 name: lttng-kernel-tests-mainline
567 - 'vm_tests_kmainline_l{lttngversion}'
568 - 'vm_tests_fuzzing_kmainline_l{lttngversion}'
569 - 'baremetal_tests_kmainline_l{lttngversion}'
570 - 'baremetal_benchmarks_kmainline_l{lttngversion}'