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_FRDESO_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
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_FRDESO_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 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
145 - project: "build_kernel_PARAM"
146 property-file: 'properties.txt'
149 properties-file: properties.txt
150 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-tests.sh
153 name: baremetal_tests
155 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
156 project-type: freestyle
174 - credentials-binding:
176 credential-id: jenkins_lava_key
177 variable: LAVA_FRDESO_TOKEN
179 properties-content: |
180 UST_BRANCH={lttngversion}
181 BUILD_DEVICE=baremetal
184 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
190 basedir: src/lttng-tools
192 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
198 basedir: src/lttng-modules
200 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
210 recipients: 'francis.deslauriers@efficios.com'
212 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
214 - project: "build_kernel_PARAM"
215 property-file: 'properties.txt'
218 properties-file: properties.txt
219 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
222 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
223 defaults: baremetal_benchmarks
225 name: kvm_tests_k{kversion}_l{lttngversion}
228 name: baremetal_tests_k{kversion}_l{lttngversion}
229 defaults: baremetal_tests
232 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
233 defaults: baremetal_tests
235 name: kvm_tests_k{kversion}_l{lttngversion}_canary
238 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
239 defaults: baremetal_benchmarks
242 name: kvm_tests_kmainline_l{lttngversion}
249 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
255 basedir: src/lttng-tools
257 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
263 basedir: src/lttng-modules
265 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
266 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
273 name: baremetal_tests_kmainline_l{lttngversion}
274 defaults: baremetal_tests
280 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
286 basedir: src/lttng-tools
288 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
294 basedir: src/lttng-modules
296 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
297 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
306 - credentials-binding:
308 credential-id: jenkins_lava_key
309 variable: LAVA_FRDESO_TOKEN
311 properties-content: |
312 BUILD_DEVICE=baremetal
314 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
316 - project: "build_kernel_PARAM"
317 property-file: 'properties.txt'
320 properties-file: properties.txt
321 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
323 name: baremetal_benchmarks_kmainline_l{lttngversion}
324 defaults: baremetal_benchmarks
330 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
336 basedir: src/lttng-tools
338 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
344 basedir: src/lttng-modules
346 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
347 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
356 - credentials-binding:
358 credential-id: jenkins_lava_key
359 variable: LAVA_FRDESO_TOKEN
361 properties-content: |
362 BUILD_DEVICE=baremetal
364 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
366 - project: "build_kernel_PARAM"
367 property-file: 'properties.txt'
370 properties-file: properties.txt
371 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
374 name: build_kernel_PARAM
376 Builds a Linux Kernel and LTTng Modules if necessary
388 - credentials-binding:
390 credential-id: lava_jenkins_storage_frdeso
391 variable: identity_file
393 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
395 properties-file: properties.txt
396 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
400 condition-kind: file-exists
401 condition-filename: kernel-built.txt
402 condition-basedir: workspace
404 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
408 condition-kind: file-exists
409 condition-filename: modules-built.txt
410 condition-basedir: workspace
412 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
416 name: 'LTTNG_MODULES_COMMIT_ID'
417 description: 'The lttng-modules commmit to build.'
419 name: 'KERNEL_COMMIT_ID'
420 description: 'The kernel commit to build.'
423 description: 'The kernel git repo to fetch from'
425 name: 'STORAGE_KERNEL_FOLDER'
426 description: 'Path to store the Kernel image'
428 name: 'STORAGE_KERNEL_IMAGE'
429 description: 'Path to store the Kernel IMAGE'
431 name: 'STORAGE_LINUX_MODULES'
432 description: 'Path to store the Kernel Modules'
434 name: 'STORAGE_LTTNG_MODULES'
435 description: 'Path to store the LTTng Modules'
438 description: 'The target device. (kvm or baremetal)'
442 name: lttng-kernel-tests
452 - 'kvm_tests_k{kversion}_l{lttngversion}'
453 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
454 - 'baremetal_tests_k{kversion}_l{lttngversion}'
457 name: lttng-kernel-tests-oldkernel
464 - 'kvm_tests_k{kversion}_l{lttngversion}':
465 - 'baremetal_tests_k{kversion}_l{lttngversion}':
466 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
469 name: lttng-kernel-tests-canary
475 - 'kvm_tests_k{kversion}_l{lttngversion}_canary'
476 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
477 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
480 name: lttng-kernel-tests-mainline
484 - 'kvm_tests_kmainline_l{lttngversion}'
485 - 'baremetal_tests_kmainline_l{lttngversion}'
486 - 'baremetal_benchmarks_kmainline_l{lttngversion}'