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
153 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
155 - project: "build_kernel_PARAM"
156 property-file: 'properties.txt'
159 properties-file: properties.txt
160 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-tests.sh
163 name: baremetal_tests
165 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
166 project-type: freestyle
184 - credentials-binding:
186 credential-id: jenkins_lava_key
187 variable: LAVA_JENKINS_TOKEN
189 properties-content: |
190 UST_BRANCH={lttngversion}
191 BUILD_DEVICE=baremetal
194 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
200 basedir: src/lttng-tools
202 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
208 basedir: src/lttng-modules
210 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
220 recipients: 'francis.deslauriers@efficios.com'
222 strategy: new-failure-and-fixed
228 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
230 - project: "build_kernel_PARAM"
231 property-file: 'properties.txt'
234 properties-file: properties.txt
235 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
238 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
239 defaults: baremetal_benchmarks
241 name: vm_tests_k{kversion}_l{lttngversion}
244 name: baremetal_tests_k{kversion}_l{lttngversion}
245 defaults: baremetal_tests
247 # Canary jobs are made to confirm that the whole Lava pipeline is working.
248 # They are scheduled once a day always on the same (LTTng, Kernel) code. If any
249 # of those jobs fails, it means that there is an issue with the configuration
251 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
252 defaults: baremetal_tests
254 - timed: "0 1 * * 1-5"
256 name: vm_tests_k{kversion}_l{lttngversion}_canary
259 - timed: "0 1 * * 1-5"
261 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
262 defaults: baremetal_benchmarks
264 - timed: "0 1 * * 1-5"
267 name: vm_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
276 - credentials-binding:
278 credential-id: jenkins_lava_key
279 variable: LAVA_JENKINS_TOKEN
281 properties-content: |
282 TOOLS_BRANCH={toolsversion}
283 MODULES_BRANCH={modulesversion}
284 UST_BRANCH={ustversion}
285 BUILD_DEVICE=baremetal
288 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
294 basedir: src/lttng-tools
296 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
302 basedir: src/lttng-modules
304 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
305 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
312 name: baremetal_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
313 defaults: baremetal_tests
321 - credentials-binding:
323 credential-id: jenkins_lava_key
324 variable: LAVA_JENKINS_TOKEN
326 properties-content: |
327 TOOLS_BRANCH={toolsversion}
328 MODULES_BRANCH={modulesversion}
329 UST_BRANCH={ustversion}
330 BUILD_DEVICE=baremetal
333 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
339 basedir: src/lttng-tools
341 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
347 basedir: src/lttng-modules
349 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
350 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
356 name: baremetal_benchmarks_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
357 defaults: baremetal_benchmarks
365 - credentials-binding:
367 credential-id: jenkins_lava_key
368 variable: LAVA_JENKINS_TOKEN
370 credential-id: system_tests_storage_key
371 variable: identity_file
373 properties-content: |
374 TOOLS_BRANCH={toolsversion}
375 MODULES_BRANCH={modulesversion}
376 UST_BRANCH={ustversion}
377 BUILD_DEVICE=baremetal
380 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
386 basedir: src/lttng-tools
388 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
394 basedir: src/lttng-modules
396 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
397 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
404 name: build_kernel_PARAM
406 Builds a Linux Kernel and LTTng Modules if necessary
418 - credentials-binding:
420 credential-id: system_tests_storage_key
421 variable: identity_file
423 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
425 properties-file: properties.txt
426 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
430 condition-kind: file-exists
431 condition-filename: kernel-built.txt
432 condition-basedir: workspace
434 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
438 condition-kind: file-exists
439 condition-filename: modules-built.txt
440 condition-basedir: workspace
442 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
446 name: 'LTTNG_MODULES_COMMIT_ID'
447 description: 'The lttng-modules commmit to build.'
449 name: 'LTTNG_MODULES_REPO'
450 description: 'The LTTng Modules git repo to fetch from'
451 default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git'
453 name: 'KERNEL_COMMIT_ID'
454 description: 'The kernel commit to build.'
457 description: 'The kernel git repo to fetch from'
459 name: 'STORAGE_KERNEL_FOLDER'
460 description: 'Path to store the Kernel image'
462 name: 'STORAGE_KERNEL_IMAGE'
463 description: 'Path to store the Kernel IMAGE'
465 name: 'STORAGE_LINUX_MODULES'
466 description: 'Path to store the Kernel Modules'
468 name: 'STORAGE_LTTNG_MODULES'
469 description: 'Path to store the LTTng Modules'
472 description: 'The target device. (kvm or baremetal)'
478 name: lttng-kernel-tests
488 - 'vm_tests_k{kversion}_l{lttngversion}'
489 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
490 - 'baremetal_tests_k{kversion}_l{lttngversion}'
493 name: lttng-kernel-tests-oldkernel
500 - 'vm_tests_k{kversion}_l{lttngversion}':
501 - 'baremetal_tests_k{kversion}_l{lttngversion}':
502 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
505 name: lttng-kernel-tests-canary
511 - 'vm_tests_k{kversion}_l{lttngversion}_canary'
512 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
513 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
516 name: lttng-kernel-tests-mainline
524 - 'vm_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'
525 - 'baremetal_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'
526 - 'baremetal_benchmarks_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'