X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-tools.yaml;h=3b130592080063b3f4db4a61d6852d679c023642;hb=a86b55bcdc811bd629795e5d2759cd4399e7c825;hp=9175626cecd9a6bd03d57426e362e4fee37c9492;hpb=61c06a247a0a0bbf646f3233969107b866de22b7;p=lttng-ci.git diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index 9175626..3b13059 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 @@ -718,6 +726,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 @@ -914,7 +923,7 @@ - job-template: name: lttng-tools_{version}_release defaults: lttng-tools - node: 'bionic-amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -933,13 +942,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: @@ -972,7 +981,7 @@ - job-template: name: lttng-tools_{version}_scan-build defaults: lttng-tools - node: 'bionic-amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -981,10 +990,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 @@ -998,7 +1007,7 @@ - job-template: name: lttng-tools_{version}_coverity defaults: lttng-tools - node: 'bionic-amd64' + node: 'deb12-amd64' triggers: - pollscm: @@ -1018,10 +1027,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 @@ -1143,10 +1152,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] @@ -1154,7 +1163,7 @@ filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_rootbuild': - buildtype: build + buildtype: linuxbuild version: master ustversion: master platforms: !!python/tuple [deb12-amd64] @@ -1273,10 +1282,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] @@ -1284,7 +1293,7 @@ filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_rootbuild': - buildtype: build + buildtype: linuxbuild version: stable-2.13 ustversion: stable-2.13 platforms: !!python/tuple [deb12-amd64] @@ -1393,10 +1402,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] @@ -1404,7 +1413,7 @@ filter: '' touchstone: '' - '{job_prefix}lttng-tools_{version}_rootbuild': - buildtype: build + buildtype: linuxbuild version: stable-2.12 ustversion: stable-2.12 platforms: !!python/tuple [deb12-amd64] @@ -1412,7 +1421,7 @@ confs: !!python/tuple [agents] urcuversions: !!python/tuple [stable-0.13] babelversions: !!python/tuple [stable-2.0] - filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")' + filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' touchstone: '' - 'lttng-tools_{version}_release': version: v2.12 @@ -1537,10 +1546,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] @@ -1572,10 +1581,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] @@ -1596,10 +1605,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] @@ -1630,10 +1639,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] @@ -1654,10 +1663,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] @@ -1696,18 +1705,18 @@ filter: '' touchstone: '' - 'dev_review_lttng-tools_{version}_{buildtype}': - buildtype: linuxbuild 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.14] + 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}_rootbuild': version: master - buildtype: build + buildtype: linuxbuild platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [std] confs: !!python/tuple [agents] @@ -1761,7 +1770,7 @@ touchstone: '' - 'dev_review_lttng-tools_{version}_rootbuild': version: stable-2.13 - buildtype: build + buildtype: linuxbuild platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [std] confs: !!python/tuple [agents] @@ -1793,13 +1802,13 @@ touchstone: '' - 'dev_review_lttng-tools_{version}_rootbuild': version: stable-2.12 - buildtype: build + 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")' + filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")' touchstone: '' - project: @@ -1827,7 +1836,7 @@ touchstone: '' - '{job_prefix}lttng-tools_{version}_rootbuild': version: master - buildtype: build + buildtype: linuxbuild ustversion: master platforms: !!python/tuple [deb12-amd64] builds: !!python/tuple [std]