X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=jobs%2Flttng-tools.yaml;h=ccd0becb4d4e9739f3d530c18cb534e1996f34cb;hb=60e60b9288f19192a484d3bec99b82cd750ab040;hp=f8f02593808f0f3eb80e331cce6b7b7020aa7d53;hpb=98aca00598dec2826ff66db1c88f2687b2941fa2;p=lttng-ci.git diff --git a/jobs/lttng-tools.yaml b/jobs/lttng-tools.yaml index f8f0259..ccd0bec 100644 --- a/jobs/lttng-tools.yaml +++ b/jobs/lttng-tools.yaml @@ -73,6 +73,10 @@ type: user-defined name: build values: '{obj:build}' + - axis: + type: user-defined + name: test_type + values: '{obj:testtype}' - lttng-tools_build_builders_defaults: <tng-tools_build_builders_defaults name: 'lttng-tools_build_builders_defaults' @@ -205,6 +209,8 @@ filter: 'build/**' target: 'deps/lttng-ust' do-not-fingerprint: true + - shell: + !include-raw-escape: scripts/lttng-tools/clean_processes_coredump.sh - shell: !include-raw-escape: scripts/lttng-tools/build.sh @@ -277,6 +283,19 @@ - lttng-tools_build_publishers_dev: <tng-tools_build_publishers_dev name: 'lttng-tools_build_publishers_dev' publishers: + - 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 - tap: results: 'tap/**/*.tap' failed-tests-mark-build-as-failure: true @@ -318,6 +337,19 @@ - lttng-tools_build_publishers_prod: <tng-tools_build_publishers_prod name: 'lttng-tools_build_publishers_prod' publishers: + - 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 - tap: results: 'tap/**/*.tap' failed-tests-mark-build-as-failure: true @@ -335,7 +367,7 @@ clean-if: - failure: false - archive: - artifacts: 'build/**' + artifacts: 'build/**, deps/**' allow-empty: false - email-ext: recipients: '{obj:email_to}' @@ -376,6 +408,30 @@ jobs: 'lttng-ust_{version}_{buildtype}' result: 'success' +- job-template: + name: lttng-tools_{version}_long_regression + defaults: lttng-tools + wrappers: + - ansicolor + - timeout: + fail: true + type: likely-stuck + - timestamps + - workspace-cleanup: + clean-if: + - failure: false + + <<: *lttng-tools_build_axes_defaults + <<: *lttng-tools_build_builders_defaults + <<: *lttng-tools_build_publishers_prod + + triggers: + - pollscm: + cron: "@hourly" + - reverse: + jobs: 'lttng-ust_{version}_{buildtype}' + result: 'success' + - job-template: name: lttng-tools_{version}_winbuild defaults: lttng-tools @@ -402,15 +458,15 @@ builders: - shell: | - rm -f lttng-tools-cppcheck.xml - cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-tools-cppcheck.xml + rm -f cppcheck-result.xml + cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> cppcheck-result.xml publishers: - archive: - artifacts: 'lttng-tools-cppcheck.xml' + artifacts: 'cppcheck-result.xml' allow-empty: false - cppcheck: - pattern: 'lttng-tools-cppcheck.xml' + pattern: 'cppcheck-result.xml' - email-ext: recipients: 'ci-notification@lists.lttng.org' reply-to: ci-notification@lists.lttng.org @@ -579,6 +635,7 @@ - stable-2.8 - stable-2.9 - stable-2.10 + - stable-2.11 - master jobs: # Master # @@ -591,6 +648,7 @@ conf: !!python/tuple [std, no-ust, agents, debug-rcu] urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: portbuild version: master @@ -600,6 +658,7 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: master @@ -609,6 +668,7 @@ conf: !!python/tuple [std] urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: macosxbuild version: master @@ -618,6 +678,7 @@ conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: master @@ -627,6 +688,7 @@ conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_winbuild': version: master ustversion: master @@ -635,6 +697,77 @@ conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] + - 'lttng-tools_{version}_long_regression': + buildtype: build + ustversion: master + arch: !!python/tuple [x86-32, x86-64] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [master] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [full] + + # stable-2.11 + - 'lttng-tools_{version}_{buildtype}': + buildtype: build + version: stable-2.11 + ustversion: stable-2.11 + arch: !!python/tuple [x86-32, x86-64] + build: !!python/tuple [std, oot, dist] + conf: !!python/tuple [std, no-ust, agents, debug-rcu] + urcuversion: !!python/tuple [stable-0.10] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] + - 'lttng-tools_{version}_{buildtype}': + buildtype: portbuild + version: stable-2.11 + ustversion: stable-2.11 + arch: !!python/tuple [armhf, arm64, powerpc, ppc64el] + build: !!python/tuple [std] + conf: !!python/tuple [std, no-ust, agents] + urcuversion: !!python/tuple [stable-0.10] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] + - 'lttng-tools_{version}_{buildtype}': + buildtype: slesbuild + version: stable-2.11 + ustversion: stable-2.11 + arch: !!python/tuple [sles12sp2] + build: !!python/tuple [std] + conf: !!python/tuple [std] + urcuversion: !!python/tuple [stable-0.10] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] + - 'lttng-tools_{version}_{buildtype}': + buildtype: solarisbuild + version: stable-2.11 + ustversion: stable-2.11 + arch: !!python/tuple [sol10-i386, sol11-i386] + build: !!python/tuple [std] + conf: !!python/tuple [relayd-only] + urcuversion: !!python/tuple [stable-0.10] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] + - 'lttng-tools_{version}_{buildtype}': + buildtype: macosxbuild + version: stable-2.11 + ustversion: stable-2.11 + arch: !!python/tuple [macosx] + build: !!python/tuple [std] + conf: !!python/tuple [relayd-only] + urcuversion: !!python/tuple [stable-0.10] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] + - 'lttng-tools_{version}_winbuild': + version: stable-2.11 + ustversion: stable-2.11 + arch: !!python/tuple [cygwin, cygwin64] + build: !!python/tuple [std] + conf: !!python/tuple [relayd-only] + urcuversion: !!python/tuple [stable-0.10] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] # stable-2.10 - 'lttng-tools_{version}_{buildtype}': @@ -646,6 +779,7 @@ conf: !!python/tuple [std, no-ust, agents, debug-rcu] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.10 @@ -655,6 +789,7 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: stable-2.10 @@ -664,6 +799,7 @@ conf: !!python/tuple [std] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: stable-2.10 @@ -673,6 +809,7 @@ conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: macosxbuild version: stable-2.10 @@ -682,6 +819,7 @@ conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_winbuild': version: stable-2.10 ustversion: stable-2.10 @@ -690,6 +828,7 @@ conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] # stable-2.9 # - 'lttng-tools_{version}_{buildtype}': @@ -701,6 +840,7 @@ conf: !!python/tuple [std, no-ust, agents, debug-rcu] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.9 @@ -710,6 +850,7 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: stable-2.9 @@ -719,6 +860,7 @@ conf: !!python/tuple [std] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: stable-2.9 @@ -728,6 +870,7 @@ conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: macosxbuild version: stable-2.9 @@ -737,6 +880,7 @@ conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_winbuild': version: stable-2.9 ustversion: stable-2.9 @@ -745,6 +889,7 @@ conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] # stable-2.8 # - 'lttng-tools_{version}_{buildtype}': @@ -756,6 +901,7 @@ conf: !!python/tuple [std, no-ust, agents, debug-rcu] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.4] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.8 @@ -765,6 +911,7 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.4] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: stable-2.8 @@ -774,6 +921,7 @@ conf: !!python/tuple [std] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.4] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: stable-2.8 @@ -783,6 +931,7 @@ conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.4] + testtype: !!python/tuple [base] # stable-2.7 # - 'lttng-tools_{version}_{buildtype}': @@ -794,6 +943,7 @@ conf: !!python/tuple [std, no-ust, agents, debug-rcu] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.7 @@ -803,6 +953,7 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_{buildtype}': buildtype: slesbuild version: stable-2.7 @@ -812,12 +963,17 @@ conf: !!python/tuple [std] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'lttng-tools_{version}_cppcheck' - 'lttng-tools_{version}_scan-build': version: master urcuversion: master ustversion: master + - 'lttng-tools_{version}_scan-build': + version: stable-2.11 + urcuversion: stable-0.10 + ustversion: stable-2.11 - 'lttng-tools_{version}_scan-build': version: stable-2.10 urcuversion: stable-0.9 @@ -857,6 +1013,17 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] + - 'dev_{user}_lttng-tools_{version}_{buildtype}': + buildtype: build + version: stable-2.11-staging + ustversion: stable-2.11 + arch: !!python/tuple [x86-32, x86-64] + build: !!python/tuple [std, oot, dist] + conf: !!python/tuple [std, no-ust, agents] + urcuversion: !!python/tuple [stable-0.10] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: build version: stable-2.10-staging @@ -866,6 +1033,7 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: build version: stable-2.9-staging @@ -875,6 +1043,7 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: build version: stable-2.8-staging @@ -884,6 +1053,7 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.4] + testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: build version: stable-2.7-staging @@ -893,6 +1063,7 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: master-staging @@ -902,6 +1073,17 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] + - 'dev_{user}_lttng-tools_{version}_{buildtype}': + buildtype: portbuild + version: stable-2.11-staging + ustversion: stable-2.11 + arch: !!python/tuple [armhf, arm64, powerpc, ppc64el] + build: !!python/tuple [std] + conf: !!python/tuple [std, no-ust, agents] + urcuversion: !!python/tuple [stable-0.10] + babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.10-staging @@ -911,6 +1093,7 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.9-staging @@ -920,6 +1103,7 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.8-staging @@ -929,6 +1113,7 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.4] + testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: portbuild version: stable-2.7-staging @@ -938,6 +1123,7 @@ conf: !!python/tuple [std, no-ust, agents] urcuversion: !!python/tuple [stable-0.9] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: macosxbuild version: master-staging @@ -947,6 +1133,7 @@ conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base] - 'dev_{user}_lttng-tools_{version}_{buildtype}': buildtype: solarisbuild version: master-staging @@ -956,3 +1143,4 @@ conf: !!python/tuple [relayd-only] urcuversion: !!python/tuple [master] babelversion: !!python/tuple [stable-1.5] + testtype: !!python/tuple [base]