X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-tools.yaml;h=68ac06103b2031bb8fae34a4dfef59f9224b413d;hb=91ba8aa1f65cc73d217686217f6ab5817d209808;hp=54357a3bb2c745ab63a78c91337c11526461f837;hpb=0fc8b7ac5023dae12919792f48fa7ec403b94742;p=lttng-ci.git diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index 54357a3..68ac061 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -53,8 +53,9 @@ - ansicolor - timeout: timeout: 30 - abort: true + fail: true type: no-activity + write-description: "

This build failed due to timeout.

" - timestamps - workspace-cleanup: clean-if: @@ -315,6 +316,13 @@ !include-raw-escape: scripts/lttng-tools/gerrit-depends-on.sh - inject: properties-file: gerrit_custom_dependencies.properties + - copyartifact: + project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std + which-build: last-successful + stable: false + filter: 'build/**' + target: 'deps' + do-not-fingerprint: true - conditional-step: condition-kind: and on-evaluation-failure: run @@ -323,7 +331,7 @@ condition-command: 'test -z "$GERRIT_DEP_LTTNG_UST"' - condition-kind: regex-match label: '$conf' - regex: (std|static|agents|debug-rcu) + regex: (std|agents) steps: - copyartifact: project: lttng-ust_${{GERRIT_BRANCH}}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std @@ -333,50 +341,9 @@ target: 'deps' do-not-fingerprint: true - conditional-step: - condition-kind: regex-match - label: '$conf' - regex: (std|static) - on-evaluation-failure: run - steps: - - copyartifact: - project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true - - copyartifact: - project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true - - conditional-step: - condition-kind: regex-match - label: '$conf' - regex: no-ust - on-evaluation-failure: run - steps: - - copyartifact: - project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true - - copyartifact: - project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true - - conditional-step: - condition-kind: regex-match - label: '$conf' - regex: (agents|relayd-only) + condition-kind: shell on-evaluation-failure: run + condition-command: 'test -z "$GERRIT_DEP_USERSPACE_RCU"' steps: - copyartifact: project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std @@ -385,35 +352,19 @@ filter: 'build/**' target: 'deps' do-not-fingerprint: true - - copyartifact: - project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true + - shell: + !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh - conditional-step: - condition-kind: regex-match - label: '$conf' - regex: debug-rcu - on-evaluation-failure: run + condition-kind: shell + condition-command: 'test ! -z "$GERRIT_DEP_USERSPACE_RCU"' steps: - - copyartifact: - project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true - - copyartifact: - project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true + - shell: + !include-raw-escape: + - scripts/common/override-build-std.sh + - scripts/common/print.sh + - scripts/liburcu/build.sh - shell: - !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh + !include-raw-escape: scripts/lttng-tools/gerrit-install-deps.sh - conditional-step: condition-kind: shell condition-command: 'test ! -z "$GERRIT_DEP_LTTNG_UST"' @@ -489,10 +440,10 @@ builders: - role: SLAVE build-on: - - ABORTED + - FAILURE build-steps: - shell: - !include-raw-escape: scripts/lttng-tools/tap_aborted.sh + !include-raw-escape: scripts/lttng-tools/tap_failure.sh - postbuildscript: mark-unstable-if-failed: true builders: @@ -556,10 +507,10 @@ builders: - role: SLAVE build-on: - - ABORTED + - FAILURE build-steps: - shell: - !include-raw-escape: scripts/lttng-tools/tap_aborted.sh + !include-raw-escape: scripts/lttng-tools/tap_failure.sh - postbuildscript: mark-unstable-if-failed: true builders: @@ -685,8 +636,9 @@ - ansicolor - timeout: timeout: 45 - abort: true + fail: true type: no-activity + write-description: "

This build failed due to timeout.

" - timestamps - workspace-cleanup: clean-if: @@ -715,8 +667,9 @@ - ansicolor - timeout: timeout: 10 - abort: true + fail: true type: no-activity + write-description: "

