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
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_FRDESO_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 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
143 - project: "build_kernel_PARAM"
144 property-file: 'properties.txt'
147 properties-file: properties.txt
148 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-tests.sh
151 name: baremetal_tests
153 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
154 project-type: freestyle
172 - credentials-binding:
174 credential-id: jenkins_lava_key
175 variable: LAVA_FRDESO_TOKEN
177 properties-content: |
178 UST_BRANCH={lttngversion}
179 BUILD_DEVICE=baremetal
182 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
188 basedir: src/lttng-tools
190 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
196 basedir: src/lttng-modules
198 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
208 recipients: 'francis.deslauriers@efficios.com'
210 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
212 - project: "build_kernel_PARAM"
213 property-file: 'properties.txt'
216 properties-file: properties.txt
217 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
220 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
221 defaults: baremetal_benchmarks
223 name: kvm_tests_k{kversion}_l{lttngversion}
226 name: baremetal_tests_k{kversion}_l{lttngversion}
227 defaults: baremetal_tests
230 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
231 defaults: baremetal_tests
233 name: kvm_tests_k{kversion}_l{lttngversion}_canary
236 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
237 defaults: baremetal_benchmarks
240 name: kvm_tests_kmainline_l{lttngversion}
247 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
253 basedir: src/lttng-tools
255 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
261 basedir: src/lttng-modules
263 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
264 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
271 name: baremetal_tests_kmainline_l{lttngversion}
272 defaults: baremetal_tests
278 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
284 basedir: src/lttng-tools
286 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
292 basedir: src/lttng-modules
294 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
295 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
302 name: baremetal_benchmarks_kmainline_l{lttngversion}
303 defaults: baremetal_benchmarks
309 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
315 basedir: src/lttng-tools
317 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
323 basedir: src/lttng-modules
325 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
326 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
333 name: build_kernel_PARAM
335 Builds a Linux Kernel and LTTng Modules if necessary
347 - credentials-binding:
349 credential-id: lava_jenkins_storage_frdeso
350 variable: identity_file
352 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
354 properties-file: properties.txt
355 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
359 condition-kind: file-exists
360 condition-filename: kernel-built.txt
361 condition-basedir: workspace
363 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
367 condition-kind: file-exists
368 condition-filename: modules-built.txt
369 condition-basedir: workspace
371 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
375 name: 'LTTNG_MODULES_COMMIT_ID'
376 description: 'The lttng-modules commmit to build.'
378 name: 'KERNEL_COMMIT_ID'
379 description: 'The kernel commit to build.'
382 description: 'The kernel git repo to fetch from'
384 name: 'STORAGE_KERNEL_FOLDER'
385 description: 'Path to store the Kernel image'
387 name: 'STORAGE_KERNEL_IMAGE'
388 description: 'Path to store the Kernel IMAGE'
390 name: 'STORAGE_LINUX_MODULES'
391 description: 'Path to store the Kernel Modules'
393 name: 'STORAGE_LTTNG_MODULES'
394 description: 'Path to store the LTTng Modules'
397 description: 'The target device. (kvm or baremetal)'
401 name: lttng-kernel-tests
411 - 'kvm_tests_k{kversion}_l{lttngversion}'
412 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
413 - 'baremetal_tests_k{kversion}_l{lttngversion}'
416 name: lttng-kernel-tests-oldkernel
423 - 'kvm_tests_k{kversion}_l{lttngversion}':
424 - 'baremetal_tests_k{kversion}_l{lttngversion}':
425 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
428 name: lttng-kernel-tests-canary
434 - 'kvm_tests_k{kversion}_l{lttngversion}_canary'
435 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
436 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
439 name: lttng-kernel-tests-mainline
443 - 'kvm_tests_kmainline_l{lttngversion}'
444 - 'baremetal_tests_kmainline_l{lttngversion}'
445 - 'baremetal_benchmarks_kmainline_l{lttngversion}'