send-to:
- recipients
-## Defaults
-- defaults:
- name: baremetal_benchmarks
+## Templates
+- job-template:
+ name: baremetal_benchmarks_k{kversion}_l{lttngversion}
description: |
Runs baremetal kernel benchmarks over different combination of kernel and lttng configurations.
project-type: freestyle
includes: '*.png'
- workspace-cleanup
-- defaults:
- name: vm_tests
+- job-template:
+ name: vm_tests_k{kversion}_l{lttngversion}
description: |
Runs root_regression and root_destructive_tests on a virtual machine over different combinations of kernel and lttng configurations.
project-type: freestyle
publishers:
- workspace-cleanup
-- defaults:
- name: baremetal_tests
+- job-template:
+ name: baremetal_tests_k{kversion}_l{lttngversion}
description: |
Runs perf_regression tests on a baremetal machine over different combinations of kernel and lttng configurations.
project-type: freestyle
publishers:
- workspace-cleanup
-## Templates
- job-template:
name: build_kernel_PARAM
description: |
publishers:
- system_tests_email_ext_default
-- job-template:
- name: baremetal_benchmarks_k{kversion}_l{lttngversion}
- defaults: baremetal_benchmarks
-- job-template:
- name: vm_tests_k{kversion}_l{lttngversion}
- defaults: vm_tests
-- job-template:
- name: baremetal_tests_k{kversion}_l{lttngversion}
- defaults: baremetal_tests
+## Project
# Canary jobs are made to confirm that the whole Lava pipeline is working.
# They are scheduled once a day always on the same (LTTng, Kernel) code. If any
# of those jobs fails, it means that there is an issue with the configuration
-- job-template:
- name: baremetal_benchmarks_canary
- defaults: baremetal_benchmarks
-
-- job-template:
- name: baremetal_tests_canary
- defaults: baremetal_tests
-- job-template:
- name: vm_tests_canary
- defaults: vm_tests
-
-## Project
- project:
name: system-tests
kversion:
+ - canary
- master
- linux-4.4.y
- linux-4.9.y
- linux-5.0.y
- linux-5.1.y
lttngversion:
+ - canary
- master
- stable-2.9
- stable-2.10
jobs:
- 'vm_tests_k{kversion}_l{lttngversion}'
-- project:
- name: system-tests-canary
- jobs:
- - 'vm_tests_canary'
- - 'baremetal_tests_canary'
- - 'baremetal_benchmarks_canary'
-
- project:
name: system-general
test_type:
}
//Add canary job
-def jobNameCanary = jobType + "_canary";
+def jobNameCanary = jobType + "_kcanary_lcanary";
currentJobs[jobNameCanary] = [:];
currentJobs[jobNameCanary]['config'] = [:];
currentJobs[jobNameCanary]['config']['linuxBranch'] = 'v4.4.194';
currentJobs.each { jobName, jobInfo ->
// If the job ran in the past, we check if the IDs changed since.
// Fetch past results only if the job is not of type canary.
- if (!jobName.contains('_canary') && pastJobs.containsKey(jobName) &&
+ if (!jobName.contains('_kcanary_lcanary') && pastJobs.containsKey(jobName) &&
build.getBuildVariables().get('FORCE_JOB_RUN') == 'false') {
pastJob = pastJobs[jobName];