X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Fsystem-tests.yaml;h=2a1ed5bacd6d53a4051a3e585c132b39e531f4ec;hb=c4952db9716707571df5a8e200612238749486d5;hp=8c132e208c59341e4b72fa731215581574669297;hpb=5a754cf78c6e4e1a17ca511c46207a8c28aa7d93;p=lttng-ci.git diff --git a/jobs/system-tests.yaml b/jobs/system-tests.yaml index 8c132e2..2a1ed5b 100644 --- a/jobs/system-tests.yaml +++ b/jobs/system-tests.yaml @@ -4,35 +4,35 @@ 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' @@ -89,12 +89,19 @@ - text: credential-id: jenkins_lava_key variable: LAVA_JENKINS_TOKEN + - text: + credential-id: jenkins_lava2_key + variable: LAVA2_JENKINS_TOKEN - file: credential-id: system_tests_storage_key variable: identity_file - inject: properties-content: | BUILD_DEVICE=baremetal + scm: + - git: + url: https://github.com/lttng/lttng-ci + basedir: src/lttng-ci/ builders: - shell: !include-raw-escape: scripts/system-tests/generate-properties-master.sh @@ -113,7 +120,6 @@ artifacts: '*.png,*.csv' stable: true do-not-fingerprint: true - - system_tests_email_ext_default - image-gallery: - gallery-type: archived-images-gallery title: Results @@ -123,7 +129,7 @@ - defaults: name: vm_tests description: | - Runs virtual machine kernel tests over different combination of kernel and lttng configurations. + Runs root_regression and root_destructive_tests on a virtual machine over different combinations of kernel and lttng configurations. project-type: freestyle node: 'x86-64' <<: *system_tests_parameters_defaults @@ -145,10 +151,18 @@ - text: credential-id: jenkins_lava_key variable: LAVA_JENKINS_TOKEN + - text: + credential-id: jenkins_lava2_key + variable: LAVA2_JENKINS_TOKEN - inject: properties-content: | BUILD_DEVICE=kvm + scm: + - git: + url: https://github.com/lttng/lttng-ci + basedir: src/lttng-ci/ + builders: - shell: !include-raw-escape: scripts/system-tests/generate-properties-master.sh - trigger-builds: @@ -160,7 +174,6 @@ - shell: !include-raw-escape: scripts/system-tests/run-kvm-tests.sh publishers: - - system_tests_email_ext_default - workspace-cleanup - defaults: @@ -188,10 +201,18 @@ - text: credential-id: jenkins_lava_key variable: LAVA_JENKINS_TOKEN + - text: + credential-id: jenkins_lava2_key + variable: LAVA2_JENKINS_TOKEN - inject: properties-content: | BUILD_DEVICE=kvm + scm: + - git: + url: https://github.com/lttng/lttng-ci + basedir: src/lttng-ci/ + builders: - shell: !include-raw-escape: scripts/system-tests/generate-properties-master.sh - trigger-builds: @@ -203,13 +224,12 @@ - shell: !include-raw-escape: scripts/system-tests/run-kvm-fuzzing-tests.sh publishers: - - system_tests_email_ext_default - workspace-cleanup - defaults: name: baremetal_tests description: | - Runs baremetal kernel tests over different combination of kernel and lttng configurations. + Runs perf_regression tests on a baremetal machine over different combinations of kernel and lttng configurations. project-type: freestyle node: 'x86-64' @@ -232,10 +252,18 @@ - text: credential-id: jenkins_lava_key variable: LAVA_JENKINS_TOKEN + - text: + credential-id: jenkins_lava2_key + variable: LAVA2_JENKINS_TOKEN - inject: properties-content: | BUILD_DEVICE=baremetal + scm: + - git: + url: https://github.com/lttng/lttng-ci + basedir: src/lttng-ci/ + builders: - shell: !include-raw-escape: scripts/system-tests/generate-properties-master.sh - trigger-builds: @@ -247,7 +275,6 @@ - shell: !include-raw-escape: scripts/system-tests/run-baremetal-tests.sh publishers: - - system_tests_email_ext_default - workspace-cleanup ## Templates @@ -287,6 +314,18 @@ - string: name: 'BUILD_DEVICE' description: 'The target device. (kvm or baremetal)' + - string: + name: 'S3_STORAGE_KERNEL_FOLDER' + description: 'Path to store the Kernel image' + - string: + name: 'S3_STORAGE_KERNEL_IMAGE' + description: 'Path to store the Kernel IMAGE' + - string: + name: 'S3_STORAGE_LINUX_MODULES' + description: 'Path to store the Kernel Modules' + - string: + name: 'S3_STORAGE_LTTNG_MODULES' + description: 'Path to store the LTTng Modules' properties: - build-discarder: @@ -301,6 +340,16 @@ credential-id: system_tests_storage_key variable: identity_file + scm: + - git: + url: https://github.com/lttng/lttng-ci + basedir: src/lttng-ci/ + - git: + url : $LTTNG_MODULES_REPO + basedir: src/lttng-modules/ + branches: + - $LTTNG_MODULES_COMMIT_ID + builders: - shell: !include-raw-escape: scripts/system-tests/generate-properties-slave.sh - inject: @@ -340,7 +389,7 @@ num-to-keep: 10 triggers: - - timed: "@daily" + - timed: "H 0 * * 1-5" wrappers: - timestamps @@ -403,7 +452,6 @@ name: system-tests-oldkernel kversion: - linux-3.18.y - - linux-4.4.y lttngversion: - stable-2.7 jobs: