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
23 url: git://github.com/{github_user}/{github_name}.git
25 browser-url: https://github.com/{github_user}/{github_name}
28 basedir: src/lttng-ust
36 url: https://github.com/{github_user}/{github_name}
41 name: lttng-ust_{version}_{buildtype}
45 node: 'master' # Applies only to matrix flyweight task
48 (build=="std") || (liburcu_version=="master")
62 !include: jobs/inc/liburcu-versions.yaml.inc
70 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
71 which-build: last-successful
74 target: 'deps/liburcu'
75 do-not-fingerprint: true
77 !include-raw-escape: scripts/lttng-ust/build.sh
79 # TODO: Scan for open tasks
82 results: 'tap/**/*.log'
83 failed-tests-mark-build-as-failure: true
84 todo-is-failure: false
87 - 'GNU Make + GNU C Compiler (gcc)'
99 strategy: new-failure-and-fixed
100 matrix-notifier: only-parent
105 name: lttng-ust_{version}_java-tests
108 Tests for LTTng-UST's Java agent. Runs the master branch of
109 <a href="https://github.com/lttng/lttng-ust-java-tests">lttng-ust-java-tests</a>
110 against the {version} branches of UST, lttng-tools, and Babeltrace.
112 <p>Job is managed by Jenkins Job Builder.</p>
115 node: 'master' # Applies only to matrix flyweight task
128 name: liburcu_version
133 name: lttng_ust_version
138 name: lttng_tools_version
147 properties-content: |
148 LD_LIBRARY_PATH="${{WORKSPACE}}/deps/build/lib"
149 PATH="${{WORKSPACE}}/deps/build/bin:${{PATH}}"
150 LTTNG_CONSUMERD32_BIN="${{WORKSPACE}}/deps/build/lib/lttng/libexec/lttng-consumerd"
151 LTTNG_CONSUMERD64_BIN="${{WORKSPACE}}/deps/build/lib/lttng/libexec/lttng-consumerd"
156 url: git://github.com/lttng/lttng-ust-java-tests.git
158 browser-url: https://github.com/lttng/lttng-ust-java-tests
161 basedir: lttng-ust-java-tests
169 url: https://github.com/lttng/lttng-ust-java-tests
173 project: liburcu_${{liburcu_version}}_build/arch=${{arch}},conf=std,build=std
174 which-build: last-successful
178 do-not-fingerprint: true
180 project: lttng-ust_{version}_build/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=java-agent,build=std
181 which-build: last-successful
185 do-not-fingerprint: true
187 project: lttng-tools_${{lttng_tools_version}}_build/babeltrace_version=master,liburcu_version=${{liburcu_version}},arch=${{arch}},conf=java-agent,build=std
188 which-build: last-successful
192 do-not-fingerprint: true
194 project: babeltrace_master_build/arch=${{arch}},conf=std,build=std
195 which-build: last-successful
199 do-not-fingerprint: true
203 # Start the lttng-sessiond
207 maven-version: 'Maven 3.3.3'
208 private-repository: true
213 pom: 'lttng-ust-java-tests/pom.xml'
215 - maven.test.failure.ignore=true
216 - common-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-common.jar
217 - jul-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-jul.jar
218 - log4j-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-log4j.jar
219 - argLine=-Djava.library.path=${{WORKSPACE}}/deps/build/lib
220 maven-version: 'Maven 3.3.3'
221 private-repository: true
226 killall lttng-sessiond
230 results: lttng-ust-java-tests/**/target/failsafe-reports/*.xml
232 recipients: alex@voxpopuli.im
233 matrix-trigger: only-parent
241 name: lttng-ust_{version}_cppcheck
250 rm -f lttng-ust-cppcheck.xml
251 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> lttng-ust-cppcheck.xml
255 artifacts: 'lttng-ust-cppcheck.xml'
258 pattern: 'lttng-ust-cppcheck.xml'
260 recipients: 'ci-notification@lists.lttng.org'
261 notify-every-unstable-build: true
262 send-to-individuals: false
265 name: lttng-ust_{version}_scan-build
275 project: liburcu_master_build/arch=x86-64,conf=std,build=std
276 which-build: last-successful
279 target: 'deps/liburcu'
280 do-not-fingerprint: true
282 !include-raw-escape: scripts/lttng-ust/scan-build.sh
287 dir: 'scan-build-archive/'
291 name: lttng-ust_{version}_coverity
304 - credentials-binding:
305 - username-password-separated:
306 credential-id: lttng-ust_coverity_token
307 username: COVERITY_SCAN_PROJECT_NAME
308 password: COVERITY_SCAN_TOKEN
312 project: liburcu_master_build/arch=x86-64,conf=std,build=std
313 which-build: last-successful
316 target: 'deps/liburcu'
317 do-not-fingerprint: true
319 !include-raw-escape: scripts/common/coverity.sh
324 artifacts: 'analysis-results.tgz,cov-int/**'
329 name: lttng-ust_{version}_pylint
341 project: lttng-ust-{version}/arch=x86-64,build=std,conf=python-agent
342 which-build: last-successful
345 target: 'deps/lttng-ust'
346 do-not-fingerprint: true
348 !include-raw-escape: scripts/lttng-ust/pylint.sh
352 artifacts: 'pep8.out,pylint.out'
365 recipients: 'ci-notification@lists.lttng.org'
366 notify-every-unstable-build: true
367 send-to-individuals: false
374 github_name: lttng-ust
376 !include: jobs/inc/lttng-ust-versions.yaml.inc
378 - 'lttng-ust_{version}_{buildtype}':
380 arch: !!python/tuple [x86-32, x86-64]
381 build: !!python/tuple [std, oot, dist]
382 conf: !!python/tuple [std, java-agent, python-agent]
383 - 'lttng-ust_{version}_{buildtype}':
385 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
386 build: !!python/tuple [std]
387 conf: !!python/tuple [std, java-agent, python-agent]
388 - 'lttng-ust_{version}_java-tests':
389 arch: !!python/tuple [x86-32, x86-64]
390 - 'lttng-ust_{version}_cppcheck'
391 - 'lttng-ust_{version}_scan-build'
392 - 'lttng-ust_{version}_coverity':