X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-tools.yaml;h=68ac06103b2031bb8fae34a4dfef59f9224b413d;hb=20714413141bd336a45c3501918ebcc127442b23;hp=1243bcb33f6444d5d3b371361ace2defdf71f10f;hpb=16d8c7c564b607f4e13798e70f62090f3701a6b4;p=lttng-ci.git diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index 1243bcb..68ac061 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -55,6 +55,7 @@ timeout: 30 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"' @@ -484,6 +435,15 @@ - lttng-tools_build_publishers_dev: <tng-tools_build_publishers_dev name: 'lttng-tools_build_publishers_dev' publishers: + - postbuildscript: + mark-unstable-if-failed: false + builders: + - role: SLAVE + build-on: + - FAILURE + build-steps: + - shell: + !include-raw-escape: scripts/lttng-tools/tap_failure.sh - postbuildscript: mark-unstable-if-failed: true builders: @@ -542,6 +502,15 @@ - lttng-tools_build_publishers_prod: <tng-tools_build_publishers_prod name: 'lttng-tools_build_publishers_prod' publishers: + - postbuildscript: + mark-unstable-if-failed: false + builders: + - role: SLAVE + build-on: + - FAILURE + build-steps: + - shell: + !include-raw-escape: scripts/lttng-tools/tap_failure.sh - postbuildscript: mark-unstable-if-failed: true builders: @@ -669,6 +638,7 @@ timeout: 45 fail: true type: no-activity + write-description: "

This build failed due to timeout.

" - timestamps - workspace-cleanup: clean-if: @@ -699,6 +669,7 @@ timeout: 10 fail: true type: no-activity + write-description: "

This build failed due to timeout.

" - timestamps <<: *lttng-tools_build_axes_rootbuild @@ -764,6 +735,15 @@ <<: *lttng-tools_build_builders_gerrit publishers: + - postbuildscript: + mark-unstable-if-failed: false + builders: + - role: SLAVE + build-on: + - FAILURE + build-steps: + - shell: + !include-raw-escape: scripts/lttng-tools/tap_failure.sh - postbuildscript: mark-unstable-if-failed: true builders: @@ -906,6 +886,15 @@ !include-raw-escape: scripts/lttng-tools/release.sh publishers: + - postbuildscript: + mark-unstable-if-failed: false + builders: + - role: SLAVE + build-on: + - ABORTED + build-steps: + - shell: + !include-raw-escape: scripts/lttng-tools/tap_failure.sh - postbuildscript: mark-unstable-if-failed: true builders: @@ -1076,6 +1065,7 @@ - stable-2.10 - stable-2.11 - stable-2.12 + - stable-2.13 - master jobs: # Master # @@ -1105,7 +1095,7 @@ buildtype: slesbuild version: master ustversion: master - arch: !!python/tuple [sles12sp2] + arch: !!python/tuple [sles12sp5] build: !!python/tuple [std] conf: !!python/tuple [agents] urcuversion: !!python/tuple [master] @@ -1167,6 +1157,100 @@ testtype: !!python/tuple [base] filter: '' + # stable-2.13 + - 'lttng-tools_{version}_{buildtype}': + buildtype: build + version: stable-2.13 + ustversion: stable-2.13 + 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.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")))' + - 'lttng-tools_{version}_{buildtype}': + buildtype: portbuild + version: stable-2.13 + ustversion: stable-2.13 + arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] + build: !!python/tuple [std] + conf: !!python/tuple [std, no-ust, agents] + urcuversion: !!python/tuple [stable-0.13] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] + filter: '' + - 'lttng-tools_{version}_{buildtype}': + buildtype: slesbuild + version: stable-2.13 + ustversion: stable-2.13 + arch: !!python/tuple [sles12sp5] + build: !!python/tuple [std] + conf: !!python/tuple [agents] + urcuversion: !!python/tuple [stable-0.13] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] + filter: '' + - 'lttng-tools_{version}_{buildtype}': + buildtype: elbuild + version: stable-2.13 + ustversion: stable-2.13 + arch: !!python/tuple [el8] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [stable-0.13] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] + filter: '' + - 'lttng-tools_{version}_{buildtype}': + buildtype: macosbuild + version: stable-2.13 + ustversion: stable-2.13 + arch: !!python/tuple [macos-amd64, macos-arm64] + build: !!python/tuple [std] + conf: !!python/tuple [relayd-only] + urcuversion: !!python/tuple [stable-0.13] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] + filter: '' + - 'lttng-tools_{version}_winbuild': + version: stable-2.13 + ustversion: stable-2.13 + arch: !!python/tuple [cygwin64] + build: !!python/tuple [std] + conf: !!python/tuple [relayd-only] + urcuversion: !!python/tuple [stable-0.13] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] + filter: '' + - 'lttng-tools_{version}_long_regression': + buildtype: build + version: stable-2.13 + ustversion: stable-2.13 + arch: !!python/tuple [amd64] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [stable-0.13] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [full] + filter: '' + - 'lttng-tools_{version}_rootbuild': + buildtype: build + version: stable-2.13 + ustversion: stable-2.13 + arch: !!python/tuple [amd64] + build: !!python/tuple [std] + conf: !!python/tuple [agents] + 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.13 + babelversion: stable-2.0 + # stable-2.12 - 'lttng-tools_{version}_{buildtype}': buildtype: build @@ -1194,7 +1278,7 @@ buildtype: slesbuild version: stable-2.12 ustversion: stable-2.12 - arch: !!python/tuple [sles12sp2] + arch: !!python/tuple [sles12sp5] build: !!python/tuple [std] conf: !!python/tuple [agents] urcuversion: !!python/tuple [stable-0.12] @@ -1269,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")))' @@ -1280,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: '' @@ -1288,10 +1372,10 @@ buildtype: slesbuild version: stable-2.11 ustversion: stable-2.11 - arch: !!python/tuple [sles12sp2] + 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: '' @@ -1302,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: '' @@ -1313,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: '' @@ -1323,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: '' @@ -1334,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: '' @@ -1345,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 @@ -1382,7 +1466,7 @@ buildtype: slesbuild version: stable-2.10 ustversion: stable-2.10 - arch: !!python/tuple [sles12sp2] + arch: !!python/tuple [sles12sp5] build: !!python/tuple [std] conf: !!python/tuple [agents] urcuversion: !!python/tuple [stable-0.9] @@ -1438,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 [sles12sp2] - 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 [sles12sp2] - 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 @@ -1471,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 @@ -1500,6 +1558,17 @@ babelversion: !!python/tuple [stable-1.5, master] testtype: !!python/tuple [base] filter: '' + - 'dev_{user}_lttng-tools_{version}_{buildtype}': + buildtype: build + version: stable-2.13-staging + ustversion: stable-2.13 + arch: !!python/tuple [amd64] + build: !!python/tuple [std, oot, dist] + conf: !!python/tuple [std, no-ust, agents] + urcuversion: !!python/tuple [stable-0.12] + babelversion: !!python/tuple [stable-2.0, master] + testtype: !!python/tuple [base] + filter: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: build version: stable-2.12-staging @@ -1518,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: '' @@ -1544,6 +1613,17 @@ babelversion: !!python/tuple [stable-1.5, master] testtype: !!python/tuple [base] filter: '' + - 'dev_{user}_lttng-tools_{version}_{buildtype}': + buildtype: portbuild + version: stable-2.13-staging + ustversion: stable-2.13 + 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] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] + filter: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.12-staging @@ -1562,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: '' @@ -1598,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: '' @@ -1607,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: ''