This build failed due to timeout.

" - timestamps <<: *lttng-tools_build_axes_rootbuild @@ -787,10 +740,10 @@ builders: - role: SLAVE build-on: - - ABORTED + - FAILURE build-steps: - shell: - !include-raw-escape: scripts/lttng-tools/tap_aborted.sh + !include-raw-escape: scripts/lttng-tools/tap_failure.sh - postbuildscript: mark-unstable-if-failed: true builders: @@ -941,7 +894,7 @@ - ABORTED build-steps: - shell: - !include-raw-escape: scripts/lttng-tools/tap_aborted.sh + !include-raw-escape: scripts/lttng-tools/tap_failure.sh - postbuildscript: mark-unstable-if-failed: true builders: @@ -1212,7 +1165,7 @@ arch: !!python/tuple [amd64] build: !!python/tuple [std, oot, dist] conf: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] - urcuversion: !!python/tuple [stable-0.12] + urcuversion: !!python/tuple [stable-0.13] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [base] filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))' @@ -1223,7 +1176,7 @@ arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] build: !!python/tuple [std] conf: !!python/tuple [std, no-ust, agents] - urcuversion: !!python/tuple [stable-0.12] + urcuversion: !!python/tuple [stable-0.13] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [base] filter: '' @@ -1234,7 +1187,7 @@ arch: !!python/tuple [sles12sp5] build: !!python/tuple [std] conf: !!python/tuple [agents] - urcuversion: !!python/tuple [stable-0.12] + urcuversion: !!python/tuple [stable-0.13] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [base] filter: '' @@ -1245,7 +1198,7 @@ arch: !!python/tuple [el8] build: !!python/tuple [std] conf: !!python/tuple [std] - urcuversion: !!python/tuple [stable-0.12] + urcuversion: !!python/tuple [stable-0.13] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [base] filter: '' @@ -1256,7 +1209,7 @@ arch: !!python/tuple [macos-amd64, macos-arm64] build: !!python/tuple [std] conf: !!python/tuple [relayd-only] - urcuversion: !!python/tuple [stable-0.12] + urcuversion: !!python/tuple [stable-0.13] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [base] filter: '' @@ -1266,7 +1219,7 @@ arch: !!python/tuple [cygwin64] build: !!python/tuple [std] conf: !!python/tuple [relayd-only] - urcuversion: !!python/tuple [stable-0.12] + urcuversion: !!python/tuple [stable-0.13] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [base] filter: '' @@ -1277,7 +1230,7 @@ arch: !!python/tuple [amd64] build: !!python/tuple [std] conf: !!python/tuple [std] - urcuversion: !!python/tuple [stable-0.12] + urcuversion: !!python/tuple [stable-0.13] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [full] filter: '' @@ -1288,14 +1241,14 @@ arch: !!python/tuple [amd64] build: !!python/tuple [std] conf: !!python/tuple [agents] - urcuversion: !!python/tuple [stable-0.12] + urcuversion: !!python/tuple [stable-0.13] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [base] filter: '' - 'lttng-tools_{version}_release': version: v2.13 ustversion: stable-2.13 - urcuversion: stable-0.12 + urcuversion: stable-0.13 babelversion: stable-2.0 # stable-2.12 @@ -1400,7 +1353,7 @@ arch: !!python/tuple [amd64] build: !!python/tuple [std, oot, dist] conf: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] - urcuversion: !!python/tuple [stable-0.10] + urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] filter: '(build=="std") || ((babeltrace_version=="stable-1.5" && (conf=="std" || conf=="agents" || conf=="no-ust")))' @@ -1411,7 +1364,7 @@ arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] build: !!python/tuple [std] conf: !!python/tuple [std, no-ust, agents] - urcuversion: !!python/tuple [stable-0.10] + urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] filter: '' @@ -1422,7 +1375,7 @@ arch: !!python/tuple [sles12sp5] build: !!python/tuple [std] conf: !!python/tuple [agents] - urcuversion: !!python/tuple [stable-0.10] + urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] filter: '' @@ -1433,7 +1386,7 @@ arch: !!python/tuple [el8] build: !!python/tuple [std] conf: !!python/tuple [std] - urcuversion: !!python/tuple [stable-0.10] + urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] filter: '' @@ -1444,7 +1397,7 @@ arch: !!python/tuple [macos-amd64, macos-arm64] build: !!python/tuple [std] conf: !!python/tuple [relayd-only] - urcuversion: !!python/tuple [stable-0.10] + urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] filter: '' @@ -1454,7 +1407,7 @@ arch: !!python/tuple [cygwin64] build: !!python/tuple [std] conf: !!python/tuple [relayd-only] - urcuversion: !!python/tuple [stable-0.10] + urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] filter: '' @@ -1465,7 +1418,7 @@ arch: !!python/tuple [amd64] build: !!python/tuple [std] conf: !!python/tuple [std] - urcuversion: !!python/tuple [stable-0.10] + urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [full] filter: '' @@ -1476,14 +1429,14 @@ arch: !!python/tuple [amd64] build: !!python/tuple [std] conf: !!python/tuple [agents] - urcuversion: !!python/tuple [stable-0.10] + urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] filter: '' - 'lttng-tools_{version}_release': version: v2.11 ustversion: stable-2.11 - urcuversion: stable-0.10 + urcuversion: stable-0.12 babelversion: stable-1.5 # stable-2.10 @@ -1569,32 +1522,6 @@ urcuversion: stable-0.9 babelversion: stable-1.5 - # stable-2.9 # - - 'lttng-tools_{version}_{buildtype}': - buildtype: slesbuild - version: stable-2.9 - ustversion: stable-2.9 - arch: !!python/tuple [sles12sp5] - build: !!python/tuple [std] - conf: !!python/tuple [agents] - urcuversion: !!python/tuple [stable-0.9] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [base] - filter: '' - - # stable-2.8 # - - 'lttng-tools_{version}_{buildtype}': - buildtype: slesbuild - version: stable-2.8 - ustversion: stable-2.8 - arch: !!python/tuple [sles12sp5] - build: !!python/tuple [std] - conf: !!python/tuple [agents] - urcuversion: !!python/tuple [stable-0.9] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [base] - filter: '' - - 'lttng-tools_{version}_cppcheck' - 'lttng-tools_{version}_scan-build': version: master @@ -1602,7 +1529,7 @@ ustversion: master - 'lttng-tools_{version}_scan-build': version: stable-2.11 - urcuversion: stable-0.10 + urcuversion: stable-0.12 ustversion: stable-2.11 - 'lttng-tools_{version}_scan-build': version: stable-2.10 @@ -1660,7 +1587,7 @@ arch: !!python/tuple [amd64] build: !!python/tuple [std, oot, dist] conf: !!python/tuple [std, no-ust, agents] - urcuversion: !!python/tuple [stable-0.10] + urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-1.5, master] testtype: !!python/tuple [base] filter: '' @@ -1715,7 +1642,7 @@ arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] build: !!python/tuple [std] conf: !!python/tuple [std, no-ust, agents] - urcuversion: !!python/tuple [stable-0.10] + urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] filter: '' @@ -1751,7 +1678,7 @@ arch: !!python/tuple [amd64] build: !!python/tuple [std, oot, dist, oot-dist] conf: !!python/tuple [std, no-ust, agents] - urcuversion: !!python/tuple [stable-0.12] + urcuversion: !!python/tuple [master] # Switch to stable-0.14 when released (for C++ support) babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] filter: '' @@ -1760,7 +1687,7 @@ arch: !!python/tuple [amd64] build: !!python/tuple [std] conf: !!python/tuple [agents] - urcuversion: !!python/tuple [stable-0.12] + urcuversion: !!python/tuple [master] # Switch to stable-0.14 when released (for C++ support) babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [base] filter: ''