X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=jobs%2Flttng-tools.yaml;h=a8c267e98b0fb28c73eb1d8256dc7849e8387890;hb=8d093cb2e5d11aa49221bafc702c07f883c6213e;hp=f753e44d4688f05fd1e239ab4ad8cc4b620e1e41;hpb=0ecb76529f15cf5935ac7179f42c1b2ecb15d6fe;p=lttng-ci.git
diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml
index f753e44..a8c267e 100644
--- a/jobs/lttng-tools.yaml
+++ b/jobs/lttng-tools.yaml
@@ -17,7 +17,7 @@
colormap: xterm
- timeout: <tng-tools_wrapper_timeout_defaults
timeout: 30
- fail: true
+ abort: true
type: no-activity
write-description: "
This build failed due to timeout.
"
- timestamps
@@ -48,7 +48,7 @@
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
@@ -61,7 +61,7 @@
## 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
@@ -96,7 +96,7 @@
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
@@ -119,7 +119,7 @@
## 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
@@ -191,15 +191,15 @@
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:
!include-raw-escape: scripts/lttng-tools/gerrit-depends-on.sh
@@ -255,7 +255,7 @@
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:
@@ -283,7 +283,7 @@
- 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" != ""'
@@ -302,7 +302,7 @@
- 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
@@ -353,21 +353,38 @@
- 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
@@ -379,7 +396,7 @@
- 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/**/*.*'
@@ -438,6 +455,11 @@
clean-if:
- failure: false
+ - ircbot: <tng-tools_publisher_ircbot_defaults
+ strategy: statechange-only
+ message-type: summary-scm
+ matrix-notifier: only-configurations
+
- email-ext: <tng-tools_publisher_email-ext_defaults
recipients: '{obj:email_to}'
reply-to: ci-notification@lists.lttng.org
@@ -461,15 +483,17 @@
send-to:
- recipients
-- lttng-tools_publishers_win: <tng-tools_publishers_win
+- _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
- workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
- archive: *lttng-tools_publisher_archive_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}'
@@ -572,12 +596,12 @@
<<: *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:
@@ -595,8 +619,8 @@
- project-compare-type: 'PLAIN'
project-pattern: 'lttng-tools'
branches:
- - branch-compare-type: 'ANT'
- branch-pattern: '**'
+ - branch-compare-type: 'PLAIN'
+ branch-pattern: '{version}'
properties:
- inject:
@@ -610,32 +634,21 @@
- '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
@@ -643,12 +656,12 @@
- workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
- job-template:
- name: dev_gerrit_lttng-tools_rootbuild
+ name: dev_review_lttng-tools_{version}_rootbuild
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
@@ -665,7 +678,7 @@
- 'gerrit-{buildtype}'
<<: *lttng-tools_matrix_axes_rootbuild
- <<: *lttng-tools_builders_gerrit
+ <<: *lttng-tools_builders_review
publishers:
- tap: *lttng-tools_publisher_tap_defaults
@@ -703,34 +716,23 @@
<<: *lttng-tools_steps_copyartifact_defaults
project: 'lttng-ust_{ustversion}_build/liburcu_version={urcuversion},platform=bionic-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
@@ -739,6 +741,7 @@
allow-empty: false
fingerprint: true
- workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
+ - ircbot: *lttng-tools_publisher_ircbot_defaults
- job-template:
name: lttng-tools_{version}_scan-build
@@ -764,6 +767,7 @@
name: 'HTML Report'
dir: 'scan-build-archive/'
files: 'index.html'
+ - ircbot: *lttng-tools_publisher_ircbot_defaults
- job-template:
name: lttng-tools_{version}_coverity
@@ -800,6 +804,7 @@
artifacts: 'analysis-results.tgz,cov-int/**'
allow-empty: false
- workspace-cleanup: *lttng-tools_publisher_workspace-cleanup_defaults
+ - ircbot: *lttng-tools_publisher_ircbot_defaults
## Views
@@ -1025,6 +1030,18 @@
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, yocto23-powerpc, yocto31-ppc64]
+ 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: macosbuild
version: stable-2.13
@@ -1143,6 +1160,18 @@
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, yocto23-powerpc, yocto31-ppc64]
+ 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: macosbuild
version: stable-2.12
@@ -1211,10 +1240,10 @@
jobs:
# stable-2.11
- '{job_prefix}lttng-tools_{version}_{buildtype}':
- buildtype: build
+ buildtype: linuxbuild
version: stable-2.11
ustversion: stable-2.11
- platforms: !!python/tuple [bionic-amd64]
+ platforms: !!python/tuple [jammy-amd64]
builds: !!python/tuple [std, oot, dist]
confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback]
urcuversions: !!python/tuple [stable-0.11]
@@ -1238,7 +1267,7 @@
buildtype: slesbuild
version: stable-2.11
ustversion: stable-2.11
- platforms: !!python/tuple [sles12sp5-amd64]
+ platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [agents]
urcuversions: !!python/tuple [stable-0.11]
@@ -1258,37 +1287,13 @@
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]
- 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
+ buildtype: linuxbuild
version: stable-2.10
ustversion: stable-2.10
- platforms: !!python/tuple [bionic-amd64]
+ platforms: !!python/tuple [jammy-amd64]
builds: !!python/tuple [std, oot, dist]
confs: !!python/tuple [std, no-ust, agents, debug-rcu, tls_fallback]
urcuversions: !!python/tuple [stable-0.9]
@@ -1312,7 +1317,7 @@
buildtype: slesbuild
version: stable-2.10
ustversion: stable-2.10
- platforms: !!python/tuple [sles12sp5-amd64]
+ platforms: !!python/tuple [sles12sp5-amd64, sles15sp4-amd64]
builds: !!python/tuple [std]
confs: !!python/tuple [agents]
urcuversions: !!python/tuple [stable-0.9]
@@ -1332,18 +1337,6 @@
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]
- 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: ''
- touchstone: ''
- project:
name: dev_jgalar_lttng-tools
@@ -1508,14 +1501,16 @@
touchstone: ''
- project:
- name: gerrit-lttng-tools
+ name: review-lttng-tools
job_prefix: ''
ust_job_prefix: ''
urcu_job_prefix: ''
bt_job_prefix: ''
github_user: lttng
jobs:
- - 'dev_gerrit_lttng-tools_{buildtype}':
+ ## Master ##
+ - 'dev_review_lttng-tools_{version}_{buildtype}':
+ version: master
buildtype: build
platforms: !!python/tuple [bionic-amd64]
builds: !!python/tuple [std, oot, dist, oot-dist]
@@ -1525,7 +1520,8 @@
testtypes: !!python/tuple [base]
filter: ''
touchstone: ''
- - 'dev_gerrit_lttng-tools_rootbuild':
+ - 'dev_review_lttng-tools_{version}_rootbuild':
+ version: master
buildtype: build
platforms: !!python/tuple [bionic-amd64]
builds: !!python/tuple [std]
@@ -1536,6 +1532,54 @@
filter: '(node=="amd64-rootnode" && platform=="bionic-amd64")'
touchstone: ''
+ ## Stable 2.13 ##
+ - 'dev_review_lttng-tools_{version}_{buildtype}':
+ version: stable-2.13
+ buildtype: build
+ platforms: !!python/tuple [bionic-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.13
+ buildtype: build
+ platforms: !!python/tuple [bionic-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: '(node=="amd64-rootnode" && platform=="bionic-amd64")'
+ touchstone: ''
+
+ ## Stable 2.12 ##
+ - 'dev_review_lttng-tools_{version}_{buildtype}':
+ version: stable-2.12
+ buildtype: build
+ platforms: !!python/tuple [bionic-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: build
+ platforms: !!python/tuple [bionic-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: '(node=="amd64-rootnode" && platform=="bionic-amd64")'
+ touchstone: ''
+
- project:
name: lttng-tools-views
views: