X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=jobs%2Flttng-tools.yaml;h=dcaa53108a9817403d82c1d951076a22cf418878;hb=40430e73d17a54c44056d0197d36d7c4b759af63;hp=4635e91704be94b1481db8d54daf171e34fd60f3;hpb=7361d9411cd190aadb61cb53d0629c79b536cb60;p=lttng-ci.git diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index 4635e91..dcaa531 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -1,28 +1,40 @@ +--- ## SCM Anchors -- lttng-tools_git: - name: 'lttng-tools_git' +- lttng-tools_default_git: + name: 'lttng-tools_default_git' scm: - - git: <tng-tools_git - url: git://github.com/{github_user}/lttng-tools.git + - git: <tng-tools_default_git + url: https://github.com/{github_user}/lttng-tools.git browser: githubweb browser-url: https://github.com/{github_user}/lttng-tools branches: - - origin/{version} + - '{version}' basedir: src/lttng-tools skip-tag: true -- lttng-modules_git: - name: 'lttng-modules_git' +- lttng-modules_default_git: + name: 'lttng-modules_default_git' scm: - - git: <tng-modules_git - url: git://github.com/{github_user}/lttng-modules.git + - git: <tng-modules_default_git + url: https://github.com/{github_user}/lttng-modules.git browser: githubweb browser-url: https://github.com/{github_user}/lttng-modules branches: - - origin/{version} + - '{version}' basedir: src/lttng-modules skip-tag: true +- lttng-tools_gerrit_git: + name: 'lttng-tools_gerrit_git' + scm: + - git: <tng-tools_gerrit_git + url: https://review.lttng.org/lttng-tools + refspec: 'refs/changes/*:refs/changes/*' + branches: + - '$GERRIT_REFSPEC' + basedir: src/lttng-tools + skip-tag: true + ## Defaults - defaults: @@ -43,13 +55,14 @@ timeout: 30 fail: true type: no-activity + write-description: "

This build failed due to timeout.

" - timestamps - workspace-cleanup: clean-if: - failure: false scm: - - git: *lttng-tools_git + - git: *lttng-tools_default_git triggers: - pollscm: @@ -99,6 +112,43 @@ name: test_type values: '{obj:testtype}' +- lttng-tools_build_axes_rootbuild: <tng-tools_build_axes_rootbuild + name: 'lttng-tools_build_axes_rootbuild' + project-type: matrix + node: 'master' # Applies only to matrix flyweight task + execution-strategy: + combination-filter: '{filter}' + axes: + - axis: + type: slave + name: node + values: + - 'amd64-rootnode' + - axis: + type: user-defined + name: arch + values: '{obj:arch}' + - axis: + type: user-defined + name: conf + values: '{obj:conf}' + - axis: + type: user-defined + name: liburcu_version + values: '{obj:urcuversion}' + - axis: + type: user-defined + name: babeltrace_version + values: '{obj:babelversion}' + - axis: + type: user-defined + name: build + values: '{obj:build}' + - axis: + type: user-defined + name: test_type + values: '{obj:testtype}' + ## Builders Anchors - lttng-tools_build_builders_defaults: <tng-tools_build_builders_defaults @@ -151,13 +201,6 @@ filter: 'build/**' target: 'deps' do-not-fingerprint: true - - copyartifact: - project: lttng-ust_{ustversion}_{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' @@ -262,7 +305,9 @@ - shell: !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh - shell: - !include-raw-escape: scripts/lttng-tools/build.sh + !include-raw-escape: + - scripts/common/print.sh + - scripts/lttng-tools/build.sh - lttng-tools_build_builders_gerrit: <tng-tools_build_builders_gerrit name: 'lttng-tools_build_builders_gerrit' @@ -328,13 +373,6 @@ 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' @@ -383,12 +421,15 @@ steps: - shell: !include-raw-escape: - - scripts/lttng-tools/gerrit-build-override.sh + - scripts/common/override-build-std.sh + - scripts/common/print.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 + !include-raw-escape: + - scripts/common/print.sh + - scripts/lttng-tools/build.sh - lttng-tools_build_builders_win: <tng-tools_build_builders_win name: 'lttng-tools_build_builders_win' @@ -410,6 +451,7 @@ !include-raw-escape: - scripts/common/cygwin64-shebang - scripts/common/cygpath-prefix + - scripts/common/print.sh - scripts/lttng-tools/build.sh - conditional-step: condition-kind: strings-match @@ -423,6 +465,7 @@ !include-raw-escape: - scripts/common/msys2-shebang - scripts/common/cygpath-prefix + - scripts/common/print.sh - scripts/lttng-tools/build.sh - conditional-step: condition-kind: strings-match @@ -436,11 +479,21 @@ !include-raw-escape: - scripts/common/msys2-shebang - scripts/common/cygpath-prefix + - scripts/common/print.sh - scripts/lttng-tools/build.sh - 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: @@ -499,6 +552,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: @@ -623,9 +685,10 @@ wrappers: - ansicolor - timeout: - timeout: 10 + timeout: 45 fail: true type: no-activity + write-description: "

