X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-tools.yaml;h=72768f121ae086b953379a1d77def124ad8fcf89;hb=76a5167c21c010adb46fa57c2158fcc06cff3446;hp=abc59232a21dd74343755dd3ad1a29eaba2e52ed;hpb=6f29c2dcdf0b5edb51e4e43ec05cbdb0247bcee6;p=lttng-ci.git diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index abc5923..72768f1 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -112,6 +112,7 @@ type: slave name: node values: + - 'sles15sp4-amd64-rootnode' - 'amd64-rootnode' - 'i386-rootnode' - axis: @@ -122,7 +123,6 @@ - axis: *lttng-tools_matrix_axis_liburcu_version - axis: *lttng-tools_matrix_axis_babeltrace_version - ## Builders Anchors - _lttng-tools_builders_defaults: <tng-tools_builders_defaults name: 'lttng-tools_builders_defaults' @@ -154,12 +154,15 @@ ust_conf=std ;; esac - # Run java tests only on 'linuxbuild' jobs - if [ "{buildtype}" = "linuxbuild" ]; then + # 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 @@ -194,7 +197,7 @@ - conditional-step: condition-kind: regex-match label: '$JOB_NAME' - regex: '.*_rootbuild.*' + regex: '.*_root(?:_[a-z]+)?build.*' steps: - shell: | #!/bin/bash @@ -212,6 +215,20 @@ - _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 @@ -401,6 +418,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: | @@ -636,6 +654,30 @@ 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}_{buildtype}' + result: 'success' + - job-template: name: '{job_prefix}lttng-tools_{version}_macosbuild' defaults: lttng-tools @@ -879,6 +921,35 @@ - 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 @@ -1077,7 +1148,7 @@ 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] @@ -1099,7 +1170,7 @@ 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] @@ -1149,6 +1220,17 @@ 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 [sles15sp4-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + urcuversions: !!python/tuple [master] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")' + touchstone: '' - '{job_prefix}lttng-tools_{version}_rootbuild_i386': buildtype: portbuild version: master @@ -1196,7 +1278,7 @@ 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] @@ -1218,7 +1300,7 @@ buildtype: yoctobuild version: stable-2.13 ustversion: stable-2.13 - 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 [stable-0.13] @@ -1268,6 +1350,17 @@ babelversions: !!python/tuple [stable-2.0] 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: '' - 'lttng-tools_{version}_release': version: v2.13 ustversion: stable-2.13 @@ -1305,7 +1398,7 @@ 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] @@ -1327,7 +1420,7 @@ buildtype: yoctobuild version: stable-2.12 ustversion: stable-2.12 - 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 [stable-0.13] @@ -1377,6 +1470,17 @@ babelversions: !!python/tuple [stable-2.0] filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' touchstone: '' + - '{job_prefix}lttng-tools_{version}_root_{buildtype}': + buildtype: slesbuild + version: stable-2.12 + ustversion: stable-2.12 + 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: '' - 'lttng-tools_{version}_release': version: v2.12 ustversion: stable-2.12 @@ -1387,107 +1491,6 @@ 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: linuxbuild - version: stable-2.11 - ustversion: stable-2.11 - 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.11] - babelversions: !!python/tuple [stable-1.5] - 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 [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] - builds: !!python/tuple [std] - confs: !!python/tuple [no-ust, agents] - urcuversions: !!python/tuple [stable-0.11] - babelversions: !!python/tuple [stable-1.5] - filter: '' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: slesbuild - version: stable-2.11 - ustversion: stable-2.11 - platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64] - builds: !!python/tuple [std] - confs: !!python/tuple [agents] - urcuversions: !!python/tuple [stable-0.11] - babelversions: !!python/tuple [stable-1.5] - 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] - filter: '' - touchstone: '' - - # stable-2.10 - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: linuxbuild - version: stable-2.10 - ustversion: stable-2.10 - 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.9] - babelversions: !!python/tuple [stable-1.5] - 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 [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386] - builds: !!python/tuple [std] - confs: !!python/tuple [no-ust, agents] - urcuversions: !!python/tuple [stable-0.9] - babelversions: !!python/tuple [stable-1.5] - filter: '' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: slesbuild - version: stable-2.10 - ustversion: stable-2.10 - platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64] - builds: !!python/tuple [std] - confs: !!python/tuple [agents] - urcuversions: !!python/tuple [stable-0.9] - babelversions: !!python/tuple [stable-1.5] - filter: '' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_{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] - filter: '' - touchstone: '' - - project: name: dev_jgalar_lttng-tools job_prefix: 'dev_jgalar_' @@ -1581,64 +1584,6 @@ 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' - jobs: - # stable-2.11 - - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: linuxbuild - version: stable-2.11-staging - ustversion: stable-2.11 - platforms: !!python/tuple [deb12-amd64] - builds: !!python/tuple [std, oot, dist] - confs: !!python/tuple [std, no-ust, agents] - urcuversions: !!python/tuple [stable-0.11] - babelversions: !!python/tuple [stable-1.5] - filter: '' - touchstone: '' - - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: portbuild - version: stable-2.11-staging - ustversion: stable-2.11 - 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.11] - babelversions: !!python/tuple [stable-1.5] - filter: '' - touchstone: '' - - # stable-2.10 - - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: linuxbuild - version: stable-2.10-staging - ustversion: stable-2.10 - platforms: !!python/tuple [deb12-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] - filter: '' - touchstone: '' - - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: portbuild - version: stable-2.10-staging - ustversion: stable-2.10 - 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.9] - babelversions: !!python/tuple [stable-1.5] - filter: '' - touchstone: '' - - project: name: review-lttng-tools job_prefix: '' @@ -1658,6 +1603,17 @@ 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 @@ -1668,6 +1624,16 @@ 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 @@ -1712,6 +1678,16 @@ 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: '' ## Stable 2.12 ## - 'dev_review_lttng-tools_{version}_{buildtype}': @@ -1734,43 +1710,18 @@ babelversions: !!python/tuple [stable-2.0] filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' touchstone: '' - -- project: - name: lttng-tools-mjeanson - job_prefix: 'dev_mjeanson_' - ust_job_prefix: 'dev_mjeanson_' - urcu_job_prefix: 'dev_mjeanson_' - bt_job_prefix: 'dev_mjeanson_' - github_user: lttng - github_name: lttng-tools - email_to: "mjeanson@efficios.com" - version: - - master - jobs: - - '{job_prefix}lttng-tools_{version}_{buildtype}': - buildtype: portbuild - version: master - ustversion: master - platforms: !!python/tuple [sid-riscv64] - builds: !!python/tuple [std] - confs: !!python/tuple [std, no-ust, agents] - urcuversions: !!python/tuple [master] - babelversions: !!python/tuple [master] - filter: '' - touchstone: '' - - '{job_prefix}lttng-tools_{version}_rootbuild': - version: master - buildtype: linuxbuild - ustversion: master - platforms: !!python/tuple [deb12-amd64] + - '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 [master] - ustversion: master - babelversions: !!python/tuple [master] - filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' + urcuversions: !!python/tuple [stable-0.13] + babelversions: !!python/tuple [stable-2.0] + filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")' touchstone: '' + - project: name: lttng-tools-views views: