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
46 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
52 basedir: src/lttng-tools
54 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
60 basedir: src/lttng-modules
62 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
71 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
73 - project: "build_kernel_PARAM"
74 property-file: 'properties.txt'
77 properties-file: properties.txt
78 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
79 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/summarize-results.sh
84 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
85 project-type: freestyle
103 - credentials-binding:
105 credential-id: jenkins_lava_key
106 variable: LAVA_JENKINS_TOKEN
108 properties-content: |
110 TOOLS_BRANCH={lttngversion}
111 UST_BRANCH={lttngversion}
114 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
120 basedir: src/lttng-tools
122 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
128 basedir: src/lttng-modules
130 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
140 recipients: 'francis.deslauriers@efficios.com'
142 strategy: new-failure-and-fixed
147 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
149 - project: "build_kernel_PARAM"
150 property-file: 'properties.txt'
153 properties-file: properties.txt
154 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-tests.sh
157 name: baremetal_tests
159 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
160 project-type: freestyle
178 - credentials-binding:
180 credential-id: jenkins_lava_key
181 variable: LAVA_JENKINS_TOKEN
183 properties-content: |
184 UST_BRANCH={lttngversion}
185 BUILD_DEVICE=baremetal
188 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
194 basedir: src/lttng-tools
196 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
202 basedir: src/lttng-modules
204 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
214 recipients: 'francis.deslauriers@efficios.com'
216 strategy: new-failure-and-fixed
220 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
222 - project: "build_kernel_PARAM"
223 property-file: 'properties.txt'
226 properties-file: properties.txt
227 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
230 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
231 defaults: baremetal_benchmarks
233 name: vm_tests_k{kversion}_l{lttngversion}
236 name: baremetal_tests_k{kversion}_l{lttngversion}
237 defaults: baremetal_tests
239 # Canary jobs are made to confirm that the whole Lava pipeline is working.
240 # They are scheduled once a day always on the same (LTTng, Kernel) code. If any
241 # of those jobs fails, it means that there is an issue with the configuration
243 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
244 defaults: baremetal_tests
248 name: vm_tests_k{kversion}_l{lttngversion}_canary
253 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
254 defaults: baremetal_benchmarks
259 name: vm_tests_kmainline_l{lttngversion}
266 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
272 basedir: src/lttng-tools
274 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
280 basedir: src/lttng-modules
282 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
283 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
290 name: baremetal_tests_kmainline_l{lttngversion}
291 defaults: baremetal_tests
297 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
303 basedir: src/lttng-tools
305 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
311 basedir: src/lttng-modules
313 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
314 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
321 name: baremetal_benchmarks_kmainline_l{lttngversion}
322 defaults: baremetal_benchmarks
328 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
334 basedir: src/lttng-tools
336 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
342 basedir: src/lttng-modules
344 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
345 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
352 name: build_kernel_PARAM
354 Builds a Linux Kernel and LTTng Modules if necessary
366 - credentials-binding:
368 credential-id: lava_jenkins_storage_frdeso
369 variable: identity_file
371 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
373 properties-file: properties.txt
374 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
378 condition-kind: file-exists
379 condition-filename: kernel-built.txt
380 condition-basedir: workspace
382 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
386 condition-kind: file-exists
387 condition-filename: modules-built.txt
388 condition-basedir: workspace
390 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
394 name: 'LTTNG_MODULES_COMMIT_ID'
395 description: 'The lttng-modules commmit to build.'
397 name: 'KERNEL_COMMIT_ID'
398 description: 'The kernel commit to build.'
401 description: 'The kernel git repo to fetch from'
403 name: 'STORAGE_KERNEL_FOLDER'
404 description: 'Path to store the Kernel image'
406 name: 'STORAGE_KERNEL_IMAGE'
407 description: 'Path to store the Kernel IMAGE'
409 name: 'STORAGE_LINUX_MODULES'
410 description: 'Path to store the Kernel Modules'
412 name: 'STORAGE_LTTNG_MODULES'
413 description: 'Path to store the LTTng Modules'
416 description: 'The target device. (kvm or baremetal)'
420 name: lttng-kernel-tests
430 - 'vm_tests_k{kversion}_l{lttngversion}'
431 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
432 - 'baremetal_tests_k{kversion}_l{lttngversion}'
435 name: lttng-kernel-tests-oldkernel
442 - 'vm_tests_k{kversion}_l{lttngversion}':
443 - 'baremetal_tests_k{kversion}_l{lttngversion}':
444 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
447 name: lttng-kernel-tests-canary
453 - 'vm_tests_k{kversion}_l{lttngversion}_canary'
454 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
455 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
458 name: lttng-kernel-tests-mainline
462 - 'vm_tests_kmainline_l{lttngversion}'
463 - 'baremetal_tests_kmainline_l{lttngversion}'
464 - 'baremetal_benchmarks_kmainline_l{lttngversion}'