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}
35 url: https://github.com/{github_user}/{github_name}
40 name: lttng-ust_{version}_{buildtype}
44 node: 'master' # Applies only to matrix flyweight task
47 (build=="std") || (liburcu_version=="master")
61 !include: jobs/inc/liburcu-versions.yaml.inc
69 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
70 which-build: last-successful
73 target: 'deps/liburcu'
74 do-not-fingerprint: true
76 !include-raw-escape: scripts/lttng-ust/build.sh
78 # TODO: Scan for open tasks
81 results: 'tap/**/*.tap'
82 failed-tests-mark-build-as-failure: true
83 todo-is-failure: false
86 - 'GNU Make + GNU C Compiler (gcc)'
98 strategy: new-failure-and-fixed
99 matrix-notifier: only-parent
104 name: lttng-ust_{version}_java-tests
107 Tests for LTTng-UST's Java agent. Runs the master branch of
108 <a href="https://github.com/lttng/lttng-ust-java-tests">lttng-ust-java-tests</a>
109 against the {version} branches of UST, lttng-tools, and Babeltrace.
111 <p>Job is managed by Jenkins Job Builder.</p>
114 node: 'master' # Applies only to matrix flyweight task
127 name: liburcu_version
132 name: lttng_ust_version
137 name: lttng_tools_version
146 properties-content: |
147 LD_LIBRARY_PATH="${WORKSPACE}/deps/build/lib"
148 PATH="${{WORKSPACE}}/deps/build/bin:${{PATH}}"
149 LTTNG_CONSUMERD32_BIN="${{WORKSPACE}}/deps/build/lib/lttng/libexec/lttng-consumerd"
150 LTTNG_CONSUMERD64_BIN="${{WORKSPACE}}/deps/build/lib/lttng/libexec/lttng-consumerd"
155 url: git://github.com/lttng/lttng-ust-java-tests.git
157 browser-url: https://github.com/lttng/lttng-ust-java-tests
160 basedir: lttng-ust-java-tests
168 url: https://github.com/lttng/lttng-ust-java-tests
172 project: liburcu_${{liburcu_version}}_build/arch=${{arch}},conf=std,build=std
173 which-build: last-successful
177 do-not-fingerprint: true
179 project: lttng-ust_{version}_build/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=java-agent,build=std
180 which-build: last-successful
184 do-not-fingerprint: true
186 project: lttng-tools_${{lttng_tools_version}}_build/babeltrace_version=master,liburcu_version=${{liburcu_version}},arch=${{arch}},conf=java-agent,build=std
187 which-build: last-successful
191 do-not-fingerprint: true
193 project: babeltrace_master_build/arch=${{arch}},conf=std,build=std
194 which-build: last-successful
198 do-not-fingerprint: true
202 # Start the lttng-sessiond
206 maven-version: 'Maven 3.3.3'
207 private-repository: true
212 pom: 'lttng-ust-java-tests/pom.xml'
214 - maven.test.failure.ignore=true
215 - common-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-common.jar
216 - jul-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-jul.jar
217 - log4j-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-log4j.jar
218 - argLine=-Djava.library.path=${{WORKSPACE}}/deps/build/lib
219 maven-version: 'Maven 3.3.3'
220 private-repository: true
225 killall lttng-sessiond
229 results: lttng-ust-java-tests/**/target/failsafe-reports/*.xml
231 recipients: alex@voxpopuli.im
232 matrix-trigger: only-parent
240 name: lttng-ust_{version}_cppcheck
249 rm -f lttng-ust-cppcheck.xml
250 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE 2> lttng-ust-cppcheck.xml
254 artifacts: 'lttng-ust-cppcheck.xml'
257 pattern: 'lttng-ust-cppcheck.xml'
259 recipients: 'ci-notification@lists.lttng.org'
260 notify-every-unstable-build: true
261 send-to-individuals: false
264 name: lttng-ust_{version}_scan-build
274 project: liburcu_master_build/arch=x86-64,conf=std,build=std
275 which-build: last-successful
278 target: 'deps/liburcu'
279 do-not-fingerprint: true
281 !include-raw-escape: scripts/lttng-ust/scan-build.sh
286 dir: 'scan-build-archive/'
290 name: lttng-ust_{version}_coverity
303 - credentials-binding:
304 - username-password-separated:
305 credential-id: lttng-ust_coverity_token
306 username: COVERITY_SCAN_PROJECT_NAME
307 password: COVERITY_SCAN_TOKEN
311 project: liburcu_master_build/arch=x86-64,conf=std,build=std
312 which-build: last-successful
315 target: 'deps/liburcu'
316 do-not-fingerprint: true
318 !include-raw-escape: scripts/common/coverity.sh
325 name: lttng-ust_{version}_pylint
337 project: lttng-ust-{version}/arch=x86-64,build=std,conf=python-agent
338 which-build: last-successful
341 target: 'deps/lttng-ust'
342 do-not-fingerprint: true
344 !include-raw-escape: scripts/lttng-ust/pylint.sh
348 artifacts: 'pep8.out,pylint.out'
361 recipients: 'ci-notification@lists.lttng.org'
362 notify-every-unstable-build: true
363 send-to-individuals: false
370 github_name: lttng-ust
372 !include: jobs/inc/lttng-ust-versions.yaml.inc
374 - 'lttng-ust_{version}_{buildtype}':
376 arch: !!python/tuple [x86-32, x86-64]
377 build: !!python/tuple [std, oot, dist]
378 conf: !!python/tuple [std, java-agent, python-agent]
379 - 'lttng-ust_{version}_{buildtype}':
381 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
382 build: !!python/tuple [std]
383 conf: !!python/tuple [std, java-agent, python-agent]
384 - 'lttng-ust_{version}_java-tests'
385 - 'lttng-ust_{version}_cppcheck'
386 - 'lttng-ust_{version}_scan-build'
387 - 'lttng-ust_{version}_coverity':