X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=jobs%2Flttng-tools.yaml;h=dd754103dbf0f6e4e3f209c6305f9b7d416c4834;hb=24e49fa56ef3c11d962d5cad8ca0b501dc966f67;hp=65b8e08d6b895acbcb249e4df8de95f7718d395c;hpb=e3c322027d1e4b20f057b8b604b3aed84d533e74;p=lttng-ci.git diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index 65b8e08..dd75410 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -1,41 +1,4 @@ --- -## SCM Anchors -- lttng-tools_default_git: - name: 'lttng-tools_default_git' - scm: - - 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: - - '{version}' - basedir: src/lttng-tools - skip-tag: true - -- lttng-modules_default_git: - name: 'lttng-modules_default_git' - scm: - - 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: - - '{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: name: lttng-tools @@ -50,365 +13,335 @@ project-type: freestyle wrappers: - - ansicolor - - timeout: + - ansicolor: <tng-tools_wrapper_ansicolor_defaults + colormap: xterm + - timeout: <tng-tools_wrapper_timeout_defaults timeout: 30 - fail: true + abort: true type: no-activity write-description: "

This build failed due to timeout.

" - timestamps - - workspace-cleanup: - clean-if: - - failure: false + - workspace-cleanup + - raw: <tng-tools_wrapper_proc-cleaner_defaults + xml: | + + + org.jenkinsci.plugins.proccleaner.PsAllKiller + + false + false + + scm: - - git: *lttng-tools_default_git + - git: <tng-tools_scm_git_default + url: https://github.com/{github_user}/lttng-tools.git + browser: githubweb + browser-url: https://github.com/{github_user}/lttng-tools + branches: + - '{version}' + basedir: src/lttng-tools + skip-tag: true triggers: - - pollscm: + - pollscm: <tng-tools_trigger_pollscm_default cron: "@hourly" properties: - - inject: + - inject: <tng-tools_property_inject_defaults properties-content: | PROJECT_NAME=lttng-tools - - github: - url: https://github.com/{github_user}/lttng-tools - - build-discarder: + - build-discarder: <tng-tools_property_build-discarder_defaults num-to-keep: 20 artifact-num-to-keep: 2 + - github: <tng-tools_property_github_defaults + url: https://github.com/{github_user}/lttng-tools + +## Anchors +- _lttng-tools_steps_copyartifact_defaults: + name: 'lttng-tools_steps_copyartifact_defaults' + steps: + - copyartifact: <tng-tools_steps_copyartifact_defaults + project: '' + which-build: last-successful + stable: false + filter: 'build/**' + target: 'deps' + do-not-fingerprint: true ## Axis Anchors -- lttng-tools_build_axes_defaults: <tng-tools_build_axes_defaults - name: 'lttng-tools_build_axes_defaults' +- _lttng-tools_matrix_axes_defaults: <tng-tools_matrix_axes_defaults + name: 'lttng-tools_matrix_axes_defaults' project-type: matrix node: 'master' # Applies only to matrix flyweight task - execution-strategy: + execution-strategy: <tng-tools_matrix_execution-strategy_defaults combination-filter: '{filter}' + touchstone: + expr: '{touchstone}' + result: unstable axes: - - axis: + - axis: <tng-tools_matrix_axis_platform type: slave - name: arch - values: '{obj:arch}' - - axis: + name: platform + values: '{obj:platforms}' + - axis: <tng-tools_matrix_axis_conf type: user-defined name: conf - values: '{obj:conf}' - - axis: + values: '{obj:confs}' + - axis: <tng-tools_matrix_axis_build + type: user-defined + name: build + values: '{obj:builds}' + - axis: <tng-tools_matrix_axis_liburcu_version type: user-defined name: liburcu_version - values: '{obj:urcuversion}' - - axis: + values: '{obj:urcuversions}' + - axis: <tng-tools_matrix_axis_babeltrace_version 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}' + values: '{obj:babelversions}' -- lttng-tools_build_axes_rootbuild: <tng-tools_build_axes_rootbuild - name: 'lttng-tools_build_axes_rootbuild' +- _lttng-tools_matrix_axes_rootbuild: <tng-tools_matrix_axes_rootbuild + name: 'lttng-tools_matrix_axes_rootbuild' project-type: matrix node: 'master' # Applies only to matrix flyweight task - execution-strategy: - combination-filter: '{filter}' + execution-strategy: *lttng-tools_matrix_execution-strategy_defaults axes: - axis: type: slave name: node values: - 'amd64-rootnode' + - 'i386-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}' + <<: *lttng-tools_matrix_axis_platform + type: user-defined + - axis: *lttng-tools_matrix_axis_conf + - axis: *lttng-tools_matrix_axis_build + - axis: *lttng-tools_matrix_axis_liburcu_version + - axis: *lttng-tools_matrix_axis_babeltrace_version ## Builders Anchors -- lttng-tools_build_builders_defaults: <tng-tools_build_builders_defaults - name: 'lttng-tools_build_builders_defaults' +- _lttng-tools_builders_defaults: <tng-tools_builders_defaults + name: 'lttng-tools_builders_defaults' builders: + # Generate a properties file to add additionnal env + - shell: | + #!/bin/bash + set -exu + # Select the deps conf based on the current conf + case "$conf" in + std|static) + liburcu_conf=$conf + babeltrace_conf=$conf + ust_conf=$conf + ;; + agents) + liburcu_conf=std + babeltrace_conf=std + ust_conf=$conf + ;; + debug-rcu|tls_fallback) + liburcu_conf=$conf + babeltrace_conf=std + ust_conf=$conf + ;; + *) + liburcu_conf=std + babeltrace_conf=std + ust_conf=std + ;; + esac + # Run java tests only on 'linuxbuild' and 'slesbuild' jobs + if [ "{buildtype}" = "linuxbuild" ] || [ "{buildtype}" = "slesbuild" ]; then + echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=yes" >> env.properties + else + echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=no" >> env.properties + fi + if [ "{buildtype}" = "slesbuild" ] ; then + echo "TAP_AUTOTIME=0" >> env.properties + fi + echo "liburcu_conf=$liburcu_conf" >> env.properties + echo "babeltrace_conf=$babeltrace_conf" >> env.properties + echo "ust_conf=$ust_conf" >> env.properties + + # Inject the additionnal env early to use them in the copyartifact step + - inject: + properties-file: env.properties + + # Always copy liburcu artifacts + - copyartifact: + <<: *lttng-tools_steps_copyartifact_defaults + project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=${{liburcu_conf}},build=std' + + # Always copy babeltrace artifacts + - copyartifact: + <<: *lttng-tools_steps_copyartifact_defaults + project: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/platform=${{platform}},conf=${{babeltrace_conf}},build=std' + + # Some conf do not require lttng-ust artifacts - conditional-step: - condition-kind: regex-match - label: '$conf' - regex: (std|static) - on-evaluation-failure: run - steps: - - copyartifact: - project: '{urcu_job_prefix}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: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std' - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true - - copyartifact: - project: '{ust_job_prefix}lttng-ust_{ustversion}_{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: no-ust - on-evaluation-failure: run - steps: - - copyartifact: - project: '{urcu_job_prefix}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: '{bt_job_prefix}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 - on-evaluation-failure: run - steps: - - copyartifact: - project: '{urcu_job_prefix}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: '{bt_job_prefix}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: '{ust_job_prefix}lttng-ust_{ustversion}_{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: (relayd-only) - on-evaluation-failure: run - steps: - - copyartifact: - project: '{urcu_job_prefix}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: '{bt_job_prefix}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 + condition-kind: not + condition-operand: + condition-kind: regex-match + label: '$conf' + regex: '(no-ust|relayd-only)' steps: - copyartifact: - project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=debug-rcu,build=std' - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true - - copyartifact: - project: '{bt_job_prefix}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: '{ust_job_prefix}lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=debug-rcu,build=std' - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true + <<: *lttng-tools_steps_copyartifact_defaults + project: '{ust_job_prefix}lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},platform=${{platform}},conf=${{ust_conf}},build=std' + + # rootbuild requires a checkout of modules - conditional-step: condition-kind: regex-match - label: '$conf' - regex: tls_fallback - on-evaluation-failure: run + label: '$JOB_NAME' + regex: '.*_rootbuild.*' steps: - - copyartifact: - project: '{urcu_job_prefix}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: '{bt_job_prefix}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: '{ust_job_prefix}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: | + #!/bin/bash + set -exu + git clone -b "{version}" https://github.com/{github_user}/lttng-modules.git src/lttng-modules + - shell: - !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh + !include-raw-escape: scripts/lttng-tools/prebuild_clean_processes_coredumps.sh + - shell: !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' +- _lttng-tools_builders_review: <tng-tools_builders_review + name: 'lttng-tools_builders_review' builders: + - shell: | + #!/bin/bash + set -exu + # Run java tests only on 'linuxbuild' and 'slesbuild' jobs + if [ "{buildtype}" = "linuxbuild" ] || [ "{buildtype}" = "slesbuild" ]; then + echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=yes" >> env.properties + else + echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=no" >> env.properties + fi + if [ "{buildtype}" = "slesbuild" ] ; then + echo "TAP_AUTOTIME=0" >> env.properties + fi + - inject: + properties-file: env.properties - shell: !include-raw-escape: scripts/lttng-tools/gerrit-depends-on.sh + - inject: properties-file: gerrit_custom_dependencies.properties + + # rootbuild requires a checkout of modules + - conditional-step: + condition-kind: regex-match + label: '$JOB_NAME' + regex: '.*_rootbuild.*' + steps: + - shell: | + #!/bin/bash + set -exu + git clone -b "$GERRIT_BRANCH" https://github.com/{github_user}/lttng-modules.git src/lttng-modules + + # Copy lttng-ust artifacts if the conf is 'std' or 'agents' + # and we don't depend on a specific lttng-ust change - conditional-step: condition-kind: and on-evaluation-failure: run condition-operands: - condition-kind: shell - condition-command: 'test -z "$GERRIT_DEP_LTTNG_UST"' + condition-command: 'test "$GERRIT_DEP_LTTNG_UST" = ""' - condition-kind: regex-match label: '$conf' regex: (std|agents) steps: - copyartifact: - project: '{ust_job_prefix}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 + <<: *lttng-tools_steps_copyartifact_defaults + project: '{ust_job_prefix}lttng-ust_${{GERRIT_BRANCH}}_{buildtype}/liburcu_version=${{liburcu_version}},platform=${{platform}},conf=${{conf}},build=std' + + # Copy liburcu artifacts if we don't depend on a specific liburcu change - conditional-step: condition-kind: shell on-evaluation-failure: run - condition-command: 'test -z "$GERRIT_DEP_USERSPACE_RCU"' + condition-command: 'test "$GERRIT_DEP_USERSPACE_RCU" = ""' steps: - copyartifact: - project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std' - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true + <<: *lttng-tools_steps_copyartifact_defaults + project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=std,build=std' + + # Copy babeltrace artifacts if we don't depend on a specific babeltrace change - conditional-step: condition-kind: shell on-evaluation-failure: run - condition-command: 'test -z "$GERRIT_DEP_BABELTRACE"' + condition-command: 'test "$GERRIT_DEP_BABELTRACE" = ""' steps: - copyartifact: - project: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std' - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true + <<: *lttng-tools_steps_copyartifact_defaults + project: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/platform=${{platform}},conf=std,build=std' + - shell: - !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh + !include-raw-escape: scripts/lttng-tools/prebuild_clean_processes_coredumps.sh + + # Build liburcu if we depend on a specific liburcu change - conditional-step: condition-kind: shell - condition-command: 'test ! -z "$GERRIT_DEP_USERSPACE_RCU"' + condition-command: 'test "$GERRIT_DEP_USERSPACE_RCU" != ""' steps: - 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/gerrit-install-deps.sh + + # Build babeltrace if we depend on a specific babeltrace change - conditional-step: condition-kind: shell - condition-command: 'test ! -z "$GERRIT_DEP_BABELTRACE"' + condition-command: 'test "$GERRIT_DEP_BABELTRACE" != ""' steps: - shell: !include-raw-escape: - scripts/common/override-build-std.sh - scripts/common/print.sh - scripts/babeltrace/build.sh - - shell: - !include-raw-escape: scripts/lttng-tools/gerrit-install-deps.sh + - shell: + !include-raw-escape: scripts/lttng-tools/gerrit-install-deps.sh + + # Build lttng-ust if we depend on a specific lttng-ust change - conditional-step: condition-kind: shell - condition-command: 'test ! -z "$GERRIT_DEP_LTTNG_UST"' + condition-command: 'test "$GERRIT_DEP_LTTNG_UST" != ""' steps: - shell: !include-raw-escape: - 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/gerrit-install-deps.sh + + # Finaly build lttng-tools - shell: !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' +- _lttng-tools_builders_win: <tng-tools_builders_win + name: 'lttng-tools_builders_win' builders: + # Always copy liburcu artifacts - copyartifact: - project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_winbuild/arch=${{arch}},conf=std,build=std' - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true + <<: *lttng-tools_steps_copyartifact_defaults + project: '{urcu_job_prefix}liburcu_${{liburcu_version}}_winbuild/platform=${{platform}},conf=std,build=std' + - conditional-step: condition-kind: strings-match on-evaluation-failure: run - condition-string1: '${{arch}}' + condition-string1: '${{platform}}' condition-string2: 'cygwin64' steps: - shell: @@ -417,28 +350,15 @@ - scripts/common/cygpath-prefix - scripts/common/print.sh - scripts/lttng-tools/build.sh + - conditional-step: condition-kind: strings-match on-evaluation-failure: run - condition-string1: '${{arch}}' - condition-string2: 'msys2-mingw32' - steps: - - inject: - properties-content: 'MSYSTEM=MINGW32' - - shell: - !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 - on-evaluation-failure: run - condition-string1: '${{arch}}' - condition-string2: 'msys2-mingw64' + condition-string1: '${{platform}}' + condition-string2: 'msys2-ucrt64' steps: - inject: - properties-content: 'MSYSTEM=MINGW64' + properties-content: 'MSYSTEM=UCRT64' - shell: !include-raw-escape: - scripts/common/msys2-shebang @@ -446,19 +366,38 @@ - scripts/common/print.sh - scripts/lttng-tools/build.sh -- lttng-tools_build_publishers_defaults: <tng-tools_build_publishers_defaults - name: 'lttng-tools_build_publishers_defaults' +- _lttng-tools_publishers_defaults: <tng-tools_publishers_defaults + name: 'lttng-tools_publishers_defaults' publishers: - - postbuildscript: + # On build abort (timeout), wait 10 seconds before running the other post + # build scripts, this will allow the processes to terminate and make the + # build log more legible. + - postbuildscript: <tng-tools_publisher_postbuildscript_wait_10_seconds_on_abort mark-unstable-if-failed: false builders: - role: SLAVE build-on: + - ABORTED + build-steps: + - shell: + !include-raw-escape: scripts/lttng-tools/postbuild_wait_10_seconds.sh + + # On build failure, try to get partial tap results if any exists + - postbuildscript: <tng-tools_publisher_postbuildscript_collect_tap_on_failure + mark-unstable-if-failed: false + builders: + - role: SLAVE + build-on: + - ABORTED - FAILURE build-steps: - shell: - !include-raw-escape: scripts/lttng-tools/tap_failure.sh - - postbuildscript: + !include-raw-escape: scripts/lttng-tools/postbuild_collect_tap_results.sh + + # If there are leftover lttng processes or core files present, kill the + # processes, collect the core files, delete them and mark the build + # unstable. + - postbuildscript: <tng-tools_publisher_postbuildscript_clean_processes_coredumps mark-unstable-if-failed: true builders: - role: SLAVE @@ -470,74 +409,88 @@ - FAILURE build-steps: - shell: - !include-raw-escape: scripts/lttng-tools/hang_processes.sh - - tap: + !include-raw-escape: scripts/lttng-tools/postbuild_clean_processes_coredumps.sh + + - tap: <tng-tools_publisher_tap_defaults results: 'tap/**/*.*' fail-if-no-results: true failed-tests-mark-build-as-failure: true + include-comment-diagnostics: true + output-tap-to-console: false 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: 'build/**,deps/**,tap/**' + remove-yaml-if-corrupted: true + + - raw: <tng-tools_publisher_warnings-ng_defaults + xml: | + + + + + + + + + false + + + + + + false + true + false + 0 + 0 + + LOW + + + true + true + false + true + false + + + 1 + TOTAL + WARNING + + + AGGREGATION_TOOLS + + + + - junit: <tng-tools_publisher_junit_defaults + results: 'src/lttng-ust-java-tests/**/target/failsafe-reports/*.xml' + allow-empty-results: true + + - archive: <tng-tools_publisher_archive_defaults + artifacts: 'build/**,deps/**,tap/**,log/**' + follow-symlinks: true allow-empty: false - - email-ext: - recipients: '{obj:email_to}' - reply-to: ci-notification@lists.lttng.org - always: false - unstable: false - first-failure: true - first-unstable: true - not-built: false - aborted: false - regression: false - failure: false - second-failure: false - improvement: false - still-failing: false - success: false - fixed: false - fixed-unhealthy: true - still-unstable: false - pre-build: false - matrix-trigger: only-parent - send-to: - - recipients -- lttng-tools_build_publishers_win: <tng-tools_build_publishers_win - name: 'lttng-tools_build_publishers_win' - 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 - - workspace-cleanup: + - workspace-cleanup: <tng-tools_publisher_workspace-cleanup_defaults clean-if: - failure: false - - archive: - artifacts: 'build/**,deps/**,tap/**' - allow-empty: false - - email-ext: + + - raw: <tng-tools_publisher_proc-cleaner_defaults + xml: | + + + org.jenkinsci.plugins.proccleaner.PsAllKiller + + false + false + + + + - ircbot: <tng-tools_publisher_ircbot_defaults + strategy: statechange-only + message-type: summary + matrix-notifier: only-parent + + - email-ext: <tng-tools_publisher_email-ext_defaults recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org always: false @@ -560,33 +513,42 @@ send-to: - recipients -## Templates -- job-template: - name: lttng-tools_{version}_{buildtype} - defaults: lttng-tools - - <<: *lttng-tools_build_axes_defaults - <<: *lttng-tools_build_builders_defaults - <<: *lttng-tools_build_publishers_defaults +- _lttng-tools_publishers_rootbuild: <tng-tools_publishers_rootbuild + name: 'lttng-tools_publishers_rootbuild' + publishers: + - postbuildscript: *lttng-tools_publisher_postbuildscript_wait_10_seconds_on_abort + - postbuildscript: *lttng-tools_publisher_postbuildscript_collect_tap_on_failure + - postbuildscript: *lttng-tools_publisher_postbuildscript_clean_processes_coredumps + - tap: *lttng-tools_publisher_tap_defaults + - raw: *lttng-tools_publisher_warnings-ng_defaults + - archive: *lttng-tools_publisher_archive_defaults + - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - ircbot: *lttng-tools_publisher_ircbot_defaults + - email-ext: *lttng-tools_publisher_email-ext_defaults + +- _lttng-tools_publishers_win: <tng-tools_publishers_win + name: 'lttng-tools_publishers_win' + publishers: + - tap: *lttng-tools_publisher_tap_defaults + - raw: *lttng-tools_publisher_warnings-ng_defaults + - archive: *lttng-tools_publisher_archive_defaults + - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - raw: *lttng-tools_publisher_proc-cleaner_defaults + - ircbot: *lttng-tools_publisher_ircbot_defaults + - email-ext: *lttng-tools_publisher_email-ext_defaults - triggers: - - pollscm: - cron: "@hourly" - - reverse: - jobs: 'lttng-ust_{version}_{buildtype}' - result: 'success' +## Templates - job-template: name: '{job_prefix}lttng-tools_{version}_{buildtype}' defaults: lttng-tools - <<: *lttng-tools_build_axes_defaults - <<: *lttng-tools_build_builders_defaults - <<: *lttng-tools_build_publishers_defaults + <<: *lttng-tools_matrix_axes_defaults + <<: *lttng-tools_builders_defaults + <<: *lttng-tools_publishers_defaults triggers: - - pollscm: - cron: "@hourly" + - pollscm: *lttng-tools_trigger_pollscm_default - reverse: jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' result: 'success' @@ -595,137 +557,141 @@ name: 'dev_{user}_lttng-tools_{version}_{buildtype}' defaults: lttng-tools - <<: *lttng-tools_build_axes_defaults - <<: *lttng-tools_build_builders_defaults - <<: *lttng-tools_build_publishers_defaults + <<: *lttng-tools_matrix_axes_defaults + <<: *lttng-tools_builders_defaults + <<: *lttng-tools_publishers_defaults - job-template: - name: lttng-tools_{version}_long_regression + name: 'dev_{user}_lttng-tools_{version}_macosbuild' defaults: lttng-tools + wrappers: - - ansicolor - - timeout: - timeout: 45 - fail: true - type: no-activity - write-description: "

