X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=jobs%2Flttng-tools.yaml;h=3fa5bfb4088e4c28d8723e1e57c23590672a94c0;hb=48c27b896fa98d43513e2bdf47ed3d84b619c7d4;hp=de694072c1deb8ec53da13f192c52f7109b2dc20;hpb=f7512e607299ffdf83713eee970380bbeb891796;p=lttng-ci.git diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index de69407..3fa5bfb 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -154,6 +154,10 @@ ust_conf=std ;; esac + # Run java tests only on 'linuxbuild' jobs + if [ "{buildtype}" = "linuxbuild" ]; then + echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=yes" >> env.properties + fi echo "liburcu_conf=$liburcu_conf" >> env.properties echo "babeltrace_conf=$babeltrace_conf" >> env.properties echo "ust_conf=$ust_conf" >> env.properties @@ -452,6 +456,10 @@ + - 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 @@ -548,6 +556,20 @@ <<: *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 @@ -600,7 +622,7 @@ 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: @@ -624,9 +646,23 @@ 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 @@ -648,6 +684,9 @@ - '$GERRIT_REFSPEC' basedir: src/lttng-tools skip-tag: true + # Work-around for hangs while cloning lttng-tools from gerrit + # @see https://support.efficios.com/issues/1532 + git-tool: jgit triggers: - gerrit: <tng-tools_trigger_gerrit_default @@ -690,6 +729,7 @@ - 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 @@ -866,7 +906,7 @@ triggers: - gerrit: *lttng-tools_trigger_gerrit_smoke_1 - node: 'jammy-amd64' + node: 'deb12-amd64' builders: - shell: @@ -886,7 +926,7 @@ - job-template: name: lttng-tools_{version}_release defaults: lttng-tools - node: 'bionic-amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -905,13 +945,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}_build/platform=bionic-amd64,conf=std,build=std' + 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=agents,build=std' + 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: @@ -944,7 +984,7 @@ - job-template: name: lttng-tools_{version}_scan-build defaults: lttng-tools - node: 'bionic-amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -953,10 +993,10 @@ 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: '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/scan-build.sh @@ -970,7 +1010,7 @@ - job-template: name: lttng-tools_{version}_coverity defaults: lttng-tools - node: 'bionic-amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -990,10 +1030,10 @@ 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: '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 @@ -1031,18 +1071,7 @@ buildtype: linuxbuild version: master ustversion: master - 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 [master] - babelversions: !!python/tuple [stable-2.0, master] - 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] + 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] @@ -1093,7 +1122,7 @@ babelversions: !!python/tuple [stable-2.0] filter: '' touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': + - '{job_prefix}lttng-tools_{version}_macosbuild': buildtype: macosbuild version: master ustversion: master @@ -1115,10 +1144,10 @@ 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] @@ -1126,15 +1155,15 @@ filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_rootbuild': - 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 [agents] urcuversions: !!python/tuple [master] babelversions: !!python/tuple [stable-2.0] - filter: '(node=="amd64-rootnode" && platform=="bionic-amd64")' + filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' touchstone: '' - '{job_prefix}lttng-tools_{version}_rootbuild_i386': buildtype: portbuild @@ -1161,18 +1190,7 @@ 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] - 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] @@ -1223,7 +1241,7 @@ babelversions: !!python/tuple [stable-2.0] filter: '' touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': + - '{job_prefix}lttng-tools_{version}_macosbuild': buildtype: macosbuild version: stable-2.13 ustversion: stable-2.13 @@ -1245,10 +1263,10 @@ 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] @@ -1256,15 +1274,15 @@ 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] - filter: '(node=="amd64-rootnode" && platform=="bionic-amd64")' + filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' touchstone: '' - 'lttng-tools_{version}_release': version: v2.13 @@ -1281,18 +1299,7 @@ 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] - 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] @@ -1343,7 +1350,7 @@ babelversions: !!python/tuple [stable-2.0] filter: '' touchstone: '' - - '{job_prefix}lttng-tools_{version}_{buildtype}': + - '{job_prefix}lttng-tools_{version}_macosbuild': buildtype: macosbuild version: stable-2.12 ustversion: stable-2.12 @@ -1365,10 +1372,10 @@ 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] @@ -1376,15 +1383,15 @@ 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] - filter: '(node=="amd64-rootnode" && platform=="bionic-amd64")' + filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' touchstone: '' - 'lttng-tools_{version}_release': version: v2.12 @@ -1410,7 +1417,7 @@ buildtype: linuxbuild version: stable-2.11 ustversion: stable-2.11 - 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 [stable-0.11] @@ -1456,7 +1463,7 @@ buildtype: linuxbuild version: stable-2.10 ustversion: stable-2.10 - 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 [stable-0.9] @@ -1509,10 +1516,10 @@ 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] @@ -1530,7 +1537,7 @@ babelversions: !!python/tuple [stable-1.5, master] filter: '' touchstone: '' - - 'dev_{user}_lttng-tools_{version}_{buildtype}': + - 'dev_{user}_lttng-tools_{version}_macosbuild': buildtype: macosbuild version: master-staging ustversion: master @@ -1544,10 +1551,10 @@ # 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] @@ -1568,10 +1575,10 @@ # 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] @@ -1602,10 +1609,10 @@ jobs: # stable-2.11 - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: build + buildtype: linuxbuild version: stable-2.11-staging ustversion: stable-2.11 - 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.11] @@ -1626,10 +1633,10 @@ # stable-2.10 - 'dev_{user}_lttng-tools_{version}_{buildtype}': - buildtype: build + buildtype: linuxbuild version: stable-2.10-staging ustversion: stable-2.10 - 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.9] @@ -1659,8 +1666,8 @@ ## Master ## - 'dev_review_lttng-tools_{version}_{buildtype}': version: master - buildtype: build - platforms: !!python/tuple [bionic-amd64] + 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 @@ -1669,18 +1676,18 @@ touchstone: '' - 'dev_review_lttng-tools_{version}_rootbuild': version: master - buildtype: build - platforms: !!python/tuple [bionic-amd64] + 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=="bionic-amd64")' + filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' touchstone: '' - 'dev_review_lttng-tools_{version}_smokebuild': version: master buildtype: linuxbuild - platforms: !!python/tuple [jammy-amd64] + 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 @@ -1690,7 +1697,7 @@ - 'dev_review_lttng-tools_{version}_clang-tidy': version: master buildtype: linuxbuild - platforms: !!python/tuple [jammy-amd64] + 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 @@ -1703,8 +1710,8 @@ ## Stable 2.13 ## - 'dev_review_lttng-tools_{version}_{buildtype}': version: stable-2.13 - buildtype: build - platforms: !!python/tuple [bionic-amd64] + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [std, oot, dist, oot-dist] confs: !!python/tuple [std, no-ust, agents] urcuversions: !!python/tuple [stable-0.13] @@ -1713,20 +1720,20 @@ touchstone: '' - 'dev_review_lttng-tools_{version}_rootbuild': version: stable-2.13 - buildtype: build - platforms: !!python/tuple [bionic-amd64] + 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=="bionic-amd64")' + filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' touchstone: '' ## Stable 2.12 ## - 'dev_review_lttng-tools_{version}_{buildtype}': version: stable-2.12 - buildtype: build - platforms: !!python/tuple [bionic-amd64] + buildtype: linuxbuild + platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [std, oot, dist, oot-dist] confs: !!python/tuple [std, no-ust, agents] urcuversions: !!python/tuple [stable-0.13] @@ -1735,13 +1742,13 @@ touchstone: '' - 'dev_review_lttng-tools_{version}_rootbuild': version: stable-2.12 - buildtype: build - platforms: !!python/tuple [bionic-amd64] + 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=="bionic-amd64")' + filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' touchstone: '' - project: @@ -1767,6 +1774,18 @@ babelversions: !!python/tuple [master] filter: '' touchstone: '' + - '{job_prefix}lttng-tools_{version}_rootbuild': + version: master + buildtype: linuxbuild + ustversion: master + platforms: !!python/tuple [deb12-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")' + touchstone: '' - project: name: lttng-tools-views