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
83 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
84 project-type: freestyle
102 - credentials-binding:
104 credential-id: jenkins_lava_key
105 variable: LAVA_JENKINS_TOKEN
107 properties-content: |
109 TOOLS_BRANCH={lttngversion}
110 UST_BRANCH={lttngversion}
113 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
119 basedir: src/lttng-tools
121 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
127 basedir: src/lttng-modules
129 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
139 recipients: 'francis.deslauriers@efficios.com'
141 strategy: new-failure-and-fixed
146 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
148 - project: "build_kernel_PARAM"
149 property-file: 'properties.txt'
152 properties-file: properties.txt
153 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-tests.sh
156 name: baremetal_tests
158 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
159 project-type: freestyle
177 - credentials-binding:
179 credential-id: jenkins_lava_key
180 variable: LAVA_JENKINS_TOKEN
182 properties-content: |
183 UST_BRANCH={lttngversion}
184 BUILD_DEVICE=baremetal
187 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
193 basedir: src/lttng-tools
195 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
201 basedir: src/lttng-modules
203 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
213 recipients: 'francis.deslauriers@efficios.com'
215 strategy: new-failure-and-fixed
219 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
221 - project: "build_kernel_PARAM"
222 property-file: 'properties.txt'
225 properties-file: properties.txt
226 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
229 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
230 defaults: baremetal_benchmarks
232 name: kvm_tests_k{kversion}_l{lttngversion}
235 name: baremetal_tests_k{kversion}_l{lttngversion}
236 defaults: baremetal_tests
239 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
240 defaults: baremetal_tests
242 name: kvm_tests_k{kversion}_l{lttngversion}_canary
245 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
246 defaults: baremetal_benchmarks
249 name: kvm_tests_kmainline_l{lttngversion}
256 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
262 basedir: src/lttng-tools
264 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
270 basedir: src/lttng-modules
272 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
273 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
280 name: baremetal_tests_kmainline_l{lttngversion}
281 defaults: baremetal_tests
287 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
293 basedir: src/lttng-tools
295 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
301 basedir: src/lttng-modules
303 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
304 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
311 name: baremetal_benchmarks_kmainline_l{lttngversion}
312 defaults: baremetal_benchmarks
318 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
324 basedir: src/lttng-tools
326 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
332 basedir: src/lttng-modules
334 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
335 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
342 name: build_kernel_PARAM
344 Builds a Linux Kernel and LTTng Modules if necessary
356 - credentials-binding:
358 credential-id: lava_jenkins_storage_frdeso
359 variable: identity_file
361 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
363 properties-file: properties.txt
364 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
368 condition-kind: file-exists
369 condition-filename: kernel-built.txt
370 condition-basedir: workspace
372 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
376 condition-kind: file-exists
377 condition-filename: modules-built.txt
378 condition-basedir: workspace
380 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
384 name: 'LTTNG_MODULES_COMMIT_ID'
385 description: 'The lttng-modules commmit to build.'
387 name: 'KERNEL_COMMIT_ID'
388 description: 'The kernel commit to build.'
391 description: 'The kernel git repo to fetch from'
393 name: 'STORAGE_KERNEL_FOLDER'
394 description: 'Path to store the Kernel image'
396 name: 'STORAGE_KERNEL_IMAGE'
397 description: 'Path to store the Kernel IMAGE'
399 name: 'STORAGE_LINUX_MODULES'
400 description: 'Path to store the Kernel Modules'
402 name: 'STORAGE_LTTNG_MODULES'
403 description: 'Path to store the LTTng Modules'
406 description: 'The target device. (kvm or baremetal)'
410 name: lttng-kernel-tests
420 - 'kvm_tests_k{kversion}_l{lttngversion}'
421 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
422 - 'baremetal_tests_k{kversion}_l{lttngversion}'
425 name: lttng-kernel-tests-oldkernel
432 - 'kvm_tests_k{kversion}_l{lttngversion}':
433 - 'baremetal_tests_k{kversion}_l{lttngversion}':
434 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
437 name: lttng-kernel-tests-canary
443 - 'kvm_tests_k{kversion}_l{lttngversion}_canary'
444 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
445 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
448 name: lttng-kernel-tests-mainline
452 - 'kvm_tests_kmainline_l{lttngversion}'
453 - 'baremetal_tests_kmainline_l{lttngversion}'
454 - 'baremetal_benchmarks_kmainline_l{lttngversion}'