This build failed due to timeout.

" + - ansicolor: *lttng-tools_wrapper_ansicolor_defaults + - timeout: *lttng-tools_wrapper_timeout_defaults - timestamps - - workspace-cleanup: - clean-if: - - failure: false + - workspace-cleanup - <<: *lttng-tools_build_axes_defaults - <<: *lttng-tools_build_builders_defaults - <<: *lttng-tools_build_publishers_defaults - - triggers: - - pollscm: - cron: "@hourly" - - reverse: - jobs: 'lttng-ust_{version}_{buildtype}' - result: 'success' + <<: *lttng-tools_matrix_axes_defaults + <<: *lttng-tools_builders_defaults + <<: *lttng-tools_publishers_defaults - job-template: name: '{job_prefix}lttng-tools_{version}_long_regression' defaults: lttng-tools + + properties: + - inject: + properties-content: | + PROJECT_NAME=lttng-tools + LTTNG_TOOLS_RUN_TESTS_LONG_REGRESSION=yes + - build-discarder: *lttng-tools_property_build-discarder_defaults + - github: *lttng-tools_property_github_defaults + wrappers: - - ansicolor + - ansicolor: *lttng-tools_wrapper_ansicolor_defaults - timeout: + <<: *lttng-tools_wrapper_timeout_defaults timeout: 45 - fail: true - type: no-activity - write-description: "

