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
30 TOOLS_BRANCH={lttngversion}
31 UST_BRANCH={lttngversion}
32 BUILD_DEVICE=baremetal
35 artifacts: '*.png,*.csv'
37 do-not-fingerprint: true
39 recipients: 'francis.deslauriers@efficios.com'
41 - gallery-type: archived-images-gallery
47 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
53 basedir: src/lttng-tools
55 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
61 basedir: src/lttng-modules
63 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
72 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
74 - project: "build_kernel_PARAM"
75 property-file: 'properties.txt'
78 properties-file: properties.txt
79 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
80 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/summarize-results.sh
85 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
86 project-type: freestyle
104 - credentials-binding:
106 credential-id: jenkins_lava_key
107 variable: LAVA_JENKINS_TOKEN
109 properties-content: |
111 TOOLS_BRANCH={lttngversion}
112 UST_BRANCH={lttngversion}
115 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
121 basedir: src/lttng-tools
123 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
129 basedir: src/lttng-modules
131 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
141 recipients: 'francis.deslauriers@efficios.com'
143 strategy: new-failure-and-fixed
149 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
151 - project: "build_kernel_PARAM"
152 property-file: 'properties.txt'
155 properties-file: properties.txt
156 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-tests.sh
159 name: baremetal_tests
161 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
162 project-type: freestyle
180 - credentials-binding:
182 credential-id: jenkins_lava_key
183 variable: LAVA_JENKINS_TOKEN
185 properties-content: |
186 UST_BRANCH={lttngversion}
187 BUILD_DEVICE=baremetal
190 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
196 basedir: src/lttng-tools
198 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
204 basedir: src/lttng-modules
206 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
216 recipients: 'francis.deslauriers@efficios.com'
218 strategy: new-failure-and-fixed
224 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
226 - project: "build_kernel_PARAM"
227 property-file: 'properties.txt'
230 properties-file: properties.txt
231 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
234 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
235 defaults: baremetal_benchmarks
237 name: vm_tests_k{kversion}_l{lttngversion}
240 name: baremetal_tests_k{kversion}_l{lttngversion}
241 defaults: baremetal_tests
243 # Canary jobs are made to confirm that the whole Lava pipeline is working.
244 # They are scheduled once a day always on the same (LTTng, Kernel) code. If any
245 # of those jobs fails, it means that there is an issue with the configuration
247 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
248 defaults: baremetal_tests
252 name: vm_tests_k{kversion}_l{lttngversion}_canary
257 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
258 defaults: baremetal_benchmarks
263 name: vm_tests_kmainline_l{lttngversion}
270 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
276 basedir: src/lttng-tools
278 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
284 basedir: src/lttng-modules
286 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
287 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
294 name: baremetal_tests_kmainline_l{lttngversion}
295 defaults: baremetal_tests
301 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
307 basedir: src/lttng-tools
309 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
315 basedir: src/lttng-modules
317 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
318 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
325 name: baremetal_benchmarks_kmainline_l{lttngversion}
326 defaults: baremetal_benchmarks
332 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
338 basedir: src/lttng-tools
340 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
346 basedir: src/lttng-modules
348 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
349 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
356 name: build_kernel_PARAM
358 Builds a Linux Kernel and LTTng Modules if necessary
370 - credentials-binding:
372 credential-id: lava_jenkins_storage_frdeso
373 variable: identity_file
375 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
377 properties-file: properties.txt
378 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
382 condition-kind: file-exists
383 condition-filename: kernel-built.txt
384 condition-basedir: workspace
386 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
390 condition-kind: file-exists
391 condition-filename: modules-built.txt
392 condition-basedir: workspace
394 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
398 name: 'LTTNG_MODULES_COMMIT_ID'
399 description: 'The lttng-modules commmit to build.'
401 name: 'KERNEL_COMMIT_ID'
402 description: 'The kernel commit to build.'
405 description: 'The kernel git repo to fetch from'
407 name: 'STORAGE_KERNEL_FOLDER'
408 description: 'Path to store the Kernel image'
410 name: 'STORAGE_KERNEL_IMAGE'
411 description: 'Path to store the Kernel IMAGE'
413 name: 'STORAGE_LINUX_MODULES'
414 description: 'Path to store the Kernel Modules'
416 name: 'STORAGE_LTTNG_MODULES'
417 description: 'Path to store the LTTng Modules'
420 description: 'The target device. (kvm or baremetal)'
426 name: lttng-kernel-tests
436 - 'vm_tests_k{kversion}_l{lttngversion}'
437 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
438 - 'baremetal_tests_k{kversion}_l{lttngversion}'
441 name: lttng-kernel-tests-oldkernel
448 - 'vm_tests_k{kversion}_l{lttngversion}':
449 - 'baremetal_tests_k{kversion}_l{lttngversion}':
450 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
453 name: lttng-kernel-tests-canary
459 - 'vm_tests_k{kversion}_l{lttngversion}_canary'
460 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
461 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
464 name: lttng-kernel-tests-mainline
468 - 'vm_tests_kmainline_l{lttngversion}'
469 - 'baremetal_tests_kmainline_l{lttngversion}'
470 - 'baremetal_benchmarks_kmainline_l{lttngversion}'