- copyartifact:
<<: *lttng-ust_steps_copyartifact_defaults
- project: '{job_prefix}liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=${{liburcu_conf}},build=std'
+ project:
+ !j2: |
+ {{job_prefix}}liburcu_{%- raw -%}${liburcu_version}{%- endraw -%}
+ _{{cctype|default(buildtype)}}/platform={%- raw %}${platform}{%- endraw -%}
+ ,build=std,conf={%- raw -%}${liburcu_conf}{%- endraw -%}
+ {%- if ccs|default(false) %},cc={%- raw -%}${cc}{%- endraw -%}{% endif -%}
# Run the build
- shell:
- copyartifact:
<<: *lttng-ust_steps_copyartifact_defaults
- project: 'liburcu_${{liburcu_version}}_{buildtype}/platform=${{platform}},conf=${{liburcu_conf}},build=std'
+ project:
+ !j2: |
+ liburcu_{%- raw -%}${liburcu_version}{%- endraw -%}
+ _{{cctype|default(buildtype)}}/platform={%- raw %}${platform}{%- endraw -%}
+ ,build=std,conf={%- raw -%}${liburcu_conf}{%- endraw -%}
+ {%- if ccs|default(false) %},cc={%- raw -%}${cc}{%- endraw -%}{% endif -%}
- copyartifact:
<<: *lttng-ust_steps_copyartifact_defaults
- archive: *lttng-ust_publisher_archive_defaults
- workspace-cleanup: *lttng-ust_publisher_workspace-cleanup_defaults
-
## Templates
- job-template:
name: '{job_prefix}lttng-ust_{version}_{buildtype}'
<<: *lttng-ust_builders_defaults
<<: *lttng-ust_publishers_defaults
+- job-template:
+ name: '{job_prefix}lttng-ust_{version}_{cctype}'
+ defaults: lttng-ust
+ <<: *lttng-ust_matrix_axes_defaults
+ axes:
+ - axis:
+ <<: *lttng-ust_matrix_axis_platform
+ - axis:
+ <<: *lttng-ust_matrix_axis_conf
+ - axis:
+ <<: *lttng-ust_matrix_axis_build
+ - axis:
+ <<: *lttng-ust_matrix_axis_liburcu_version
+ - axis:
+ type: user-defined
+ name: cc
+ values: '{obj:ccs}'
+
+ <<: *lttng-ust_builders_defaults
+ <<: *lttng-ust_publishers_defaults
- job-template:
name: dev_review_lttng-ust_{version}_{buildtype}
defaults: lttng-ust
concurrent: true
- scm:
+ scm: <tng-ust_dev_review_scm
- git:
url: https://review.lttng.org/lttng-ust
refspec: 'refs/changes/*:refs/changes/*'
basedir: src/lttng-ust
skip-tag: true
- triggers:
+ triggers: <tng-ust_dev_review_triggers
- gerrit: <tng-ust_trigger_gerrit_defaults
trigger-on:
- comment-added-event:
<<: *lttng-ust_builders_defaults
<<: *lttng-ust_publishers_review
- properties:
+ properties: <tng-ust_dev_review_properties
- inject:
properties-content: |
PROJECT_NAME=lttng-ust
categories:
- 'gerrit-{buildtype}'
+- job-template:
+ name: 'dev_review_lttng-ust_{version}_{cctype}'
+ defaults: lttng-ust
+ concurrent: true
+ scm: *lttng-ust_dev_review_scm
+ triggers: *lttng-ust_dev_review_triggers
+ properties: *lttng-ust_dev_review_properties
+ <<: *lttng-ust_matrix_axes_defaults
+ axes:
+ - axis:
+ <<: *lttng-ust_matrix_axis_platform
+ - axis:
+ <<: *lttng-ust_matrix_axis_conf
+ - axis:
+ <<: *lttng-ust_matrix_axis_build
+ - axis:
+ <<: *lttng-ust_matrix_axis_liburcu_version
+ - axis:
+ type: user-defined
+ name: cc
+ values: '{obj:ccs}'
+ <<: *lttng-ust_builders_defaults
+ <<: *lttng-ust_publishers_review
- job-template:
name: dev_review_lttng-ust_lttng-tools_{version}_{buildtype}
- workspace-cleanup: *lttng-ust_publisher_workspace-cleanup_defaults
- ircbot: *lttng-ust_publisher_ircbot_defaults
+- job-template:
+ name: dev_review_lttng-ust-java-tests_{version}_{buildtype}
+ defaults: lttng-ust
+ description: |
+ Review tests for LTTng-UST's Java agent.
+ <p>Job is managed by Jenkins Job Builder.</p>
+ 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:
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: build
- version: master
- platforms: !!python/tuple [bionic-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, 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
- platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb13-riscv64, deb12-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std, agents]
liburcu_versions: !!python/tuple [stable-0.13, master]
- '{job_prefix}lttng-ust_{version}_{buildtype}':
buildtype: slesbuild
version: 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]
- 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
- platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64]
+ platforms: !!python/tuple [el8-amd64, el9-amd64, el8-arm64, el9-arm64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
liburcu_versions: !!python/tuple [stable-0.13, master]
- '{job_prefix}lttng-ust_{version}_{buildtype}':
buildtype: yoctobuild
version: 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]
liburcu_versions: !!python/tuple [stable-0.13, master]
liburcu_versions: !!python/tuple [stable-0.13, master]
filter: ''
touchstone: ''
+ - '{job_prefix}lttng-ust_{version}_{cctype}':
+ buildtype: linuxbuild
+ cctype: clangbuild
+ ccs: !!python/tuple [clang-13, clang-14, clang-15, clang-16]
+ version: master
+ platforms: !!python/tuple [deb12-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std, agents]
+ liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master]
+ filter: ''
+ touchstone: ''
- 'lttng-ust_{version}_scan-build':
version: master
- 'lttng-ust_{version}_coverity':
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: build
- version: stable-2.13
- platforms: !!python/tuple [bionic-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, 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
- platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb13-riscv64, deb12-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std, agents]
liburcu_versions: !!python/tuple [stable-0.13, master]
- '{job_prefix}lttng-ust_{version}_{buildtype}':
buildtype: slesbuild
version: 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]
liburcu_versions: !!python/tuple [stable-0.13, master]
- '{job_prefix}lttng-ust_{version}_{buildtype}':
buildtype: elbuild
version: stable-2.13
- platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64]
+ platforms: !!python/tuple [el8-amd64, el9-amd64, el8-arm64, el9-arm64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
liburcu_versions: !!python/tuple [stable-0.13, master]
- '{job_prefix}lttng-ust_{version}_{buildtype}':
buildtype: yoctobuild
version: 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]
liburcu_versions: !!python/tuple [stable-0.13, master]
filter: ''
touchstone: ''
+ - '{job_prefix}lttng-ust_{version}_{cctype}':
+ buildtype: linuxbuild
+ cctype: clangbuild
+ ccs: !!python/tuple [clang-13, clang-14, clang-15, clang-16]
+ version: stable-2.13
+ platforms: !!python/tuple [deb12-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ liburcu_versions: !!python/tuple [stable-0.13, stable-0.14, master]
+ filter: ''
+ touchstone: ''
- 'lttng-ust_{version}_scan-build':
version: stable-2.13
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: build
- version: stable-2.12
- platforms: !!python/tuple [bionic-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, 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
- platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb13-riscv64, deb12-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std, agents]
liburcu_versions: !!python/tuple [stable-0.13, master]
- '{job_prefix}lttng-ust_{version}_{buildtype}':
buildtype: slesbuild
version: 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]
liburcu_versions: !!python/tuple [stable-0.13]
- '{job_prefix}lttng-ust_{version}_{buildtype}':
buildtype: elbuild
version: stable-2.12
- platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64]
+ platforms: !!python/tuple [el8-amd64, el9-amd64, el8-arm64, el9-arm64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
liburcu_versions: !!python/tuple [stable-0.13]
- '{job_prefix}lttng-ust_{version}_{buildtype}':
buildtype: yoctobuild
version: 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]
liburcu_versions: !!python/tuple [stable-0.13]
- 'lttng-ust_{version}_scan-build':
version: stable-2.12
-
-- project:
- name: lttng-ust-dev-upstream
- job_prefix: dev_upstream_
- 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: linuxbuild
- version: stable-2.11
- 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.11]
- filter: '(build=="std") || (conf=="std" || conf=="agents")'
- touchstone: ''
- - '{job_prefix}lttng-ust_{version}_{buildtype}':
- buildtype: portbuild
- version: stable-2.11
- 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.11]
- filter: ''
- touchstone: ''
- - '{job_prefix}lttng-ust_{version}_{buildtype}':
- buildtype: slesbuild
- version: stable-2.11
- platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-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
- platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
- 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: linuxbuild
- version: stable-2.10
- 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.9]
- filter: '(build=="std") || (conf=="std" || conf=="agents")'
- touchstone: ''
- - '{job_prefix}lttng-ust_{version}_{buildtype}':
- buildtype: portbuild
- version: stable-2.10
- 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]
- filter: ''
- touchstone: ''
- - '{job_prefix}lttng-ust_{version}_{buildtype}':
- buildtype: slesbuild
- version: stable-2.10
- platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-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
- platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
- builds: !!python/tuple [std]
- confs: !!python/tuple [std]
- liburcu_versions: !!python/tuple [stable-0.9]
- filter: ''
- touchstone: ''
-
-
- project:
name: review-lttng-ust
job_prefix: ''
github_user: lttng
github_name: lttng-ust
jobs:
- ## master ##
+ ## master ##
- 'dev_review_lttng-ust_{version}_{buildtype}':
version: master
buildtype: linuxbuild
touchstone: '(build == "std") && (conf == "std")'
- 'dev_review_lttng-ust_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, agents]
filter: ''
touchstone: ''
liburcu_version: stable-0.14
babeltrace_version: stable-2.0
+ - 'dev_review_lttng-ust_lttng-tools_{version}_{buildtype}':
+ version: master
+ buildtype: slesbuild
+ platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ filter: ''
+ touchstone: ''
+ liburcu_version: stable-0.14
+ babeltrace_version: stable-2.0
- 'dev_review_lttng-ust_{version}_{buildtype}':
version: master
buildtype: portbuild
liburcu_versions: !!python/tuple [stable-0.14]
filter: ''
touchstone: ''
+ - 'dev_review_lttng-ust_{version}_{cctype}':
+ cctype: clangbuild
+ ccs: ['clang-13', 'clang-14', 'clang-15', 'clang-16']
+ version: master
+ buildtype: linuxbuild
+ platforms: !!python/tuple [deb12-amd64]
+ builds: !!python/tuple [std, oot, dist, oot-dist]
+ confs: !!python/tuple [std, agents]
+ filter: ''
+ touchstone: ''
+ liburcu_versions: !!python/tuple [stable-0.14]
+ babeltrace_version: stable-2.0
## Stable 2.13 ##
- 'dev_review_lttng-ust_{version}_{buildtype}':
touchstone: '(build == "std") && (conf == "std")'
- 'dev_review_lttng-ust_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, agents]
filter: ''
touchstone: '(build == "std") && (conf == "std")'
- 'dev_review_lttng-ust_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, agents]
filter: ''
touchstone: '(platform == "deb12-i386")'
- project:
- name: lttng-ust-mjeanson
- job_prefix: 'dev_mjeanson_'
+ name: review-lttng-ust-java
+ job_prefix: ''
github_user: lttng
- github_name: lttng-ust
- email_to: "mjeanson@efficios.com"
- version:
- - master
+ 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:
- - '{job_prefix}lttng-ust_{version}_{buildtype}':
- buildtype: portbuild
- version: master
- platforms: !!python/tuple [sid-riscv64]
- builds: !!python/tuple [std]
- confs: !!python/tuple [std, agents]
- liburcu_versions: !!python/tuple [master]
- filter: ''
- touchstone: ''
+ - '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