X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-ust.yaml;h=ee35d1da414dc38a447f05893f701635fa05615f;hb=7588e01393026c587202898117b7597e143ed8ba;hp=ec413e1ef3010ad1fbb577a0b68c91d4dc6d4240;hpb=3b228cdd0941928e4221f7fd5ea8fcca2ad4fcfd;p=lttng-ci.git
diff --git a/jobs/lttng-ust.yaml b/jobs/lttng-ust.yaml
index ec413e1..ee35d1d 100644
--- a/jobs/lttng-ust.yaml
+++ b/jobs/lttng-ust.yaml
@@ -1,3 +1,5 @@
+---
+## Defaults
- defaults:
name: lttng-ust
description: |
@@ -47,7 +49,7 @@
## Anchors
-- lttng-ust_matrix_axes_defaults: <tng-ust_matrix_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
@@ -57,10 +59,10 @@
expr: '{touchstone}'
result: unstable
axes:
- - axis: <tng-ust_matrix_axis_arch
+ - axis: <tng-ust_matrix_axis_platform
type: slave
- name: arch
- values: '{obj:archs}'
+ name: platform
+ values: '{obj:platforms}'
- axis: <tng-ust_matrix_axis_conf
type: user-defined
name: conf
@@ -74,17 +76,17 @@
name: liburcu_version
values: '{obj:liburcu_versions}'
-- lttng-ust_matrix_axes_gerrit_lttng-tools: <tng-ust_matrix_axes_gerrit_lttng-tools
- name: 'lttng-ust_matrix_axes_gerrit_lttng-tools'
+- _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_arch
+ - axis: *lttng-ust_matrix_axis_platform
- axis: *lttng-ust_matrix_axis_conf
- axis: *lttng-ust_matrix_axis_build
-- lttng-ust_steps_copyartifact_defaults:
+- _lttng-ust_steps_copyartifact_defaults:
name: 'lttng-ust_steps_copyartifact_defaults'
steps:
- copyartifact: <tng-ust_steps_copyartifact_defaults
@@ -95,7 +97,7 @@
target: 'deps'
do-not-fingerprint: true
-- lttng-ust_builders_defaults: <tng-ust_builders_defaults
+- _lttng-ust_builders_defaults: <tng-ust_builders_defaults
name: 'lttng-ust_builders_defaults'
builders:
# Generate a properties file to add additionnal env
@@ -119,7 +121,7 @@
- copyartifact:
<<: *lttng-ust_steps_copyartifact_defaults
- project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{liburcu_conf}},build=std'
+ project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=${{liburcu_conf}},build=std'
# Run the build
- shell:
@@ -127,8 +129,8 @@
- scripts/common/print.sh
- scripts/lttng-ust/build.sh
-- lttng-ust_builders_gerrit_lttng-tools: <tng-ust_builders_gerrit_lttng-tools
- name: 'lttng-ust_builders_gerrit_lttng-tools'
+- _lttng-ust_builders_review_lttng-tools: <tng-ust_builders_review_lttng-tools
+ name: 'lttng-ust_builders_review_lttng-tools'
builders:
# Generate a properties file to add additionnal env
@@ -162,11 +164,11 @@
- copyartifact:
<<: *lttng-ust_steps_copyartifact_defaults
- project: 'liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{liburcu_conf}},build=std'
+ project: 'liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=${{liburcu_conf}},build=std'
- copyartifact:
<<: *lttng-ust_steps_copyartifact_defaults
- project: 'babeltrace_{babeltrace_version}_{buildtype}/arch=${{arch}},conf=std,build=std'
+ project: 'babeltrace_{babeltrace_version}_{buildtype}/platform=${{platform}},conf=std,build=std'
- shell: |
#!/bin/bash
@@ -187,13 +189,15 @@
- scripts/common/print.sh
- scripts/lttng-tools/build.sh
-- lttng-ust_publishers_defaults: <tng-ust_publishers_defaults
+- _lttng-ust_publishers_defaults: <tng-ust_publishers_defaults
name: 'lttng-ust_publishers_defaults'
publishers:
- 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
- raw: <tng-ust_publisher_warnings-ng_defaults
xml: |
@@ -207,14 +211,6 @@
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: @@ -526,18 +544,18 @@ jobs: ## Master ## - '{job_prefix}lttng-ust_{version}_{buildtype}': - buildtype: build + buildtype: linuxbuild version: master - archs: !!python/tuple [amd64] + 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, master] + 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 - archs: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] + 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] @@ -546,16 +564,25 @@ - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: slesbuild version: master - archs: !!python/tuple [sles12sp5] + 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] + liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master] filter: '' touchstone: '' - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: elbuild version: master - archs: !!python/tuple [el7, el8, el9] + 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: 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] @@ -564,14 +591,12 @@ - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: freebsdbuild version: master - archs: !!python/tuple [freebsd] + 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}_cppcheck': - version: master - 'lttng-ust_{version}_scan-build': version: master - 'lttng-ust_{version}_coverity': @@ -579,18 +604,18 @@ ## Stable 2.13 ## - '{job_prefix}lttng-ust_{version}_{buildtype}': - buildtype: build + buildtype: linuxbuild version: stable-2.13 - archs: !!python/tuple [amd64] + 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, master] + 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 - archs: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] + 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] @@ -599,7 +624,7 @@ - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: slesbuild version: stable-2.13 - archs: !!python/tuple [sles12sp5] + 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] @@ -608,184 +633,212 @@ - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: elbuild version: stable-2.13 - archs: !!python/tuple [el7, el8, el9] + 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: '' - - 'lttng-ust_{version}_cppcheck': + - '{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 ## - '{job_prefix}lttng-ust_{version}_{buildtype}': - buildtype: build + buildtype: linuxbuild version: stable-2.12 - archs: !!python/tuple [amd64] + 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.12, stable-0.13, master] - filter: '(build=="std") || ((liburcu_version=="stable-0.12" && (conf=="std" || conf=="agents")))' + 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 - archs: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - archs: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] + 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.12, stable-0.13, master] + liburcu_versions: !!python/tuple [stable-0.13, master] filter: '' touchstone: '' - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: slesbuild version: stable-2.12 - archs: !!python/tuple [sles12sp5] + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] builds: !!python/tuple [std] confs: !!python/tuple [agents] - liburcu_versions: !!python/tuple [stable-0.12, stable-0.13, master] + liburcu_versions: !!python/tuple [stable-0.13] filter: '' touchstone: '' - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: elbuild version: stable-2.12 - archs: !!python/tuple [el7, el8, el9] + 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.12, stable-0.13, master] + liburcu_versions: !!python/tuple [stable-0.13] filter: '' touchstone: '' - - 'lttng-ust_{version}_cppcheck': + - '{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 - - project: - name: lttng-ust-dev-upstream - job_prefix: dev_upstream_ + name: review-lttng-ust + job_prefix: '' github_user: lttng github_name: lttng-ust - email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com' jobs: - ## Stable 2.11 ## - - '{job_prefix}lttng-ust_{version}_{buildtype}': - buildtype: build - version: stable-2.11 - archs: !!python/tuple [amd64] - builds: !!python/tuple [std, dist, oot, oot-dist] - confs: !!python/tuple [std, agents, debug-rcu, tls_fallback] - liburcu_versions: !!python/tuple [stable-0.11] - filter: '(build=="std") || (conf=="std" || conf=="agents")' - touchstone: '' - - '{job_prefix}lttng-ust_{version}_{buildtype}': - buildtype: portbuild - version: stable-2.11 - archs: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - builds: !!python/tuple [std] - confs: !!python/tuple [agents] - liburcu_versions: !!python/tuple [stable-0.11] + ## 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: '' - - '{job_prefix}lttng-ust_{version}_{buildtype}': + 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.11 - archs: !!python/tuple [sles12sp5] + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] builds: !!python/tuple [std] confs: !!python/tuple [agents] - liburcu_versions: !!python/tuple [stable-0.11] filter: '' touchstone: '' - - '{job_prefix}lttng-ust_{version}_{buildtype}': - buildtype: elbuild - version: stable-2.11 - archs: !!python/tuple [el7, el8, el9] - builds: !!python/tuple [std] - confs: !!python/tuple [std] - liburcu_versions: !!python/tuple [stable-0.11] - filter: '' - touchstone: '' - - ## Stable 2.10 ## - - '{job_prefix}lttng-ust_{version}_{buildtype}': - buildtype: build - version: stable-2.10 - archs: !!python/tuple [amd64] - builds: !!python/tuple [std, dist, oot, oot-dist] - confs: !!python/tuple [std, agents, debug-rcu, tls_fallback] - liburcu_versions: !!python/tuple [stable-0.9] - filter: '(build=="std") || (conf=="std" || conf=="agents")' - touchstone: '' - - '{job_prefix}lttng-ust_{version}_{buildtype}': + liburcu_version: stable-0.14 + babeltrace_version: stable-2.0 + - 'dev_review_lttng-ust_{version}_{buildtype}': + version: master buildtype: portbuild - version: stable-2.10 - archs: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] + 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.9] + liburcu_versions: !!python/tuple [stable-0.14] filter: '' - touchstone: '' - - '{job_prefix}lttng-ust_{version}_{buildtype}': - buildtype: slesbuild - version: stable-2.10 - archs: !!python/tuple [sles12sp5] + 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.9] - filter: '' - touchstone: '' - - '{job_prefix}lttng-ust_{version}_{buildtype}': - buildtype: elbuild - version: stable-2.10 - archs: !!python/tuple [el7, el8, el9] - builds: !!python/tuple [std] - confs: !!python/tuple [std] - liburcu_versions: !!python/tuple [stable-0.9] + liburcu_versions: !!python/tuple [stable-0.14] filter: '' touchstone: '' - -- project: - name: gerrit-lttng-ust - job_prefix: '' - github_user: lttng - github_name: lttng-ust - jobs: - - 'dev_gerrit_lttng-ust_{buildtype}': - buildtype: build - archs: !!python/tuple [amd64] + ## 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: '' - - 'dev_gerrit_lttng-ust_lttng-tools_{buildtype}': - buildtype: build - archs: !!python/tuple [amd64] + 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_gerrit_lttng-ust_{buildtype}': + - 'dev_review_lttng-ust_{version}_{buildtype}': + version: stable-2.13 buildtype: portbuild - archs: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] + 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: '' - - 'dev_gerrit_lttng-ust_{buildtype}': - buildtype: freebsdbuild - archs: !!python/tuple [freebsd] + 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: '' + touchstone: '(platform == "deb12-i386")' + +- project: + name: review-lttng-ust-java + job_prefix: '' + github_user: lttng + 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_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