X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fsystem-tests.yaml;h=1dedd47a09bc769786eed1aab01d2c9babcc154f;hb=fdbdb52a7b069f22c203191e5bfb4cc6b1d7efc4;hp=87b92de75b840f428d6c547e58c4ddef6cd3a477;hpb=02126236dc58f0d88d92c2869868af3cac3af71c;p=lttng-ci.git diff --git a/jobs/system-tests.yaml b/jobs/system-tests.yaml index 87b92de..1dedd47 100644 --- a/jobs/system-tests.yaml +++ b/jobs/system-tests.yaml @@ -4,43 +4,43 @@ name: 'system_tests_parameters_defaults' parameters: - string: - name: 'tools_commit_id' + name: 'LTTNG_TOOLS_COMMIT_ID' default: '' description: 'The lttng-tools commit id to build.' - string: - name: 'modules_commit_id' + name: 'LTTNG_MODULES_COMMIT_ID' default: '' description: 'The lttng-modules commit id to build.' - string: - name: 'ust_commit_id' + name: 'LTTNG_UST_COMMIT_ID' default: '' description: 'The lttng-ust commit id to build.' - string: - name: 'kernel_tag_id' + name: 'KERNEL_TAG_ID' default: '' description: 'The linux kernel git tag to build against.' - string: - name: 'kernel_repo' + name: 'KERNEL_REPO' default: 'git://git-mirror.internal.efficios.com/kernel/stable/linux-stable.git' description: 'Linux kernel git repo to checkout the kernel id' - string: - name: 'tools_repo' + name: 'LTTNG_TOOLS_REPO' default: 'https://github.com/lttng/lttng-tools.git' description: 'LTTng-Tools git repo to checkout the tools id' - string: - name: 'modules_repo' + name: 'LTTNG_MODULES_REPO' default: 'https://github.com/lttng/lttng-modules.git' description: 'LTTng-Modules git repo to checkout the Modules id' - string: - name: 'ust_repo' + name: 'LTTNG_UST_REPO' default: 'https://github.com/lttng/lttng-ust.git' description: 'LTTng-UST git repo to checkout the UST id' -- system_tests_publisher_defaults: &system_tests_publisher_defaults - name: 'system_tests_publisher_defaults' +- publisher: + name: 'system_tests_email_ext_default' publishers: - email-ext: - recipients: '{obj:email_to}' + recipients: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com' reply-to: ci-notification@lists.lttng.org always: false unstable: false @@ -61,7 +61,6 @@ matrix-trigger: only-parent send-to: - recipients - - workspace-cleanup ## Defaults - defaults: @@ -114,28 +113,6 @@ artifacts: '*.png,*.csv' stable: true do-not-fingerprint: true - - email-ext: - recipients: '{obj:email_to}' - reply-to: ci-notification@lists.lttng.org - always: false - unstable: false - first-failure: true - first-unstable: true - not-built: false - aborted: false - regression: false - failure: false - second-failure: false - improvement: false - still-failing: false - success: false - fixed: false - fixed-unhealthy: true - still-unstable: false - pre-build: false - matrix-trigger: only-parent - send-to: - - recipients - image-gallery: - gallery-type: archived-images-gallery title: Results @@ -147,7 +124,7 @@ description: | Runs virtual machine kernel tests over different combination of kernel and lttng configurations. project-type: freestyle - node: 'master' + node: 'x86-64' <<: *system_tests_parameters_defaults properties: @@ -181,14 +158,15 @@ properties-file: properties.txt - shell: !include-raw-escape: scripts/system-tests/run-kvm-tests.sh - <<: *system_tests_publisher_defaults + publishers: + - workspace-cleanup - defaults: name: vm_tests_fuzzing description: | Runs virtual machine fuzzing tests over different combination of kernel and lttng configurations. project-type: freestyle - node: 'master' + node: 'x86-64' <<: *system_tests_parameters_defaults properties: @@ -222,14 +200,15 @@ properties-file: properties.txt - shell: !include-raw-escape: scripts/system-tests/run-kvm-fuzzing-tests.sh - <<: *system_tests_publisher_defaults + publishers: + - workspace-cleanup - defaults: name: baremetal_tests description: | Runs baremetal kernel tests over different combination of kernel and lttng configurations. project-type: freestyle - node: 'master' + node: 'x86-64' <<: *system_tests_parameters_defaults @@ -264,7 +243,8 @@ properties-file: properties.txt - shell: !include-raw-escape: scripts/system-tests/run-baremetal-tests.sh - <<: *system_tests_publisher_defaults + publishers: + - workspace-cleanup ## Templates - job-template: @@ -274,6 +254,36 @@ concurrent: true node: 'x86-64' + parameters: + - string: + name: 'LTTNG_MODULES_COMMIT_ID' + description: 'The lttng-modules commmit to build.' + - string: + name: 'LTTNG_MODULES_REPO' + description: 'The LTTng Modules git repo to fetch from' + default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git' + - string: + name: 'KERNEL_COMMIT_ID' + description: 'The kernel commit to build.' + - string: + name: 'KGITREPO' + description: 'The kernel git repo to fetch from' + - string: + name: 'STORAGE_KERNEL_FOLDER' + description: 'Path to store the Kernel image' + - string: + name: 'STORAGE_KERNEL_IMAGE' + description: 'Path to store the Kernel IMAGE' + - string: + name: 'STORAGE_LINUX_MODULES' + description: 'Path to store the Kernel Modules' + - string: + name: 'STORAGE_LTTNG_MODULES' + description: 'Path to store the LTTng Modules' + - string: + name: 'BUILD_DEVICE' + description: 'The target device. (kvm or baremetal)' + properties: - build-discarder: num-to-keep: 100 @@ -309,41 +319,11 @@ steps: - shell: !include-raw-escape: scripts/system-tests/build-modules.sh - parameters: - - string: - name: 'LTTNG_MODULES_COMMIT_ID' - description: 'The lttng-modules commmit to build.' - - string: - name: 'LTTNG_MODULES_REPO' - description: 'The LTTng Modules git repo to fetch from' - default: 'git://git-mirror.internal.efficios.com/lttng/lttng-modules.git' - - string: - name: 'KERNEL_COMMIT_ID' - description: 'The kernel commit to build.' - - string: - name: 'KGITREPO' - description: 'The kernel git repo to fetch from' - - string: - name: 'STORAGE_KERNEL_FOLDER' - description: 'Path to store the Kernel image' - - string: - name: 'STORAGE_KERNEL_IMAGE' - description: 'Path to store the Kernel IMAGE' - - string: - name: 'STORAGE_LINUX_MODULES' - description: 'Path to store the Kernel Modules' - - string: - name: 'STORAGE_LTTNG_MODULES' - description: 'Path to store the LTTng Modules' - - string: - name: 'BUILD_DEVICE' - description: 'The target device. (kvm or baremetal)' - publishers: - workspace-cleanup - job-template: - name: system_ALL_trigger + name: system_ALL_{test_type}_trigger description: | This job will trigger the build of jobs when a new tag is push specific tracked Linux branches and new commits on LTTng tracked branches @@ -367,7 +347,8 @@ command: !include-raw-escape: scripts/system-tests/system-trigger.groovy - <<: *system_tests_publisher_defaults + publishers: + - system_tests_email_ext_default - job-template: name: baremetal_benchmarks_k{kversion}_l{lttngversion} @@ -401,7 +382,6 @@ ## Project - project: name: system-tests - email_to: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com' kversion: - master - linux-4.4.y @@ -417,7 +397,6 @@ - project: name: system-tests-oldkernel - email_to: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com' kversion: - linux-3.18.y - linux-4.4.y @@ -430,7 +409,6 @@ - project: name: system-tests-canary - email_to: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com' jobs: - 'vm_tests_canary' - 'baremetal_tests_canary' @@ -438,14 +416,16 @@ - project: name: system-fuzzing-tests - email_to: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com' kversion: master lttngversion: master jobs: - 'vm_tests_fuzzing_k{kversion}_l{lttngversion}' - project: name: system-general - email_to: 'ci-notification@lists.lttng.org, cc:francis.deslauriers@efficios.com' + test_type: + - vm_tests + - baremetal_tests + - baremetal_benchmarks jobs: - 'build_kernel_PARAM' - - 'system_ALL_trigger' + - 'system_ALL_{test_type}_trigger'