This build failed due to timeout.

" - timestamps - workspace-cleanup: clean-if: @@ -645,44 +708,10 @@ - job-template: name: lttng-tools_{version}_rootbuild defaults: lttng-tools - project-type: matrix - node: 'master' # Applies only to matrix flyweight task - execution-strategy: - combination-filter: '{filter}' - axes: - - axis: - type: slave - name: node - values: - - 'amd64-rootnode' - - axis: - type: user-defined - name: arch - values: '{obj:arch}' - - axis: - type: user-defined - name: conf - values: '{obj:conf}' - - axis: - type: user-defined - name: liburcu_version - values: '{obj:urcuversion}' - - axis: - type: user-defined - name: babeltrace_version - values: '{obj:babelversion}' - - axis: - type: user-defined - name: build - values: '{obj:build}' - - axis: - type: user-defined - name: test_type - values: '{obj:testtype}' scm: - - git: *lttng-tools_git - - git: *lttng-modules_git + - git: *lttng-tools_default_git + - git: *lttng-modules_default_git wrappers: - ansicolor @@ -690,8 +719,10 @@ timeout: 10 fail: true type: no-activity + write-description: "

This build failed due to timeout.

" - timestamps + <<: *lttng-tools_build_axes_rootbuild <<: *lttng-tools_build_builders_defaults <<: *lttng-tools_build_publishers_prod @@ -724,13 +755,7 @@ 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 + - git: *lttng-tools_gerrit_git triggers: - gerrit: @@ -744,7 +769,6 @@ branches: - branch-compare-type: 'ANT' branch-pattern: '**' - trigger-for-unreviewed-patches: true properties: - inject: @@ -761,6 +785,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: @@ -795,6 +828,67 @@ clean-if: - failure: false +- job-template: + name: dev_gerrit_lttng-tools_rootbuild + defaults: lttng-tools + concurrent: true + + scm: + - git: *lttng-tools_gerrit_git + - git: + <<: *lttng-modules_default_git + branches: + - '$GERRIT_BRANCH' + + 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: '**' + + properties: + - inject: + properties-content: | + PROJECT_NAME=lttng-tools + - build-discarder: + days-to-keep: 1 + - throttle: + option: 'category' + categories: + - 'gerrit-{buildtype}' + + <<: *lttng-tools_build_axes_rootbuild + <<: *lttng-tools_build_builders_gerrit + + publishers: + - 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}_release defaults: lttng-tools @@ -806,7 +900,7 @@ scm: - git: - url: git://github.com/{github_user}/lttng-tools.git + url: https://github.com/{github_user}/lttng-tools.git browser: githubweb browser-url: https://github.com/{github_user}/lttng-tools refspec: '+refs/tags/*:refs/remotes/origin/tags/*' @@ -842,6 +936,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: @@ -1012,6 +1115,7 @@ - stable-2.10 - stable-2.11 - stable-2.12 + - stable-2.13 - master jobs: # Master # @@ -1041,7 +1145,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] @@ -1060,21 +1164,10 @@ testtype: !!python/tuple [base] filter: '' - 'lttng-tools_{version}_{buildtype}': - buildtype: macosxbuild + buildtype: macosbuild version: master ustversion: master - arch: !!python/tuple [macosx] - build: !!python/tuple [std] - conf: !!python/tuple [relayd-only] - urcuversion: !!python/tuple [master] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [base] - filter: '' - - 'lttng-tools_{version}_{buildtype}': - buildtype: solarisbuild - version: master - ustversion: master - arch: !!python/tuple [sol10-i386, sol11-i386] + arch: !!python/tuple [macos-amd64, macos-arm64] build: !!python/tuple [std] conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [master] @@ -1114,6 +1207,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.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.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.12] + 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.12] + 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.12] + 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.12] + 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.12] + 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.12] + 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.12] + 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 + babelversion: stable-2.0 + # stable-2.12 - 'lttng-tools_{version}_{buildtype}': buildtype: build @@ -1141,7 +1328,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] @@ -1160,21 +1347,10 @@ testtype: !!python/tuple [base] filter: '' - 'lttng-tools_{version}_{buildtype}': - buildtype: solarisbuild + buildtype: macosbuild 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.12] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [base] - filter: '' - - 'lttng-tools_{version}_{buildtype}': - buildtype: macosxbuild - version: stable-2.12 - ustversion: stable-2.12 - arch: !!python/tuple [macosx] + arch: !!python/tuple [macos-amd64, macos-arm64] build: !!python/tuple [std] conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [stable-0.12] @@ -1246,7 +1422,7 @@ 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] @@ -1265,21 +1441,10 @@ testtype: !!python/tuple [base] filter: '' - 'lttng-tools_{version}_{buildtype}': - buildtype: solarisbuild - version: stable-2.11 - ustversion: stable-2.11 - arch: !!python/tuple [sol10-i386, sol11-i386] - 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] - filter: '' - - 'lttng-tools_{version}_{buildtype}': - buildtype: macosxbuild + buildtype: macosbuild version: stable-2.11 ustversion: stable-2.11 - arch: !!python/tuple [macosx] + arch: !!python/tuple [macos-amd64, macos-arm64] build: !!python/tuple [std] conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [stable-0.10] @@ -1351,7 +1516,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] @@ -1370,21 +1535,10 @@ testtype: !!python/tuple [base] filter: '' - 'lttng-tools_{version}_{buildtype}': - buildtype: solarisbuild + buildtype: macosbuild version: stable-2.10 ustversion: stable-2.10 - arch: !!python/tuple [sol10-i386, sol11-i386] - 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] - filter: '' - - 'lttng-tools_{version}_{buildtype}': - buildtype: macosxbuild - version: stable-2.10 - ustversion: stable-2.10 - arch: !!python/tuple [macosx] + arch: !!python/tuple [macos-amd64, macos-arm64] build: !!python/tuple [std] conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [stable-0.9] @@ -1423,7 +1577,7 @@ buildtype: slesbuild version: stable-2.9 ustversion: stable-2.9 - arch: !!python/tuple [sles12sp2] + arch: !!python/tuple [sles12sp5] build: !!python/tuple [std] conf: !!python/tuple [agents] urcuversion: !!python/tuple [stable-0.9] @@ -1436,7 +1590,7 @@ buildtype: slesbuild version: stable-2.8 ustversion: stable-2.8 - arch: !!python/tuple [sles12sp2] + arch: !!python/tuple [sles12sp5] build: !!python/tuple [std] conf: !!python/tuple [agents] urcuversion: !!python/tuple [stable-0.9] @@ -1480,6 +1634,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 @@ -1524,6 +1689,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 @@ -1558,21 +1734,10 @@ testtype: !!python/tuple [base] filter: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: macosxbuild - version: master-staging - ustversion: master - arch: !!python/tuple [macosx] - build: !!python/tuple [std] - conf: !!python/tuple [relayd-only] - urcuversion: !!python/tuple [master] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [base] - filter: '' - - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: solarisbuild + buildtype: macosbuild version: master-staging ustversion: master - arch: !!python/tuple [sol10-i386, sol11-i386] + arch: !!python/tuple [macos-amd64, macos-arm64] build: !!python/tuple [std] conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [master] @@ -1593,6 +1758,15 @@ babelversion: !!python/tuple [stable-1.5] testtype: !!python/tuple [base] filter: '' + - 'dev_gerrit_lttng-tools_rootbuild': + buildtype: build + arch: !!python/tuple [amd64] + build: !!python/tuple [std] + conf: !!python/tuple [agents] + urcuversion: !!python/tuple [stable-0.12] + babelversion: !!python/tuple [stable-2.0] + testtype: !!python/tuple [base] + filter: '' - project: name: lttng-tools-views