X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=jobs%2Flttng-tools.yaml;h=cfe54fdf411325cc18da1e9fe8087e84172947ab;hb=0d88e2ca842f676b90d6002b9a9daf56028d2d8c;hp=aee01983ee277dabe5313b71918220e042817cd7;hpb=f3c8d88cc97005f2e40e39538027f4e49c32c1c0;p=lttng-ci.git diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index aee0198..cfe54fd 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -17,11 +17,21 @@ 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 + - raw: <tng-tools_wrapper_proc-cleaner_defaults + xml: | + + + org.jenkinsci.plugins.proccleaner.PsAllKiller + + false + false + + scm: - git: <tng-tools_scm_git_default @@ -38,17 +48,17 @@ cron: "@hourly" properties: - - inject: + - inject: <tng-tools_property_inject_defaults properties-content: | PROJECT_NAME=lttng-tools - - build-discarder: + - build-discarder: <tng-tools_property_build-discarder_defaults num-to-keep: 20 artifact-num-to-keep: 2 - - github: + - github: <tng-tools_property_github_defaults url: https://github.com/{github_user}/lttng-tools ## Anchors -- lttng-tools_steps_copyartifact_defaults: +- _lttng-tools_steps_copyartifact_defaults: name: 'lttng-tools_steps_copyartifact_defaults' steps: - copyartifact: <tng-tools_steps_copyartifact_defaults @@ -61,7 +71,7 @@ ## Axis Anchors -- lttng-tools_matrix_axes_defaults: <tng-tools_matrix_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 @@ -91,12 +101,8 @@ type: user-defined name: babeltrace_version values: '{obj:babelversions}' - - axis: <tng-tools_matrix_axis_test_type - type: user-defined - name: test_type - values: '{obj:testtypes}' -- lttng-tools_matrix_axes_rootbuild: <tng-tools_matrix_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 @@ -107,7 +113,9 @@ name: node values: - 'amd64-rootnode' + - 'el8-amd64-rootnode' - 'i386-rootnode' + - 'sles15sp4-amd64-rootnode' - axis: <<: *lttng-tools_matrix_axis_platform type: user-defined @@ -115,11 +123,9 @@ - axis: *lttng-tools_matrix_axis_build - axis: *lttng-tools_matrix_axis_liburcu_version - axis: *lttng-tools_matrix_axis_babeltrace_version - - axis: *lttng-tools_matrix_axis_test_type - ## Builders Anchors -- lttng-tools_builders_defaults: <tng-tools_builders_defaults +- _lttng-tools_builders_defaults: <tng-tools_builders_defaults name: 'lttng-tools_builders_defaults' builders: # Generate a properties file to add additionnal env @@ -149,6 +155,18 @@ 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 + echo "LTTNG_TESTS_TAP_AUTOTIME=0" >> env.properties + # On SLES, force log4j to 2.17.1 + echo "LTTNG_TOOLS_UST_JAVA_TESTS_LOG4J_API_VERSION=2.17.1" >> env.properties + fi echo "liburcu_conf=$liburcu_conf" >> env.properties echo "babeltrace_conf=$babeltrace_conf" >> env.properties echo "ust_conf=$ust_conf" >> env.properties @@ -183,7 +201,7 @@ - conditional-step: condition-kind: regex-match label: '$JOB_NAME' - regex: '.*_rootbuild.*' + regex: '.*_root(?:_[a-z]+)?build.*' steps: - shell: | #!/bin/bash @@ -191,16 +209,31 @@ 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_builders_gerrit: <tng-tools_builders_gerrit - name: 'lttng-tools_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 + echo "LTTNG_TESTS_TAP_AUTOTIME=0" >> env.properties + fi + - inject: + properties-file: env.properties - shell: !include-raw-escape: scripts/lttng-tools/gerrit-depends-on.sh @@ -255,7 +288,7 @@ 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: @@ -283,7 +316,7 @@ - shell: !include-raw-escape: scripts/lttng-tools/gerrit-install-deps.sh - # Build babeltrace if we depend on a specific babeltrace change + # Build lttng-ust if we depend on a specific lttng-ust change - conditional-step: condition-kind: shell condition-command: 'test "$GERRIT_DEP_LTTNG_UST" != ""' @@ -302,7 +335,7 @@ - scripts/common/print.sh - scripts/lttng-tools/build.sh -- lttng-tools_builders_win: <tng-tools_builders_win +- _lttng-tools_builders_win: <tng-tools_builders_win name: 'lttng-tools_builders_win' builders: # Always copy liburcu artifacts @@ -327,25 +360,10 @@ condition-kind: strings-match on-evaluation-failure: run condition-string1: '${{platform}}' - 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: '${{platform}}' - condition-string2: 'msys2-mingw64' + condition-string2: 'msys2-ucrt64' steps: - inject: - properties-content: 'MSYSTEM=MINGW64' + properties-content: 'MSYSTEM=UCRT64' - shell: !include-raw-escape: - scripts/common/msys2-shebang @@ -353,21 +371,38 @@ - scripts/common/print.sh - scripts/lttng-tools/build.sh -- lttng-tools_publishers_defaults: <tng-tools_publishers_defaults +- _lttng-tools_publishers_defaults: <tng-tools_publishers_defaults name: 'lttng-tools_publishers_defaults' publishers: + # 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: + - 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 + !include-raw-escape: scripts/lttng-tools/postbuild_collect_tap_results.sh - - postbuildscript: + # 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 @@ -379,7 +414,7 @@ - FAILURE build-steps: - shell: - !include-raw-escape: scripts/lttng-tools/hang_processes.sh + !include-raw-escape: scripts/lttng-tools/postbuild_clean_processes_coredumps.sh - tap: <tng-tools_publisher_tap_defaults results: 'tap/**/*.*' @@ -388,6 +423,7 @@ include-comment-diagnostics: true output-tap-to-console: false todo-is-failure: false + remove-yaml-if-corrupted: true - raw: <tng-tools_publisher_warnings-ng_defaults xml: | @@ -430,14 +466,35 @@ + - 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 - workspace-cleanup: <tng-tools_publisher_workspace-cleanup_defaults clean-if: - failure: false + - 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 @@ -461,15 +518,31 @@ send-to: - recipients -- lttng-tools_publishers_win: <tng-tools_publishers_win - name: 'lttng-tools_publishers_win' +- _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 + ## Templates - job-template: name: '{job_prefix}lttng-tools_{version}_{buildtype}' @@ -493,10 +566,32 @@ <<: *lttng-tools_builders_defaults <<: *lttng-tools_publishers_defaults +- job-template: + name: 'dev_{user}_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: '{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: *lttng-tools_wrapper_ansicolor_defaults - timeout: @@ -504,6 +599,7 @@ timeout: 45 - timestamps - workspace-cleanup + - raw: *lttng-tools_wrapper_proc-cleaner_defaults <<: *lttng-tools_matrix_axes_defaults <<: *lttng-tools_builders_defaults @@ -531,12 +627,12 @@ <<: *lttng-tools_matrix_axes_rootbuild <<: *lttng-tools_builders_defaults - <<: *lttng-tools_publishers_defaults + <<: *lttng-tools_publishers_rootbuild triggers: - 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: @@ -555,14 +651,52 @@ <<: *lttng-tools_matrix_axes_rootbuild <<: *lttng-tools_builders_defaults - <<: *lttng-tools_publishers_defaults + <<: *lttng-tools_publishers_rootbuild + + triggers: + - pollscm: *lttng-tools_trigger_pollscm_default + - reverse: + jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}' + result: 'success' + +- job-template: + name: '{job_prefix}lttng-tools_{version}_root_{buildtype}' + defaults: lttng-tools + + scm: + - git: *lttng-tools_scm_git_default + + wrappers: + - ansicolor: *lttng-tools_wrapper_ansicolor_defaults + - timeout: + <<: *lttng-tools_wrapper_timeout_defaults + timeout: 10 + - timestamps + + <<: *lttng-tools_matrix_axes_rootbuild + <<: *lttng-tools_builders_defaults + <<: *lttng-tools_publishers_rootbuild triggers: - 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 @@ -572,12 +706,12 @@ <<: *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: <tng-tools_scm_git_gerrit + - git: <tng-tools_scm_git_review url: https://review.lttng.org/lttng-tools refspec: 'refs/changes/*:refs/changes/*' branches: @@ -595,13 +729,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: @@ -610,153 +742,322 @@ - 'gerrit-{buildtype}' <<: *lttng-tools_matrix_axes_defaults - <<: *lttng-tools_builders_gerrit + <<: *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 + # 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 - - 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 + # 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_gerrit_lttng-tools_rootbuild + name: dev_review_lttng-tools_{version}_smokebuild defaults: lttng-tools concurrent: true scm: - - git: *lttng-tools_scm_git_gerrit + - git: *lttng-tools_scm_git_review triggers: - - gerrit: *lttng-tools_trigger_gerrit_default + - 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 - - throttle: - option: 'category' - categories: - - 'gerrit-{buildtype}' - <<: *lttng-tools_matrix_axes_rootbuild - <<: *lttng-tools_builders_gerrit + <<: *lttng-tools_matrix_axes_defaults + <<: *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 + - raw: *lttng-tools_publisher_proc-cleaner_defaults - job-template: - name: lttng-tools_{version}_release + name: dev_review_lttng-tools_{version}_clang-tidy defaults: lttng-tools - node: 'bionic-amd64' - - triggers: - - pollscm: - cron: "@daily" + concurrent: true scm: - - 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/*' - branches: - - '*/tags/{version}.*' - basedir: src/lttng-tools + - git: *lttng-tools_scm_git_review - builders: - - copyartifact: - <<: *lttng-tools_steps_copyartifact_defaults - project: 'liburcu_{urcuversion}_build/platform=bionic-amd64,conf=std,build=std' - - copyartifact: - <<: *lttng-tools_steps_copyartifact_defaults - project: 'babeltrace_{babelversion}_build/platform=bionic-amd64,conf=std,build=std' - - copyartifact: - <<: *lttng-tools_steps_copyartifact_defaults - project: 'lttng-ust_{ustversion}_build/liburcu_version={urcuversion},platform=bionic-amd64,conf=agents,build=std' - - shell: - !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh - - shell: - !include-raw-escape: scripts/lttng-tools/release.sh + triggers: + - gerrit: <tng-tools_trigger_gerrit_smoke_2 + trigger-on: + - comment-added-event: + approval-category: 'Smoke-Build-Lvl2' + 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 - 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 + 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 - - 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 + <<: *lttng-tools_matrix_axes_defaults + <<: *lttng-tools_builders_review - - tap: *lttng-tools_publisher_tap_defaults - - raw: *lttng-tools_publisher_warnings-ng_defaults + publishers: + - raw: + xml: | + + + + + + + + + false + + + + + + false + true + false + 0 + 0 + + LOW + + + true + true + false + true + false + + + FAILED + 1 + TOTAL + + + AGGREGATION_TOOLS + + - archive: - artifacts: 'out/**' - allow-empty: false - fingerprint: true + 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: lttng-tools_{version}_scan-build + name: dev_review_lttng-tools_{version}_rootbuild defaults: lttng-tools - node: 'bionic-amd64' + concurrent: true + + scm: + - git: *lttng-tools_scm_git_review triggers: - - pollscm: - cron: "@daily" + - gerrit: *lttng-tools_trigger_gerrit_default - builders: - - copyartifact: - <<: *lttng-tools_steps_copyartifact_defaults - project: 'liburcu_{urcuversion}_build/platform=bionic-amd64,conf=std,build=std' - - copyartifact: - <<: *lttng-tools_steps_copyartifact_defaults - project: 'lttng-ust_{ustversion}_build/liburcu_version={urcuversion},platform=bionic-amd64,conf=std,build=std' - - shell: + properties: + - inject: *lttng-tools_property_inject_defaults + - build-discarder: + days-to-keep: 1 + - throttle: + option: 'category' + categories: + - 'gerrit-{buildtype}' + + <<: *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}_root_{buildtype}' + 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: + option: 'category' + categories: + - 'gerrit-{buildtype}' + + <<: *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: + - archive: + 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: 'deb12-amd64' + + triggers: + - pollscm: + cron: "@daily" + + scm: + - 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/*' + branches: + - '*/tags/{version}.*' + basedir: src/lttng-tools + + builders: + - copyartifact: + <<: *lttng-tools_steps_copyartifact_defaults + project: 'liburcu_{urcuversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' + - copyartifact: + <<: *lttng-tools_steps_copyartifact_defaults + project: 'babeltrace_{babelversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' + - copyartifact: + <<: *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/prebuild_clean_processes_coredumps.sh + - shell: + !include-raw-escape: scripts/lttng-tools/release.sh + + publishers: + # 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 + - archive: + artifacts: 'out/**' + allow-empty: false + 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: 'deb12-amd64' + + triggers: + - pollscm: + cron: "@daily" + + builders: + - copyartifact: + <<: *lttng-tools_steps_copyartifact_defaults + project: 'liburcu_{urcuversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' + - copyartifact: + <<: *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 publishers: @@ -764,11 +1065,12 @@ 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: 'bionic-amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -788,10 +1090,13 @@ builders: - copyartifact: <<: *lttng-tools_steps_copyartifact_defaults - project: 'liburcu_{urcuversion}_build/platform=bionic-amd64,conf=std,build=std' + project: 'liburcu_{urcuversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' + - copyartifact: + <<: *lttng-tools_steps_copyartifact_defaults + project: 'babeltrace_{babelversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std' - copyartifact: <<: *lttng-tools_steps_copyartifact_defaults - project: 'lttng-ust_{ustversion}_build/liburcu_version={urcuversion},platform=bionic-amd64,conf=std,build=std' + project: 'lttng-ust_{ustversion}_linuxbuild/liburcu_version={urcuversion},platform=deb12-amd64,conf=std,build=std' - shell: !include-raw-escape: scripts/common/coverity.sh @@ -800,13 +1105,14 @@ artifacts: 'analysis-results.tgz,cov-int/**' allow-empty: false - 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 @@ -828,84 +1134,66 @@ buildtype: linuxbuild version: master ustversion: master - platforms: !!python/tuple [jammy-amd64] + 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] - testtypes: !!python/tuple [base] - filter: '(build=="std") || ((babeltrace_version=="master" && (conf=="std" || conf=="agents" || conf=="no-ust")))' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: build - version: master - ustversion: master - platforms: !!python/tuple [bionic-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] - testtypes: !!python/tuple [base] filter: '(build=="std") || ((babeltrace_version=="master" && (conf=="std" || conf=="agents" || conf=="no-ust")))' touchstone: '' - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: portbuild version: master ustversion: master - platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: master ustversion: master - platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: elbuild version: master ustversion: master - platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: yoctobuild version: master ustversion: master - platforms: !!python/tuple [yocto23-powerpcspe, yocto23-powerpc, yocto31-ppc64] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': + - '{job_prefix}lttng-tools_{version}_macosbuild': buildtype: macosbuild version: master ustversion: master - platforms: !!python/tuple [macos-amd64, macos-arm64] + platforms: !!python/tuple [macos-arm64] builds: !!python/tuple [std] confs: !!python/tuple [relayd-only] urcuversions: !!python/tuple [master] babelversions: !!python/tuple [stable-2.0] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - 'lttng-tools_{version}_winbuild': @@ -916,44 +1204,62 @@ confs: !!python/tuple [relayd-only] urcuversions: !!python/tuple [master] babelversions: !!python/tuple [stable-2.0] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_long_regression': - buildtype: build + buildtype: linuxbuild version: master ustversion: master - platforms: !!python/tuple [bionic-amd64] + platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [std] confs: !!python/tuple [std] urcuversions: !!python/tuple [master] babelversions: !!python/tuple [stable-2.0] - testtypes: !!python/tuple [full] filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_rootbuild': - buildtype: build + buildtype: linuxbuild + version: master + ustversion: master + 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}_root_{buildtype}': + buildtype: slesbuild version: master ustversion: master - platforms: !!python/tuple [bionic-amd64] + platforms: !!python/tuple [sles15sp4-amd64] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [master] babelversions: !!python/tuple [stable-2.0] - testtypes: !!python/tuple [base] - filter: '(node=="amd64-rootnode" && platform=="bionic-amd64")' + filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")' + touchstone: '' + - '{job_prefix}lttng-tools_{version}_root_{buildtype}': + buildtype: elbuild + version: master + ustversion: master + platforms: !!python/tuple [el8-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="el8-amd64-rootnode" && platform=="el8-amd64")' touchstone: '' - '{job_prefix}lttng-tools_{version}_rootbuild_i386': buildtype: portbuild version: master ustversion: master - platforms: !!python/tuple [deb11-i386] + platforms: !!python/tuple [deb12-i386] builds: !!python/tuple [std] confs: !!python/tuple [agents] urcuversions: !!python/tuple [master] babelversions: !!python/tuple [stable-2.0] - testtypes: !!python/tuple [base] - filter: '(node=="i386-rootnode" && platform=="deb11-i386")' + filter: '(node=="i386-rootnode" && platform=="deb12-i386")' touchstone: '' - 'lttng-tools_{version}_scan-build': version: master @@ -963,78 +1269,73 @@ version: master urcuversion: master ustversion: master + babelversion: master # stable-2.13 - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: linuxbuild version: stable-2.13 ustversion: stable-2.13 - platforms: !!python/tuple [jammy-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] - testtypes: !!python/tuple [base] - filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: build - version: stable-2.13 - ustversion: stable-2.13 - platforms: !!python/tuple [bionic-amd64] + 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] - testtypes: !!python/tuple [base] filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))' touchstone: '' - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.13 ustversion: stable-2.13 - platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: stable-2.13 ustversion: stable-2.13 - platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: elbuild version: stable-2.13 ustversion: stable-2.13 - platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64] + 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] - testtypes: !!python/tuple [base] 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: '' + touchstone: '' + - '{job_prefix}lttng-tools_{version}_macosbuild': buildtype: macosbuild version: stable-2.13 ustversion: stable-2.13 - platforms: !!python/tuple [macos-amd64, macos-arm64] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - 'lttng-tools_{version}_winbuild': @@ -1045,32 +1346,51 @@ confs: !!python/tuple [relayd-only] urcuversions: !!python/tuple [stable-0.13] babelversions: !!python/tuple [stable-2.0] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_long_regression': - buildtype: build + buildtype: linuxbuild version: stable-2.13 ustversion: stable-2.13 - platforms: !!python/tuple [bionic-amd64] + 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] - testtypes: !!python/tuple [full] filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_rootbuild': - buildtype: build + buildtype: linuxbuild version: stable-2.13 ustversion: stable-2.13 - platforms: !!python/tuple [bionic-amd64] + 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] - testtypes: !!python/tuple [base] - filter: '' + filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' + touchstone: '' + - '{job_prefix}lttng-tools_{version}_root_{buildtype}': + buildtype: slesbuild + version: stable-2.13 + ustversion: stable-2.13 + platforms: !!python/tuple [sles15sp4-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")' + touchstone: '' + - '{job_prefix}lttng-tools_{version}_root_{buildtype}': + buildtype: elbuild + version: stable-2.13 + ustversion: stable-2.13 + platforms: !!python/tuple [el8-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="el8-amd64-rootnode" && platform=="el8-amd64")' touchstone: '' - 'lttng-tools_{version}_release': version: v2.13 @@ -1087,72 +1407,66 @@ buildtype: linuxbuild version: stable-2.12 ustversion: stable-2.12 - platforms: !!python/tuple [jammy-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] - testtypes: !!python/tuple [base] - filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: build - version: stable-2.12 - ustversion: stable-2.12 - platforms: !!python/tuple [bionic-amd64] + 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] - testtypes: !!python/tuple [base] filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))' touchstone: '' - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.12 ustversion: stable-2.12 - platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: stable-2.12 ustversion: stable-2.12 - platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_{buildtype}': buildtype: elbuild version: stable-2.12 ustversion: stable-2.12 - platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64] + 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] - testtypes: !!python/tuple [base] 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: '' + touchstone: '' + - '{job_prefix}lttng-tools_{version}_macosbuild': buildtype: macosbuild version: stable-2.12 ustversion: stable-2.12 - platforms: !!python/tuple [macos-amd64, macos-arm64] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - 'lttng-tools_{version}_winbuild': @@ -1163,187 +1477,61 @@ confs: !!python/tuple [relayd-only] urcuversions: !!python/tuple [stable-0.13] babelversions: !!python/tuple [stable-2.0] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_long_regression': - buildtype: build + buildtype: linuxbuild version: stable-2.12 ustversion: stable-2.12 - platforms: !!python/tuple [bionic-amd64] + 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] - testtypes: !!python/tuple [full] filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_rootbuild': - buildtype: build + buildtype: linuxbuild version: stable-2.12 ustversion: stable-2.12 - platforms: !!python/tuple [bionic-amd64] + 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] - testtypes: !!python/tuple [base] - filter: '' + filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' touchstone: '' - - 'lttng-tools_{version}_release': - version: v2.12 - ustversion: stable-2.12 - urcuversion: stable-0.13 - babelversion: stable-2.0 - - 'lttng-tools_{version}_scan-build': + - '{job_prefix}lttng-tools_{version}_root_{buildtype}': + buildtype: slesbuild version: stable-2.12 - urcuversion: stable-0.13 ustversion: stable-2.12 - -- 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 - platforms: !!python/tuple [bionic-amd64] - builds: !!python/tuple [std, oot, dist] - confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] - urcuversions: !!python/tuple [stable-0.11] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [base] - filter: '(build=="std") || (conf=="std" || conf=="agents" || conf=="no-ust")' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: portbuild - version: stable-2.11 - ustversion: stable-2.11 - platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] - builds: !!python/tuple [std] - confs: !!python/tuple [no-ust, agents] - urcuversions: !!python/tuple [stable-0.11] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [base] - filter: '' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: slesbuild - version: stable-2.11 - ustversion: stable-2.11 - platforms: !!python/tuple [sles12sp5-amd64] + platforms: !!python/tuple [sles15sp4-amd64] builds: !!python/tuple [std] confs: !!python/tuple [agents] - urcuversions: !!python/tuple [stable-0.11] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [base] - filter: '' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: elbuild - version: stable-2.11 - ustversion: stable-2.11 - platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64] - builds: !!python/tuple [std] - confs: !!python/tuple [std] - urcuversions: !!python/tuple [stable-0.11] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [base] - filter: '' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_long_regression': - buildtype: build - version: stable-2.11 - ustversion: stable-2.11 - platforms: !!python/tuple [bionic-amd64] - builds: !!python/tuple [std] - confs: !!python/tuple [std] - urcuversions: !!python/tuple [stable-0.11] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [full] - filter: '' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_rootbuild': - buildtype: build - version: stable-2.11 - ustversion: stable-2.11 - platforms: !!python/tuple [bionic-amd64] - builds: !!python/tuple [std] - confs: !!python/tuple [agents] - urcuversions: !!python/tuple [stable-0.11] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [base] - filter: '' - touchstone: '' - - # stable-2.10 - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: build - version: stable-2.10 - ustversion: stable-2.10 - platforms: !!python/tuple [bionic-amd64] - builds: !!python/tuple [std, oot, dist] - confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback] - urcuversions: !!python/tuple [stable-0.9] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [base] - filter: '(build=="std") || (conf=="std" || conf=="agents" || conf=="no-ust")' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: portbuild - version: stable-2.10 - ustversion: stable-2.10 - platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] - builds: !!python/tuple [std] - confs: !!python/tuple [no-ust, agents] - urcuversions: !!python/tuple [stable-0.9] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [base] - filter: '' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: slesbuild - version: stable-2.10 - ustversion: stable-2.10 - platforms: !!python/tuple [sles12sp5-amd64] - builds: !!python/tuple [std] - confs: !!python/tuple [agents] - urcuversions: !!python/tuple [stable-0.9] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [base] - filter: '' + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")' touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': + - '{job_prefix}lttng-tools_{version}_root_{buildtype}': buildtype: elbuild - version: stable-2.10 - ustversion: stable-2.10 - platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64] - builds: !!python/tuple [std] - confs: !!python/tuple [std] - urcuversions: !!python/tuple [stable-0.9] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [base] - filter: '' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_long_regression': - buildtype: build - version: stable-2.10 - ustversion: stable-2.10 - platforms: !!python/tuple [bionic-amd64] + version: stable-2.12 + ustversion: stable-2.12 + platforms: !!python/tuple [el8-amd64] builds: !!python/tuple [std] confs: !!python/tuple [std] - urcuversions: !!python/tuple [stable-0.9] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [full] - filter: '' + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="el8-amd64-rootnode" && platform=="el8-amd64")' touchstone: '' + - 'lttng-tools_{version}_release': + version: v2.12 + ustversion: stable-2.12 + urcuversion: stable-0.13 + babelversion: stable-2.0 + - 'lttng-tools_{version}_scan-build': + version: stable-2.12 + urcuversion: stable-0.13 + ustversion: stable-2.12 - project: name: dev_jgalar_lttng-tools @@ -1357,185 +1545,225 @@ jobs: # Master - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: build + buildtype: linuxbuild version: master-staging ustversion: master - platforms: !!python/tuple [bionic-amd64] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: master-staging ustversion: master - platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - - 'dev_{user}_lttng-tools_{version}_{buildtype}': + - 'dev_{user}_lttng-tools_{version}_macosbuild': buildtype: macosbuild version: master-staging ustversion: master - platforms: !!python/tuple [macos-amd64, macos-arm64] + platforms: !!python/tuple [macos-arm64] builds: !!python/tuple [std] confs: !!python/tuple [relayd-only] urcuversions: !!python/tuple [master] babelversions: !!python/tuple [stable-2.0] - testtypes: !!python/tuple [base] filter: '' touchstone: '' # stable-2.13 - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: build + buildtype: linuxbuild version: stable-2.13-staging ustversion: stable-2.13 - platforms: !!python/tuple [bionic-amd64] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.13-staging ustversion: stable-2.13 - platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' # stable-2.12 - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: build + buildtype: linuxbuild version: stable-2.12-staging ustversion: stable-2.12 - platforms: !!python/tuple [bionic-amd64] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.12-staging ustversion: stable-2.12 - platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] + 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] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - 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' + name: review-lttng-tools + job_prefix: '' + ust_job_prefix: '' + urcu_job_prefix: '' + bt_job_prefix: '' + github_user: lttng jobs: - # stable-2.11 - - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: build - version: stable-2.11-staging - ustversion: stable-2.11 - platforms: !!python/tuple [bionic-amd64] - builds: !!python/tuple [std, oot, dist] + ## 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.11] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [base] + urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support + babelversions: !!python/tuple [stable-2.0] filter: '' touchstone: '' - - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: portbuild - version: stable-2.11-staging - ustversion: stable-2.11 - platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] + - '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 [std, no-ust, agents] - urcuversions: !!python/tuple [stable-0.11] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [base] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] filter: '' touchstone: '' - - # stable-2.10 - - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: build - version: stable-2.10-staging - ustversion: stable-2.10 - platforms: !!python/tuple [bionic-amd64] - builds: !!python/tuple [std, oot, dist] - confs: !!python/tuple [std, no-ust, agents] - urcuversions: !!python/tuple [stable-0.9] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [base] + - '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}_root_{buildtype}': + version: master + buildtype: slesbuild + platforms: !!python/tuple [sles15sp4-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.14] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-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_{user}_lttng-tools_{version}_{buildtype}': - buildtype: portbuild - version: stable-2.10-staging - ustversion: stable-2.10 - platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386] + - '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: '' + 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.9] - babelversions: !!python/tuple [stable-1.5] - testtypes: !!python/tuple [base] + 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: '' + - 'dev_review_lttng-tools_{version}_root_{buildtype}': + version: stable-2.13 + buildtype: slesbuild + platforms: !!python/tuple [sles15sp4-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")' + touchstone: '' -- project: - name: gerrit-lttng-tools - job_prefix: '' - ust_job_prefix: '' - urcu_job_prefix: '' - bt_job_prefix: '' - github_user: lttng - jobs: - - 'dev_gerrit_lttng-tools_{buildtype}': - buildtype: build - platforms: !!python/tuple [bionic-amd64] + ## 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.14] # Baseline is stable-0.14 for C++ support + urcuversions: !!python/tuple [stable-0.13] babelversions: !!python/tuple [stable-2.0] - testtypes: !!python/tuple [base] filter: '' touchstone: '' - - 'dev_gerrit_lttng-tools_rootbuild': - buildtype: build - platforms: !!python/tuple [bionic-amd64] + - '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.14] # Baseline is stable-0.14 for C++ support + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' + touchstone: '' + - 'dev_review_lttng-tools_{version}_root_{buildtype}': + version: stable-2.12 + buildtype: slesbuild + platforms: !!python/tuple [sles15sp4-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [stable-0.13] babelversions: !!python/tuple [stable-2.0] - testtypes: !!python/tuple [base] - filter: '(node=="amd64-rootnode" && platform=="bionic-amd64")' + filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")' touchstone: '' + - project: name: lttng-tools-views views: