4 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
12 project-type: freestyle
20 project-type: freestyle
26 - credentials-binding:
28 credential-id: jenkins_lava_key
29 variable: LAVA_FRDESO_TOKEN
32 TOOLS_BRANCH={lttngversion}
33 UST_BRANCH={lttngversion}
37 recipients: 'francis.deslauriers@efficios.com'
40 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
46 basedir: src/lttng-tools
48 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
54 basedir: src/lttng-modules
56 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
65 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
67 - project: "build_kernel_PARAM"
68 property-file: 'properties.txt'
71 properties-file: properties.txt
72 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-tests.sh
75 name: baremetal_benchmarks
76 defaults: lttng-baremetal-tests
78 Runs baremetal kernel benchmarks over different combination of kernel and lttng configurations.
87 project-type: freestyle
92 name: baremetal_tests_k{kversion}_l{lttngversion}
94 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
105 - credentials-binding:
107 credential-id: jenkins_lava_key
108 variable: LAVA_FRDESO_TOKEN
110 properties-content: |
111 BUILD_DEVICE=baremetal
114 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
120 basedir: src/lttng-tools
122 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
128 basedir: src/lttng-modules
130 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
140 recipients: 'francis.deslauriers@efficios.com'
142 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
144 - project: "build_kernel_PARAM"
145 property-file: 'properties.txt'
148 properties-file: properties.txt
149 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-benchmarks.sh
152 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
154 Runs baremetal kernel benchmarks over different combination of kernel and lttng configurations.
155 defaults: lttng-baremetal-tests
160 name: baremetal_tests_k{kversion}_l{lttngversion}_canary
161 defaults: baremetal_tests
163 name: baremetal_benchmarks_k{kversion}_l{lttngversion}_canary
164 defaults: baremetal_benchmarks
166 name: baremetal_tests_k{kversion}_l{lttngversion}
167 defaults: baremetal_tests
169 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
170 defaults: baremetal_benchmarks
172 name: baremetal_tests_kmainline_l{lttngversion}
173 defaults: baremetal_tests
179 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
185 basedir: src/lttng-tools
187 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
193 basedir: src/lttng-modules
195 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
196 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
203 name: baremetal_benchmarks_kmainline_l{lttngversion}
204 defaults: baremetal_benchmarks
210 url: git://git-mirror.internal.efficios.com/lttng/lttng-tools.git
216 basedir: src/lttng-tools
218 url: git://git-mirror.internal.efficios.com/lttng/lttng-modules.git
224 basedir: src/lttng-modules
226 url: git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git
227 refspec: "+refs/tags/*:refs/remotes/origin/tags/*"
236 - credentials-binding:
238 credential-id: jenkins_lava_key
239 variable: LAVA_FRDESO_TOKEN
241 properties-content: |
242 BUILD_DEVICE=baremetal
244 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-master.sh
246 - project: "build_kernel_PARAM"
247 property-file: 'properties.txt'
250 properties-file: properties.txt
251 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/run-benchmarks.sh
254 name: build_kernel_PARAM
256 Builds a Linux Kernel and LTTng Modules if necessary
268 - credentials-binding:
270 credential-id: lava_jenkins_storage_frdeso
271 variable: identity_file
273 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/generate-properties-slave.sh
275 properties-file: properties.txt
276 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/check-build-needs.sh
280 condition-kind: file-exists
281 condition-filename: kernel-built.txt
282 condition-basedir: workspace
284 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-kernel.sh
288 condition-kind: file-exists
289 condition-filename: modules-built.txt
290 condition-basedir: workspace
292 - shell: !include-raw-escape: scripts/lttng-baremetal-tests/build-modules.sh
296 name: 'LTTNG_MODULES_COMMIT_ID'
297 description: 'The lttng-modules commmit to build.'
299 name: 'KERNEL_COMMIT_ID'
300 description: 'The kernel commit to build.'
303 description: 'The kernel git repo to fetch from'
305 name: 'STORAGE_KERNEL_FOLDER'
306 description: 'Path to store the Kernel image'
308 name: 'STORAGE_KERNEL_IMAGE'
309 description: 'Path to store the Kernel IMAGE'
311 name: 'STORAGE_LINUX_MODULES'
312 description: 'Path to store the Kernel Modules'
314 name: 'STORAGE_LTTNG_MODULES'
315 description: 'Path to store the LTTng Modules'
318 description: 'The target device. (kvm or baremetal)'
322 name: lttng-kernel-tests
332 - 'baremetal_tests_k{kversion}_l{lttngversion}'
333 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
336 name: lttng-kernel-tests-oldkernel
343 - 'baremetal_tests_k{kversion}_l{lttngversion}':
344 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
347 name: lttng-kernel-tests-canary
353 - 'baremetal_tests_k{kversion}_l{lttngversion}_canary'
354 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}_canary'
357 name: lttng-kernel-tests-mainline
361 - 'baremetal_tests_kmainline_l{lttngversion}'
362 - 'baremetal_benchmarks_kmainline_l{lttngversion}'