X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-ust.yaml;h=012e224021e39455977086e2c59836498b9a1e44;hb=0e9302be1ff3a42788411706484a964b6d8c0c0c;hp=3f5d2d7753b21528c96ef170f4914728a2c91518;hpb=3e93ffa260f029a475fe76831b6bd4adca70cec9;p=lttng-ci.git diff --git a/jobs/lttng-ust.yaml b/jobs/lttng-ust.yaml index 3f5d2d7..012e224 100644 --- a/jobs/lttng-ust.yaml +++ b/jobs/lttng-ust.yaml @@ -1,3 +1,5 @@ +--- +## Defaults - defaults: name: lttng-ust description: | @@ -11,13 +13,19 @@ project-type: freestyle wrappers: - - workspace-cleanup + - ansicolor: <tng-ust_wrapper_ansicolor_defaults + colormap: xterm + - timeout: <tng-ust_wrapper_timeout_defaults + timeout: 20 + fail: true + type: no-activity + write-description: "
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: @@ -322,162 +537,308 @@ ## Projects - project: name: lttng-ust + job_prefix: '' github_user: lttng github_name: lttng-ust email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com' - version: - - stable-2.10 - - stable-2.11 jobs: - - 'lttng-ust_{version}_{buildtype}': - buildtype: build - arch: !!python/tuple [amd64] - build: !!python/tuple [std, dist, oot, oot-dist] - conf: !!python/tuple [std, agents, debug-rcu, tls_fallback] - liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master] - filter: '(build=="std") || ((liburcu_version=="stable-0.12" && (conf=="std" || conf=="agents")))' - - 'lttng-ust_{version}_{buildtype}': - buildtype: portbuild - arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - build: !!python/tuple [std] - conf: !!python/tuple [std, agents] - liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master] - filter: '' - - 'lttng-ust_{version}_{buildtype}': - buildtype: slesbuild - arch: !!python/tuple [sles12sp2] - build: !!python/tuple [std] - conf: !!python/tuple [agents] - liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master] - filter: '' - - 'lttng-ust_{version}_{buildtype}': - buildtype: elbuild - arch: !!python/tuple [el8] - build: !!python/tuple [std] - conf: !!python/tuple [std] - liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master] - filter: '' - - 'lttng-ust_{version}_cppcheck' - - 'lttng-ust_{version}_scan-build' - ## Master ## - - 'lttng-ust_{version}_{buildtype}': - buildtype: build + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: linuxbuild version: master - arch: !!python/tuple [amd64] - build: !!python/tuple [std, dist, oot, oot-dist] - conf: !!python/tuple [std, agents, debug-rcu, tls_fallback] - liburcu_version: !!python/tuple [stable-0.12, master] + 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, stable-0.14, master] filter: '(build=="std") || ((liburcu_version=="master" && (conf=="std" || conf=="agents")))' - - 'lttng-ust_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: portbuild version: master - arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - build: !!python/tuple [std] - conf: !!python/tuple [std, agents] - liburcu_version: !!python/tuple [stable-0.12, master] + 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] filter: '' - - 'lttng-ust_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: slesbuild version: master - arch: !!python/tuple [sles12sp2] - build: !!python/tuple [std] - conf: !!python/tuple [agents] - liburcu_version: !!python/tuple [stable-0.12, master] + 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] filter: '' - - 'lttng-ust_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: elbuild version: master - arch: !!python/tuple [el8] - build: !!python/tuple [std] - conf: !!python/tuple [std] - liburcu_version: !!python/tuple [stable-0.12, master] + 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: '' - - 'lttng-ust_{version}_cppcheck': + 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] + filter: '' + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: freebsdbuild + version: master + 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}_scan-build': version: master - 'lttng-ust_{version}_coverity': version: master + ## Stable 2.13 ## + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: linuxbuild + version: stable-2.13 + 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, 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] + builds: !!python/tuple [std] + confs: !!python/tuple [std, agents] + liburcu_versions: !!python/tuple [stable-0.13, master] + filter: '' + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: slesbuild + version: stable-2.13 + 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] + filter: '' + touchstone: '' + - '{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] + 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: 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 ## - - 'lttng-ust_{version}_{buildtype}': - buildtype: build + - '{job_prefix}lttng-ust_{version}_{buildtype}': + buildtype: linuxbuild version: stable-2.12 - arch: !!python/tuple [amd64] - build: !!python/tuple [std, dist, oot, oot-dist] - conf: !!python/tuple [std, agents, debug-rcu, tls_fallback] - liburcu_version: !!python/tuple [stable-0.12, master] - filter: '(build=="std") || ((liburcu_version=="stable-0.12" && (conf=="std" || conf=="agents")))' - - 'lttng-ust_{version}_{buildtype}': + 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, 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 - arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - build: !!python/tuple [std] - conf: !!python/tuple [std, agents] - liburcu_version: !!python/tuple [stable-0.12, master] + 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] filter: '' - - 'lttng-ust_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: slesbuild version: stable-2.12 - arch: !!python/tuple [sles12sp2] - build: !!python/tuple [std] - conf: !!python/tuple [agents] - liburcu_version: !!python/tuple [stable-0.12, master] + platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64] + builds: !!python/tuple [std] + confs: !!python/tuple [agents] + liburcu_versions: !!python/tuple [stable-0.13] filter: '' - - 'lttng-ust_{version}_{buildtype}': + touchstone: '' + - '{job_prefix}lttng-ust_{version}_{buildtype}': buildtype: elbuild version: stable-2.12 - arch: !!python/tuple [el8] - build: !!python/tuple [std] - conf: !!python/tuple [std] - liburcu_version: !!python/tuple [stable-0.12, master] + 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] filter: '' - - 'lttng-ust_{version}_cppcheck': + touchstone: '' + - '{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 - ## Stable 2.9 ## - - 'lttng-ust_{version}_{buildtype}': - buildtype: slesbuild - version: stable-2.9 - arch: !!python/tuple [sles12sp2] - build: !!python/tuple [std] - conf: !!python/tuple [agents] - liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master] +- project: + name: review-lttng-ust + job_prefix: '' + github_user: lttng + github_name: lttng-ust + jobs: + ## 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: '' - - ## Stable 2.8 ## - - 'lttng-ust_{version}_{buildtype}': + 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: '' + 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.8 - arch: !!python/tuple [sles12sp2] - build: !!python/tuple [std] - conf: !!python/tuple [agents] - liburcu_version: !!python/tuple [stable-0.9, stable-0.10, stable-0.12, master] + 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 + 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.14] + filter: '' + 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.14] + filter: '' + touchstone: '' + + ## 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: '(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_review_lttng-ust_{version}_{buildtype}': + version: stable-2.13 + 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: '(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: '' + 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: '(platform == "deb12-i386")' - project: - name: gerrit-lttng-ust + name: review-lttng-ust-java + job_prefix: '' github_user: lttng - github_name: lttng-ust + 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_gerrit_lttng-ust_{buildtype}': - buildtype: build - arch: !!python/tuple [amd64] - build: !!python/tuple [std, oot, dist, oot-dist] - conf: !!python/tuple [std, agents] - liburcu_version: !!python/tuple [stable-0.12] - filter: '' - - 'dev_gerrit_lttng-ust_{buildtype}': - buildtype: portbuild - arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386] - build: !!python/tuple [std] - conf: !!python/tuple [agents] - liburcu_version: !!python/tuple [stable-0.12] - filter: '' + - '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