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: baremetal_tests
166 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
167 project-type: freestyle
185 - credentials-binding:
187 credential-id: jenkins_lava_key
188 variable: LAVA_JENKINS_TOKEN
190 properties-content: |
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/stable/linux-stable.git
221 recipients: 'francis.deslauriers@efficios.com'
223 strategy: new-failure-and-fixed
224 message-type: summary
230 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
232 - project: "build_kernel_PARAM"
233 property-file: 'properties.txt'
236 properties-file: properties.txt
237 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
240 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
241 defaults: baremetal_benchmarks
243 name: vm_tests_k{kversion}_l{lttngversion}
246 name: baremetal_tests_k{kversion}_l{lttngversion}
247 defaults: baremetal_tests
249 # Canary jobs are made to confirm that the whole Lava pipeline is working.
250 # They are scheduled once a day always on the same (LTTng, Kernel) code. If any
251 # of those jobs fails, it means that there is an issue with the configuration
253 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
254 defaults: baremetal_tests
256 - timed: "0 1 * * 1-5"
258 name: vm_tests_k{kversion}_l{lttngversion}_canary
261 - timed: "0 1 * * 1-5"
263 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
264 defaults: baremetal_benchmarks
266 - timed: "0 1 * * 1-5"
269 name: vm_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
278 - credentials-binding:
280 credential-id: jenkins_lava_key
281 variable: LAVA_JENKINS_TOKEN
283 properties-content: |
284 TOOLS_BRANCH={toolsversion}
285 MODULES_BRANCH={modulesversion}
286 UST_BRANCH={ustversion}
287 BUILD_DEVICE=baremetal
290 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
296 basedir: src/lttng-tools
298 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
304 basedir: src/lttng-modules
306 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
307 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
314 name: baremetal_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
315 defaults: baremetal_tests
323 - credentials-binding:
325 credential-id: jenkins_lava_key
326 variable: LAVA_JENKINS_TOKEN
328 properties-content: |
329 TOOLS_BRANCH={toolsversion}
330 MODULES_BRANCH={modulesversion}
331 UST_BRANCH={ustversion}
332 BUILD_DEVICE=baremetal
335 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
341 basedir: src/lttng-tools
343 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
349 basedir: src/lttng-modules
351 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
352 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
358 name: baremetal_benchmarks_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}
359 defaults: baremetal_benchmarks
367 - credentials-binding:
369 credential-id: jenkins_lava_key
370 variable: LAVA_JENKINS_TOKEN
372 credential-id: system_tests_storage_key
373 variable: identity_file
375 properties-content: |
376 TOOLS_BRANCH={toolsversion}
377 MODULES_BRANCH={modulesversion}
378 UST_BRANCH={ustversion}
379 BUILD_DEVICE=baremetal
382 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
388 basedir: src/lttng-tools
390 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
396 basedir: src/lttng-modules
398 url: git://git-mirror.internal.efficios.com/kernel/torvalds/linux.git
399 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
406 name: build_kernel_PARAM
408 Builds a Linux Kernel and LTTng Modules if necessary
420 - credentials-binding:
422 credential-id: system_tests_storage_key
423 variable: identity_file
425 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
427 properties-file: properties.txt
428 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
432 condition-kind: file-exists
433 condition-filename: kernel-built.txt
434 condition-basedir: workspace
436 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
440 condition-kind: file-exists
441 condition-filename: modules-built.txt
442 condition-basedir: workspace
444 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
448 name: 'LTTNG_MODULES_COMMIT_ID'
449 description: 'The lttng-modules commmit to build.'
451 name: 'LTTNG_MODULES_REPO'
452 description: 'The LTTng Modules git repo to fetch from'
453 default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git'
455 name: 'KERNEL_COMMIT_ID'
456 description: 'The kernel commit to build.'
459 description: 'The kernel git repo to fetch from'
461 name: 'STORAGE_KERNEL_FOLDER'
462 description: 'Path to store the Kernel image'
464 name: 'STORAGE_KERNEL_IMAGE'
465 description: 'Path to store the Kernel IMAGE'
467 name: 'STORAGE_LINUX_MODULES'
468 description: 'Path to store the Kernel Modules'
470 name: 'STORAGE_LTTNG_MODULES'
471 description: 'Path to store the LTTng Modules'
474 description: 'The target device. (kvm or baremetal)'
480 name: lttng-kernel-tests
490 - 'vm_tests_k{kversion}_l{lttngversion}'
491 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
492 - 'baremetal_tests_k{kversion}_l{lttngversion}'
495 name: lttng-kernel-tests-oldkernel
502 - 'vm_tests_k{kversion}_l{lttngversion}':
503 - 'baremetal_tests_k{kversion}_l{lttngversion}':
504 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
507 name: lttng-kernel-tests-canary
513 - 'vm_tests_k{kversion}_l{lttngversion}_canary'
514 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
515 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
518 name: lttng-kernel-tests-mainline
526 - 'vm_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'
527 - 'baremetal_tests_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'
528 - 'baremetal_benchmarks_kmainline_t{toolsversion}_m{modulesversion}_u{ustversion}'