jjb: Adjust dep versions of ust and tools for urcu 0.13
[lttng-ci.git] / jobs / lttng-ust.yaml
1 - defaults:
2 name: lttng-ust
3 description: |
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.
8
9 <p>Job is managed by Jenkins Job Builder.</p>
10
11 project-type: freestyle
12
13 wrappers:
14 - workspace-cleanup
15 - timestamps
16 - ansicolor
17
18 scm:
19 - git:
20 url: https://github.com/{github_user}/{github_name}.git
21 browser: githubweb
22 browser-url: https://github.com/{github_user}/{github_name}
23 branches:
24 - origin/{version}
25 basedir: src/lttng-ust
26 skip-tag: true
27
28 triggers:
29 - pollscm:
30 cron: "@hourly"
31
32 properties:
33 - inject:
34 properties-content: |
35 PROJECT_NAME=lttng-ust
36 - build-discarder:
37 num-to-keep: 2
38 - github:
39 url: https://github.com/{github_user}/{github_name}
40
41
42 ## Anchors
43 - lttng-ust_build_axes_defaults: &lttng-ust_build_axes_defaults
44 name: 'lttng-ust_build_axes_defaults'
45 project-type: matrix
46 node: 'master' # Applies only to matrix flyweight task
47 execution-strategy:
48 combination-filter: '{filter}'
49 axes:
50 - axis:
51 type: slave
52 name: arch
53 values: '{obj:arch}'
54 - axis:
55 type: user-defined
56 name: conf
57 values: '{obj:conf}'
58 - axis:
59 type: user-defined
60 name: liburcu_version
61 values: '{obj:liburcu_version}'
62 - axis:
63 type: user-defined
64 name: build
65 values: '{obj:build}'
66
67 - lttng-ust_build_builders_defaults: &lttng-ust_build_builders_defaults
68 name: 'lttng-ust_build_builders_defaults'
69 builders:
70 - conditional-step:
71 condition-kind: regex-match
72 label: '$conf'
73 regex: (std|agents)
74 on-evaluation-failure: run
75 steps:
76 - copyartifact:
77 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
78 which-build: last-successful
79 stable: false
80 filter: 'build/**'
81 target: 'deps'
82 do-not-fingerprint: true
83
84 - conditional-step:
85 condition-kind: regex-match
86 label: '$conf'
87 regex: (debug-rcu)
88 on-evaluation-failure: run
89 steps:
90 - copyartifact:
91 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=debug-rcu,build=std
92 which-build: last-successful
93 stable: false
94 filter: 'build/**'
95 target: 'deps'
96 do-not-fingerprint: true
97 - conditional-step:
98 condition-kind: regex-match
99 label: '$conf'
100 regex: (tls_fallback)
101 on-evaluation-failure: run
102 steps:
103 - copyartifact:
104 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=tls_fallback,build=std
105 which-build: last-successful
106 stable: false
107 filter: 'build/**'
108 target: 'deps'
109 do-not-fingerprint: true
110 - shell:
111 !include-raw-escape:
112 - scripts/common/print.sh
113 - scripts/lttng-ust/build.sh
114
115 - lttng-ust_build_builders_gerrit_lttng-tools: &lttng-ust_build_builders_gerrit_lttng-tools
116 name: 'lttng-ust_build_builders_gerrit_lttng-tools'
117 builders:
118 - conditional-step:
119 condition-kind: regex-match
120 label: '$conf'
121 regex: (std|agents)
122 on-evaluation-failure: run
123 steps:
124 - copyartifact:
125 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
126 which-build: last-successful
127 stable: false
128 filter: 'build/**'
129 target: 'deps'
130 do-not-fingerprint: true
131
132 - conditional-step:
133 condition-kind: regex-match
134 label: '$conf'
135 regex: (debug-rcu)
136 on-evaluation-failure: run
137 steps:
138 - copyartifact:
139 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=debug-rcu,build=std
140 which-build: last-successful
141 stable: false
142 filter: 'build/**'
143 target: 'deps'
144 do-not-fingerprint: true
145 - conditional-step:
146 condition-kind: regex-match
147 label: '$conf'
148 regex: (tls_fallback)
149 on-evaluation-failure: run
150 steps:
151 - copyartifact:
152 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=tls_fallback,build=std
153 which-build: last-successful
154 stable: false
155 filter: 'build/**'
156 target: 'deps'
157 do-not-fingerprint: true
158 - copyartifact:
159 project: babeltrace_{babeltrace_version}_{buildtype}/arch=${{arch}},conf=std,build=std
160 which-build: last-successful
161 stable: false
162 filter: 'build/**'
163 target: 'deps'
164 do-not-fingerprint: true
165
166 - shell:
167 !include-raw-escape:
168 - scripts/common/print.sh
169 - scripts/lttng-ust/build.sh
170 - shell:
171 !include-raw-escape:
172 - scripts/lttng-tools/gerrit-install-deps.sh
173 - shell:
174 !include-raw-escape:
175 - scripts/common/print.sh
176 - scripts/lttng-tools/build.sh
177
178 ## Templates
179 - job-template:
180 name: lttng-ust_{version}_{buildtype}
181 defaults: lttng-ust
182
183 <<: *lttng-ust_build_axes_defaults
184 <<: *lttng-ust_build_builders_defaults
185
186 # TODO: Scan for open tasks
187 publishers:
188 - tap:
189 results: 'tap/**/*.log'
190 fail-if-no-results: true
191 failed-tests-mark-build-as-failure: true
192 todo-is-failure: false
193 - warnings:
194 console-log-parsers:
195 - 'GNU Make + GNU C Compiler (gcc)'
196 total-thresholds:
197 unstable:
198 total-all: 0
199 total-high: 0
200 total-normal: 0
201 total-low: 0
202 - archive:
203 artifacts: 'build/**,tap/**'
204 allow-empty: false
205 - workspace-cleanup
206 - email-ext:
207 recipients: '{obj:email_to}'
208 reply-to: ci-notification@lists.lttng.org
209 always: false
210 unstable: false
211 first-failure: true
212 first-unstable: true
213 not-built: false
214 aborted: false
215 regression: false
216 failure: false
217 second-failure: false
218 improvement: false
219 still-failing: false
220 success: false
221 fixed: false
222 fixed-unhealthy: true
223 still-unstable: false
224 pre-build: false
225 matrix-trigger: only-parent
226 send-to:
227 - recipients
228
229 - job-template:
230 name: dev_gerrit_lttng-ust_{buildtype}
231 defaults: lttng-ust
232 concurrent: true
233
234 scm:
235 - git:
236 url: https://review.lttng.org/lttng-ust
237 refspec: 'refs/changes/*:refs/changes/*'
238 branches:
239 - '$GERRIT_REFSPEC'
240 basedir: src/lttng-ust
241 skip-tag: true
242
243 triggers:
244 - gerrit:
245 trigger-on:
246 - comment-added-event:
247 approval-category: 'CI-Build'
248 approval-value: 1
249 projects:
250 - project-compare-type: 'PLAIN'
251 project-pattern: 'lttng-ust'
252 branches:
253 - branch-compare-type: 'ANT'
254 branch-pattern: '**'
255
256 <<: *lttng-ust_build_axes_defaults
257 <<: *lttng-ust_build_builders_defaults
258
259 properties:
260 - inject:
261 properties-content: |
262 PROJECT_NAME=lttng-ust
263 - build-discarder:
264 days-to-keep: 1
265 - throttle:
266 option: 'category'
267 categories:
268 - 'gerrit-{buildtype}'
269
270 publishers:
271 - tap:
272 results: 'tap/**/*.log'
273 fail-if-no-results: true
274 failed-tests-mark-build-as-failure: true
275 todo-is-failure: false
276 - warnings:
277 console-log-parsers:
278 - 'GNU Make + GNU C Compiler (gcc)'
279 total-thresholds:
280 failed:
281 total-all: 0
282 total-high: 0
283 total-normal: 0
284 total-low: 0
285 - archive:
286 artifacts: 'build/**,tap/**'
287 allow-empty: false
288 - workspace-cleanup
289
290 - job-template:
291 name: dev_gerrit_lttng-ust_lttng-tools_{buildtype}
292 defaults: lttng-ust
293 concurrent: true
294
295 scm:
296 - git:
297 url: https://review.lttng.org/lttng-ust
298 refspec: 'refs/changes/*:refs/changes/*'
299 branches:
300 - '$GERRIT_REFSPEC'
301 basedir: src/lttng-ust
302 skip-tag: true
303 - git:
304 url: https://review.lttng.org/lttng-tools
305 branches:
306 - '$GERRIT_BRANCH'
307 basedir: src/lttng-tools
308 skip-tag: true
309
310 triggers:
311 - gerrit:
312 trigger-on:
313 - comment-added-event:
314 approval-category: 'CI-Build'
315 approval-value: 1
316 projects:
317 - project-compare-type: 'PLAIN'
318 project-pattern: 'lttng-ust'
319 branches:
320 - branch-compare-type: 'ANT'
321 branch-pattern: '**'
322
323 <<: *lttng-ust_build_axes_defaults
324 <<: *lttng-ust_build_builders_gerrit_lttng-tools
325
326 properties:
327 - inject:
328 properties-content: |
329 PROJECT_NAME=lttng-ust
330 - build-discarder:
331 days-to-keep: 1
332 - throttle:
333 option: 'category'
334 categories:
335 - 'gerrit-{buildtype}'
336
337 publishers:
338 - tap:
339 results: 'tap/**/*.log'
340 fail-if-no-results: true
341 failed-tests-mark-build-as-failure: true
342 todo-is-failure: false
343 - warnings:
344 console-log-parsers:
345 - 'GNU Make + GNU C Compiler (gcc)'
346 total-thresholds:
347 failed:
348 total-all: 0
349 total-high: 0
350 total-normal: 0
351 total-low: 0
352 - archive:
353 artifacts: 'build/**,tap/**'
354 allow-empty: false
355 - workspace-cleanup
356
357 - job-template:
358 name: lttng-ust_{version}_cppcheck
359 defaults: lttng-ust
360
361 triggers:
362 - pollscm:
363 cron: "@daily"
364
365 builders:
366 - shell: |
367 rm -f cppcheck-result.xml
368 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> cppcheck-result.xml
369
370 publishers:
371 - archive:
372 artifacts: 'cppcheck-result.xml'
373 allow-empty: false
374 - cppcheck:
375 pattern: 'cppcheck-result.xml'
376 - email:
377 recipients: 'ci-notification@lists.lttng.org'
378 notify-every-unstable-build: true
379 send-to-individuals: false
380
381 - job-template:
382 name: lttng-ust_{version}_scan-build
383 defaults: lttng-ust
384 node: 'amd64'
385
386 triggers:
387 - pollscm:
388 cron: "@daily"
389
390 builders:
391 - copyartifact:
392 project: liburcu_master_build/arch=amd64,conf=std,build=std
393 which-build: last-successful
394 stable: false
395 filter: 'build/**'
396 target: 'deps'
397 do-not-fingerprint: true
398 - shell:
399 !include-raw-escape: scripts/common/scan-build.sh
400
401 publishers:
402 - html-publisher:
403 name: 'HTML Report'
404 dir: 'scan-build-archive/'
405 files: 'index.html'
406
407 - job-template:
408 name: lttng-ust_{version}_coverity
409 defaults: lttng-ust
410 node: 'amd64'
411
412 triggers:
413 - pollscm:
414 cron: "@daily"
415
416 wrappers:
417 - workspace-cleanup
418 - timestamps
419 - ansicolor:
420 colormap: xterm
421 - credentials-binding:
422 - username-password-separated:
423 credential-id: lttng-ust_coverity_token
424 username: COVERITY_SCAN_PROJECT_NAME
425 password: COVERITY_SCAN_TOKEN
426
427 builders:
428 - copyartifact:
429 project: liburcu_master_build/arch=amd64,conf=std,build=std
430 which-build: last-successful
431 stable: false
432 filter: 'build/**'
433 target: 'deps'
434 do-not-fingerprint: true
435 - shell:
436 !include-raw-escape: scripts/common/coverity.sh
437
438 publishers:
439 - workspace-cleanup
440 - archive:
441 artifacts: 'analysis-results.tgz,cov-int/**'
442 allow-empty: false
443
444
445 ## Views
446 - view-template:
447 name: 'LTTng-ust'
448 view-type: list
449 regex: 'lttng-ust[-_].*'
450
451
452 ## Projects
453 - project:
454 name: lttng-ust
455 github_user: lttng
456 github_name: lttng-ust
457 email_to: 'ci-notification@lists.lttng.org, cc:mathieu.desnoyers@efficios.com'
458 jobs:
459 ## Master ##
460 - 'lttng-ust_{version}_{buildtype}':
461 buildtype: build
462 version: master
463 arch: !!python/tuple [amd64]
464 build: !!python/tuple [std, dist, oot, oot-dist]
465 conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
466 liburcu_version: !!python/tuple [stable-0.13, master]
467 filter: '(build=="std") || ((liburcu_version=="master" && (conf=="std" || conf=="agents")))'
468 - 'lttng-ust_{version}_{buildtype}':
469 buildtype: portbuild
470 version: master
471 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
472 build: !!python/tuple [std]
473 conf: !!python/tuple [std, agents]
474 liburcu_version: !!python/tuple [stable-0.13, master]
475 filter: ''
476 - 'lttng-ust_{version}_{buildtype}':
477 buildtype: slesbuild
478 version: master
479 arch: !!python/tuple [sles12sp5]
480 build: !!python/tuple [std]
481 conf: !!python/tuple [agents]
482 liburcu_version: !!python/tuple [stable-0.13, master]
483 filter: ''
484 - 'lttng-ust_{version}_{buildtype}':
485 buildtype: elbuild
486 version: master
487 arch: !!python/tuple [el8]
488 build: !!python/tuple [std]
489 conf: !!python/tuple [std]
490 liburcu_version: !!python/tuple [stable-0.13, master]
491 filter: ''
492 - 'lttng-ust_{version}_{buildtype}':
493 buildtype: freebsdbuild
494 version: master
495 arch: !!python/tuple [freebsd]
496 build: !!python/tuple [std]
497 conf: !!python/tuple [agents]
498 liburcu_version: !!python/tuple [stable-0.13, master]
499 filter: ''
500 - 'lttng-ust_{version}_cppcheck':
501 version: master
502 - 'lttng-ust_{version}_scan-build':
503 version: master
504 - 'lttng-ust_{version}_coverity':
505 version: master
506
507 ## Stable 2.13 ##
508 - 'lttng-ust_{version}_{buildtype}':
509 buildtype: build
510 version: stable-2.13
511 arch: !!python/tuple [amd64]
512 build: !!python/tuple [std, dist, oot, oot-dist]
513 conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
514 liburcu_version: !!python/tuple [stable-0.13, master]
515 filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))'
516 - 'lttng-ust_{version}_{buildtype}':
517 buildtype: portbuild
518 version: stable-2.13
519 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
520 build: !!python/tuple [std]
521 conf: !!python/tuple [std, agents]
522 liburcu_version: !!python/tuple [stable-0.13, master]
523 filter: ''
524 - 'lttng-ust_{version}_{buildtype}':
525 buildtype: slesbuild
526 version: stable-2.13
527 arch: !!python/tuple [sles12sp5]
528 build: !!python/tuple [std]
529 conf: !!python/tuple [agents]
530 liburcu_version: !!python/tuple [stable-0.13, master]
531 filter: ''
532 - 'lttng-ust_{version}_{buildtype}':
533 buildtype: elbuild
534 version: stable-2.13
535 arch: !!python/tuple [el8]
536 build: !!python/tuple [std]
537 conf: !!python/tuple [std]
538 liburcu_version: !!python/tuple [stable-0.13, master]
539 filter: ''
540 - 'lttng-ust_{version}_cppcheck':
541 version: stable-2.13
542 - 'lttng-ust_{version}_scan-build':
543 version: stable-2.13
544
545 ## Stable 2.12 ##
546 - 'lttng-ust_{version}_{buildtype}':
547 buildtype: build
548 version: stable-2.12
549 arch: !!python/tuple [amd64]
550 build: !!python/tuple [std, dist, oot, oot-dist]
551 conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
552 liburcu_version: !!python/tuple [stable-0.12, stable-0.13, master]
553 filter: '(build=="std") || ((liburcu_version=="stable-0.12" && (conf=="std" || conf=="agents")))'
554 - 'lttng-ust_{version}_{buildtype}':
555 buildtype: portbuild
556 version: stable-2.12
557 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
558 build: !!python/tuple [std]
559 conf: !!python/tuple [std, agents]
560 liburcu_version: !!python/tuple [stable-0.12, stable-0.13, master]
561 filter: ''
562 - 'lttng-ust_{version}_{buildtype}':
563 buildtype: slesbuild
564 version: stable-2.12
565 arch: !!python/tuple [sles12sp5]
566 build: !!python/tuple [std]
567 conf: !!python/tuple [agents]
568 liburcu_version: !!python/tuple [stable-0.12, stable-0.13, master]
569 filter: ''
570 - 'lttng-ust_{version}_{buildtype}':
571 buildtype: elbuild
572 version: stable-2.12
573 arch: !!python/tuple [el8]
574 build: !!python/tuple [std]
575 conf: !!python/tuple [std]
576 liburcu_version: !!python/tuple [stable-0.12, stable-0.13, master]
577 filter: ''
578 - 'lttng-ust_{version}_cppcheck':
579 version: stable-2.12
580 - 'lttng-ust_{version}_scan-build':
581 version: stable-2.12
582
583 ## Stable 2.11 ##
584 - 'lttng-ust_{version}_{buildtype}':
585 buildtype: build
586 version: stable-2.11
587 arch: !!python/tuple [amd64]
588 build: !!python/tuple [std, dist, oot, oot-dist]
589 conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
590 liburcu_version: !!python/tuple [stable-0.9, stable-0.13, master]
591 filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))'
592 - 'lttng-ust_{version}_{buildtype}':
593 buildtype: portbuild
594 version: stable-2.11
595 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
596 build: !!python/tuple [std]
597 conf: !!python/tuple [std, agents]
598 liburcu_version: !!python/tuple [stable-0.9, stable-0.13, master]
599 filter: ''
600 - 'lttng-ust_{version}_{buildtype}':
601 buildtype: slesbuild
602 version: stable-2.11
603 arch: !!python/tuple [sles12sp5]
604 build: !!python/tuple [std]
605 conf: !!python/tuple [agents]
606 liburcu_version: !!python/tuple [stable-0.9, stable-0.13, master]
607 filter: ''
608 - 'lttng-ust_{version}_{buildtype}':
609 buildtype: elbuild
610 version: stable-2.11
611 arch: !!python/tuple [el8]
612 build: !!python/tuple [std]
613 conf: !!python/tuple [std]
614 liburcu_version: !!python/tuple [stable-0.9, stable-0.13, master]
615 filter: ''
616 - 'lttng-ust_{version}_cppcheck':
617 version: stable-2.11
618 - 'lttng-ust_{version}_scan-build':
619 version: stable-2.11
620
621 ## Stable 2.10 ##
622 - 'lttng-ust_{version}_{buildtype}':
623 buildtype: build
624 version: stable-2.10
625 arch: !!python/tuple [amd64]
626 build: !!python/tuple [std, dist, oot, oot-dist]
627 conf: !!python/tuple [std, agents, debug-rcu, tls_fallback]
628 liburcu_version: !!python/tuple [stable-0.9, stable-0.12]
629 filter: '(build=="std") || ((liburcu_version=="stable-0.13" && (conf=="std" || conf=="agents")))'
630 - 'lttng-ust_{version}_{buildtype}':
631 buildtype: portbuild
632 version: stable-2.10
633 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
634 build: !!python/tuple [std]
635 conf: !!python/tuple [std, agents]
636 liburcu_version: !!python/tuple [stable-0.9, stable-0.12]
637 filter: ''
638 - 'lttng-ust_{version}_{buildtype}':
639 buildtype: slesbuild
640 version: stable-2.10
641 arch: !!python/tuple [sles12sp5]
642 build: !!python/tuple [std]
643 conf: !!python/tuple [agents]
644 liburcu_version: !!python/tuple [stable-0.9, stable-0.12]
645 filter: ''
646 - 'lttng-ust_{version}_{buildtype}':
647 buildtype: elbuild
648 version: stable-2.10
649 arch: !!python/tuple [el8]
650 build: !!python/tuple [std]
651 conf: !!python/tuple [std]
652 liburcu_version: !!python/tuple [stable-0.9, stable-0.12]
653 filter: ''
654
655
656 - project:
657 name: gerrit-lttng-ust
658 github_user: lttng
659 github_name: lttng-ust
660 jobs:
661 - 'dev_gerrit_lttng-ust_{buildtype}':
662 buildtype: build
663 arch: !!python/tuple [amd64]
664 build: !!python/tuple [std, oot, dist, oot-dist]
665 conf: !!python/tuple [std, agents]
666 liburcu_version: !!python/tuple [stable-0.13]
667 filter: ''
668 - 'dev_gerrit_lttng-ust_lttng-tools_{buildtype}':
669 buildtype: build
670 arch: !!python/tuple [amd64]
671 build: !!python/tuple [std, oot, dist, oot-dist]
672 conf: !!python/tuple [std, agents]
673 liburcu_version: !!python/tuple [stable-0.13]
674 filter: ''
675 babeltrace_version: stable-2.0
676
677 - 'dev_gerrit_lttng-ust_{buildtype}':
678 buildtype: portbuild
679 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el, i386]
680 build: !!python/tuple [std]
681 conf: !!python/tuple [agents]
682 liburcu_version: !!python/tuple [stable-0.13]
683 filter: ''
684
685 - project:
686 name: lttng-ust-views
687 views:
688 - LTTng-ust
This page took 0.043717 seconds and 5 git commands to generate.