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
77 - project: "build_kernel_PARAM"
78 property-file: 'properties.txt'
81 properties-file: properties.txt
82 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
83 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/summarize-results.sh
88 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
89 project-type: freestyle
107 - credentials-binding:
109 credential-id: jenkins_lava_key
110 variable: LAVA_JENKINS_TOKEN
112 properties-content: |
114 TOOLS_BRANCH={lttngversion}
115 UST_BRANCH={lttngversion}
118 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
124 basedir: src/lttng-tools
126 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
132 basedir: src/lttng-modules
134 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
144 recipients: 'francis.deslauriers@efficios.com'
146 strategy: new-failure-and-fixed
152 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
154 - project: "build_kernel_PARAM"
155 property-file: 'properties.txt'
158 properties-file: properties.txt
159 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-tests.sh
162 name: baremetal_tests
164 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
165 project-type: freestyle
183 - credentials-binding:
185 credential-id: jenkins_lava_key
186 variable: LAVA_JENKINS_TOKEN
188 properties-content: |
189 UST_BRANCH={lttngversion}
190 BUILD_DEVICE=baremetal
193 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
199 basedir: src/lttng-tools
201 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
207 basedir: src/lttng-modules
209 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
219 recipients: 'francis.deslauriers@efficios.com'
221 strategy: new-failure-and-fixed
227 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
229 - project: "build_kernel_PARAM"
230 property-file: 'properties.txt'
233 properties-file: properties.txt
234 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
237 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
238 defaults: baremetal_benchmarks
240 name: vm_tests_k{kversion}_l{lttngversion}
243 name: baremetal_tests_k{kversion}_l{lttngversion}
244 defaults: baremetal_tests
246 # Canary jobs are made to confirm that the whole Lava pipeline is working.
247 # They are scheduled once a day always on the same (LTTng, Kernel) code. If any
248 # of those jobs fails, it means that there is an issue with the configuration
250 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
251 defaults: baremetal_tests
255 name: vm_tests_k{kversion}_l{lttngversion}_canary
260 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
261 defaults: baremetal_benchmarks
266 name: vm_tests_kmainline_l{lttngversion}
273 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
279 basedir: src/lttng-tools
281 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
287 basedir: src/lttng-modules
289 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
290 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
297 name: baremetal_tests_kmainline_l{lttngversion}
298 defaults: baremetal_tests
304 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
310 basedir: src/lttng-tools
312 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
318 basedir: src/lttng-modules
320 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
321 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
328 name: baremetal_benchmarks_kmainline_l{lttngversion}
329 defaults: baremetal_benchmarks
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/stable/linux-stable.git
352 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
359 name: build_kernel_PARAM
361 Builds a Linux Kernel and LTTng Modules if necessary
373 - credentials-binding:
375 credential-id: system_tests_storage_key
376 variable: identity_file
378 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
380 properties-file: properties.txt
381 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
385 condition-kind: file-exists
386 condition-filename: kernel-built.txt
387 condition-basedir: workspace
389 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
393 condition-kind: file-exists
394 condition-filename: modules-built.txt
395 condition-basedir: workspace
397 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
401 name: 'LTTNG_MODULES_COMMIT_ID'
402 description: 'The lttng-modules commmit to build.'
404 name: 'KERNEL_COMMIT_ID'
405 description: 'The kernel commit to build.'
408 description: 'The kernel git repo to fetch from'
410 name: 'STORAGE_KERNEL_FOLDER'
411 description: 'Path to store the Kernel image'
413 name: 'STORAGE_KERNEL_IMAGE'
414 description: 'Path to store the Kernel IMAGE'
416 name: 'STORAGE_LINUX_MODULES'
417 description: 'Path to store the Kernel Modules'
419 name: 'STORAGE_LTTNG_MODULES'
420 description: 'Path to store the LTTng Modules'
423 description: 'The target device. (kvm or baremetal)'
429 name: lttng-kernel-tests
439 - 'vm_tests_k{kversion}_l{lttngversion}'
440 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
441 - 'baremetal_tests_k{kversion}_l{lttngversion}'
444 name: lttng-kernel-tests-oldkernel
451 - 'vm_tests_k{kversion}_l{lttngversion}':
452 - 'baremetal_tests_k{kversion}_l{lttngversion}':
453 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
456 name: lttng-kernel-tests-canary
462 - 'vm_tests_k{kversion}_l{lttngversion}_canary'
463 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
464 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
467 name: lttng-kernel-tests-mainline
471 - 'vm_tests_kmainline_l{lttngversion}'
472 - 'baremetal_tests_kmainline_l{lttngversion}'
473 - 'baremetal_benchmarks_kmainline_l{lttngversion}'