colormap: xterm
- timeout: <tng-tools_wrapper_timeout_defaults
timeout: 30
- fail: true
+ abort: true
type: no-activity
write-description: "<h1 style=\"color:red\">This build failed due to timeout.</h1>"
- timestamps
- workspace-cleanup
+ - raw: <tng-tools_wrapper_proc-cleaner_defaults
+ xml: |
+ <org.jenkinsci.plugins.proccleaner.PreBuildCleanup plugin="proc-cleaner-plugin">
+ <cleaner class="org.jenkinsci.plugins.proccleaner.PsCleaner">
+ <killerType>org.jenkinsci.plugins.proccleaner.PsAllKiller</killerType>
+ <killer class="org.jenkinsci.plugins.proccleaner.PsAllKiller"/>
+ <switchedOff>false</switchedOff>
+ <systemProcessesFilterOff>false</systemProcessesFilterOff>
+ </cleaner>
+ </org.jenkinsci.plugins.proccleaner.PreBuildCleanup>
scm:
- git: <tng-tools_scm_git_default
cron: "@hourly"
properties:
- - inject:
+ - inject: <tng-tools_property_inject_defaults
properties-content: |
PROJECT_NAME=lttng-tools
- - build-discarder:
+ - build-discarder: <tng-tools_property_build-discarder_defaults
num-to-keep: 20
artifact-num-to-keep: 2
- - github:
+ - github: <tng-tools_property_github_defaults
url: https://github.com/{github_user}/lttng-tools
## Anchors
-- lttng-tools_steps_copyartifact_defaults:
+- _lttng-tools_steps_copyartifact_defaults:
name: 'lttng-tools_steps_copyartifact_defaults'
steps:
- copyartifact: <tng-tools_steps_copyartifact_defaults
## Axis Anchors
-- lttng-tools_matrix_axes_defaults: <tng-tools_matrix_axes_defaults
+- _lttng-tools_matrix_axes_defaults: <tng-tools_matrix_axes_defaults
name: 'lttng-tools_matrix_axes_defaults'
project-type: matrix
node: 'master' # Applies only to matrix flyweight task
type: user-defined
name: babeltrace_version
values: '{obj:babelversions}'
- - axis: <tng-tools_matrix_axis_test_type
- type: user-defined
- name: test_type
- values: '{obj:testtypes}'
-- lttng-tools_matrix_axes_rootbuild: <tng-tools_matrix_axes_rootbuild
+- _lttng-tools_matrix_axes_rootbuild: <tng-tools_matrix_axes_rootbuild
name: 'lttng-tools_matrix_axes_rootbuild'
project-type: matrix
node: 'master' # Applies only to matrix flyweight task
name: node
values:
- 'amd64-rootnode'
+ - 'el8-amd64-rootnode'
+ - 'i386-rootnode'
+ - 'sles15sp4-amd64-rootnode'
- axis:
<<: *lttng-tools_matrix_axis_platform
type: user-defined
- axis: *lttng-tools_matrix_axis_build
- axis: *lttng-tools_matrix_axis_liburcu_version
- axis: *lttng-tools_matrix_axis_babeltrace_version
- - axis: *lttng-tools_matrix_axis_test_type
-
## Builders Anchors
-- lttng-tools_builders_defaults: <tng-tools_builders_defaults
+- _lttng-tools_builders_defaults: <tng-tools_builders_defaults
name: 'lttng-tools_builders_defaults'
builders:
# Generate a properties file to add additionnal env
ust_conf=std
;;
esac
+ # Run java tests only on 'linuxbuild' and 'slesbuild' jobs
+ if [ "{buildtype}" = "linuxbuild" ] || [ "{buildtype}" = "slesbuild" ]; then
+ echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=yes" >> env.properties
+ else
+ echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=no" >> env.properties
+ fi
+ if [ "{buildtype}" = "slesbuild" ] ; then
+ echo "TAP_AUTOTIME=0" >> env.properties
+ fi
echo "liburcu_conf=$liburcu_conf" >> env.properties
echo "babeltrace_conf=$babeltrace_conf" >> env.properties
echo "ust_conf=$ust_conf" >> env.properties
- conditional-step:
condition-kind: regex-match
label: '$JOB_NAME'
- regex: '.*_rootbuild.*'
+ regex: '.*_root(?:_[a-z]+)?build.*'
steps:
- shell: |
#!/bin/bash
git clone -b "{version}" https://github.com/{github_user}/lttng-modules.git src/lttng-modules
- shell:
- !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh
+ !include-raw-escape: scripts/lttng-tools/prebuild_clean_processes_coredumps.sh
- shell:
!include-raw-escape:
- scripts/common/print.sh
- scripts/lttng-tools/build.sh
-- lttng-tools_builders_gerrit: <tng-tools_builders_gerrit
- name: 'lttng-tools_builders_gerrit'
+- _lttng-tools_builders_review: <tng-tools_builders_review
+ name: 'lttng-tools_builders_review'
builders:
+ - shell: |
+ #!/bin/bash
+ set -exu
+ # Run java tests only on 'linuxbuild' and 'slesbuild' jobs
+ if [ "{buildtype}" = "linuxbuild" ] || [ "{buildtype}" = "slesbuild" ]; then
+ echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=yes" >> env.properties
+ else
+ echo "LTTNG_TOOLS_RUN_UST_JAVA_TESTS=no" >> env.properties
+ fi
+ if [ "{buildtype}" = "slesbuild" ] ; then
+ echo "TAP_AUTOTIME=0" >> env.properties
+ fi
+ - inject:
+ properties-file: env.properties
- shell:
!include-raw-escape: scripts/lttng-tools/gerrit-depends-on.sh
project: '{bt_job_prefix}babeltrace_${{babeltrace_version}}_{buildtype}/platform=${{platform}},conf=std,build=std'
- shell:
- !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh
+ !include-raw-escape: scripts/lttng-tools/prebuild_clean_processes_coredumps.sh
# Build liburcu if we depend on a specific liburcu change
- conditional-step:
- shell:
!include-raw-escape: scripts/lttng-tools/gerrit-install-deps.sh
- # Build babeltrace if we depend on a specific babeltrace change
+ # Build lttng-ust if we depend on a specific lttng-ust change
- conditional-step:
condition-kind: shell
condition-command: 'test "$GERRIT_DEP_LTTNG_UST" != ""'
- scripts/common/print.sh
- scripts/lttng-tools/build.sh
-- lttng-tools_builders_win: <tng-tools_builders_win
+- _lttng-tools_builders_win: <tng-tools_builders_win
name: 'lttng-tools_builders_win'
builders:
# Always copy liburcu artifacts
condition-kind: strings-match
on-evaluation-failure: run
condition-string1: '${{platform}}'
- condition-string2: 'msys2-mingw32'
- steps:
- - inject:
- properties-content: 'MSYSTEM=MINGW32'
- - shell:
- !include-raw-escape:
- - scripts/common/msys2-shebang
- - scripts/common/cygpath-prefix
- - scripts/common/print.sh
- - scripts/lttng-tools/build.sh
-
- - conditional-step:
- condition-kind: strings-match
- on-evaluation-failure: run
- condition-string1: '${{platform}}'
- condition-string2: 'msys2-mingw64'
+ condition-string2: 'msys2-ucrt64'
steps:
- inject:
- properties-content: 'MSYSTEM=MINGW64'
+ properties-content: 'MSYSTEM=UCRT64'
- shell:
!include-raw-escape:
- scripts/common/msys2-shebang
- scripts/common/print.sh
- scripts/lttng-tools/build.sh
-- lttng-tools_publishers_defaults: <tng-tools_publishers_defaults
+- _lttng-tools_publishers_defaults: <tng-tools_publishers_defaults
name: 'lttng-tools_publishers_defaults'
publishers:
+ # On build abort (timeout), wait 10 seconds before running the other post
+ # build scripts, this will allow the processes to terminate and make the
+ # build log more legible.
+ - postbuildscript: <tng-tools_publisher_postbuildscript_wait_10_seconds_on_abort
+ mark-unstable-if-failed: false
+ builders:
+ - role: SLAVE
+ build-on:
+ - ABORTED
+ build-steps:
+ - shell:
+ !include-raw-escape: scripts/lttng-tools/postbuild_wait_10_seconds.sh
+
# On build failure, try to get partial tap results if any exists
- - postbuildscript:
+ - postbuildscript: <tng-tools_publisher_postbuildscript_collect_tap_on_failure
mark-unstable-if-failed: false
builders:
- role: SLAVE
build-on:
+ - ABORTED
- FAILURE
build-steps:
- shell:
- !include-raw-escape: scripts/lttng-tools/tap_failure.sh
+ !include-raw-escape: scripts/lttng-tools/postbuild_collect_tap_results.sh
- - postbuildscript:
+ # If there are leftover lttng processes or core files present, kill the
+ # processes, collect the core files, delete them and mark the build
+ # unstable.
+ - postbuildscript: <tng-tools_publisher_postbuildscript_clean_processes_coredumps
mark-unstable-if-failed: true
builders:
- role: SLAVE
- FAILURE
build-steps:
- shell:
- !include-raw-escape: scripts/lttng-tools/hang_processes.sh
+ !include-raw-escape: scripts/lttng-tools/postbuild_clean_processes_coredumps.sh
- tap: <tng-tools_publisher_tap_defaults
results: 'tap/**/*.*'
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
+ remove-yaml-if-corrupted: true
- raw: <tng-tools_publisher_warnings-ng_defaults
xml: |
<scm/>
</io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
+ - 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/**'
+ artifacts: 'build/**,deps/**,tap/**,log/**'
+ follow-symlinks: true
allow-empty: false
- workspace-cleanup: <tng-tools_publisher_workspace-cleanup_defaults
clean-if:
- failure: false
+ - raw: <tng-tools_publisher_proc-cleaner_defaults
+ xml: |
+ <org.jenkinsci.plugins.proccleaner.PostBuildCleanup plugin="proc-cleaner-plugin">
+ <cleaner class="org.jenkinsci.plugins.proccleaner.PsCleaner">
+ <killerType>org.jenkinsci.plugins.proccleaner.PsAllKiller</killerType>
+ <killer class="org.jenkinsci.plugins.proccleaner.PsAllKiller"/>
+ <switchedOff>false</switchedOff>
+ <systemProcessesFilterOff>false</systemProcessesFilterOff>
+ </cleaner>
+ </org.jenkinsci.plugins.proccleaner.PostBuildCleanup>
+
+ - ircbot: <tng-tools_publisher_ircbot_defaults
+ strategy: statechange-only
+ message-type: summary
+ matrix-notifier: only-parent
+
- email-ext: <tng-tools_publisher_email-ext_defaults
recipients: '{obj:email_to}'
reply-to: ci-notification@lists.lttng.org
send-to:
- recipients
-- lttng-tools_publishers_win: <tng-tools_publishers_win
- name: 'lttng-tools_publishers_win'
+- _lttng-tools_publishers_rootbuild: <tng-tools_publishers_rootbuild
+ name: 'lttng-tools_publishers_rootbuild'
publishers:
+ - postbuildscript: *lttng-tools_publisher_postbuildscript_wait_10_seconds_on_abort
+ - postbuildscript: *lttng-tools_publisher_postbuildscript_collect_tap_on_failure
+ - postbuildscript: *lttng-tools_publisher_postbuildscript_clean_processes_coredumps
- tap: *lttng-tools_publisher_tap_defaults
- raw: *lttng-tools_publisher_warnings-ng_defaults
+ - archive: *lttng-tools_publisher_archive_defaults
- workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
+ - ircbot: *lttng-tools_publisher_ircbot_defaults
+ - email-ext: *lttng-tools_publisher_email-ext_defaults
+
+- _lttng-tools_publishers_win: <tng-tools_publishers_win
+ name: 'lttng-tools_publishers_win'
+ publishers:
+ - tap: *lttng-tools_publisher_tap_defaults
+ - raw: *lttng-tools_publisher_warnings-ng_defaults
- archive: *lttng-tools_publisher_archive_defaults
+ - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
+ - raw: *lttng-tools_publisher_proc-cleaner_defaults
+ - ircbot: *lttng-tools_publisher_ircbot_defaults
- email-ext: *lttng-tools_publisher_email-ext_defaults
+
## Templates
- job-template:
name: '{job_prefix}lttng-tools_{version}_{buildtype}'
<<: *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
+ properties:
+ - inject:
+ properties-content: |
+ PROJECT_NAME=lttng-tools
+ LTTNG_TOOLS_RUN_TESTS_LONG_REGRESSION=yes
+ - build-discarder: *lttng-tools_property_build-discarder_defaults
+ - github: *lttng-tools_property_github_defaults
+
wrappers:
- ansicolor: *lttng-tools_wrapper_ansicolor_defaults
- timeout:
timeout: 45
- timestamps
- workspace-cleanup
+ - raw: *lttng-tools_wrapper_proc-cleaner_defaults
<<: *lttng-tools_matrix_axes_defaults
<<: *lttng-tools_builders_defaults
<<: *lttng-tools_matrix_axes_rootbuild
<<: *lttng-tools_builders_defaults
- <<: *lttng-tools_publishers_defaults
+ <<: *lttng-tools_publishers_rootbuild
+
+ triggers:
+ - pollscm: *lttng-tools_trigger_pollscm_default
+ - reverse:
+ jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}'
+ result: 'success'
+
+- job-template:
+ name: '{job_prefix}lttng-tools_{version}_rootbuild_i386'
+ defaults: lttng-tools
+
+ scm:
+ - git: *lttng-tools_scm_git_default
+
+ wrappers:
+ - ansicolor: *lttng-tools_wrapper_ansicolor_defaults
+ - timeout:
+ <<: *lttng-tools_wrapper_timeout_defaults
+ timeout: 10
+ - timestamps
+
+ <<: *lttng-tools_matrix_axes_rootbuild
+ <<: *lttng-tools_builders_defaults
+ <<: *lttng-tools_publishers_rootbuild
+
+ triggers:
+ - pollscm: *lttng-tools_trigger_pollscm_default
+ - reverse:
+ jobs: '{ust_job_prefix}lttng-ust_{version}_{buildtype}'
+ result: 'success'
+
+- job-template:
+ name: '{job_prefix}lttng-tools_{version}_root_{buildtype}'
+ defaults: lttng-tools
+
+ scm:
+ - git: *lttng-tools_scm_git_default
+
+ wrappers:
+ - ansicolor: *lttng-tools_wrapper_ansicolor_defaults
+ - timeout:
+ <<: *lttng-tools_wrapper_timeout_defaults
+ timeout: 10
+ - timestamps
+
+ <<: *lttng-tools_matrix_axes_rootbuild
+ <<: *lttng-tools_builders_defaults
+ <<: *lttng-tools_publishers_rootbuild
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
<<: *lttng-tools_publishers_win
- job-template:
- name: dev_gerrit_lttng-tools_{buildtype}
+ name: dev_review_lttng-tools_{version}_{buildtype}
defaults: lttng-tools
concurrent: true
scm:
- - git: <tng-tools_scm_git_gerrit
+ - git: <tng-tools_scm_git_review
url: https://review.lttng.org/lttng-tools
refspec: 'refs/changes/*:refs/changes/*'
branches:
- project-compare-type: 'PLAIN'
project-pattern: 'lttng-tools'
branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**'
+ - branch-compare-type: 'PLAIN'
+ branch-pattern: '{version}'
properties:
- - inject:
- properties-content: |
- PROJECT_NAME=lttng-tools
+ - inject: *lttng-tools_property_inject_defaults
- build-discarder:
days-to-keep: 1
- throttle:
- 'gerrit-{buildtype}'
<<: *lttng-tools_matrix_axes_defaults
- <<: *lttng-tools_builders_gerrit
+ <<: *lttng-tools_builders_review
publishers:
- - postbuildscript:
- mark-unstable-if-failed: false
- builders:
- - role: SLAVE
- build-on:
- - FAILURE
- build-steps:
- - shell:
- !include-raw-escape: scripts/lttng-tools/tap_failure.sh
+ # On build abort (timeout), wait 10 seconds before running the other post
+ # build scripts, this will allow the processes to terminate and make the
+ # build log more legible.
+ - postbuildscript: *lttng-tools_publisher_postbuildscript_wait_10_seconds_on_abort
- - postbuildscript:
- mark-unstable-if-failed: true
- builders:
- - role: SLAVE
- build-on:
- - SUCCESS
- - UNSTABLE
- - NOT_BUILT
- - ABORTED
- - FAILURE
- build-steps:
- - shell:
- !include-raw-escape: scripts/lttng-tools/hang_processes.sh
+ # On build failure, try to get partial tap results if any exists
+ - postbuildscript: *lttng-tools_publisher_postbuildscript_collect_tap_on_failure
+
+ # If there are leftover lttng processes or core files present, kill the
+ # processes, collect the core files, delete them and mark the build
+ # unstable.
+ - postbuildscript: *lttng-tools_publisher_postbuildscript_clean_processes_coredumps
- 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
- job-template:
- name: dev_gerrit_lttng-tools_rootbuild
+ name: dev_review_lttng-tools_{version}_smokebuild
defaults: lttng-tools
concurrent: true
scm:
- - git: *lttng-tools_scm_git_gerrit
+ - git: *lttng-tools_scm_git_review
triggers:
- - gerrit: *lttng-tools_trigger_gerrit_default
+ - gerrit: <tng-tools_trigger_gerrit_smoke_1
+ trigger-on:
+ - comment-added-event:
+ approval-category: 'Smoke-Build-Lvl1'
+ approval-value: 1
+ projects:
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'lttng-tools'
+ branches:
+ - branch-compare-type: 'PLAIN'
+ branch-pattern: '{version}'
+ skip-vote:
+ successful: true
+ failed: true
+ unstable: true
+ notbuilt: true
+ aborted: true
+
+ properties:
+ - inject:
+ properties-content: |
+ PROJECT_NAME=lttng-tools
+ LTTNG_TOOLS_RUN_TESTS=no
+ - build-discarder:
+ days-to-keep: 1
+
+ <<: *lttng-tools_matrix_axes_defaults
+ <<: *lttng-tools_builders_review
+
+ publishers:
+ - raw: *lttng-tools_publisher_warnings-ng_defaults
+ - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
+ - raw: *lttng-tools_publisher_proc-cleaner_defaults
+
+- job-template:
+ name: dev_review_lttng-tools_{version}_clang-tidy
+ defaults: lttng-tools
+ concurrent: true
+
+ scm:
+ - git: *lttng-tools_scm_git_review
+
+ triggers:
+ - gerrit: <tng-tools_trigger_gerrit_smoke_2
+ trigger-on:
+ - comment-added-event:
+ approval-category: 'Smoke-Build-Lvl2'
+ approval-value: 1
+ projects:
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'lttng-tools'
+ branches:
+ - branch-compare-type: 'PLAIN'
+ branch-pattern: '{version}'
+ skip-vote:
+ successful: true
+ failed: true
+ unstable: true
+ notbuilt: true
+ aborted: true
properties:
- inject:
properties-content: |
PROJECT_NAME=lttng-tools
+ LTTNG_TOOLS_MAKE_INSTALL=no
+ LTTNG_TOOLS_MAKE_CLEAN=no
+ LTTNG_TOOLS_RUN_TESTS=no
+ LTTNG_TOOLS_GEN_COMPILE_COMMANDS=yes
+ LTTNG_TOOLS_CLANG_TIDY=yes
+ - build-discarder:
+ days-to-keep: 1
+
+ <<: *lttng-tools_matrix_axes_defaults
+ <<: *lttng-tools_builders_review
+
+ publishers:
+ - raw:
+ xml: |
+ <io.jenkins.plugins.analysis.core.steps.IssuesRecorder plugin="warnings-ng">
+ <analysisTools>
+ <io.jenkins.plugins.analysis.warnings.ClangTidy>
+ <id/>
+ <name/>
+ <jenkins plugin="plugin-util-api"/>
+ <pattern/>
+ <reportEncoding/>
+ <skipSymbolicLinks>false</skipSymbolicLinks>
+ </io.jenkins.plugins.analysis.warnings.ClangTidy>
+ </analysisTools>
+ <sourceCodeEncoding/>
+ <sourceDirectory/>
+ <sourceDirectories/>
+ <ignoreQualityGate>false</ignoreQualityGate>
+ <ignoreFailedBuilds>true</ignoreFailedBuilds>
+ <failOnError>false</failOnError>
+ <healthy>0</healthy>
+ <unhealthy>0</unhealthy>
+ <minimumSeverity plugin="analysis-model-api">
+ <name>LOW</name>
+ </minimumSeverity>
+ <filters/>
+ <isEnabledForFailure>true</isEnabledForFailure>
+ <isAggregatingResults>true</isAggregatingResults>
+ <isBlameDisabled>false</isBlameDisabled>
+ <skipPublishingChecks>true</skipPublishingChecks>
+ <publishAllIssues>false</publishAllIssues>
+ <qualityGates>
+ <io.jenkins.plugins.analysis.core.util.QualityGate>
+ <status>FAILED</status>
+ <threshold>1</threshold>
+ <type>TOTAL</type>
+ </io.jenkins.plugins.analysis.core.util.QualityGate>
+ </qualityGates>
+ <trendChartType>AGGREGATION_TOOLS</trendChartType>
+ <scm/>
+ </io.jenkins.plugins.analysis.core.steps.IssuesRecorder>
+ - archive:
+ artifacts: 'clang-tidy-fixes.diff'
+ allow-empty: true
+ - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
+ - raw: *lttng-tools_publisher_proc-cleaner_defaults
+
+- job-template:
+ name: dev_review_lttng-tools_{version}_rootbuild
+ defaults: lttng-tools
+ concurrent: true
+
+ scm:
+ - git: *lttng-tools_scm_git_review
+
+ triggers:
+ - gerrit: *lttng-tools_trigger_gerrit_default
+
+ properties:
+ - inject: *lttng-tools_property_inject_defaults
- build-discarder:
days-to-keep: 1
- throttle:
- 'gerrit-{buildtype}'
<<: *lttng-tools_matrix_axes_rootbuild
- <<: *lttng-tools_builders_gerrit
+ <<: *lttng-tools_builders_review
publishers:
- tap: *lttng-tools_publisher_tap_defaults
- workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
- job-template:
- name: lttng-tools_{version}_release
+ name: 'dev_review_lttng-tools_{version}_root_{buildtype}'
defaults: lttng-tools
- node: 'bionic-amd64'
-
- triggers:
- - pollscm:
- cron: "@daily"
+ concurrent: true
scm:
- - git:
- url: https://github.com/{github_user}/lttng-tools.git
- browser: githubweb
- browser-url: https://github.com/{github_user}/lttng-tools
- refspec: '+refs/tags/*:refs/remotes/origin/tags/*'
- branches:
- - '*/tags/{version}.*'
- basedir: src/lttng-tools
+ - git: *lttng-tools_scm_git_review
- builders:
- - copyartifact:
- <<: *lttng-tools_steps_copyartifact_defaults
- project: 'liburcu_{urcuversion}_build/platform=bionic-amd64,conf=std,build=std'
- - copyartifact:
+ triggers:
+ - gerrit: *lttng-tools_trigger_gerrit_default
+
+ properties:
+ - inject: *lttng-tools_property_inject_defaults
+ - build-discarder:
+ days-to-keep: 1
+ - throttle:
+ option: 'category'
+ categories:
+ - 'gerrit-{buildtype}'
+
+ <<: *lttng-tools_matrix_axes_rootbuild
+ <<: *lttng-tools_builders_review
+
+ publishers:
+ - tap: *lttng-tools_publisher_tap_defaults
+ - raw: *lttng-tools_publisher_warnings-ng_defaults
+ - archive: *lttng-tools_publisher_archive_defaults
+ - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
+
+- job-template:
+ name: 'dev_review_lttng-tools_{version}_check-format'
+ defaults: lttng-tools
+ concurrent: true
+
+ scm:
+ - git: *lttng-tools_scm_git_review
+
+ triggers:
+ - gerrit: *lttng-tools_trigger_gerrit_smoke_1
+
+ node: 'deb12-amd64'
+
+ builders:
+ - shell:
+ !include-raw-escape: scripts/common/check-format.sh
+
+ properties:
+ - inject: *lttng-tools_property_inject_defaults
+ - build-discarder:
+ days-to-keep: 1
+
+ publishers:
+ - archive:
+ artifacts: 'clang-format-fixes.diff'
+ allow-empty: true
+ - workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
+
+- job-template:
+ name: lttng-tools_{version}_release
+ defaults: lttng-tools
+ node: 'deb12-amd64'
+
+ triggers:
+ - pollscm:
+ cron: "@daily"
+
+ scm:
+ - git:
+ url: https://github.com/{github_user}/lttng-tools.git
+ browser: githubweb
+ browser-url: https://github.com/{github_user}/lttng-tools
+ refspec: '+refs/tags/*:refs/remotes/origin/tags/*'
+ branches:
+ - '*/tags/{version}.*'
+ basedir: src/lttng-tools
+
+ builders:
+ - copyartifact:
<<: *lttng-tools_steps_copyartifact_defaults
- project: 'babeltrace_{babelversion}_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=agents,build=std'
+ project: 'babeltrace_{babelversion}_linuxbuild/platform=deb12-amd64,conf=std,build=std'
+ - copyartifact:
+ <<: *lttng-tools_steps_copyartifact_defaults
+ project: 'lttng-ust_{ustversion}_linuxbuild/liburcu_version={urcuversion},platform=deb12-amd64,conf=agents,build=std'
- shell:
- !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh
+ !include-raw-escape: scripts/lttng-tools/prebuild_clean_processes_coredumps.sh
- shell:
!include-raw-escape: scripts/lttng-tools/release.sh
publishers:
- - postbuildscript:
- mark-unstable-if-failed: false
- builders:
- - role: SLAVE
- build-on:
- - ABORTED
- build-steps:
- - shell:
- !include-raw-escape: scripts/lttng-tools/tap_failure.sh
+ # On build abort (timeout), wait 10 seconds before running the other post
+ # build scripts, this will allow the processes to terminate and make the
+ # build log more legible.
+ - postbuildscript: *lttng-tools_publisher_postbuildscript_wait_10_seconds_on_abort
- - postbuildscript:
- mark-unstable-if-failed: true
- builders:
- - role: SLAVE
- build-on:
- - SUCCESS
- - UNSTABLE
- - NOT_BUILT
- - ABORTED
- - FAILURE
- build-steps:
- - shell:
- !include-raw-escape: scripts/lttng-tools/hang_processes.sh
+ # On build failure, try to get partial tap results if any exists
+ - postbuildscript: *lttng-tools_publisher_postbuildscript_collect_tap_on_failure
+
+ # If there are leftover lttng processes or core files present, kill the
+ # processes, collect the core files, delete them and mark the build
+ # unstable.
+ - postbuildscript: *lttng-tools_publisher_postbuildscript_clean_processes_coredumps
- tap: *lttng-tools_publisher_tap_defaults
- raw: *lttng-tools_publisher_warnings-ng_defaults
allow-empty: false
fingerprint: true
- workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
+ - raw: *lttng-tools_publisher_proc-cleaner_defaults
+ - ircbot: *lttng-tools_publisher_ircbot_defaults
- job-template:
name: lttng-tools_{version}_scan-build
defaults: lttng-tools
- node: 'bionic-amd64'
+ node: 'deb12-amd64'
triggers:
- pollscm:
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
name: 'HTML Report'
dir: 'scan-build-archive/'
files: 'index.html'
+ - ircbot: *lttng-tools_publisher_ircbot_defaults
- job-template:
name: lttng-tools_{version}_coverity
defaults: lttng-tools
- node: 'bionic-amd64'
+ node: 'deb12-amd64'
triggers:
- pollscm:
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
artifacts: 'analysis-results.tgz,cov-int/**'
allow-empty: false
- workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
+ - ircbot: *lttng-tools_publisher_ircbot_defaults
## Views
- view-template:
name: 'LTTng-tools'
view-type: list
- regex: 'lttng-tools[-_].*'
+ regex: 'lttng-(docs|tools)[-_].*'
## Projects
jobs:
# Master #
- '{job_prefix}lttng-tools_{version}_{buildtype}':
- buildtype: build
+ buildtype: linuxbuild
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]
babelversions: !!python/tuple [stable-2.0, master]
- testtypes: !!python/tuple [base]
filter: '(build=="std") || ((babeltrace_version=="master" && (conf=="std" || conf=="agents" || conf=="no-ust")))'
touchstone: ''
- '{job_prefix}lttng-tools_{version}_{buildtype}':
buildtype: portbuild
version: master
ustversion: master
- platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std, no-ust, agents]
urcuversions: !!python/tuple [master]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- '{job_prefix}lttng-tools_{version}_{buildtype}':
buildtype: slesbuild
version: master
ustversion: master
- platforms: !!python/tuple [sles12sp5-amd64]
+ platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [agents]
urcuversions: !!python/tuple [master]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- '{job_prefix}lttng-tools_{version}_{buildtype}':
buildtype: elbuild
version: master
ustversion: master
- platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
+ platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
urcuversions: !!python/tuple [master]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- '{job_prefix}lttng-tools_{version}_{buildtype}':
+ buildtype: yoctobuild
+ version: master
+ ustversion: master
+ platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std]
+ urcuversions: !!python/tuple [master]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: ''
+ touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_macosbuild':
buildtype: macosbuild
version: master
ustversion: master
- platforms: !!python/tuple [macos-amd64, macos-arm64]
+ platforms: !!python/tuple [macos-arm64]
builds: !!python/tuple [std]
confs: !!python/tuple [relayd-only]
urcuversions: !!python/tuple [master]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- 'lttng-tools_{version}_winbuild':
confs: !!python/tuple [relayd-only]
urcuversions: !!python/tuple [master]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
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]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [full]
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]
- testtypes: !!python/tuple [base]
- filter: ''
+ filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")'
+ touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_root_{buildtype}':
+ buildtype: slesbuild
+ version: master
+ ustversion: master
+ platforms: !!python/tuple [sles15sp4-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ urcuversions: !!python/tuple [master]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")'
+ touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_root_{buildtype}':
+ buildtype: elbuild
+ version: master
+ ustversion: master
+ platforms: !!python/tuple [el8-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std]
+ urcuversions: !!python/tuple [master]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="el8-amd64-rootnode" && platform=="el8-amd64")'
+ touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_rootbuild_i386':
+ buildtype: portbuild
+ version: master
+ ustversion: master
+ platforms: !!python/tuple [deb12-i386]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ urcuversions: !!python/tuple [master]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="i386-rootnode" && platform=="deb12-i386")'
touchstone: ''
- 'lttng-tools_{version}_scan-build':
version: master
# stable-2.13
- '{job_prefix}lttng-tools_{version}_{buildtype}':
- 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, 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]
- testtypes: !!python/tuple [base]
filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))'
touchstone: ''
- '{job_prefix}lttng-tools_{version}_{buildtype}':
buildtype: portbuild
version: stable-2.13
ustversion: stable-2.13
- platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std, no-ust, agents]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- '{job_prefix}lttng-tools_{version}_{buildtype}':
buildtype: slesbuild
version: stable-2.13
ustversion: stable-2.13
- platforms: !!python/tuple [sles12sp5-amd64]
+ platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [agents]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- '{job_prefix}lttng-tools_{version}_{buildtype}':
buildtype: elbuild
version: stable-2.13
ustversion: stable-2.13
- platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
+ platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- '{job_prefix}lttng-tools_{version}_{buildtype}':
+ buildtype: yoctobuild
+ version: stable-2.13
+ ustversion: stable-2.13
+ platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std]
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: ''
+ touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_macosbuild':
buildtype: macosbuild
version: stable-2.13
ustversion: stable-2.13
- platforms: !!python/tuple [macos-amd64, macos-arm64]
+ platforms: !!python/tuple [macos-arm64]
builds: !!python/tuple [std]
confs: !!python/tuple [relayd-only]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- 'lttng-tools_{version}_winbuild':
confs: !!python/tuple [relayd-only]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
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]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [full]
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]
- testtypes: !!python/tuple [base]
- filter: ''
+ filter: '(node=="amd64-rootnode" && platform=="deb12-amd64")'
+ touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_root_{buildtype}':
+ buildtype: slesbuild
+ version: stable-2.13
+ ustversion: stable-2.13
+ platforms: !!python/tuple [sles15sp4-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")'
+ touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_root_{buildtype}':
+ buildtype: elbuild
+ version: stable-2.13
+ ustversion: stable-2.13
+ platforms: !!python/tuple [el8-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std]
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="el8-amd64-rootnode" && platform=="el8-amd64")'
touchstone: ''
- 'lttng-tools_{version}_release':
version: v2.13
# stable-2.12
- '{job_prefix}lttng-tools_{version}_{buildtype}':
- 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, 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]
- testtypes: !!python/tuple [base]
filter: '(build=="std") || ((babeltrace_version=="stable-2.0" && (conf=="std" || conf=="agents" || conf=="no-ust")))'
touchstone: ''
- '{job_prefix}lttng-tools_{version}_{buildtype}':
buildtype: portbuild
version: stable-2.12
ustversion: stable-2.12
- platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std, no-ust, agents]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- '{job_prefix}lttng-tools_{version}_{buildtype}':
buildtype: slesbuild
version: stable-2.12
ustversion: stable-2.12
- platforms: !!python/tuple [sles12sp5-amd64]
+ platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [agents]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- '{job_prefix}lttng-tools_{version}_{buildtype}':
buildtype: elbuild
version: stable-2.12
ustversion: stable-2.12
- platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
+ platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64, el7-arm64, el8-arm64, el9-arm64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- '{job_prefix}lttng-tools_{version}_{buildtype}':
+ buildtype: yoctobuild
+ version: stable-2.12
+ ustversion: stable-2.12
+ platforms: !!python/tuple [yocto23-powerpcspe, yocto40-powerpc, yocto40-ppc64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [std]
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: ''
+ touchstone: ''
+ - '{job_prefix}lttng-tools_{version}_macosbuild':
buildtype: macosbuild
version: stable-2.12
ustversion: stable-2.12
- platforms: !!python/tuple [macos-amd64, macos-arm64]
+ platforms: !!python/tuple [macos-arm64]
builds: !!python/tuple [std]
confs: !!python/tuple [relayd-only]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- 'lttng-tools_{version}_winbuild':
confs: !!python/tuple [relayd-only]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
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]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [full]
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]
- testtypes: !!python/tuple [base]
- filter: ''
+ filter: '(node=="amd64-rootnode-linux5" && platform=="deb12-amd64")'
touchstone: ''
- - 'lttng-tools_{version}_release':
- version: v2.12
- ustversion: stable-2.12
- urcuversion: stable-0.13
- babelversion: stable-2.0
- - 'lttng-tools_{version}_scan-build':
+ - '{job_prefix}lttng-tools_{version}_root_{buildtype}':
+ buildtype: slesbuild
version: stable-2.12
- urcuversion: stable-0.13
ustversion: stable-2.12
-
-- project:
- name: dev_upstream_lttng-tools
- job_prefix: 'dev_upstream_'
- ust_job_prefix: 'dev_upstream_'
- urcu_job_prefix: 'dev_upstream_'
- bt_job_prefix: 'dev_upstream_'
- github_user: lttng
- email_to: 'ci-notification@lists.lttng.org, cc:jgalar@efficios.com'
- jobs:
- # stable-2.11
- - '{job_prefix}lttng-tools_{version}_{buildtype}':
- buildtype: build
- version: stable-2.11
- ustversion: stable-2.11
- platforms: !!python/tuple [bionic-amd64]
- builds: !!python/tuple [std, oot, dist]
- confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback]
- urcuversions: !!python/tuple [stable-0.11]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [base]
- filter: '(build=="std") || (conf=="std" || conf=="agents" || conf=="no-ust")'
- touchstone: ''
- - '{job_prefix}lttng-tools_{version}_{buildtype}':
- buildtype: portbuild
- version: stable-2.11
- ustversion: stable-2.11
- platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
- builds: !!python/tuple [std]
- confs: !!python/tuple [no-ust, agents]
- urcuversions: !!python/tuple [stable-0.11]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [base]
- filter: ''
- touchstone: ''
- - '{job_prefix}lttng-tools_{version}_{buildtype}':
- buildtype: slesbuild
- version: stable-2.11
- ustversion: stable-2.11
- platforms: !!python/tuple [sles12sp5-amd64]
- builds: !!python/tuple [std]
- confs: !!python/tuple [agents]
- urcuversions: !!python/tuple [stable-0.11]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [base]
- filter: ''
- touchstone: ''
- - '{job_prefix}lttng-tools_{version}_{buildtype}':
- buildtype: elbuild
- version: stable-2.11
- ustversion: stable-2.11
- platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
- builds: !!python/tuple [std]
- confs: !!python/tuple [std]
- urcuversions: !!python/tuple [stable-0.11]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [base]
- filter: ''
- touchstone: ''
- - '{job_prefix}lttng-tools_{version}_long_regression':
- buildtype: build
- version: stable-2.11
- ustversion: stable-2.11
- platforms: !!python/tuple [bionic-amd64]
- builds: !!python/tuple [std]
- confs: !!python/tuple [std]
- urcuversions: !!python/tuple [stable-0.11]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [full]
- filter: ''
- touchstone: ''
- - '{job_prefix}lttng-tools_{version}_rootbuild':
- buildtype: build
- version: stable-2.11
- ustversion: stable-2.11
- platforms: !!python/tuple [bionic-amd64]
+ platforms: !!python/tuple [sles15sp4-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [agents]
- urcuversions: !!python/tuple [stable-0.11]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [base]
- filter: ''
- touchstone: ''
-
- # stable-2.10
- - '{job_prefix}lttng-tools_{version}_{buildtype}':
- buildtype: build
- version: stable-2.10
- ustversion: stable-2.10
- platforms: !!python/tuple [bionic-amd64]
- builds: !!python/tuple [std, oot, dist]
- confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback]
- urcuversions: !!python/tuple [stable-0.9]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [base]
- filter: '(build=="std") || (conf=="std" || conf=="agents" || conf=="no-ust")'
- touchstone: ''
- - '{job_prefix}lttng-tools_{version}_{buildtype}':
- buildtype: portbuild
- version: stable-2.10
- ustversion: stable-2.10
- platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
- builds: !!python/tuple [std]
- confs: !!python/tuple [no-ust, agents]
- urcuversions: !!python/tuple [stable-0.9]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [base]
- filter: ''
- touchstone: ''
- - '{job_prefix}lttng-tools_{version}_{buildtype}':
- buildtype: slesbuild
- version: stable-2.10
- ustversion: stable-2.10
- platforms: !!python/tuple [sles12sp5-amd64]
- builds: !!python/tuple [std]
- confs: !!python/tuple [agents]
- urcuversions: !!python/tuple [stable-0.9]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [base]
- filter: ''
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")'
touchstone: ''
- - '{job_prefix}lttng-tools_{version}_{buildtype}':
+ - '{job_prefix}lttng-tools_{version}_root_{buildtype}':
buildtype: elbuild
- version: stable-2.10
- ustversion: stable-2.10
- platforms: !!python/tuple [el7-amd64, el8-amd64, el9-amd64]
- builds: !!python/tuple [std]
- confs: !!python/tuple [std]
- urcuversions: !!python/tuple [stable-0.9]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [base]
- filter: ''
- touchstone: ''
- - '{job_prefix}lttng-tools_{version}_long_regression':
- buildtype: build
- version: stable-2.10
- ustversion: stable-2.10
- platforms: !!python/tuple [bionic-amd64]
+ version: stable-2.12
+ ustversion: stable-2.12
+ platforms: !!python/tuple [el8-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [std]
- urcuversions: !!python/tuple [stable-0.9]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [full]
- filter: ''
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="el8-amd64-rootnode" && platform=="el8-amd64")'
touchstone: ''
+ - 'lttng-tools_{version}_release':
+ version: v2.12
+ ustversion: stable-2.12
+ urcuversion: stable-0.13
+ babelversion: stable-2.0
+ - 'lttng-tools_{version}_scan-build':
+ version: stable-2.12
+ urcuversion: stable-0.13
+ ustversion: stable-2.12
- project:
name: dev_jgalar_lttng-tools
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]
babelversions: !!python/tuple [stable-2.0, master]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- 'dev_{user}_lttng-tools_{version}_{buildtype}':
buildtype: portbuild
version: master-staging
ustversion: master
- platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std, no-ust, agents]
urcuversions: !!python/tuple [master]
babelversions: !!python/tuple [stable-1.5, master]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- - 'dev_{user}_lttng-tools_{version}_{buildtype}':
+ - 'dev_{user}_lttng-tools_{version}_macosbuild':
buildtype: macosbuild
version: master-staging
ustversion: master
- platforms: !!python/tuple [macos-amd64, macos-arm64]
+ platforms: !!python/tuple [macos-arm64]
builds: !!python/tuple [std]
confs: !!python/tuple [relayd-only]
urcuversions: !!python/tuple [master]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
# 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]
babelversions: !!python/tuple [stable-2.0, master]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- 'dev_{user}_lttng-tools_{version}_{buildtype}':
buildtype: portbuild
version: stable-2.13-staging
ustversion: stable-2.13
- platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std, no-ust, agents]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
# 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]
babelversions: !!python/tuple [stable-2.0, master]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- 'dev_{user}_lttng-tools_{version}_{buildtype}':
buildtype: portbuild
version: stable-2.12-staging
ustversion: stable-2.12
- platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
+ platforms: !!python/tuple [deb12-armhf, deb12-arm64, deb12-ppc64el, deb12-i386]
builds: !!python/tuple [std]
confs: !!python/tuple [std, no-ust, agents]
urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- project:
- name: dev_jgalar_lttng-tools-upstream
- job_prefix: 'dev_jgalar_'
- ust_job_prefix: 'dev_upstream_'
- urcu_job_prefix: 'dev_upstream_'
- bt_job_prefix: 'dev_upstream_'
- user: jgalar
- github_user: jgalar
- email_to: 'jgalar@efficios.com'
+ name: review-lttng-tools
+ job_prefix: ''
+ ust_job_prefix: ''
+ urcu_job_prefix: ''
+ bt_job_prefix: ''
+ github_user: lttng
jobs:
- # stable-2.11
- - 'dev_{user}_lttng-tools_{version}_{buildtype}':
- buildtype: build
- version: stable-2.11-staging
- ustversion: stable-2.11
- platforms: !!python/tuple [bionic-amd64]
- builds: !!python/tuple [std, oot, dist]
+ ## Master ##
+ - 'dev_review_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, no-ust, agents]
- urcuversions: !!python/tuple [stable-0.11]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [base]
+ urcuversions: !!python/tuple [stable-0.14] # Baseline is stable-0.14 for C++ support
+ babelversions: !!python/tuple [stable-2.0]
filter: ''
touchstone: ''
- - 'dev_{user}_lttng-tools_{version}_{buildtype}':
- buildtype: portbuild
- version: stable-2.11-staging
- ustversion: stable-2.11
- platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
+ - 'dev_review_lttng-tools_{version}_{buildtype}':
+ version: master
+ buildtype: slesbuild
+ ustversion: master
+ platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64, sles15sp5-amd64]
builds: !!python/tuple [std]
- confs: !!python/tuple [std, no-ust, agents]
- urcuversions: !!python/tuple [stable-0.11]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [base]
+ confs: !!python/tuple [agents]
+ urcuversions: !!python/tuple [master]
+ babelversions: !!python/tuple [stable-2.0]
filter: ''
touchstone: ''
-
- # stable-2.10
- - 'dev_{user}_lttng-tools_{version}_{buildtype}':
- buildtype: build
- version: stable-2.10-staging
- ustversion: stable-2.10
- platforms: !!python/tuple [bionic-amd64]
- builds: !!python/tuple [std, oot, dist]
- confs: !!python/tuple [std, no-ust, agents]
- urcuversions: !!python/tuple [stable-0.9]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [base]
+ - 'dev_review_lttng-tools_{version}_rootbuild':
+ version: master
+ 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=="deb12-amd64")'
+ touchstone: ''
+ - 'dev_review_lttng-tools_{version}_root_{buildtype}':
+ version: master
+ buildtype: slesbuild
+ platforms: !!python/tuple [sles15sp4-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ urcuversions: !!python/tuple [stable-0.14]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")'
+ touchstone: ''
+ - 'dev_review_lttng-tools_{version}_smokebuild':
+ version: master
+ buildtype: linuxbuild
+ 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
+ babelversions: !!python/tuple [stable-2.0]
filter: ''
touchstone: ''
- - 'dev_{user}_lttng-tools_{version}_{buildtype}':
- buildtype: portbuild
- version: stable-2.10-staging
- ustversion: stable-2.10
- platforms: !!python/tuple [deb11-armhf, deb11-arm64, sid-powerpc, deb11-ppc64el, deb11-i386]
+ - 'dev_review_lttng-tools_{version}_clang-tidy':
+ version: master
+ buildtype: linuxbuild
+ platforms: !!python/tuple [deb12-amd64]
builds: !!python/tuple [std]
- confs: !!python/tuple [std, no-ust, agents]
- urcuversions: !!python/tuple [stable-0.9]
- babelversions: !!python/tuple [stable-1.5]
- testtypes: !!python/tuple [base]
+ 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: ''
touchstone: ''
+ - 'dev_review_lttng-tools_{version}_check-format':
+ version: master
-- project:
- name: gerrit-lttng-tools
- job_prefix: ''
- ust_job_prefix: ''
- urcu_job_prefix: ''
- bt_job_prefix: ''
- github_user: lttng
- jobs:
- - 'dev_gerrit_lttng-tools_{buildtype}':
- buildtype: build
- platforms: !!python/tuple [bionic-amd64]
+ ## Stable 2.13 ##
+ - 'dev_review_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, no-ust, agents]
- urcuversions: !!python/tuple [master] # Switch to stable-0.14 when released (for C++ support)
+ urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- - 'dev_gerrit_lttng-tools_rootbuild':
- buildtype: build
- platforms: !!python/tuple [bionic-amd64]
+ - 'dev_review_lttng-tools_{version}_rootbuild':
+ version: stable-2.13
+ 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")'
+ touchstone: ''
+ - 'dev_review_lttng-tools_{version}_root_{buildtype}':
+ version: stable-2.13
+ buildtype: slesbuild
+ platforms: !!python/tuple [sles15sp4-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [agents]
- urcuversions: !!python/tuple [master] # Switch to stable-0.14 when released (for C++ support)
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")'
+ touchstone: ''
+
+ ## Stable 2.12 ##
+ - 'dev_review_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, no-ust, agents]
+ urcuversions: !!python/tuple [stable-0.13]
babelversions: !!python/tuple [stable-2.0]
- testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
+ - 'dev_review_lttng-tools_{version}_rootbuild':
+ version: stable-2.12
+ 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-linux5" && platform=="deb12-amd64")'
+ touchstone: ''
+ - 'dev_review_lttng-tools_{version}_root_{buildtype}':
+ version: stable-2.12
+ buildtype: slesbuild
+ platforms: !!python/tuple [sles15sp4-amd64]
+ builds: !!python/tuple [std]
+ confs: !!python/tuple [agents]
+ urcuversions: !!python/tuple [stable-0.13]
+ babelversions: !!python/tuple [stable-2.0]
+ filter: '(node=="sles15sp4-amd64-rootnode" && platform=="sles15sp4-amd64")'
+ touchstone: ''
+
- project:
name: lttng-tools-views