X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-tools.yaml;h=30ac64ab88fa23f2a61397d9225e2337f121c988;hb=487bce20ad245559558be282363546914e10910a;hp=427fdcc030740f5407acab52ee8922d0e52f58e9;hpb=70ee484e627a40a8c6e120c488f3d4b2f8ce5258;p=lttng-ci.git diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index 427fdcc..30ac64a 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -113,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 @@ -122,7 +124,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 +155,18 @@ ust_conf=std ;; esac - # Run java tests only on 'linuxbuild' jobs + # 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 @@ -194,7 +201,7 @@ - conditional-step: condition-kind: regex-match label: '$JOB_NAME' - regex: '.*_rootbuild.*' + regex: '.*_root(?:_[a-z]+)?build.*' steps: - shell: | #!/bin/bash @@ -223,6 +230,7 @@ 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 @@ -415,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: | @@ -650,6 +659,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 @@ -893,6 +926,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 @@ -992,6 +1054,9 @@ - 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=std,build=std' @@ -1029,6 +1094,9 @@ - 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=std,build=std' @@ -1091,7 +1159,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] @@ -1163,6 +1231,28 @@ 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}_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 @@ -1178,10 +1268,12 @@ version: master urcuversion: master ustversion: master + babelversion: master - 'lttng-tools_{version}_coverity': version: master urcuversion: master ustversion: master + babelversion: master # stable-2.13 - '{job_prefix}lttng-tools_{version}_{buildtype}': @@ -1210,7 +1302,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] @@ -1282,6 +1374,28 @@ 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: '' + - '{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 ustversion: stable-2.13 @@ -1291,6 +1405,7 @@ version: stable-2.13 urcuversion: stable-0.13 ustversion: stable-2.13 + babelversion: stable-2.0 # stable-2.12 - '{job_prefix}lttng-tools_{version}_{buildtype}': @@ -1319,7 +1434,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] @@ -1391,6 +1506,28 @@ 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: '' + - '{job_prefix}lttng-tools_{version}_root_{buildtype}': + buildtype: elbuild + 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.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 @@ -1400,6 +1537,7 @@ version: stable-2.12 urcuversion: stable-0.13 ustversion: stable-2.12 + babelversion: stable-2.0 - project: name: dev_jgalar_lttng-tools @@ -1517,7 +1655,7 @@ version: master buildtype: slesbuild 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] @@ -1534,6 +1672,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 @@ -1578,6 +1726,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}': @@ -1600,6 +1758,16 @@ 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] + filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")' + touchstone: '' - project: