3 - system_tests_parameters_defaults: &system_tests_parameters_defaults
4 name: 'system_tests_parameters_defaults'
7 name: 'tools_commit_id'
9 description: 'The lttng-tools commit id to build.'
11 name: 'modules_commit_id'
13 description: 'The lttng-modules commit id to build.'
17 description: 'The lttng-ust commit id to build.'
21 description: 'The linux kernel git tag to build against.'
24 default: 'git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git'
25 description: 'Linux kernel git repo to checkout the kernel id'
28 default: 'https://github.com/lttng/lttng-tools.git'
29 description: 'LTTng-Tools git repo to checkout the tools id'
32 default: 'https://github.com/lttng/lttng-modules.git'
33 description: 'LTTng-Modules git repo to checkout the Modules id'
36 default: 'https://github.com/lttng/lttng-ust.git'
37 description: 'LTTng-UST git repo to checkout the UST id'
40 name: 'system_tests_email_ext_default'
43 recipients: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com'
44 reply-to: ci-notification@lists.lttng.org
61 matrix-trigger: only-parent
67 name: baremetal_benchmarks
69 Runs baremetal kernel benchmarks over different combination of kernel and lttng configurations.
70 project-type: freestyle
73 <<: *system_tests_parameters_defaults
88 - credentials-binding:
90 credential-id: jenkins_lava_key
91 variable: LAVA_JENKINS_TOKEN
93 credential-id: system_tests_storage_key
94 variable: identity_file
97 BUILD_DEVICE=baremetal
100 - shell: !include-raw-escape: scripts/system-tests/generate-properties-master.sh
101 - shell: !include-raw-escape: scripts/system-tests/inject-ssh-commands.sh
103 - project: "build_kernel_PARAM"
104 property-file: 'properties.txt'
107 properties-file: properties.txt
108 - shell: !include-raw-escape: scripts/system-tests/run-baremetal-benchmarks.sh
109 - shell: !include-raw-escape: scripts/system-tests/summarize-results.sh
113 artifacts: '*.png,*.csv'
115 do-not-fingerprint: true
117 - gallery-type: archived-images-gallery
125 Runs virtual machine kernel tests over different combination of kernel and lttng configurations.
126 project-type: freestyle
128 <<: *system_tests_parameters_defaults
143 - credentials-binding:
145 credential-id: jenkins_lava_key
146 variable: LAVA_JENKINS_TOKEN
148 properties-content: |
152 - shell: !include-raw-escape: scripts/system-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/system-tests/run-kvm-tests.sh
165 name: vm_tests_fuzzing
167 Runs virtual machine fuzzing tests over different combination of kernel and lttng configurations.
168 project-type: freestyle
170 <<: *system_tests_parameters_defaults
185 - credentials-binding:
187 credential-id: jenkins_lava_key
188 variable: LAVA_JENKINS_TOKEN
190 properties-content: |
194 - shell: !include-raw-escape: scripts/system-tests/generate-properties-master.sh
196 - project: "build_kernel_PARAM"
197 property-file: 'properties.txt'
200 properties-file: properties.txt
201 - shell: !include-raw-escape: scripts/system-tests/run-kvm-fuzzing-tests.sh
207 name: baremetal_tests
209 Runs baremetal kernel tests over different combination of kernel and lttng configurations.
210 project-type: freestyle
213 <<: *system_tests_parameters_defaults
228 - credentials-binding:
230 credential-id: jenkins_lava_key
231 variable: LAVA_JENKINS_TOKEN
233 properties-content: |
234 BUILD_DEVICE=baremetal
237 - shell: !include-raw-escape: scripts/system-tests/generate-properties-master.sh
239 - project: "build_kernel_PARAM"
240 property-file: 'properties.txt'
243 properties-file: properties.txt
244 - shell: !include-raw-escape: scripts/system-tests/run-baremetal-tests.sh
251 name: build_kernel_PARAM
253 Builds a Linux Kernel and LTTng Modules if necessary
259 name: 'LTTNG_MODULES_COMMIT_ID'
260 description: 'The lttng-modules commmit to build.'
262 name: 'LTTNG_MODULES_REPO'
263 description: 'The LTTng Modules git repo to fetch from'
264 default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git'
266 name: 'KERNEL_COMMIT_ID'
267 description: 'The kernel commit to build.'
270 description: 'The kernel git repo to fetch from'
272 name: 'STORAGE_KERNEL_FOLDER'
273 description: 'Path to store the Kernel image'
275 name: 'STORAGE_KERNEL_IMAGE'
276 description: 'Path to store the Kernel IMAGE'
278 name: 'STORAGE_LINUX_MODULES'
279 description: 'Path to store the Kernel Modules'
281 name: 'STORAGE_LTTNG_MODULES'
282 description: 'Path to store the LTTng Modules'
285 description: 'The target device. (kvm or baremetal)'
295 - credentials-binding:
297 credential-id: system_tests_storage_key
298 variable: identity_file
301 - shell: !include-raw-escape: scripts/system-tests/generate-properties-slave.sh
303 properties-file: properties.txt
304 - shell: !include-raw-escape: scripts/system-tests/check-build-needs.sh
308 condition-kind: file-exists
309 condition-filename: kernel-built.txt
310 condition-basedir: workspace
312 - shell: !include-raw-escape: scripts/system-tests/build-kernel.sh
316 condition-kind: file-exists
317 condition-filename: modules-built.txt
318 condition-basedir: workspace
320 - shell: !include-raw-escape: scripts/system-tests/build-modules.sh
326 name: system_ALL_{test_type}_trigger
328 This job will trigger the build of jobs when a new tag is push specific
329 tracked Linux branches and new commits on LTTng tracked branches
331 project-type: freestyle
348 !include-raw-escape: scripts/system-tests/system-trigger.groovy
351 - system_tests_email_ext_default
354 name: baremetal_benchmarks_k{kversion}_l{lttngversion}
355 defaults: baremetal_benchmarks
357 name: vm_tests_k{kversion}_l{lttngversion}
360 name: baremetal_tests_k{kversion}_l{lttngversion}
361 defaults: baremetal_tests
364 name: vm_tests_fuzzing_k{kversion}_l{lttngversion}
365 defaults: vm_tests_fuzzing
367 # Canary jobs are made to confirm that the whole Lava pipeline is working.
368 # They are scheduled once a day always on the same (LTTng, Kernel) code. If any
369 # of those jobs fails, it means that there is an issue with the configuration
371 name: baremetal_benchmarks_canary
372 defaults: baremetal_benchmarks
375 name: baremetal_tests_canary
376 defaults: baremetal_tests
379 name: vm_tests_canary
394 - 'vm_tests_k{kversion}_l{lttngversion}'
395 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}'
396 - 'baremetal_tests_k{kversion}_l{lttngversion}'
399 name: system-tests-oldkernel
406 - 'vm_tests_k{kversion}_l{lttngversion}':
407 - 'baremetal_tests_k{kversion}_l{lttngversion}':
408 - 'baremetal_benchmarks_k{kversion}_l{lttngversion}':
411 name: system-tests-canary
414 - 'baremetal_tests_canary'
415 - 'baremetal_benchmarks_canary'
418 name: system-fuzzing-tests
422 - 'vm_tests_fuzzing_k{kversion}_l{lttngversion}'
428 - baremetal_benchmarks
430 - 'build_kernel_PARAM'
431 - 'system_ALL_{test_type}_trigger'