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
256 name: vm_tests_k{kversion}_l{lttngversion}_canary
261 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
262 defaults: baremetal_benchmarks
267 name: vm_tests_kmainline_l{lttngversion}
274 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
280 basedir: src/lttng-tools
282 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
288 basedir: src/lttng-modules
290 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
291 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
298 name: baremetal_tests_kmainline_l{lttngversion}
299 defaults: baremetal_tests
305 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
311 basedir: src/lttng-tools
313 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
319 basedir: src/lttng-modules
321 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
322 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
329 name: baremetal_benchmarks_kmainline_l{lttngversion}
330 defaults: baremetal_benchmarks
336 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
342 basedir: src/lttng-tools
344 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
350 basedir: src/lttng-modules
352 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
353 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
360 name: build_kernel_PARAM
362 Builds a Linux Kernel and LTTng Modules if necessary
374 - credentials-binding:
376 credential-id: system_tests_storage_key
377 variable: identity_file
379 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
381 properties-file: properties.txt
382 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
386 condition-kind: file-exists
387 condition-filename: kernel-built.txt
388 condition-basedir: workspace
390 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
394 condition-kind: file-exists
395 condition-filename: modules-built.txt
396 condition-basedir: workspace
398 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
402 name: 'LTTNG_MODULES_COMMIT_ID'
403 description: 'The lttng-modules commmit to build.'
405 name: 'KERNEL_COMMIT_ID'
406 description: 'The kernel commit to build.'
409 description: 'The kernel git repo to fetch from'
411 name: 'STORAGE_KERNEL_FOLDER'
412 description: 'Path to store the Kernel image'
414 name: 'STORAGE_KERNEL_IMAGE'
415 description: 'Path to store the Kernel IMAGE'
417 name: 'STORAGE_LINUX_MODULES'
418 description: 'Path to store the Kernel Modules'
420 name: 'STORAGE_LTTNG_MODULES'
421 description: 'Path to store the LTTng Modules'
424 description: 'The target device. (kvm or baremetal)'
430 name: lttng-kernel-tests
440 - 'vm_tests_k{kversion}_l{lttngversion}'
441 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
442 - 'baremetal_tests_k{kversion}_l{lttngversion}'
445 name: lttng-kernel-tests-oldkernel
452 - 'vm_tests_k{kversion}_l{lttngversion}':
453 - 'baremetal_tests_k{kversion}_l{lttngversion}':
454 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
457 name: lttng-kernel-tests-canary
463 - 'vm_tests_k{kversion}_l{lttngversion}_canary'
464 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
465 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
468 name: lttng-kernel-tests-mainline
472 - 'vm_tests_kmainline_l{lttngversion}'
473 - 'baremetal_tests_kmainline_l{lttngversion}'
474 - 'baremetal_benchmarks_kmainline_l{lttngversion}'