4 LTTng-UST, the Linux Trace Toolkit Next Generation Userspace Tracer, is a
5 port of the low-overhead tracing capabilities of the LTTng kernel tracer
6 to user-space. The library "liblttng-ust" enables tracing of
7 applications and libraries.
9 <p>Job is managed by Jenkins Job Builder.</p>
11 project-type: freestyle
20 url: https://github.com/{github_user}/{github_name}.git
22 browser-url: https://github.com/{github_user}/{github_name}
25 basedir: src/lttng-ust
35 PROJECT_NAME=lttng-ust
39 url: https://github.com/{github_user}/{github_name}
43 - lttng-ust_build_axes_defaults: <tng-ust_build_axes_defaults
44 name: 'lttng-ust_build_axes_defaults'
46 node: 'master' # Applies only to matrix flyweight task
48 combination-filter: '{filter}'
61 values: '{obj:liburcu_version}'
67 - lttng-ust_build_axes_gerrit_lttng-tools: <tng-ust_build_axes_gerrit_lttng-tools
68 name: 'lttng-ust_build_axes_gerrit_lttng-tools'
70 node: 'master' # Applies only to matrix flyweight task
72 combination-filter: '{filter}'
87 - lttng-ust_build_builders_defaults: <tng-ust_build_builders_defaults
88 name: 'lttng-ust_build_builders_defaults'
91 condition-kind: regex-match
94 on-evaluation-failure: run
97 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
98 which-build: last-successful
102 do-not-fingerprint: true
105 condition-kind: regex-match
108 on-evaluation-failure: run
111 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=debug-rcu,build=std
112 which-build: last-successful
116 do-not-fingerprint: true
118 condition-kind: regex-match
120 regex: (tls_fallback)
121 on-evaluation-failure: run
124 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=tls_fallback,build=std
125 which-build: last-successful
129 do-not-fingerprint: true
132 - scripts/common/print.sh
133 - scripts/lttng-ust/build.sh
135 - lttng-ust_build_builders_gerrit_lttng-tools: <tng-ust_build_builders_gerrit_lttng-tools
136 name: 'lttng-ust_build_builders_gerrit_lttng-tools'
139 condition-kind: strings-match
140 condition-string1: '$GERRIT_BRANCH'
141 condition-string2: master
142 on-evaluation-failure: run
145 properties-content: liburcu_version=master
148 on-evaluation-failure: run
150 condition-kind: strings-match
151 condition-string1: '$GERRIT_BRANCH'
152 condition-string2: master
155 properties-content: 'liburcu_version={liburcu_version}'
158 condition-kind: regex-match
161 on-evaluation-failure: run
164 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
165 which-build: last-successful
169 do-not-fingerprint: true
172 condition-kind: regex-match
175 on-evaluation-failure: run
178 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=debug-rcu,build=std
179 which-build: last-successful
183 do-not-fingerprint: true
185 condition-kind: regex-match
187 regex: (tls_fallback)
188 on-evaluation-failure: run
191 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=tls_fallback,build=std
192 which-build: last-successful
196 do-not-fingerprint: true
198 project: babeltrace_{babeltrace_version}_{buildtype}/arch=${{arch}},conf=std,build=std
199 which-build: last-successful
203 do-not-fingerprint: true
207 - scripts/common/print.sh
208 - scripts/lttng-ust/build.sh
211 - scripts/lttng-tools/gerrit-install-deps.sh
214 - scripts/common/print.sh
215 - scripts/lttng-tools/build.sh
219 name: lttng-ust_{version}_{buildtype}
222 <<: *lttng-ust_build_axes_defaults
223 <<: *lttng-ust_build_builders_defaults
225 # TODO: Scan for open tasks
228 results: 'tap/**/*.log'
229 fail-if-no-results: true
230 failed-tests-mark-build-as-failure: true
231 todo-is-failure: false
234 - 'GNU Make + GNU C Compiler (gcc)'
242 artifacts: 'build/**,tap/**'
246 recipients: '{obj:email_to}'
247 reply-to: ci-notification@lists.lttng.org
256 second-failure: false
261 fixed-unhealthy: true
262 still-unstable: false
264 matrix-trigger: only-parent
269 name: dev_gerrit_lttng-ust_{buildtype}
275 url: https://review.lttng.org/lttng-ust
276 refspec: 'refs/changes/*:refs/changes/*'
279 basedir: src/lttng-ust
285 - comment-added-event:
286 approval-category: 'CI-Build'
289 - project-compare-type: 'PLAIN'
290 project-pattern: 'lttng-ust'
292 - branch-compare-type: 'ANT'
295 <<: *lttng-ust_build_axes_defaults
296 <<: *lttng-ust_build_builders_defaults
300 properties-content: |
301 PROJECT_NAME=lttng-ust
307 - 'gerrit-{buildtype}'
311 results: 'tap/**/*.log'
312 fail-if-no-results: true
313 failed-tests-mark-build-as-failure: true
314 todo-is-failure: false
317 - 'GNU Make + GNU C Compiler (gcc)'
325 artifacts: 'build/**,tap/**'
330 name: dev_gerrit_lttng-ust_lttng-tools_{buildtype}
336 url: https://review.lttng.org/lttng-ust
337 refspec: 'refs/changes/*:refs/changes/*'
340 basedir: src/lttng-ust
343 url: https://review.lttng.org/lttng-tools
346 basedir: src/lttng-tools
352 - comment-added-event:
353 approval-category: 'CI-Build'
356 - project-compare-type: 'PLAIN'
357 project-pattern: 'lttng-ust'
359 - branch-compare-type: 'ANT'
362 <<: *lttng-ust_build_axes_gerrit_lttng-tools
363 <<: *lttng-ust_build_builders_gerrit_lttng-tools
367 properties-content: |
368 PROJECT_NAME=lttng-ust
374 - 'gerrit-{buildtype}'
378 results: 'tap/**/*.log'
379 fail-if-no-results: true
380 failed-tests-mark-build-as-failure: true
381 todo-is-failure: false
384 - 'GNU Make + GNU C Compiler (gcc)'
392 artifacts: 'build/**,tap/**'
397 name: lttng-ust_{version}_cppcheck
406 rm -f cppcheck-result.xml
407 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> cppcheck-result.xml
411 artifacts: 'cppcheck-result.xml'
414 pattern: 'cppcheck-result.xml'
416 recipients: 'ci-notification@lists.lttng.org'
417 notify-every-unstable-build: true
418 send-to-individuals: false
421 name: lttng-ust_{version}_scan-build
431 project: liburcu_master_build/arch=amd64,conf=std,build=std
432 which-build: last-successful
436 do-not-fingerprint: true
438 !include-raw-escape: scripts/common/scan-build.sh
443 dir: 'scan-build-archive/'
447 name: lttng-ust_{version}_coverity
460 - credentials-binding:
461 - username-password-separated:
462 credential-id: lttng-ust_coverity_token
463 username: COVERITY_SCAN_PROJECT_NAME
464 password: COVERITY_SCAN_TOKEN
468 project: liburcu_master_build/arch=amd64,conf=std,build=std
469 which-build: last-successful
473 do-not-fingerprint: true
475 !include-raw-escape: scripts/common/coverity.sh
480 artifacts: 'analysis-results.tgz,cov-int/**'
488 regex: 'lttng-ust[-_].*'
495 github_name: lttng-ust
496 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
499 - 'lttng-ust_{version}_{buildtype}':
502 arch: !!python/tuple [amd64]
503 build: !!python/tuple [std, dist, oot, oot-dist]
504 conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
505 liburcu_version: !!python/tuple [stable-0.13, master]
506 filter: '(build=="std") || ((liburcu_version=="master" && (conf=="std" || conf=="agents")))'
507 - 'lttng-ust_{version}_{buildtype}':
510 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
511 build: !!python/tuple [std]
512 conf: !!python/tuple [std, agents]
513 liburcu_version: !!python/tuple [stable-0.13, master]
515 - 'lttng-ust_{version}_{buildtype}':
518 arch: !!python/tuple [sles12sp5]
519 build: !!python/tuple [std]
520 conf: !!python/tuple [agents]
521 liburcu_version: !!python/tuple [stable-0.13, master]
523 - 'lttng-ust_{version}_{buildtype}':
526 arch: !!python/tuple [el8]
527 build: !!python/tuple [std]
528 conf: !!python/tuple [std]
529 liburcu_version: !!python/tuple [stable-0.13, master]
531 - 'lttng-ust_{version}_{buildtype}':
532 buildtype: freebsdbuild
534 arch: !!python/tuple [freebsd]
535 build: !!python/tuple [std]
536 conf: !!python/tuple [agents]
537 liburcu_version: !!python/tuple [stable-0.13, master]
539 - 'lttng-ust_{version}_cppcheck':
541 - 'lttng-ust_{version}_scan-build':
543 - 'lttng-ust_{version}_coverity':
547 - 'lttng-ust_{version}_{buildtype}':
550 arch: !!python/tuple [amd64]
551 build: !!python/tuple [std, dist, oot, oot-dist]
552 conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
553 liburcu_version: !!python/tuple [stable-0.13, master]
554 filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))'
555 - 'lttng-ust_{version}_{buildtype}':
558 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
559 build: !!python/tuple [std]
560 conf: !!python/tuple [std, agents]
561 liburcu_version: !!python/tuple [stable-0.13, master]
563 - 'lttng-ust_{version}_{buildtype}':
566 arch: !!python/tuple [sles12sp5]
567 build: !!python/tuple [std]
568 conf: !!python/tuple [agents]
569 liburcu_version: !!python/tuple [stable-0.13, master]
571 - 'lttng-ust_{version}_{buildtype}':
574 arch: !!python/tuple [el8]
575 build: !!python/tuple [std]
576 conf: !!python/tuple [std]
577 liburcu_version: !!python/tuple [stable-0.13, master]
579 - 'lttng-ust_{version}_cppcheck':
581 - 'lttng-ust_{version}_scan-build':
585 - 'lttng-ust_{version}_{buildtype}':
588 arch: !!python/tuple [amd64]
589 build: !!python/tuple [std, dist, oot, oot-dist]
590 conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
591 liburcu_version: !!python/tuple [stable-0.12, stable-0.13, master]
592 filter: '(build=="std") || ((liburcu_version=="stable-0.12" && (conf=="std" || conf=="agents")))'
593 - 'lttng-ust_{version}_{buildtype}':
596 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
597 build: !!python/tuple [std]
598 conf: !!python/tuple [std, agents]
599 liburcu_version: !!python/tuple [stable-0.12, stable-0.13, master]
601 - 'lttng-ust_{version}_{buildtype}':
604 arch: !!python/tuple [sles12sp5]
605 build: !!python/tuple [std]
606 conf: !!python/tuple [agents]
607 liburcu_version: !!python/tuple [stable-0.12, stable-0.13, master]
609 - 'lttng-ust_{version}_{buildtype}':
612 arch: !!python/tuple [el8]
613 build: !!python/tuple [std]
614 conf: !!python/tuple [std]
615 liburcu_version: !!python/tuple [stable-0.12, stable-0.13, master]
617 - 'lttng-ust_{version}_cppcheck':
619 - 'lttng-ust_{version}_scan-build':
623 - 'lttng-ust_{version}_{buildtype}':
626 arch: !!python/tuple [amd64]
627 build: !!python/tuple [std, dist, oot, oot-dist]
628 conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
629 liburcu_version: !!python/tuple [stable-0.9, stable-0.13, master]
630 filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))'
631 - 'lttng-ust_{version}_{buildtype}':
634 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
635 build: !!python/tuple [std]
636 conf: !!python/tuple [std, agents]
637 liburcu_version: !!python/tuple [stable-0.9, stable-0.13, master]
639 - 'lttng-ust_{version}_{buildtype}':
642 arch: !!python/tuple [sles12sp5]
643 build: !!python/tuple [std]
644 conf: !!python/tuple [agents]
645 liburcu_version: !!python/tuple [stable-0.9, stable-0.13, master]
647 - 'lttng-ust_{version}_{buildtype}':
650 arch: !!python/tuple [el8]
651 build: !!python/tuple [std]
652 conf: !!python/tuple [std]
653 liburcu_version: !!python/tuple [stable-0.9, stable-0.13, master]
655 - 'lttng-ust_{version}_cppcheck':
657 - 'lttng-ust_{version}_scan-build':
661 - 'lttng-ust_{version}_{buildtype}':
664 arch: !!python/tuple [amd64]
665 build: !!python/tuple [std, dist, oot, oot-dist]
666 conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
667 liburcu_version: !!python/tuple [stable-0.9, stable-0.12]
668 filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))'
669 - 'lttng-ust_{version}_{buildtype}':
672 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
673 build: !!python/tuple [std]
674 conf: !!python/tuple [std, agents]
675 liburcu_version: !!python/tuple [stable-0.9, stable-0.12]
677 - 'lttng-ust_{version}_{buildtype}':
680 arch: !!python/tuple [sles12sp5]
681 build: !!python/tuple [std]
682 conf: !!python/tuple [agents]
683 liburcu_version: !!python/tuple [stable-0.9, stable-0.12]
685 - 'lttng-ust_{version}_{buildtype}':
688 arch: !!python/tuple [el8]
689 build: !!python/tuple [std]
690 conf: !!python/tuple [std]
691 liburcu_version: !!python/tuple [stable-0.9, stable-0.12]
696 name: gerrit-lttng-ust
698 github_name: lttng-ust
700 - 'dev_gerrit_lttng-ust_{buildtype}':
702 arch: !!python/tuple [amd64]
703 build: !!python/tuple [std, oot, dist, oot-dist]
704 conf: !!python/tuple [std, agents]
705 liburcu_version: !!python/tuple [stable-0.13]
707 - 'dev_gerrit_lttng-ust_lttng-tools_{buildtype}':
709 arch: !!python/tuple [amd64]
710 build: !!python/tuple [std, oot, dist, oot-dist]
711 conf: !!python/tuple [std, agents]
712 liburcu_version: 'stable-0.13'
714 babeltrace_version: stable-2.0
716 - 'dev_gerrit_lttng-ust_{buildtype}':
718 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
719 build: !!python/tuple [std]
720 conf: !!python/tuple [agents]
721 liburcu_version: !!python/tuple [stable-0.13]
725 name: lttng-ust-views