4 The lttng-tools project provides a session daemon (lttng-sessiond)
5 that acts as a tracing registry, the "lttng" command line for tracing
6 control, a lttng-ctl library for tracing control and a lttng-relayd
9 <p>Job is managed by Jenkins Job Builder.</p>
11 project-type: freestyle
26 url: git://github.com/{github_user}/{github_name}.git
28 browser-url: https://github.com/{github_user}/{github_name}
31 basedir: src/lttng-tools
42 PROJECT_NAME=lttng-tools
44 url: https://github.com/{github_user}/{github_name}
47 artifact-num-to-keep: 2
51 - lttng-tools_build_axes_defaults: <tng-tools_build_axes_defaults
52 name: 'lttng-tools_build_axes_defaults'
54 node: 'master' # Applies only to matrix flyweight task
67 values: '{obj:urcuversion}'
70 name: babeltrace_version
71 values: '{obj:babelversion}'
77 - lttng-tools_build_builders_defaults: <tng-tools_build_builders_defaults
78 name: 'lttng-tools_build_builders_defaults'
81 condition-kind: regex-match
84 on-evaluation-failure: run
87 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
88 which-build: last-successful
91 target: 'deps/liburcu'
92 do-not-fingerprint: true
94 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=${{conf}},build=std
95 which-build: last-successful
98 target: 'deps/babeltrace'
99 do-not-fingerprint: true
101 project: lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
102 which-build: last-successful
105 target: 'deps/lttng-ust'
106 do-not-fingerprint: true
108 condition-kind: regex-match
111 on-evaluation-failure: run
114 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
115 which-build: last-successful
118 target: 'deps/liburcu'
119 do-not-fingerprint: true
121 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
122 which-build: last-successful
125 target: 'deps/babeltrace'
126 do-not-fingerprint: true
128 project: lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=std,build=std
129 which-build: last-successful
132 target: 'deps/lttng-ust'
133 do-not-fingerprint: true
135 condition-kind: regex-match
138 on-evaluation-failure: run
141 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
142 which-build: last-successful
145 target: 'deps/liburcu'
146 do-not-fingerprint: true
148 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
149 which-build: last-successful
152 target: 'deps/babeltrace'
153 do-not-fingerprint: true
155 project: lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=${{conf}},build=std
156 which-build: last-successful
159 target: 'deps/lttng-ust'
160 do-not-fingerprint: true
162 condition-kind: regex-match
165 on-evaluation-failure: run
168 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
169 which-build: last-successful
172 target: 'deps/liburcu'
173 do-not-fingerprint: true
175 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
176 which-build: last-successful
179 target: 'deps/babeltrace'
180 do-not-fingerprint: true
182 condition-kind: regex-match
185 on-evaluation-failure: run
188 project: liburcu_${{liburcu_version}}_{buildtype}/arch=${{arch}},conf=debug-rcu,build=std
189 which-build: last-successful
192 target: 'deps/liburcu'
193 do-not-fingerprint: true
195 project: babeltrace_${{babeltrace_version}}_{buildtype}/arch=${{arch}},conf=std,build=std
196 which-build: last-successful
199 target: 'deps/babeltrace'
200 do-not-fingerprint: true
202 project: lttng-ust_{ustversion}_{buildtype}/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=debug-rcu,build=std
203 which-build: last-successful
206 target: 'deps/lttng-ust'
207 do-not-fingerprint: true
209 !include-raw-escape: scripts/lttng-tools/build.sh
211 - lttng-tools_build_builders_win: <tng-tools_build_builders_win
212 name: 'lttng-tools_build_builders_win'
215 project: liburcu_${{liburcu_version}}_winbuild/arch=${{arch}},conf=std,build=std
216 which-build: last-successful
219 target: 'deps/liburcu'
220 do-not-fingerprint: true
222 project: babeltrace_${{babeltrace_version}}_winbuild/arch=${{arch}},conf=std,build=std
223 which-build: last-successful
226 target: 'deps/babeltrace'
227 do-not-fingerprint: true
229 condition-kind: strings-match
230 on-evaluation-failure: run
231 condition-string1: '${{arch}}'
232 condition-string2: 'cygwin'
236 - scripts/common/cygwin-shebang
237 - scripts/common/cygwin-prefix
238 - scripts/lttng-tools/build.sh
240 condition-kind: strings-match
241 on-evaluation-failure: run
242 condition-string1: '${{arch}}'
243 condition-string2: 'cygwin64'
247 - scripts/common/cygwin64-shebang
248 - scripts/common/cygwin-prefix
249 - scripts/lttng-tools/build.sh
251 condition-kind: strings-match
252 on-evaluation-failure: run
253 condition-string1: '${{arch}}'
254 condition-string2: 'msys32'
257 properties-content: 'MSYSTEM=MINGW32'
260 - scripts/common/msys32-shebang
261 - scripts/common/cygwin-prefix
262 - scripts/lttng-tools/build.sh
264 condition-kind: strings-match
265 on-evaluation-failure: run
266 condition-string1: '${{arch}}'
267 condition-string2: 'msys64'
270 properties-content: 'MSYSTEM=MINGW64'
273 - scripts/common/msys64-shebang
274 - scripts/common/cygwin-prefix
275 - scripts/lttng-tools/build.sh
277 - lttng-tools_build_publishers_defaults: <tng-tools_build_publishers_defaults
278 name: 'lttng-tools_build_publishers_defaults'
281 results: 'tap/**/*.tap'
282 failed-tests-mark-build-as-failure: true
283 todo-is-failure: false
286 - 'GNU Make + GNU C Compiler (gcc)'
297 - lttng-tools_build_publishers_prod: <tng-tools_build_publishers_prod
298 name: 'lttng-tools_build_publishers_prod'
301 artifacts: 'build/**'
304 strategy: new-failure-and-fixed
305 matrix-notifier: only-parent
312 name: lttng-tools_{version}_{buildtype}
313 defaults: lttng-tools
315 <<: *lttng-tools_build_axes_defaults
316 <<: *lttng-tools_build_builders_defaults
317 <<: *lttng-tools_build_publishers_defaults
318 <<: *lttng-tools_build_publishers_prod
324 jobs: 'lttng-ust_{version}_{buildtype}'
328 name: lttng-tools_{version}_winbuild
329 defaults: lttng-tools
331 <<: *lttng-tools_build_axes_defaults
332 <<: *lttng-tools_build_builders_win
333 <<: *lttng-tools_build_publishers_defaults
334 <<: *lttng-tools_build_publishers_prod
337 name: dev_{user}_lttng-tools_{version}_{buildtype}
338 defaults: lttng-tools
340 <<: *lttng-tools_build_axes_defaults
341 <<: *lttng-tools_build_builders_defaults
342 <<: *lttng-tools_build_publishers_defaults
345 name: lttng-tools_{version}_cppcheck
346 defaults: lttng-tools
354 rm -f lttng-tools-cppcheck.xml
355 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-tools-cppcheck.xml
359 artifacts: 'lttng-tools-cppcheck.xml'
362 pattern: 'lttng-tools-cppcheck.xml'
364 recipients: 'ci-notification@lists.lttng.org'
365 notify-every-unstable-build: true
366 send-to-individuals: false
369 name: lttng-tools_{version}_scan-build
370 defaults: lttng-tools
379 project: liburcu_{urcuversion}_build/arch=x86-64,conf=std,build=std
380 which-build: last-successful
383 target: 'deps/liburcu'
384 do-not-fingerprint: true
386 project: lttng-ust_{ustversion}_build/liburcu_version={urcuversion},arch=x86-64,conf=std,build=std
387 which-build: last-successful
390 target: 'deps/lttng-ust'
391 do-not-fingerprint: true
393 !include-raw-escape: scripts/common/scan-build.sh
398 dir: 'scan-build-archive/'
402 name: lttng-tools_{version}_coverity
403 defaults: lttng-tools
415 - credentials-binding:
416 - username-password-separated:
417 credential-id: lttng-tools_coverity_token
418 username: COVERITY_SCAN_PROJECT_NAME
419 password: COVERITY_SCAN_TOKEN
423 project: liburcu_{urcuversion}_build/arch=x86-64,conf=std,build=std
424 which-build: last-successful
427 target: 'deps/liburcu'
428 do-not-fingerprint: true
430 project: lttng-ust_{ustversion}_build/liburcu_version={urcuversion},arch=x86-64,conf=std,build=std
431 which-build: last-successful
434 target: 'deps/lttng-ust'
435 do-not-fingerprint: true
437 !include-raw-escape: scripts/common/coverity.sh
444 name: lttng-tools_{version}_pylint
445 defaults: lttng-tools
456 project: lttng-tools-{version}/arch=x86-64,build=std,conf=agents
457 which-build: last-successful
460 target: 'deps/lttng-tools'
461 do-not-fingerprint: true
463 !include-raw-escape: scripts/lttng-tools/pylint.sh
467 artifacts: 'pep8.out,pylint.out'
480 recipients: 'ci-notification@lists.lttng.org'
481 notify-every-unstable-build: true
482 send-to-individuals: false
489 github_name: lttng-tools
496 - 'lttng-tools_{version}_{buildtype}':
500 arch: !!python/tuple [x86-32, x86-64]
501 build: !!python/tuple [std, oot, dist]
502 conf: !!python/tuple [std, no-ust, agents, debug-rcu]
503 urcuversion: !!python/tuple [master]
504 babelversion: !!python/tuple [stable-1.5]
505 - 'lttng-tools_{version}_{buildtype}':
509 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
510 build: !!python/tuple [std]
511 conf: !!python/tuple [std, no-ust, agents]
512 urcuversion: !!python/tuple [master]
513 babelversion: !!python/tuple [stable-1.5]
514 - 'lttng-tools_{version}_{buildtype}':
515 buildtype: macosxbuild
518 arch: !!python/tuple [macosx]
519 build: !!python/tuple [std]
520 conf: !!python/tuple [relayd-only]
521 urcuversion: !!python/tuple [master]
522 babelversion: !!python/tuple [stable-1.5]
523 - 'lttng-tools_{version}_{buildtype}':
524 buildtype: macosxbuild
526 ustversion: stable-2.9
527 arch: !!python/tuple [macosx]
528 build: !!python/tuple [std]
529 conf: !!python/tuple [relayd-only]
530 urcuversion: !!python/tuple [stable-0.9]
531 babelversion: !!python/tuple [stable-1.5]
532 - 'lttng-tools_{version}_{buildtype}':
533 buildtype: solarisbuild
536 arch: !!python/tuple [solaris10, solaris11]
537 build: !!python/tuple [std]
538 conf: !!python/tuple [relayd-only]
539 urcuversion: !!python/tuple [master]
540 babelversion: !!python/tuple [stable-1.5]
541 - 'lttng-tools_{version}_{buildtype}':
544 ustversion: stable-2.9
545 arch: !!python/tuple [x86-32, x86-64]
546 build: !!python/tuple [std, oot, dist]
547 conf: !!python/tuple [std, no-ust, agents, debug-rcu]
548 urcuversion: !!python/tuple [stable-0.9]
549 babelversion: !!python/tuple [stable-1.5]
550 - 'lttng-tools_{version}_{buildtype}':
553 ustversion: stable-2.9
554 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
555 build: !!python/tuple [std]
556 conf: !!python/tuple [std, no-ust, agents]
557 urcuversion: !!python/tuple [stable-0.9]
558 babelversion: !!python/tuple [stable-1.5]
559 - 'lttng-tools_{version}_{buildtype}':
560 buildtype: solarisbuild
562 ustversion: stable-2.9
563 arch: !!python/tuple [solaris10, solaris11]
564 build: !!python/tuple [std]
565 conf: !!python/tuple [relayd-only]
566 urcuversion: !!python/tuple [stable-0.9]
567 babelversion: !!python/tuple [stable-1.5]
568 - 'lttng-tools_{version}_{buildtype}':
571 ustversion: stable-2.8
572 arch: !!python/tuple [x86-32, x86-64]
573 build: !!python/tuple [std, oot, dist]
574 conf: !!python/tuple [std, no-ust, agents, debug-rcu]
575 urcuversion: !!python/tuple [stable-0.9]
576 babelversion: !!python/tuple [stable-1.4]
577 - 'lttng-tools_{version}_{buildtype}':
580 ustversion: stable-2.8
581 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
582 build: !!python/tuple [std]
583 conf: !!python/tuple [std, no-ust, agents]
584 urcuversion: !!python/tuple [stable-0.9]
585 babelversion: !!python/tuple [stable-1.4]
586 - 'lttng-tools_{version}_{buildtype}':
587 buildtype: solarisbuild
589 ustversion: stable-2.8
590 arch: !!python/tuple [solaris10, solaris11]
591 build: !!python/tuple [std]
592 conf: !!python/tuple [relayd-only]
593 urcuversion: !!python/tuple [stable-0.9]
594 babelversion: !!python/tuple [stable-1.4]
595 - 'lttng-tools_{version}_{buildtype}':
598 ustversion: stable-2.7
599 arch: !!python/tuple [x86-32, x86-64]
600 build: !!python/tuple [std, oot, dist]
601 conf: !!python/tuple [std, no-ust, agents, debug-rcu]
602 urcuversion: !!python/tuple [stable-0.9]
603 babelversion: !!python/tuple [stable-1.3]
604 - 'lttng-tools_{version}_{buildtype}':
607 ustversion: stable-2.7
608 arch: !!python/tuple [armhf, arm64, powerpc]
609 build: !!python/tuple [std]
610 conf: !!python/tuple [std, no-ust, agents]
611 urcuversion: !!python/tuple [stable-0.9]
612 babelversion: !!python/tuple [stable-1.3]
613 - 'lttng-tools_{version}_winbuild':
616 arch: !!python/tuple [cygwin, cygwin64]
617 build: !!python/tuple [std]
618 conf: !!python/tuple [relayd-only]
619 urcuversion: !!python/tuple [master]
620 babelversion: !!python/tuple [stable-1.5]
621 - 'lttng-tools_{version}_winbuild':
623 ustversion: stable-2.9
624 arch: !!python/tuple [cygwin, cygwin64]
625 build: !!python/tuple [std]
626 conf: !!python/tuple [relayd-only]
627 urcuversion: !!python/tuple [stable-0.9]
628 babelversion: !!python/tuple [stable-1.5]
629 - 'lttng-tools_{version}_cppcheck'
630 - 'lttng-tools_{version}_scan-build':
634 - 'lttng-tools_{version}_scan-build':
636 urcuversion: stable-0.9
637 ustversion: stable-2.9
638 - 'lttng-tools_{version}_scan-build':
640 urcuversion: stable-0.9
641 ustversion: stable-2.8
642 - 'lttng-tools_{version}_scan-build':
644 urcuversion: stable-0.9
645 ustversion: stable-2.7
646 #- 'lttng-tools_{version}_pylint'
647 - 'lttng-tools_{version}_coverity':
654 name: dev_jgalar_lttng-tools
657 github_name: lttng-tools
659 - 'dev_{user}_lttng-tools_{version}_{buildtype}':
661 version: master-staging
663 arch: !!python/tuple [x86-32, x86-64]
664 build: !!python/tuple [std, oot, dist]
665 conf: !!python/tuple [std, no-ust, agents]
666 urcuversion: !!python/tuple [master]
667 babelversion: !!python/tuple [stable-1.5]
668 - 'dev_{user}_lttng-tools_{version}_{buildtype}':
670 version: stable-2.9-staging
671 ustversion: stable-2.9
672 arch: !!python/tuple [x86-32, x86-64]
673 build: !!python/tuple [std, oot, dist]
674 conf: !!python/tuple [std, no-ust, agents]
675 urcuversion: !!python/tuple [stable-0.9]
676 babelversion: !!python/tuple [stable-1.5]
677 - 'dev_{user}_lttng-tools_{version}_{buildtype}':
679 version: stable-2.8-staging
680 ustversion: stable-2.8
681 arch: !!python/tuple [x86-32, x86-64]
682 build: !!python/tuple [std, oot, dist]
683 conf: !!python/tuple [std, no-ust, agents]
684 urcuversion: !!python/tuple [stable-0.9]
685 babelversion: !!python/tuple [stable-1.4]
686 - 'dev_{user}_lttng-tools_{version}_{buildtype}':
688 version: stable-2.7-staging
689 ustversion: stable-2.7
690 arch: !!python/tuple [x86-32, x86-64]
691 build: !!python/tuple [std, oot, dist]
692 conf: !!python/tuple [std, no-ust, agents]
693 urcuversion: !!python/tuple [stable-0.9]
694 babelversion: !!python/tuple [stable-1.3]
695 - 'dev_{user}_lttng-tools_{version}_{buildtype}':
697 version: master-staging
699 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
700 build: !!python/tuple [std]
701 conf: !!python/tuple [std, no-ust, agents]
702 urcuversion: !!python/tuple [master]
703 babelversion: !!python/tuple [stable-1.5]
704 - 'dev_{user}_lttng-tools_{version}_{buildtype}':
706 version: stable-2.9-staging
707 ustversion: stable-2.9
708 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
709 build: !!python/tuple [std]
710 conf: !!python/tuple [std, no-ust, agents]
711 urcuversion: !!python/tuple [stable-0.9]
712 babelversion: !!python/tuple [stable-1.5]
713 - 'dev_{user}_lttng-tools_{version}_{buildtype}':
715 version: stable-2.8-staging
716 ustversion: stable-2.8
717 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
718 build: !!python/tuple [std]
719 conf: !!python/tuple [std, no-ust, agents]
720 urcuversion: !!python/tuple [stable-0.9]
721 babelversion: !!python/tuple [stable-1.4]
722 - 'dev_{user}_lttng-tools_{version}_{buildtype}':
724 version: stable-2.7-staging
725 ustversion: stable-2.7
726 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
727 build: !!python/tuple [std]
728 conf: !!python/tuple [std, no-ust, agents]
729 urcuversion: !!python/tuple [stable-0.9]
730 babelversion: !!python/tuple [stable-1.3]
731 - 'dev_{user}_lttng-tools_{version}_{buildtype}':
732 buildtype: macosxbuild
733 version: master-staging
735 arch: !!python/tuple [macosx]
736 build: !!python/tuple [std]
737 conf: !!python/tuple [relayd-only]
738 urcuversion: !!python/tuple [master]
739 babelversion: !!python/tuple [stable-1.5]
740 - 'dev_{user}_lttng-tools_{version}_{buildtype}':
741 buildtype: solarisbuild
742 version: master-staging
744 arch: !!python/tuple [solaris10, solaris11]
745 build: !!python/tuple [std]
746 conf: !!python/tuple [relayd-only]
747 urcuversion: !!python/tuple [master]
748 babelversion: !!python/tuple [stable-1.5]