X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-tools.yaml;h=2776043bc18c44424ece8ee73aa3e66e48a0a138;hb=4b8ed6e3be85066d8399db8d19447e05e0745fb7;hp=c6b0247a2bd08ad761c70ff712c395485128f82c;hpb=0104d1467c57eb16b2ae852e8c5acec817a0b064;p=lttng-ci.git diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index c6b0247..2776043 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -51,6 +51,8 @@ name: 'lttng-tools_build_axes_defaults' project-type: matrix node: 'master' # Applies only to matrix flyweight task + execution-strategy: + combination-filter: '{filter}' axes: - axis: type: slave @@ -208,6 +210,33 @@ filter: 'build/**' target: 'deps' do-not-fingerprint: true + - conditional-step: + condition-kind: regex-match + label: '$conf' + regex: tls_fallback + on-evaluation-failure: run + steps: + - copyartifact: + project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=tls_fallback,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 + - copyartifact: + project: lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=tls_fallback,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 - shell: @@ -691,6 +720,87 @@ clean-if: - failure: false +- job-template: + name: lttng-tools_{version}_release + defaults: lttng-tools + node: 'amd64' + + triggers: + - pollscm: + cron: "@daily" + + scm: + - git: + url: git://github.com/{github_user}/{github_name}.git + browser: githubweb + browser-url: https://github.com/{github_user}/{github_name} + refspec: '+refs/tags/*:refs/remotes/origin/tags/*' + branches: + - '*/tags/{version}.*' + basedir: src/lttng-tools + + builders: + - copyartifact: + project: liburcu_{urcuversion}_build/arch=amd64,conf=std,build=std + which-build: last-successful + stable: false + filter: 'build/**' + target: 'deps' + do-not-fingerprint: true + - copyartifact: + project: babeltrace_{babelversion}_build/arch=amd64,conf=std,build=std + which-build: last-successful + stable: false + filter: 'build/**' + target: 'deps' + do-not-fingerprint: true + - copyartifact: + project: lttng-ust_{ustversion}_build/liburcu_version={urcuversion},arch=amd64,conf=agents,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 + - shell: + !include-raw-escape: scripts/lttng-tools/release.sh + + publishers: + - postbuildscript: + mark-unstable-if-failed: true + builders: + - role: SLAVE + build-on: + - SUCCESS + - UNSTABLE + - NOT_BUILT + - ABORTED + - FAILURE + build-steps: + - shell: + !include-raw-escape: scripts/lttng-tools/hang_processes.sh + - tap: + results: 'tap/**/*.*' + fail-if-no-results: true + failed-tests-mark-build-as-failure: true + todo-is-failure: false + - warnings: + console-log-parsers: + - 'GNU Make + GNU C Compiler (gcc)' + total-thresholds: + unstable: + total-all: 0 + total-high: 0 + total-normal: 0 + total-low: 0 + - workspace-cleanup: + clean-if: + - failure: false + - archive: + artifacts: 'out/**' + allow-empty: false + - job-template: name: lttng-tools_{version}_cppcheck defaults: lttng-tools @@ -837,10 +947,11 @@ ustversion: master arch: !!python/tuple [amd64] build: !!python/tuple [std, oot, dist] - conf: !!python/tuple [std, no-ust, agents, debug-rcu] + conf: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5, master] testtype: !!python/tuple [base] + filter: '(build=="std") || ((babeltrace_version=="master" && (conf=="std" || conf=="agents" || conf=="no-ust")))' - 'lttng-tools_{version}_{buildtype}': buildtype: portbuild version: master @@ -851,16 +962,18 @@ urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: master ustversion: master arch: !!python/tuple [sles12sp2] build: !!python/tuple [std] - conf: !!python/tuple [std] + conf: !!python/tuple [agents] urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: elbuild version: master @@ -871,6 +984,7 @@ urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: macosxbuild version: master @@ -881,6 +995,7 @@ urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: master @@ -891,6 +1006,7 @@ urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_winbuild': version: master ustversion: master @@ -900,6 +1016,7 @@ urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_long_regression': buildtype: build version: master @@ -910,6 +1027,7 @@ urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [full] + filter: '' # stable-2.12 - 'lttng-tools_{version}_{buildtype}': @@ -918,10 +1036,11 @@ ustversion: stable-2.12 arch: !!python/tuple [amd64] build: !!python/tuple [std, oot, dist] - conf: !!python/tuple [std, no-ust, agents, debug-rcu] + conf: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] urcuversion: !!python/tuple [stable-0.12] 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.12 @@ -932,16 +1051,18 @@ urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: stable-2.12 ustversion: stable-2.12 arch: !!python/tuple [sles12sp2] build: !!python/tuple [std] - conf: !!python/tuple [std] + conf: !!python/tuple [agents] urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: elbuild version: stable-2.12 @@ -952,6 +1073,7 @@ urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: stable-2.12 @@ -962,6 +1084,7 @@ urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: macosxbuild version: stable-2.12 @@ -972,6 +1095,7 @@ urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_winbuild': version: stable-2.12 ustversion: stable-2.12 @@ -981,6 +1105,7 @@ urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_long_regression': buildtype: build version: stable-2.12 @@ -991,6 +1116,12 @@ urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-2.0] testtype: !!python/tuple [full] + filter: '' + - 'lttng-tools_{version}_release': + version: v2.12 + ustversion: stable-2.12 + urcuversion: stable-0.12 + babelversion: stable-2.0 # stable-2.11 - 'lttng-tools_{version}_{buildtype}': @@ -999,10 +1130,11 @@ ustversion: stable-2.11 arch: !!python/tuple [amd64] build: !!python/tuple [std, oot, dist] - conf: !!python/tuple [std, no-ust, agents, debug-rcu] + conf: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] urcuversion: !!python/tuple [stable-0.10] 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")))' - 'lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.11 @@ -1013,16 +1145,18 @@ urcuversion: !!python/tuple [stable-0.10] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: stable-2.11 ustversion: stable-2.11 arch: !!python/tuple [sles12sp2] build: !!python/tuple [std] - conf: !!python/tuple [std] + conf: !!python/tuple [agents] urcuversion: !!python/tuple [stable-0.10] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: elbuild version: stable-2.11 @@ -1033,6 +1167,7 @@ urcuversion: !!python/tuple [stable-0.10] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: stable-2.11 @@ -1043,6 +1178,7 @@ urcuversion: !!python/tuple [stable-0.10] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: macosxbuild version: stable-2.11 @@ -1053,6 +1189,7 @@ urcuversion: !!python/tuple [stable-0.10] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_winbuild': version: stable-2.11 ustversion: stable-2.11 @@ -1062,6 +1199,7 @@ urcuversion: !!python/tuple [stable-0.10] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_long_regression': buildtype: build version: stable-2.11 @@ -1072,6 +1210,12 @@ urcuversion: !!python/tuple [stable-0.10] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [full] + filter: '' + - 'lttng-tools_{version}_release': + version: v2.11 + ustversion: stable-2.11 + urcuversion: stable-0.10 + babelversion: stable-1.5 # stable-2.10 - 'lttng-tools_{version}_{buildtype}': @@ -1080,10 +1224,11 @@ ustversion: stable-2.10 arch: !!python/tuple [amd64] build: !!python/tuple [std, oot, dist] - conf: !!python/tuple [std, no-ust, agents, debug-rcu] + conf: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] urcuversion: !!python/tuple [stable-0.9] 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")))' - 'lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.10 @@ -1094,16 +1239,18 @@ urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: stable-2.10 ustversion: stable-2.10 arch: !!python/tuple [sles12sp2] build: !!python/tuple [std] - conf: !!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}_{buildtype}': buildtype: elbuild version: stable-2.10 @@ -1114,6 +1261,7 @@ urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: stable-2.10 @@ -1124,6 +1272,7 @@ urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_{buildtype}': buildtype: macosxbuild version: stable-2.10 @@ -1134,6 +1283,7 @@ urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_winbuild': version: stable-2.10 ustversion: stable-2.10 @@ -1143,6 +1293,7 @@ urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'lttng-tools_{version}_long_regression': buildtype: build version: stable-2.10 @@ -1153,6 +1304,12 @@ urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [full] + filter: '' + - 'lttng-tools_{version}_release': + version: v2.10 + ustversion: stable-2.10 + urcuversion: stable-0.9 + babelversion: stable-1.5 # stable-2.9 # - 'lttng-tools_{version}_{buildtype}': @@ -1161,10 +1318,11 @@ ustversion: stable-2.9 arch: !!python/tuple [sles12sp2] build: !!python/tuple [std] - conf: !!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}': @@ -1173,10 +1331,11 @@ ustversion: stable-2.8 arch: !!python/tuple [sles12sp2] build: !!python/tuple [std] - conf: !!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': @@ -1214,6 +1373,7 @@ urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5, master] testtype: !!python/tuple [base] + filter: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: build version: stable-2.12-staging @@ -1224,6 +1384,7 @@ 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.11-staging @@ -1234,6 +1395,7 @@ urcuversion: !!python/tuple [stable-0.10] babelversion: !!python/tuple [stable-1.5, master] testtype: !!python/tuple [base] + filter: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: build version: stable-2.10-staging @@ -1244,6 +1406,7 @@ urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: master-staging @@ -1254,6 +1417,7 @@ urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.12-staging @@ -1264,6 +1428,7 @@ 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.11-staging @@ -1274,6 +1439,7 @@ urcuversion: !!python/tuple [stable-0.10] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.10-staging @@ -1284,6 +1450,7 @@ urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: macosxbuild version: master-staging @@ -1294,6 +1461,7 @@ urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: master-staging @@ -1304,6 +1472,7 @@ urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - project: name: gerrit-lttng-tools @@ -1318,6 +1487,7 @@ urcuversion: !!python/tuple [stable-0.12] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + filter: '' - project: name: lttng-tools-views