X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-tools.yaml;h=d9bbe72f209fcdd3e5a23fd25890f6099721f888;hb=64ed2e0384d168574a1455d384c25db1ad00440d;hp=cac846bc7a96687f789f9059286e066a0f05d1fa;hpb=481eadc8ea5acbb527b707e50884e2bab37c2c69;p=lttng-ci.git diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index cac846b..d9bbe72 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -13,9 +13,9 @@ wrappers: - ansicolor - timeout: - timeout: 90 + timeout: 30 fail: true - type: absolute + type: no-activity - timestamps - workspace-cleanup: clean-if: @@ -30,7 +30,6 @@ - origin/{version} basedir: src/lttng-tools skip-tag: true - git-tool: jgit triggers: - pollscm: @@ -214,6 +213,132 @@ - shell: !include-raw-escape: scripts/lttng-tools/build.sh +- lttng-tools_build_builders_gerrit: <tng-tools_build_builders_gerrit + name: 'lttng-tools_build_builders_gerrit' + builders: + - shell: + !include-raw-escape: scripts/lttng-tools/gerrit-depends-on.sh + - inject: + properties-file: gerrit_custom_dependencies.properties + - conditional-step: + condition-kind: and + on-evaluation-failure: run + condition-operands: + - condition-kind: shell + condition-command: 'test -z "$GERRIT_DEP_LTTNG_UST"' + - condition-kind: regex-match + label: '$conf' + regex: (std|static|agents|debug-rcu) + steps: + - copyartifact: + project: lttng-ust_${{GERRIT_BRANCH}}_{buildtype}/liburcu_version=${{liburcu_version}},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: (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 + - copyartifact: + project: lttng-ust_${{GERRIT_BRANCH}}_{buildtype}/liburcu_version=${{liburcu_version}},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) + 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: debug-rcu + 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=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: shell + condition-command: 'test ! -z "$GERRIT_DEP_LTTNG_UST"' + steps: + - shell: + !include-raw-escape: + - scripts/lttng-tools/gerrit-build-override.sh + - scripts/lttng-ust/build.sh + - shell: + !include-raw-escape: scripts/lttng-tools/gerrit-install-deps.sh + - shell: + !include-raw-escape: scripts/lttng-tools/build.sh + - lttng-tools_build_builders_win: <tng-tools_build_builders_win name: 'lttng-tools_build_builders_win' builders: @@ -231,17 +356,6 @@ filter: 'build/**' target: 'deps' do-not-fingerprint: true - - conditional-step: - condition-kind: strings-match - on-evaluation-failure: run - condition-string1: '${{arch}}' - condition-string2: 'cygwin' - steps: - - shell: - !include-raw-escape: - - scripts/common/cygwin-shebang - - scripts/common/cygwin-prefix - - scripts/lttng-tools/build.sh - conditional-step: condition-kind: strings-match on-evaluation-failure: run @@ -251,7 +365,7 @@ - shell: !include-raw-escape: - scripts/common/cygwin64-shebang - - scripts/common/cygwin-prefix + - scripts/common/cygpath-prefix - scripts/lttng-tools/build.sh - conditional-step: condition-kind: strings-match @@ -264,7 +378,7 @@ - shell: !include-raw-escape: - scripts/common/msys2-shebang - - scripts/common/cygwin-prefix + - scripts/common/cygpath-prefix - scripts/lttng-tools/build.sh - conditional-step: condition-kind: strings-match @@ -277,7 +391,7 @@ - shell: !include-raw-escape: - scripts/common/msys2-shebang - - scripts/common/cygwin-prefix + - scripts/common/cygpath-prefix - scripts/lttng-tools/build.sh - lttng-tools_build_publishers_dev: <tng-tools_build_publishers_dev @@ -500,6 +614,83 @@ <<: *lttng-tools_build_builders_defaults <<: *lttng-tools_build_publishers_dev +- job-template: + name: dev_gerrit_lttng-tools_{buildtype} + defaults: lttng-tools + concurrent: true + + scm: + - git: + url: https://review.lttng.org/lttng-tools + refspec: 'refs/changes/*:refs/changes/*' + branches: + - '$GERRIT_REFSPEC' + basedir: src/lttng-tools + skip-tag: true + + triggers: + - gerrit: + trigger-on: + - comment-added-event: + approval-category: 'CI-Build' + approval-value: 1 + projects: + - project-compare-type: 'PLAIN' + project-pattern: 'lttng-tools' + branches: + - branch-compare-type: 'ANT' + branch-pattern: '**' + trigger-for-unreviewed-patches: true + + properties: + - inject: + properties-content: | + PROJECT_NAME=lttng-tools + - build-discarder: + days-to-keep: 1 + - throttle: + option: 'category' + categories: + - 'gerrit-{buildtype}' + + <<: *lttng-tools_build_axes_defaults + <<: *lttng-tools_build_builders_gerrit + + 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 + - archive: + artifacts: 'build/**,deps/**,tap/**' + allow-empty: false + - workspace-cleanup: + clean-if: + - failure: false + - job-template: name: lttng-tools_{version}_cppcheck defaults: lttng-tools @@ -557,14 +748,14 @@ which-build: last-successful stable: false filter: 'build/**' - target: 'deps/liburcu' + target: 'deps' do-not-fingerprint: true - copyartifact: project: lttng-ust_{ustversion}_build/liburcu_version={urcuversion},arch=amd64,conf=std,build=std which-build: last-successful stable: false filter: 'build/**' - target: 'deps/lttng-ust' + target: 'deps' do-not-fingerprint: true - shell: !include-raw-escape: scripts/common/scan-build.sh @@ -601,14 +792,14 @@ which-build: last-successful stable: false filter: 'build/**' - target: 'deps/liburcu' + target: 'deps' do-not-fingerprint: true - copyartifact: project: lttng-ust_{ustversion}_build/liburcu_version={urcuversion},arch=amd64,conf=std,build=std which-build: last-successful stable: false filter: 'build/**' - target: 'deps/lttng-ust' + target: 'deps' do-not-fingerprint: true - shell: !include-raw-escape: scripts/common/coverity.sh @@ -638,6 +829,7 @@ - stable-2.9 - stable-2.10 - stable-2.11 + - stable-2.12 - master jobs: # Master # @@ -671,6 +863,16 @@ urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + - 'lttng-tools_{version}_{buildtype}': + buildtype: elbuild + version: master + ustversion: master + arch: !!python/tuple [el8] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [master] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: macosxbuild version: master @@ -694,7 +896,7 @@ - 'lttng-tools_{version}_winbuild': version: master ustversion: master - arch: !!python/tuple [cygwin, cygwin64] + arch: !!python/tuple [cygwin64] build: !!python/tuple [std] conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [master] @@ -702,6 +904,7 @@ testtype: !!python/tuple [base] - 'lttng-tools_{version}_long_regression': buildtype: build + version: master ustversion: master arch: !!python/tuple [amd64] build: !!python/tuple [std] @@ -710,6 +913,87 @@ babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [full] + # stable-2.12 + - 'lttng-tools_{version}_{buildtype}': + buildtype: build + version: stable-2.12 + ustversion: stable-2.12 + arch: !!python/tuple [amd64] + build: !!python/tuple [std, oot, dist] + conf: !!python/tuple [std, no-ust, agents, debug-rcu] + urcuversion: !!python/tuple [stable-0.11] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] + - 'lttng-tools_{version}_{buildtype}': + buildtype: portbuild + version: stable-2.12 + ustversion: stable-2.12 + arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] + build: !!python/tuple [std] + conf: !!python/tuple [std, no-ust, agents] + urcuversion: !!python/tuple [stable-0.11] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] + - '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] + urcuversion: !!python/tuple [stable-0.11] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] + - 'lttng-tools_{version}_{buildtype}': + buildtype: elbuild + version: stable-2.12 + ustversion: stable-2.12 + arch: !!python/tuple [el8] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [stable-0.11] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] + - 'lttng-tools_{version}_{buildtype}': + buildtype: solarisbuild + version: stable-2.12 + ustversion: stable-2.12 + arch: !!python/tuple [sol10-i386, sol11-i386] + build: !!python/tuple [std] + conf: !!python/tuple [relayd-only] + urcuversion: !!python/tuple [stable-0.11] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] + - 'lttng-tools_{version}_{buildtype}': + buildtype: macosxbuild + version: stable-2.12 + ustversion: stable-2.12 + arch: !!python/tuple [macosx] + build: !!python/tuple [std] + conf: !!python/tuple [relayd-only] + urcuversion: !!python/tuple [stable-0.11] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] + - 'lttng-tools_{version}_winbuild': + version: stable-2.12 + ustversion: stable-2.12 + arch: !!python/tuple [cygwin64] + build: !!python/tuple [std] + conf: !!python/tuple [relayd-only] + urcuversion: !!python/tuple [stable-0.11] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] + - 'lttng-tools_{version}_long_regression': + buildtype: build + version: stable-2.12 + ustversion: stable-2.12 + arch: !!python/tuple [amd64] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [stable-0.11] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [full] + # stable-2.11 - 'lttng-tools_{version}_{buildtype}': buildtype: build @@ -741,6 +1025,16 @@ urcuversion: !!python/tuple [stable-0.10] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + - 'lttng-tools_{version}_{buildtype}': + buildtype: elbuild + version: stable-2.11 + ustversion: stable-2.11 + arch: !!python/tuple [el8] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [stable-0.10] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: stable-2.11 @@ -764,12 +1058,22 @@ - 'lttng-tools_{version}_winbuild': version: stable-2.11 ustversion: stable-2.11 - arch: !!python/tuple [cygwin, cygwin64] + arch: !!python/tuple [cygwin64] build: !!python/tuple [std] conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [stable-0.10] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + - 'lttng-tools_{version}_long_regression': + buildtype: build + version: stable-2.11 + ustversion: stable-2.11 + arch: !!python/tuple [amd64] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [stable-0.10] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [full] # stable-2.10 - 'lttng-tools_{version}_{buildtype}': @@ -802,6 +1106,16 @@ urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + - 'lttng-tools_{version}_{buildtype}': + buildtype: elbuild + version: stable-2.10 + ustversion: stable-2.10 + arch: !!python/tuple [el8] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [stable-0.9] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: stable-2.10 @@ -825,12 +1139,22 @@ - 'lttng-tools_{version}_winbuild': version: stable-2.10 ustversion: stable-2.10 - arch: !!python/tuple [cygwin, cygwin64] + arch: !!python/tuple [cygwin64] build: !!python/tuple [std] conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + - 'lttng-tools_{version}_long_regression': + buildtype: build + version: stable-2.10 + ustversion: stable-2.10 + arch: !!python/tuple [amd64] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [stable-0.9] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [full] # stable-2.9 # - 'lttng-tools_{version}_{buildtype}': @@ -863,6 +1187,16 @@ urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + - 'lttng-tools_{version}_{buildtype}': + buildtype: elbuild + version: stable-2.9 + ustversion: stable-2.9 + arch: !!python/tuple [el8] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [stable-0.9] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: stable-2.9 @@ -886,12 +1220,22 @@ - 'lttng-tools_{version}_winbuild': version: stable-2.9 ustversion: stable-2.9 - arch: !!python/tuple [cygwin, cygwin64] + arch: !!python/tuple [cygwin64] build: !!python/tuple [std] conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + - 'lttng-tools_{version}_long_regression': + buildtype: build + version: stable-2.9 + ustversion: stable-2.9 + arch: !!python/tuple [amd64] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [stable-0.9] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [full] # stable-2.8 # - 'lttng-tools_{version}_{buildtype}': @@ -924,6 +1268,16 @@ urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + - 'lttng-tools_{version}_{buildtype}': + buildtype: elbuild + version: stable-2.8 + ustversion: stable-2.8 + arch: !!python/tuple [el8] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [stable-0.9] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: stable-2.8 @@ -934,6 +1288,16 @@ urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + - 'lttng-tools_{version}_long_regression': + buildtype: build + version: stable-2.8 + ustversion: stable-2.8 + arch: !!python/tuple [amd64] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [stable-0.9] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [full] # stable-2.7 # - 'lttng-tools_{version}_{buildtype}': @@ -989,7 +1353,17 @@ build: !!python/tuple [std, oot, dist] conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [master] - babelversion: !!python/tuple [stable-1.5] + babelversion: !!python/tuple [stable-1.5, master] + testtype: !!python/tuple [base] + - 'dev_{user}_lttng-tools_{version}_{buildtype}': + buildtype: build + version: stable-2.12-staging + ustversion: stable-2.12 + arch: !!python/tuple [amd64] + build: !!python/tuple [std, oot, dist] + conf: !!python/tuple [std, no-ust, agents] + urcuversion: !!python/tuple [stable-0.11] + babelversion: !!python/tuple [stable-2.0, master] testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: build @@ -999,7 +1373,7 @@ build: !!python/tuple [std, oot, dist] conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [stable-0.10] - babelversion: !!python/tuple [stable-1.5] + babelversion: !!python/tuple [stable-1.5, master] testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: build @@ -1041,6 +1415,16 @@ urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] + - 'dev_{user}_lttng-tools_{version}_{buildtype}': + buildtype: portbuild + version: stable-2.12-staging + ustversion: stable-2.12 + arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] + build: !!python/tuple [std] + conf: !!python/tuple [std, no-ust, agents] + urcuversion: !!python/tuple [stable-0.11] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.11-staging @@ -1102,6 +1486,20 @@ babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] +- project: + name: gerrit-lttng-tools + github_user: lttng + github_name: lttng-tools + jobs: + - 'dev_gerrit_lttng-tools_{buildtype}': + buildtype: build + arch: !!python/tuple [amd64] + build: !!python/tuple [std, oot, dist, oot-dist] + conf: !!python/tuple [std, no-ust, agents] + urcuversion: !!python/tuple [stable-0.11] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] + - project: name: lttng-tools-views views: