X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=jobs%2Flttng-ust.yaml;h=ee35d1da414dc38a447f05893f701635fa05615f;hb=HEAD;hp=39eabd1f130e4631decc656dd03005626b7144bb;hpb=03297c9e55eb7a8b98db1f0c5fe9b53d1646ca2c;p=lttng-ci.git diff --git a/jobs/lttng-ust.yaml b/jobs/lttng-ust.yaml index 39eabd1..ee35d1d 100644 --- a/jobs/lttng-ust.yaml +++ b/jobs/lttng-ust.yaml @@ -1,3 +1,5 @@ +--- +## Defaults - defaults: name: lttng-ust description: | @@ -11,13 +13,19 @@ project-type: freestyle wrappers: - - workspace-cleanup + - ansicolor: <tng-ust_wrapper_ansicolor_defaults + colormap: xterm + - timeout: <tng-ust_wrapper_timeout_defaults + timeout: 20 + fail: true + type: no-activity + write-description: "

This build failed due to timeout.

" - timestamps - - ansicolor + - workspace-cleanup scm: - git: - url: git://github.com/{github_user}/{github_name}.git + url: https://github.com/{github_user}/{github_name}.git browser: githubweb browser-url: https://github.com/{github_user}/{github_name} branches: @@ -34,99 +42,215 @@ properties-content: | PROJECT_NAME=lttng-ust - build-discarder: - num-to-keep: 2 + num-to-keep: 10 + artifact-num-to-keep: 2 - github: url: https://github.com/{github_user}/{github_name} ## Anchors -- lttng-ust_build_axes_defaults: <tng-ust_build_axes_defaults - name: 'lttng-ust_build_axes_defaults' +- _lttng-ust_matrix_axes_defaults: <tng-ust_matrix_axes_defaults + name: 'lttng-ust_matrix_axes_defaults' project-type: matrix node: 'master' # Applies only to matrix flyweight task - execution-strategy: + execution-strategy: <tng-ust_matrix_execution-strategy_defaults combination-filter: '{filter}' + touchstone: + expr: '{touchstone}' + result: unstable axes: - - axis: + - axis: <tng-ust_matrix_axis_platform type: slave - name: arch - values: '{obj:arch}' - - axis: + name: platform + values: '{obj:platforms}' + - axis: <tng-ust_matrix_axis_conf type: user-defined name: conf - values: '{obj:conf}' - - axis: - type: user-defined - name: liburcu_version - values: '{obj:liburcu_version}' - - axis: + values: '{obj:confs}' + - axis: <tng-ust_matrix_axis_build type: user-defined name: build - values: '{obj:build}' + values: '{obj:builds}' + - axis: <tng-ust_matrix_axis_liburcu_version + type: user-defined + name: liburcu_version + values: '{obj:liburcu_versions}' + +- _lttng-ust_matrix_axes_review_lttng-tools: <tng-ust_matrix_axes_review_lttng-tools + name: 'lttng-ust_matrix_axes_review_lttng-tools' + project-type: matrix + node: 'master' # Applies only to matrix flyweight task + execution-strategy: *lttng-ust_matrix_execution-strategy_defaults + axes: + - axis: *lttng-ust_matrix_axis_platform + - axis: *lttng-ust_matrix_axis_conf + - axis: *lttng-ust_matrix_axis_build + +- _lttng-ust_steps_copyartifact_defaults: + name: 'lttng-ust_steps_copyartifact_defaults' + steps: + - copyartifact: <tng-ust_steps_copyartifact_defaults + project: '' + which-build: last-successful + stable: false + filter: 'build/**' + target: 'deps' + do-not-fingerprint: true -- lttng-ust_build_builders_defaults: <tng-ust_build_builders_defaults - name: 'lttng-ust_build_builders_defaults' +- _lttng-ust_builders_defaults: <tng-ust_builders_defaults + name: 'lttng-ust_builders_defaults' builders: - - conditional-step: - condition-kind: regex-match - label: '$conf' - regex: (std|agents) - on-evaluation-failure: run - steps: - - copyartifact: - project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true - - - conditional-step: - condition-kind: regex-match - label: '$conf' - regex: (debug-rcu) - on-evaluation-failure: run - steps: - - copyartifact: - project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=debug-rcu,build=std - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true + # Generate a properties file to add additionnal env + - shell: | + #!/bin/bash + set -exu + # Select the liburcu conf based on the current conf + case "$conf" in + debug-rcu|tls_fallback) + liburcu_conf=$conf + ;; + *) + liburcu_conf=std + ;; + esac + echo "liburcu_conf=$liburcu_conf" > env.properties + + # Inject the additionnal env early to use them in the copyartifact step + - inject: + properties-file: env.properties + + - copyartifact: + <<: *lttng-ust_steps_copyartifact_defaults + project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=${{liburcu_conf}},build=std' + + # Run the build - shell: - !include-raw-escape: scripts/lttng-ust/build.sh + !include-raw-escape: + - scripts/common/print.sh + - scripts/lttng-ust/build.sh +- _lttng-ust_builders_review_lttng-tools: <tng-ust_builders_review_lttng-tools + name: 'lttng-ust_builders_review_lttng-tools' -## Templates -- job-template: - name: lttng-ust_{version}_{buildtype} - defaults: lttng-ust + builders: + # Generate a properties file to add additionnal env + - shell: | + #!/bin/bash + set -exu + # Select the liburcu conf based on the current conf + case "$conf" in + debug-rcu|tls_fallback) + liburcu_conf=$conf + ;; + *) + liburcu_conf=std + ;; + esac + echo "liburcu_conf=$liburcu_conf" >> env.properties + # Select the liburcu version based on the gerrit branch + case "$GERRIT_BRANCH" in + master) + liburcu_version=master + ;; + *) + liburcu_version={liburcu_version} + ;; + esac + echo "liburcu_version=$liburcu_version" >> env.properties + + # Inject the additionnal env early to use them in the copyartifact step + - inject: + properties-file: env.properties + + - copyartifact: + <<: *lttng-ust_steps_copyartifact_defaults + project: 'liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=${{liburcu_conf}},build=std' - <<: *lttng-ust_build_axes_defaults - <<: *lttng-ust_build_builders_defaults + - copyartifact: + <<: *lttng-ust_steps_copyartifact_defaults + project: 'babeltrace_{babeltrace_version}_{buildtype}/platform=${{platform}},conf=std,build=std' + + - shell: | + #!/bin/bash + set -exu + git clone -b "$GERRIT_BRANCH" https://review.lttng.org/lttng-tools src/lttng-tools - # TODO: Scan for open tasks + - shell: + !include-raw-escape: + - 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/common/print.sh + - scripts/lttng-tools/build.sh + +- _lttng-ust_publishers_defaults: <tng-ust_publishers_defaults + name: 'lttng-ust_publishers_defaults' publishers: - - tap: + - tap: <tng-ust_publisher_tap_defaults results: 'tap/**/*.log' 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 - - archive: - artifacts: 'build/**,tap/**' + - raw: <tng-ust_publisher_warnings-ng_defaults + xml: | + + + + + + + + + false + + + + + + false + true + false + 0 + 0 + + LOW + + + true + true + false + true + false + + + 1 + TOTAL + WARNING + + + AGGREGATION_TOOLS + + + - archive: <tng-ust_publisher_archive_defaults + artifacts: 'build/**,tap/**,log/**' + follow-symlinks: true allow-empty: false - - workspace-cleanup - - email-ext: + - workspace-cleanup: <tng-ust_publisher_workspace-cleanup_defaults + clean-if: + - failure: false + - ircbot: <tng-ust_publisher_ircbot_defaults + strategy: statechange-only + message-type: summary + matrix-notifier: only-parent + - email-ext: <tng-ust_publisher_email-ext_defaults recipients: '{obj:email_to}' reply-to: ci-notification@lists.lttng.org always: false @@ -149,8 +273,66 @@ send-to: - recipients +- _lttng-ust_publishers_review: <tng-ust_publishers_review + name: 'lttng-ust_publishers_review' + publishers: + - tap: *lttng-ust_publisher_tap_defaults + # Fail job on any compiler warnings + - raw: + xml: | + + + + + + + + + false + + + + + + false + true + false + 0 + 0 + + LOW + + + true + true + false + true + false + + + 1 + TOTAL + FAILED + + + AGGREGATION_TOOLS + + + - archive: *lttng-ust_publisher_archive_defaults + - workspace-cleanup: *lttng-ust_publisher_workspace-cleanup_defaults + +## Templates +- job-template: + name: '{job_prefix}lttng-ust_{version}_{buildtype}' + defaults: lttng-ust + + <<: *lttng-ust_matrix_axes_defaults + <<: *lttng-ust_builders_defaults + <<: *lttng-ust_publishers_defaults + + - job-template: - name: dev_gerrit_lttng-ust_{buildtype} + name: dev_review_lttng-ust_{version}_{buildtype} defaults: lttng-ust concurrent: true @@ -164,7 +346,7 @@ skip-tag: true triggers: - - gerrit: + - gerrit: <tng-ust_trigger_gerrit_defaults trigger-on: - comment-added-event: approval-category: 'CI-Build' @@ -173,61 +355,62 @@ - project-compare-type: 'PLAIN' project-pattern: 'lttng-ust' branches: - - branch-compare-type: 'ANT' - branch-pattern: '**' - trigger-for-unreviewed-patches: true + - branch-compare-type: 'PLAIN' + branch-pattern: '{version}' - <<: *lttng-ust_build_axes_defaults - <<: *lttng-ust_build_builders_defaults + <<: *lttng-ust_matrix_axes_defaults + <<: *lttng-ust_builders_defaults + <<: *lttng-ust_publishers_review + + properties: + - inject: + properties-content: | + PROJECT_NAME=lttng-ust + - build-discarder: + days-to-keep: 1 + - throttle: + option: 'category' + categories: + - 'gerrit-{buildtype}' - publishers: - - tap: - results: 'tap/**/*.log' - 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: - failed: - total-all: 0 - total-high: 0 - total-normal: 0 - total-low: 0 - - archive: - artifacts: 'build/**,tap/**' - allow-empty: false - - workspace-cleanup - job-template: - name: lttng-ust_{version}_cppcheck + name: dev_review_lttng-ust_lttng-tools_{version}_{buildtype} defaults: lttng-ust + concurrent: true + + scm: + - git: + url: https://review.lttng.org/lttng-ust + refspec: 'refs/changes/*:refs/changes/*' + branches: + - '$GERRIT_REFSPEC' + basedir: src/lttng-ust + skip-tag: true triggers: - - pollscm: - cron: "@daily" + - gerrit: *lttng-ust_trigger_gerrit_defaults - builders: - - shell: | - rm -f cppcheck-result.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> cppcheck-result.xml + <<: *lttng-ust_matrix_axes_review_lttng-tools + <<: *lttng-ust_builders_review_lttng-tools + <<: *lttng-ust_publishers_review + + properties: + - inject: + properties-content: | + PROJECT_NAME=lttng-ust + - build-discarder: + days-to-keep: 1 + - throttle: + option: 'category' + categories: + - 'gerrit-{buildtype}' - publishers: - - archive: - artifacts: 'cppcheck-result.xml' - allow-empty: false - - cppcheck: - pattern: 'cppcheck-result.xml' - - email: - recipients: 'ci-notification@lists.lttng.org' - notify-every-unstable-build: true - send-to-individuals: false - job-template: name: lttng-ust_{version}_scan-build defaults: lttng-ust - node: 'amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -235,12 +418,8 @@ builders: - copyartifact: - project: liburcu_master_build/arch=amd64,conf=std,build=std - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true + <<: *lttng-ust_steps_copyartifact_defaults + project: liburcu_master_linuxbuild/platform=deb12-amd64,conf=std,build=std - shell: !include-raw-escape: scripts/common/scan-build.sh @@ -249,21 +428,24 @@ name: 'HTML Report' dir: 'scan-build-archive/' files: 'index.html' + - workspace-cleanup: *lttng-ust_publisher_workspace-cleanup_defaults + - ircbot: *lttng-ust_publisher_ircbot_defaults + - job-template: name: lttng-ust_{version}_coverity defaults: lttng-ust - node: 'amd64' + node: 'deb12-amd64' triggers: - pollscm: cron: "@daily" wrappers: - - workspace-cleanup + - ansicolor: *lttng-ust_wrapper_ansicolor_defaults + - timeout: *lttng-ust_wrapper_timeout_defaults - timestamps - - ansicolor: - colormap: xterm + - workspace-cleanup - credentials-binding: - username-password-separated: credential-id: lttng-ust_coverity_token @@ -272,21 +454,78 @@ builders: - copyartifact: - project: liburcu_master_build/arch=amd64,conf=std,build=std - which-build: last-successful - stable: false - filter: 'build/**' - target: 'deps' - do-not-fingerprint: true + <<: *lttng-ust_steps_copyartifact_defaults + project: liburcu_master_linuxbuild/platform=deb12-amd64,conf=std,build=std - shell: !include-raw-escape: scripts/common/coverity.sh publishers: - - workspace-cleanup - archive: artifacts: 'analysis-results.tgz,cov-int/**' allow-empty: false + - workspace-cleanup: *lttng-ust_publisher_workspace-cleanup_defaults + - ircbot: *lttng-ust_publisher_ircbot_defaults +- job-template: + name: dev_review_lttng-ust-java-tests_{version}_{buildtype} + defaults: lttng-ust + description: | + Review tests for LTTng-UST's Java agent. +

Job is managed by Jenkins Job Builder.

+ project-type: matrix + axes: + - axis: + <<: *lttng-ust_matrix_axis_platform + concurrent: true + scm: + - git: + url: https://review.lttng.org/lttng-ust-java-tests + refspec: 'refs/changes/*:refs/changes/*' + branches: + - '$GERRIT_REFSPEC' + basedir: 'src/lttng-ust-java-tests' + skip-tag: true + triggers: + - gerrit: + <<: *lttng-ust_trigger_gerrit_defaults + projects: + - project-compare-type: 'PLAIN' + project-pattern: 'lttng-ust-java-tests' + branches: + - branch-compare-type: 'PLAIN' + branch-pattern: '{version}' + builders: + - copyartifact: + <<: *lttng-ust_steps_copyartifact_defaults + project: 'liburcu_{liburcu_versions[0]}_{buildtype}/platform=${{platform}},conf=std,build=std' + - copyartifact: + <<: *lttng-ust_steps_copyartifact_defaults + project: 'lttng-ust_{lttngust_versions[0]}_{buildtype}/liburcu_version={liburcu_versions[0]},platform=${{platform}},conf=agents,build=std' + - copyartifact: + <<: *lttng-ust_steps_copyartifact_defaults + project: 'lttng-tools_{lttngtools_versions[0]}_{buildtype}/babeltrace_version={babeltrace_versions[0]},liburcu_version={liburcu_versions[0]},platform=${{platform}},conf=agents,build=std' + - copyartifact: + <<: *lttng-ust_steps_copyartifact_defaults + project: 'babeltrace_{babeltrace_versions[0]}_{buildtype}/platform=${{platform}},conf=std,build=std' + - shell: + !include-raw-escape scripts/lttng-ust/lttng-ust-java-tests.sh + properties: + - inject: + properties-content: | + PROJECT_NAME=lttng-ust-java-tests + - build-discarder: + days-to-keep: 1 + - throttle: + option: 'category' + categories: + - 'gerrit-{buildtype}' + publishers: + - archive: + artifacts: 'log/lttng-sessiond.log' + allow-empty: false + - junit: + results: 'src/lttng-ust-java-tests/**/target/failsafe-reports/*.xml' + - workspace-cleanup ## Views - view-template: @@ -298,144 +537,308 @@ ## Projects - project: name: lttng-ust + job_prefix: '' github_user: lttng github_name: lttng-ust email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com' - version: - - stable-2.8 - - stable-2.9 - - stable-2.10 - - stable-2.11 jobs: - - 'lttng-ust_{version}_{buildtype}': - buildtype: build - arch: !!python/tuple [amd64] - build: !!python/tuple [std, dist, oot, oot-dist] - conf: !!python/tuple [std, agents, debug-rcu] - liburcu_version: !!python/tuple [stable-0.8, stable-0.9, stable-0.10, stable-0.11, master] - filter: '(build=="std") || (liburcu_version=="master")' - - 'lttng-ust_{version}_{buildtype}': - buildtype: portbuild - arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - build: !!python/tuple [std] - conf: !!python/tuple [std, agents] - liburcu_version: !!python/tuple [stable-0.8, stable-0.9, stable-0.10, stable-0.11, master] - filter: '' - - 'lttng-ust_{version}_{buildtype}': - buildtype: slesbuild - arch: !!python/tuple [sles12sp2] - build: !!python/tuple [std] - conf: !!python/tuple [std] - liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.11, master] - filter: '' - - 'lttng-ust_{version}_{buildtype}': - buildtype: elbuild - arch: !!python/tuple [el8] - build: !!python/tuple [std] - conf: !!python/tuple [std] - liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.11, master] - filter: '' - - 'lttng-ust_{version}_cppcheck' - - 'lttng-ust_{version}_scan-build' ## Master ## - - 'lttng-ust_{version}_{buildtype}': - buildtype: build + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: linuxbuild version: master - arch: !!python/tuple [amd64] - build: !!python/tuple [std, dist, oot, oot-dist] - conf: !!python/tuple [std, agents, debug-rcu] - liburcu_version: !!python/tuple [stable-0.11, master] - filter: '(build=="std") || (liburcu_version=="master")' - - 'lttng-ust_{version}_{buildtype}': + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, dist, oot, oot-dist] + confs: !!python/tuple [std, agents, debug-rcu, tls_fallback] + liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master] + filter: '(build=="std") || ((liburcu_version=="master" && (conf=="std" || conf=="agents")))' + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: portbuild version: master - arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - build: !!python/tuple [std] - conf: !!python/tuple [std, agents] - liburcu_version: !!python/tuple [stable-0.11, master] + platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [std, agents] + liburcu_versions: !!python/tuple [stable-0.13, master] filter: '' - - 'lttng-ust_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: slesbuild version: master - arch: !!python/tuple [sles12sp2] - build: !!python/tuple [std] - conf: !!python/tuple [std] - liburcu_version: !!python/tuple [stable-0.11, master] + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master] filter: '' - - 'lttng-ust_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: elbuild version: master - arch: !!python/tuple [el8] - build: !!python/tuple [std] - conf: !!python/tuple [std] - liburcu_version: !!python/tuple [stable-0.11, master] + platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + liburcu_versions: !!python/tuple [stable-0.13, master] filter: '' - - 'lttng-ust_{version}_cppcheck': + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: yoctobuild version: master + platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + liburcu_versions: !!python/tuple [stable-0.13, master] + filter: '' + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: freebsdbuild + version: master + platforms: !!python/tuple [freebsd-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + liburcu_versions: !!python/tuple [stable-0.13, master] + filter: '' + touchstone: '' - 'lttng-ust_{version}_scan-build': version: master - 'lttng-ust_{version}_coverity': version: master + + ## Stable 2.13 ## + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: linuxbuild + version: stable-2.13 + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, dist, oot, oot-dist] + confs: !!python/tuple [std, agents, debug-rcu, tls_fallback] + liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master] + filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))' + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: portbuild + version: stable-2.13 + platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [std, agents] + liburcu_versions: !!python/tuple [stable-0.13, master] + filter: '' + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: slesbuild + version: stable-2.13 + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + liburcu_versions: !!python/tuple [stable-0.13, master] + filter: '' + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: elbuild + version: stable-2.13 + platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + liburcu_versions: !!python/tuple [stable-0.13, master] + filter: '' + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: yoctobuild + version: stable-2.13 + platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + liburcu_versions: !!python/tuple [stable-0.13, master] + filter: '' + touchstone: '' + - 'lttng-ust_{version}_scan-build': + version: stable-2.13 + ## Stable 2.12 ## - - 'lttng-ust_{version}_{buildtype}': - buildtype: build + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: linuxbuild version: stable-2.12 - arch: !!python/tuple [amd64] - build: !!python/tuple [std, dist, oot, oot-dist] - conf: !!python/tuple [std, agents, debug-rcu] - liburcu_version: !!python/tuple [stable-0.11, master] - filter: '(build=="std") || (liburcu_version=="stable-0.11")' - - 'lttng-ust_{version}_{buildtype}': + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, dist, oot, oot-dist] + confs: !!python/tuple [std, agents, debug-rcu, tls_fallback] + liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master] + filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))' + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: portbuild version: stable-2.12 - arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - build: !!python/tuple [std] - conf: !!python/tuple [std, agents] - liburcu_version: !!python/tuple [stable-0.11, master] + platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [std, agents] + liburcu_versions: !!python/tuple [stable-0.13, master] filter: '' - - 'lttng-ust_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: slesbuild version: stable-2.12 - arch: !!python/tuple [sles12sp2] - build: !!python/tuple [std] - conf: !!python/tuple [std] - liburcu_version: !!python/tuple [stable-0.11, master] + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + liburcu_versions: !!python/tuple [stable-0.13] filter: '' - - 'lttng-ust_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: elbuild version: stable-2.12 - arch: !!python/tuple [el8] - build: !!python/tuple [std] - conf: !!python/tuple [std] - liburcu_version: !!python/tuple [stable-0.11, master] + platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + liburcu_versions: !!python/tuple [stable-0.13] filter: '' - - 'lttng-ust_{version}_cppcheck': + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: yoctobuild version: stable-2.12 + platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64] + builds: !!python/tuple [std] + confs: !!python/tuple [std] + liburcu_versions: !!python/tuple [stable-0.13] + filter: '' + touchstone: '' - 'lttng-ust_{version}_scan-build': version: stable-2.12 - # stable-2.7 - - 'lttng-ust_{version}_{buildtype}': +- project: + name: review-lttng-ust + job_prefix: '' + github_user: lttng + github_name: lttng-ust + jobs: + ## master ## + - 'dev_review_lttng-ust_{version}_{buildtype}': + version: master + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] + builds: !!python/tuple [std, oot, dist, oot-dist] + confs: !!python/tuple [std, agents] + liburcu_versions: !!python/tuple [stable-0.14] + filter: '' + touchstone: '(build == "std") && (conf == "std")' + - 'dev_review_lttng-ust_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, agents] + filter: '' + touchstone: '' + liburcu_version: stable-0.14 + babeltrace_version: stable-2.0 + - 'dev_review_lttng-ust_lttng-tools_{version}_{buildtype}': + version: master buildtype: slesbuild - version: stable-2.7 - arch: !!python/tuple [sles12sp2] - build: !!python/tuple [std] - conf: !!python/tuple [std] - liburcu_version: !!python/tuple [stable-0.9] + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + filter: '' + touchstone: '' + liburcu_version: stable-0.14 + babeltrace_version: stable-2.0 + - 'dev_review_lttng-ust_{version}_{buildtype}': + version: master + buildtype: portbuild + platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + liburcu_versions: !!python/tuple [stable-0.14] + filter: '' + touchstone: '(platform == "deb12-i386")' + - 'dev_review_lttng-ust_{version}_{buildtype}': + version: master + buildtype: freebsdbuild + platforms: !!python/tuple [freebsd-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + liburcu_versions: !!python/tuple [stable-0.14] + filter: '' + touchstone: '' + + ## Stable 2.13 ## + - 'dev_review_lttng-ust_{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, agents] + liburcu_versions: !!python/tuple [stable-0.13] + filter: '' + touchstone: '(build == "std") && (conf == "std")' + - 'dev_review_lttng-ust_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, agents] + filter: '' + touchstone: '' + liburcu_version: stable-0.13 + babeltrace_version: stable-2.0 + - 'dev_review_lttng-ust_{version}_{buildtype}': + version: stable-2.13 + buildtype: portbuild + platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + liburcu_versions: !!python/tuple [stable-0.13] filter: '' + touchstone: '(platform == "deb12-i386")' + + ## Stable 2.12 ## + - 'dev_review_lttng-ust_{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, agents] + liburcu_versions: !!python/tuple [stable-0.13] + filter: '' + touchstone: '(build == "std") && (conf == "std")' + - 'dev_review_lttng-ust_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, agents] + filter: '' + touchstone: '' + liburcu_version: stable-0.13 + babeltrace_version: stable-2.0 + - 'dev_review_lttng-ust_{version}_{buildtype}': + version: stable-2.12 + buildtype: portbuild + platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + liburcu_versions: !!python/tuple [stable-0.13] + filter: '' + touchstone: '(platform == "deb12-i386")' - project: - name: gerrit-lttng-ust + name: review-lttng-ust-java + job_prefix: '' github_user: lttng - github_name: lttng-ust + github_name: lttng-ust-java-tests + # + filter: '' + groups: '!domain:log4j2' + java_versions: !!python/tuple [java-11-openjdk] + touchstone: '' + version: master + # + babeltrace_versions: !!python/tuple [stable-2.0] + liburcu_versions: !!python/tuple [master] + lttngtools_versions: !!python/tuple [master] + lttngust_versions: !!python/tuple [master] + # jobs: - - 'dev_gerrit_lttng-ust_{buildtype}': - buildtype: build - arch: !!python/tuple [amd64] - build: !!python/tuple [std, oot, dist, oot-dist] - conf: !!python/tuple [std, agents] - liburcu_version: !!python/tuple [stable-0.11] - filter: '(build=="std" && conf=="std") || (arch=="amd64")' + - 'dev_review_lttng-ust-java-tests_{version}_{buildtype}': + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] + - 'dev_review_lttng-ust-java-tests_{version}_{buildtype}': + buildtype: slesbuild + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] - project: name: lttng-ust-views