This build failed due to timeout.

" - timestamps - - workspace-cleanup: - clean-if: - - failure: false + - workspace-cleanup + - raw: *lttng-tools_wrapper_proc-cleaner_defaults - <<: *lttng-tools_build_axes_defaults - <<: *lttng-tools_build_builders_defaults - <<: *lttng-tools_build_publishers_defaults + <<: *lttng-tools_matrix_axes_defaults + <<: *lttng-tools_builders_defaults + <<: *lttng-tools_publishers_defaults triggers: - - pollscm: - cron: "@hourly" + - pollscm: *lttng-tools_trigger_pollscm_default - reverse: jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' result: 'success' - job-template: - name: lttng-tools_{version}_rootbuild + name: '{job_prefix}lttng-tools_{version}_rootbuild' defaults: lttng-tools scm: - - git: *lttng-tools_default_git - - git: *lttng-modules_default_git + - git: *lttng-tools_scm_git_default wrappers: - - ansicolor + - ansicolor: *lttng-tools_wrapper_ansicolor_defaults - timeout: + <<: *lttng-tools_wrapper_timeout_defaults 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_defaults + <<: *lttng-tools_matrix_axes_rootbuild + <<: *lttng-tools_builders_defaults + <<: *lttng-tools_publishers_rootbuild triggers: - - pollscm: - cron: "@hourly" + - pollscm: *lttng-tools_trigger_pollscm_default - reverse: - jobs: 'lttng-ust_{version}_build' + jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' result: 'success' - - job-template: - name: '{job_prefix}lttng-tools_{version}_rootbuild' + name: '{job_prefix}lttng-tools_{version}_rootbuild_i386' defaults: lttng-tools scm: - - git: *lttng-tools_default_git - - git: *lttng-modules_default_git + - git: *lttng-tools_scm_git_default wrappers: - - ansicolor + - ansicolor: *lttng-tools_wrapper_ansicolor_defaults - timeout: + <<: *lttng-tools_wrapper_timeout_defaults 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_defaults + <<: *lttng-tools_matrix_axes_rootbuild + <<: *lttng-tools_builders_defaults + <<: *lttng-tools_publishers_rootbuild triggers: - - pollscm: - cron: "@hourly" + - pollscm: *lttng-tools_trigger_pollscm_default - reverse: - jobs: '{ust_job_prefix}lttng-ust_{version}_build' + jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' result: 'success' +- job-template: + name: '{job_prefix}lttng-tools_{version}_macosbuild' + defaults: lttng-tools + + wrappers: + - ansicolor: *lttng-tools_wrapper_ansicolor_defaults + - timeout: *lttng-tools_wrapper_timeout_defaults + - timestamps + - workspace-cleanup + + <<: *lttng-tools_matrix_axes_defaults + <<: *lttng-tools_builders_defaults + <<: *lttng-tools_publishers_defaults + - job-template: name: lttng-tools_{version}_winbuild defaults: lttng-tools - <<: *lttng-tools_build_axes_defaults - <<: *lttng-tools_build_builders_win - <<: *lttng-tools_build_publishers_win + <<: *lttng-tools_matrix_axes_defaults + <<: *lttng-tools_builders_win + <<: *lttng-tools_publishers_win - job-template: - name: dev_gerrit_lttng-tools_{buildtype} + name: dev_review_lttng-tools_{version}_{buildtype} defaults: lttng-tools concurrent: true scm: - - git: *lttng-tools_gerrit_git + - git: <tng-tools_scm_git_review + url: https://review.lttng.org/lttng-tools + refspec: 'refs/changes/*:refs/changes/*' + branches: + - '$GERRIT_REFSPEC' + basedir: src/lttng-tools + skip-tag: true triggers: - - gerrit: + - gerrit: <tng-tools_trigger_gerrit_default trigger-on: - comment-added-event: approval-category: 'CI-Build' @@ -734,13 +700,11 @@ - project-compare-type: 'PLAIN' project-pattern: 'lttng-tools' branches: - - branch-compare-type: 'ANT' - branch-pattern: '**' + - branch-compare-type: 'PLAIN' + branch-pattern: '{version}' properties: - - inject: - properties-content: | - PROJECT_NAME=lttng-tools + - inject: *lttng-tools_property_inject_defaults - build-discarder: days-to-keep: 1 - throttle: @@ -748,82 +712,175 @@ categories: - 'gerrit-{buildtype}' - <<: *lttng-tools_build_axes_defaults - <<: *lttng-tools_build_builders_gerrit + <<: *lttng-tools_matrix_axes_defaults + <<: *lttng-tools_builders_review 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: - - 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 + # On build abort (timeout), wait 10 seconds before running the other post + # build scripts, this will allow the processes to terminate and make the + # build log more legible. + - postbuildscript: *lttng-tools_publisher_postbuildscript_wait_10_seconds_on_abort + + # On build failure, try to get partial tap results if any exists + - postbuildscript: *lttng-tools_publisher_postbuildscript_collect_tap_on_failure + + # If there are leftover lttng processes or core files present, kill the + # processes, collect the core files, delete them and mark the build + # unstable. + - postbuildscript: *lttng-tools_publisher_postbuildscript_clean_processes_coredumps + + - tap: *lttng-tools_publisher_tap_defaults + - raw: *lttng-tools_publisher_warnings-ng_defaults + - junit: *lttng-tools_publisher_junit_defaults + - archive: *lttng-tools_publisher_archive_defaults + - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - raw: *lttng-tools_publisher_proc-cleaner_defaults + +- job-template: + name: dev_review_lttng-tools_{version}_smokebuild + defaults: lttng-tools + concurrent: true + + scm: + - git: *lttng-tools_scm_git_review + + triggers: + - gerrit: <tng-tools_trigger_gerrit_smoke_1 + trigger-on: + - comment-added-event: + approval-category: 'Smoke-Build-Lvl1' + approval-value: 1 + projects: + - project-compare-type: 'PLAIN' + project-pattern: 'lttng-tools' + branches: + - branch-compare-type: 'PLAIN' + branch-pattern: '{version}' + skip-vote: + successful: true + failed: true + unstable: true + notbuilt: true + aborted: true + + properties: + - inject: + properties-content: | + PROJECT_NAME=lttng-tools + LTTNG_TOOLS_RUN_TESTS=no + - build-discarder: + days-to-keep: 1 + + <<: *lttng-tools_matrix_axes_defaults + <<: *lttng-tools_builders_review + + publishers: + - raw: *lttng-tools_publisher_warnings-ng_defaults + - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - raw: *lttng-tools_publisher_proc-cleaner_defaults - job-template: - name: dev_gerrit_lttng-tools_rootbuild + name: dev_review_lttng-tools_{version}_clang-tidy defaults: lttng-tools concurrent: true scm: - - git: *lttng-tools_gerrit_git - - git: - <<: *lttng-modules_default_git - branches: - - '$GERRIT_BRANCH' + - git: *lttng-tools_scm_git_review triggers: - - gerrit: + - gerrit: <tng-tools_trigger_gerrit_smoke_2 trigger-on: - comment-added-event: - approval-category: 'CI-Build' + approval-category: 'Smoke-Build-Lvl2' approval-value: 1 projects: - project-compare-type: 'PLAIN' project-pattern: 'lttng-tools' branches: - - branch-compare-type: 'ANT' - branch-pattern: '**' + - branch-compare-type: 'PLAIN' + branch-pattern: '{version}' + skip-vote: + successful: true + failed: true + unstable: true + notbuilt: true + aborted: true properties: - inject: properties-content: | PROJECT_NAME=lttng-tools + LTTNG_TOOLS_MAKE_INSTALL=no + LTTNG_TOOLS_MAKE_CLEAN=no + LTTNG_TOOLS_RUN_TESTS=no + LTTNG_TOOLS_GEN_COMPILE_COMMANDS=yes + LTTNG_TOOLS_CLANG_TIDY=yes + - build-discarder: + days-to-keep: 1 + + <<: *lttng-tools_matrix_axes_defaults + <<: *lttng-tools_builders_review + + publishers: + - raw: + xml: | + + + + + + + + + false + + + + + + false + true + false + 0 + 0 + + LOW + + + true + true + false + true + false + + + FAILED + 1 + TOTAL + + + AGGREGATION_TOOLS + + + - archive: + artifacts: 'clang-tidy-fixes.diff' + allow-empty: true + - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - raw: *lttng-tools_publisher_proc-cleaner_defaults + +- job-template: + name: dev_review_lttng-tools_{version}_rootbuild + defaults: lttng-tools + concurrent: true + + scm: + - git: *lttng-tools_scm_git_review + + triggers: + - gerrit: *lttng-tools_trigger_gerrit_default + + properties: + - inject: *lttng-tools_property_inject_defaults - build-discarder: days-to-keep: 1 - throttle: @@ -831,35 +888,47 @@ categories: - 'gerrit-{buildtype}' - <<: *lttng-tools_build_axes_rootbuild - <<: *lttng-tools_build_builders_gerrit + <<: *lttng-tools_matrix_axes_rootbuild + <<: *lttng-tools_builders_review + + publishers: + - tap: *lttng-tools_publisher_tap_defaults + - raw: *lttng-tools_publisher_warnings-ng_defaults + - archive: *lttng-tools_publisher_archive_defaults + - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + +- job-template: + name: 'dev_review_lttng-tools_{version}_check-format' + defaults: lttng-tools + concurrent: true + + scm: + - git: *lttng-tools_scm_git_review + + triggers: + - gerrit: *lttng-tools_trigger_gerrit_smoke_1 + + node: 'deb12-amd64' + + builders: + - shell: + !include-raw-escape: scripts/common/check-format.sh + + properties: + - inject: *lttng-tools_property_inject_defaults + - build-discarder: + days-to-keep: 1 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 + artifacts: 'clang-format-fixes.diff' + allow-empty: true + - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults - job-template: name: lttng-tools_{version}_release defaults: lttng-tools - node: 'amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -877,121 +946,47 @@ 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 + <<: *lttng-tools_steps_copyartifact_defaults + project: 'liburcu_{urcuversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' - 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 + <<: *lttng-tools_steps_copyartifact_defaults + project: 'babeltrace_{babelversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' - 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 + <<: *lttng-tools_steps_copyartifact_defaults + project: 'lttng-ust_{ustversion}_linuxbuild/liburcu_version={urcuversion},platform=deb12-amd64,conf=agents,build=std' - shell: - !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh + !include-raw-escape: scripts/lttng-tools/prebuild_clean_processes_coredumps.sh - shell: !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: - - 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 + # On build abort (timeout), wait 10 seconds before running the other post + # build scripts, this will allow the processes to terminate and make the + # build log more legible. + - postbuildscript: *lttng-tools_publisher_postbuildscript_wait_10_seconds_on_abort - triggers: - - pollscm: - cron: "@daily" + # On build failure, try to get partial tap results if any exists + - postbuildscript: *lttng-tools_publisher_postbuildscript_collect_tap_on_failure - builders: - - shell: | - rm -f cppcheck-result.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> cppcheck-result.xml + # If there are leftover lttng processes or core files present, kill the + # processes, collect the core files, delete them and mark the build + # unstable. + - postbuildscript: *lttng-tools_publisher_postbuildscript_clean_processes_coredumps - publishers: + - tap: *lttng-tools_publisher_tap_defaults + - raw: *lttng-tools_publisher_warnings-ng_defaults - archive: - artifacts: 'cppcheck-result.xml' + artifacts: 'out/**' allow-empty: false - - cppcheck: - pattern: 'cppcheck-result.xml' - - email-ext: - recipients: 'ci-notification@lists.lttng.org' - reply-to: ci-notification@lists.lttng.org - always: false - unstable: false - first-failure: true - first-unstable: true - not-built: false - aborted: false - regression: false - failure: false - second-failure: false - improvement: false - still-failing: false - success: false - fixed: false - fixed-unhealthy: true - still-unstable: false - pre-build: false - matrix-trigger: only-parent - send-to: - - recipients + fingerprint: true + - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - raw: *lttng-tools_publisher_proc-cleaner_defaults + - ircbot: *lttng-tools_publisher_ircbot_defaults - job-template: name: lttng-tools_{version}_scan-build defaults: lttng-tools - node: 'amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -999,19 +994,11 @@ 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 + <<: *lttng-tools_steps_copyartifact_defaults + project: 'liburcu_{urcuversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' - 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' - do-not-fingerprint: true + <<: *lttng-tools_steps_copyartifact_defaults + project: 'lttng-ust_{ustversion}_linuxbuild/liburcu_version={urcuversion},platform=deb12-amd64,conf=std,build=std' - shell: !include-raw-escape: scripts/common/scan-build.sh @@ -1020,21 +1007,22 @@ name: 'HTML Report' dir: 'scan-build-archive/' files: 'index.html' + - ircbot: *lttng-tools_publisher_ircbot_defaults - job-template: name: lttng-tools_{version}_coverity defaults: lttng-tools - node: 'amd64' + node: 'deb12-amd64' triggers: - pollscm: cron: "@daily" wrappers: - - workspace-cleanup + - ansicolor: *lttng-tools_wrapper_ansicolor_defaults + - timeout: *lttng-tools_wrapper_timeout_defaults - timestamps - - ansicolor: - colormap: xterm + - workspace-cleanup - credentials-binding: - username-password-separated: credential-id: lttng-tools_coverity_token @@ -1043,19 +1031,11 @@ 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 + <<: *lttng-tools_steps_copyartifact_defaults + project: 'liburcu_{urcuversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' - 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' - do-not-fingerprint: true + <<: *lttng-tools_steps_copyartifact_defaults + project: 'lttng-ust_{ustversion}_linuxbuild/liburcu_version={urcuversion},platform=deb12-amd64,conf=std,build=std' - shell: !include-raw-escape: scripts/common/coverity.sh @@ -1063,14 +1043,15 @@ - archive: artifacts: 'analysis-results.tgz,cov-int/**' allow-empty: false - - workspace-cleanup + - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults + - ircbot: *lttng-tools_publisher_ircbot_defaults ## Views - view-template: name: 'LTTng-tools' view-type: list - regex: 'lttng-tools[-_].*' + regex: 'lttng-(docs|tools)[-_].*' ## Projects @@ -1088,93 +1069,115 @@ - master jobs: # Master # - - 'lttng-tools_{version}_{buildtype}': - buildtype: build + - '{job_prefix}lttng-tools_{version}_{buildtype}': + buildtype: linuxbuild version: master ustversion: master - arch: !!python/tuple [amd64] - build: !!python/tuple [std, oot, dist] - conf: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] - urcuversion: !!python/tuple [master] - babelversion: !!python/tuple [stable-2.0, master] - testtype: !!python/tuple [base] + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, oot, dist] + confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0, master] filter: '(build=="std") || ((babeltrace_version=="master" && (conf=="std" || conf=="agents" || conf=="no-ust")))' - - 'lttng-tools_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: portbuild version: master ustversion: master - arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - build: !!python/tuple [std] - conf: !!python/tuple [std, no-ust, agents] - urcuversion: !!python/tuple [master] - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [base] + platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [std, no-ust, agents] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: master ustversion: master - arch: !!python/tuple [sles12sp5] - build: !!python/tuple [std] - conf: !!python/tuple [agents] - urcuversion: !!python/tuple [master] - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [base] + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}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-2.0] - testtype: !!python/tuple [base] + platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-tools_{version}_{buildtype}': + buildtype: yoctobuild + version: master + ustversion: master + platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] + filter: '' + touchstone: '' + - '{job_prefix}lttng-tools_{version}_macosbuild': buildtype: macosbuild version: master ustversion: master - arch: !!python/tuple [macos-amd64, macos-arm64] - build: !!python/tuple [std] - conf: !!python/tuple [relayd-only] - urcuversion: !!python/tuple [master] - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [base] + platforms: !!python/tuple [macos-arm64] + builds: !!python/tuple [std] + confs: !!python/tuple [relayd-only] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] filter: '' + touchstone: '' - 'lttng-tools_{version}_winbuild': version: master ustversion: master - arch: !!python/tuple [cygwin64] - build: !!python/tuple [std] - conf: !!python/tuple [relayd-only] - urcuversion: !!python/tuple [master] - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [base] + platforms: !!python/tuple [cygwin64] + builds: !!python/tuple [std] + confs: !!python/tuple [relayd-only] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_long_regression': - buildtype: build + touchstone: '' + - '{job_prefix}lttng-tools_{version}_long_regression': + buildtype: linuxbuild version: master ustversion: master - arch: !!python/tuple [amd64] - build: !!python/tuple [std] - conf: !!python/tuple [std] - urcuversion: !!python/tuple [master] - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [full] + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_rootbuild': - buildtype: build + touchstone: '' + - '{job_prefix}lttng-tools_{version}_rootbuild': + buildtype: linuxbuild version: master ustversion: master - arch: !!python/tuple [amd64] - build: !!python/tuple [std] - conf: !!python/tuple [agents] - urcuversion: !!python/tuple [master] - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [base] - filter: '' + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' + touchstone: '' + - '{job_prefix}lttng-tools_{version}_rootbuild_i386': + buildtype: portbuild + version: master + ustversion: master + platforms: !!python/tuple [deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="i386-rootnode" && platform=="deb12-i386")' + touchstone: '' - 'lttng-tools_{version}_scan-build': version: master urcuversion: master @@ -1185,93 +1188,104 @@ ustversion: master # stable-2.13 - - 'lttng-tools_{version}_{buildtype}': - buildtype: build + - '{job_prefix}lttng-tools_{version}_{buildtype}': + buildtype: linuxbuild 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] + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, oot, dist] + confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))' - - 'lttng-tools_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}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] + platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [std, no-ust, agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}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] + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}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] + platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '' + touchstone: '' + - '{job_prefix}lttng-tools_{version}_{buildtype}': + buildtype: yoctobuild + version: stable-2.13 + ustversion: stable-2.13 + platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-tools_{version}_macosbuild': 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] + platforms: !!python/tuple [macos-arm64] + builds: !!python/tuple [std] + confs: !!python/tuple [relayd-only] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' + touchstone: '' - '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] + platforms: !!python/tuple [cygwin64] + builds: !!python/tuple [std] + confs: !!python/tuple [relayd-only] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_long_regression': - buildtype: build + touchstone: '' + - '{job_prefix}lttng-tools_{version}_long_regression': + buildtype: linuxbuild 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] + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_rootbuild': - buildtype: build + touchstone: '' + - '{job_prefix}lttng-tools_{version}_rootbuild': + buildtype: linuxbuild 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: '' + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' + touchstone: '' - 'lttng-tools_{version}_release': version: v2.13 ustversion: stable-2.13 @@ -1283,240 +1297,114 @@ ustversion: stable-2.13 # stable-2.12 - - 'lttng-tools_{version}_{buildtype}': - buildtype: build + - '{job_prefix}lttng-tools_{version}_{buildtype}': + buildtype: linuxbuild 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, tls_fallback] - urcuversion: !!python/tuple [stable-0.12] - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [base] + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, oot, dist] + confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))' - - 'lttng-tools_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}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.12] - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [base] + platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [std, no-ust, agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: stable-2.12 ustversion: stable-2.12 - 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] + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}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.12] - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [base] + platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '' + touchstone: '' + - '{job_prefix}lttng-tools_{version}_{buildtype}': + buildtype: yoctobuild + version: stable-2.12 + ustversion: stable-2.12 + platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-tools_{version}_macosbuild': buildtype: macosbuild version: stable-2.12 ustversion: stable-2.12 - 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] + platforms: !!python/tuple [macos-arm64] + builds: !!python/tuple [std] + confs: !!python/tuple [relayd-only] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' + touchstone: '' - '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.12] - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [base] + platforms: !!python/tuple [cygwin64] + builds: !!python/tuple [std] + confs: !!python/tuple [relayd-only] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_long_regression': - buildtype: build + touchstone: '' + - '{job_prefix}lttng-tools_{version}_long_regression': + buildtype: linuxbuild 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.12] - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [full] + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'lttng-tools_{version}_rootbuild': - buildtype: build + touchstone: '' + - '{job_prefix}lttng-tools_{version}_rootbuild': + buildtype: linuxbuild version: stable-2.12 ustversion: stable-2.12 - 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: '' + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' + touchstone: '' - 'lttng-tools_{version}_release': version: v2.12 ustversion: stable-2.12 - urcuversion: stable-0.12 + urcuversion: stable-0.13 babelversion: stable-2.0 - 'lttng-tools_{version}_scan-build': version: stable-2.12 - urcuversion: stable-0.12 + urcuversion: stable-0.13 ustversion: stable-2.12 - # Other jobs - - 'lttng-tools_{version}_cppcheck' - -- project: - name: dev_upstream_lttng-tools - job_prefix: 'dev_upstream_' - ust_job_prefix: 'dev_upstream_' - urcu_job_prefix: 'dev_upstream_' - bt_job_prefix: 'dev_upstream_' - github_user: lttng - email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com' - jobs: - # stable-2.11 - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: build - version: stable-2.11 - ustversion: stable-2.11 - 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.11] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [base] - filter: '(build=="std") || (conf=="std" || conf=="agents" || conf=="no-ust")' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: portbuild - version: stable-2.11 - ustversion: stable-2.11 - arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - build: !!python/tuple [std] - conf: !!python/tuple [no-ust, agents] - urcuversion: !!python/tuple [stable-0.11] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [base] - filter: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: slesbuild - version: stable-2.11 - ustversion: stable-2.11 - arch: !!python/tuple [sles12sp5] - build: !!python/tuple [std] - conf: !!python/tuple [agents] - urcuversion: !!python/tuple [stable-0.11] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [base] - filter: '' - - '{job_prefix}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.11] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [base] - filter: '' - - '{job_prefix}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.11] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [full] - filter: '' - - '{job_prefix}lttng-tools_{version}_rootbuild': - buildtype: build - version: stable-2.11 - ustversion: stable-2.11 - arch: !!python/tuple [amd64] - build: !!python/tuple [std] - conf: !!python/tuple [agents] - urcuversion: !!python/tuple [stable-0.11] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [base] - filter: '' - - # stable-2.10 - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: build - version: stable-2.10 - ustversion: stable-2.10 - 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.9] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [base] - filter: '(build=="std") || (conf=="std" || conf=="agents" || conf=="no-ust")' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: portbuild - version: stable-2.10 - ustversion: stable-2.10 - arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - build: !!python/tuple [std] - conf: !!python/tuple [no-ust, agents] - urcuversion: !!python/tuple [stable-0.9] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [base] - filter: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: slesbuild - version: stable-2.10 - ustversion: stable-2.10 - 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: '' - - '{job_prefix}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] - filter: '' - - '{job_prefix}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] - filter: '' - - project: name: dev_jgalar_lttng-tools job_prefix: 'dev_jgalar_' @@ -1529,171 +1417,194 @@ jobs: # Master - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: build + buildtype: linuxbuild version: master-staging ustversion: master - arch: !!python/tuple [amd64] - build: !!python/tuple [std, oot, dist] - conf: !!python/tuple [std, no-ust, agents] - urcuversion: !!python/tuple [master] - babelversion: !!python/tuple [stable-2.0, master] - testtype: !!python/tuple [base] + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, oot, dist] + confs: !!python/tuple [std, no-ust, agents] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0, master] filter: '' + touchstone: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: master-staging ustversion: master - arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - build: !!python/tuple [std] - conf: !!python/tuple [std, no-ust, agents] - urcuversion: !!python/tuple [master] - babelversion: !!python/tuple [stable-1.5, master] - testtype: !!python/tuple [base] + platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [std, no-ust, agents] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-1.5, master] filter: '' - - 'dev_{user}_lttng-tools_{version}_{buildtype}': + touchstone: '' + - 'dev_{user}_lttng-tools_{version}_macosbuild': buildtype: macosbuild version: master-staging ustversion: master - arch: !!python/tuple [macos-amd64, macos-arm64] - build: !!python/tuple [std] - conf: !!python/tuple [relayd-only] - urcuversion: !!python/tuple [master] - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [base] + platforms: !!python/tuple [macos-arm64] + builds: !!python/tuple [std] + confs: !!python/tuple [relayd-only] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] filter: '' + touchstone: '' # stable-2.13 - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: build + buildtype: linuxbuild 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] + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, oot, dist] + confs: !!python/tuple [std, no-ust, agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0, master] filter: '' + touchstone: '' - '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] + platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [std, no-ust, agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' + touchstone: '' # stable-2.12 - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: build + buildtype: linuxbuild 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.12] - babelversion: !!python/tuple [stable-2.0, master] - testtype: !!python/tuple [base] + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, oot, dist] + confs: !!python/tuple [std, no-ust, agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0, master] filter: '' + touchstone: '' - '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.12] - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [base] - filter: '' - -- project: - name: dev_jgalar_lttng-tools-upstream - job_prefix: 'dev_jgalar_' - ust_job_prefix: 'dev_upstream_' - urcu_job_prefix: 'dev_upstream_' - bt_job_prefix: 'dev_upstream_' - user: jgalar - github_user: jgalar - email_to: 'jgalar@efficios.com' - jobs: - # stable-2.11 - - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: build - version: stable-2.11-staging - ustversion: stable-2.11 - 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-1.5] - testtype: !!python/tuple [base] - filter: '' - - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: portbuild - version: stable-2.11-staging - ustversion: stable-2.11 - 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-1.5] - testtype: !!python/tuple [base] - filter: '' - - # stable-2.10 - - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: build - version: stable-2.10-staging - ustversion: stable-2.10 - arch: !!python/tuple [amd64] - build: !!python/tuple [std, oot, dist] - conf: !!python/tuple [std, no-ust, agents] - 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: stable-2.10-staging - ustversion: stable-2.10 - arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - build: !!python/tuple [std] - conf: !!python/tuple [std, no-ust, agents] - urcuversion: !!python/tuple [stable-0.9] - babelversion: !!python/tuple [stable-1.5] - testtype: !!python/tuple [base] + platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [std, no-ust, agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' + touchstone: '' - project: - name: gerrit-lttng-tools + name: review-lttng-tools job_prefix: '' ust_job_prefix: '' urcu_job_prefix: '' bt_job_prefix: '' github_user: lttng 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 [master] # Switch to stable-0.14 when released (for C++ support) - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [base] + ## Master ## + - 'dev_review_lttng-tools_{version}_{buildtype}': + version: master + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, oot, dist, oot-dist] + confs: !!python/tuple [std, no-ust, agents] + urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support + babelversions: !!python/tuple [stable-2.0] + filter: '' + touchstone: '' + - 'dev_review_lttng-tools_{version}_{buildtype}': + version: master + buildtype: slesbuild + ustversion: master + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] + filter: '' + touchstone: '' + - 'dev_review_lttng-tools_{version}_rootbuild': + version: master + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' + touchstone: '' + - 'dev_review_lttng-tools_{version}_smokebuild': + version: master + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [oot-dist] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support + babelversions: !!python/tuple [stable-2.0] + filter: '' + touchstone: '' + - 'dev_review_lttng-tools_{version}_clang-tidy': + version: master + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support + babelversions: !!python/tuple [stable-2.0] filter: '' - - 'dev_gerrit_lttng-tools_rootbuild': - buildtype: build - arch: !!python/tuple [amd64] - build: !!python/tuple [std] - conf: !!python/tuple [agents] - urcuversion: !!python/tuple [master] # Switch to stable-0.14 when released (for C++ support) - babelversion: !!python/tuple [stable-2.0] - testtype: !!python/tuple [base] + touchstone: '' + - 'dev_review_lttng-tools_{version}_check-format': + version: master + + ## Stable 2.13 ## + - 'dev_review_lttng-tools_{version}_{buildtype}': + version: stable-2.13 + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, oot, dist, oot-dist] + confs: !!python/tuple [std, no-ust, agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '' + touchstone: '' + - 'dev_review_lttng-tools_{version}_rootbuild': + version: stable-2.13 + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' + touchstone: '' + + ## Stable 2.12 ## + - 'dev_review_lttng-tools_{version}_{buildtype}': + version: stable-2.12 + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, oot, dist, oot-dist] + confs: !!python/tuple [std, no-ust, agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] filter: '' + touchstone: '' + - 'dev_review_lttng-tools_{version}_rootbuild': + version: stable-2.12 + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' + touchstone: '' + - project: name: lttng-tools-views