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 recipients: 'francis.deslauriers@efficios.com'
38 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
44 basedir: src/lttng-tools
46 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
52 basedir: src/lttng-modules
54 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
63 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
65 - project: "build_kernel_PARAM"
66 property-file: 'properties.txt'
69 properties-file: properties.txt
70 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
76 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
77 project-type: freestyle
95 - credentials-binding:
97 credential-id: jenkins_lava_key
98 variable: LAVA_FRDESO_TOKEN
100 properties-content: |
102 TOOLS_BRANCH={lttngversion}
103 UST_BRANCH={lttngversion}
106 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
112 basedir: src/lttng-tools
114 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
120 basedir: src/lttng-modules
122 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
132 recipients: 'francis.deslauriers@efficios.com'
134 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
136 - project: "build_kernel_PARAM"
137 property-file: 'properties.txt'
140 properties-file: properties.txt
141 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-kvm-tests.sh
144 name: baremetal_tests
146 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
147 project-type: freestyle
165 - credentials-binding:
167 credential-id: jenkins_lava_key
168 variable: LAVA_FRDESO_TOKEN
170 properties-content: |
171 UST_BRANCH={lttngversion}
172 BUILD_DEVICE=baremetal
175 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
181 basedir: src/lttng-tools
183 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
189 basedir: src/lttng-modules
191 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
201 recipients: 'francis.deslauriers@efficios.com'
203 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
205 - project: "build_kernel_PARAM"
206 property-file: 'properties.txt'
209 properties-file: properties.txt
210 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-tests.sh
213 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
214 defaults: baremetal_benchmarks
216 name: kvm_tests_k{kversion}_l{lttngversion}
219 name: baremetal_tests_k{kversion}_l{lttngversion}
220 defaults: baremetal_tests
223 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
224 defaults: baremetal_tests
226 name: kvm_tests_k{kversion}_l{lttngversion}_canary
229 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
230 defaults: baremetal_benchmarks
233 name: kvm_tests_kmainline_l{lttngversion}
240 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
246 basedir: src/lttng-tools
248 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
254 basedir: src/lttng-modules
256 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
257 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
264 name: baremetal_tests_kmainline_l{lttngversion}
265 defaults: baremetal_tests
271 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
277 basedir: src/lttng-tools
279 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
285 basedir: src/lttng-modules
287 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
288 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
297 - credentials-binding:
299 credential-id: jenkins_lava_key
300 variable: LAVA_FRDESO_TOKEN
302 properties-content: |
303 BUILD_DEVICE=baremetal
305 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
307 - project: "build_kernel_PARAM"
308 property-file: 'properties.txt'
311 properties-file: properties.txt
312 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
314 name: baremetal_benchmarks_kmainline_l{lttngversion}
315 defaults: baremetal_benchmarks
321 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
327 basedir: src/lttng-tools
329 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
335 basedir: src/lttng-modules
337 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
338 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
347 - credentials-binding:
349 credential-id: jenkins_lava_key
350 variable: LAVA_FRDESO_TOKEN
352 properties-content: |
353 BUILD_DEVICE=baremetal
355 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
357 - project: "build_kernel_PARAM"
358 property-file: 'properties.txt'
361 properties-file: properties.txt
362 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-baremetal-benchmarks.sh
365 name: build_kernel_PARAM
367 Builds a Linux Kernel and LTTng Modules if necessary
379 - credentials-binding:
381 credential-id: lava_jenkins_storage_frdeso
382 variable: identity_file
384 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
386 properties-file: properties.txt
387 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
391 condition-kind: file-exists
392 condition-filename: kernel-built.txt
393 condition-basedir: workspace
395 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
399 condition-kind: file-exists
400 condition-filename: modules-built.txt
401 condition-basedir: workspace
403 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
407 name: 'LTTNG_MODULES_COMMIT_ID'
408 description: 'The lttng-modules commmit to build.'
410 name: 'KERNEL_COMMIT_ID'
411 description: 'The kernel commit to build.'
414 description: 'The kernel git repo to fetch from'
416 name: 'STORAGE_KERNEL_FOLDER'
417 description: 'Path to store the Kernel image'
419 name: 'STORAGE_KERNEL_IMAGE'
420 description: 'Path to store the Kernel IMAGE'
422 name: 'STORAGE_LINUX_MODULES'
423 description: 'Path to store the Kernel Modules'
425 name: 'STORAGE_LTTNG_MODULES'
426 description: 'Path to store the LTTng Modules'
429 description: 'The target device. (kvm or baremetal)'
433 name: lttng-kernel-tests
443 - 'kvm_tests_k{kversion}_l{lttngversion}'
444 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
445 - 'baremetal_tests_k{kversion}_l{lttngversion}'
448 name: lttng-kernel-tests-oldkernel
455 - 'kvm_tests_k{kversion}_l{lttngversion}':
456 - 'baremetal_tests_k{kversion}_l{lttngversion}':
457 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
460 name: lttng-kernel-tests-canary
466 - 'kvm_tests_k{kversion}_l{lttngversion}_canary'
467 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
468 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
471 name: lttng-kernel-tests-mainline
475 - 'kvm_tests_kmainline_l{lttngversion}'
476 - 'baremetal_tests_kmainline_l{lttngversion}'
477 - 'baremetal_benchmarks_kmainline_l{lttngversion}'