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: git://github.com/{github_user}/{github_name}.git
22 browser-url: https://github.com/{github_user}/{github_name}
25 basedir: src/lttng-ust
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/**/*.log'
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
170 url: https://github.com/lttng/lttng-ust-java-tests
174 project: liburcu_${{liburcu_version}}_build/arch=${{arch}},conf=std,build=std
175 which-build: last-successful
179 do-not-fingerprint: true
181 project: lttng-ust_{version}_build/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=java-agent,build=std
182 which-build: last-successful
186 do-not-fingerprint: true
188 project: lttng-tools_${{lttng_tools_version}}_build/babeltrace_version=master,liburcu_version=${{liburcu_version}},arch=${{arch}},conf=java-agent,build=std
189 which-build: last-successful
193 do-not-fingerprint: true
195 project: babeltrace_master_build/arch=${{arch}},conf=std,build=std
196 which-build: last-successful
200 do-not-fingerprint: true
204 # Start the lttng-sessiond
208 maven-version: 'Maven 3.3.3'
209 private-repository: true
214 pom: 'lttng-ust-java-tests/pom.xml'
216 - maven.test.failure.ignore=true
217 - common-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-common.jar
218 - jul-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-jul.jar
219 - log4j-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-log4j.jar
220 - argLine=-Djava.library.path=${{WORKSPACE}}/deps/build/lib
221 maven-version: 'Maven 3.3.3'
222 private-repository: true
227 killall lttng-sessiond
231 results: lttng-ust-java-tests/**/target/failsafe-reports/*.xml
233 recipients: alex@voxpopuli.im
234 matrix-trigger: only-parent
242 name: lttng-ust_{version}_cppcheck
251 rm -f lttng-ust-cppcheck.xml
252 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> lttng-ust-cppcheck.xml
256 artifacts: 'lttng-ust-cppcheck.xml'
259 pattern: 'lttng-ust-cppcheck.xml'
261 recipients: 'ci-notification@lists.lttng.org'
262 notify-every-unstable-build: true
263 send-to-individuals: false
266 name: lttng-ust_{version}_scan-build
276 project: liburcu_master_build/arch=x86-64,conf=std,build=std
277 which-build: last-successful
280 target: 'deps/liburcu'
281 do-not-fingerprint: true
283 !include-raw-escape: scripts/lttng-ust/scan-build.sh
288 dir: 'scan-build-archive/'
292 name: lttng-ust_{version}_coverity
305 - credentials-binding:
306 - username-password-separated:
307 credential-id: lttng-ust_coverity_token
308 username: COVERITY_SCAN_PROJECT_NAME
309 password: COVERITY_SCAN_TOKEN
313 project: liburcu_master_build/arch=x86-64,conf=std,build=std
314 which-build: last-successful
317 target: 'deps/liburcu'
318 do-not-fingerprint: true
320 !include-raw-escape: scripts/common/coverity.sh
325 artifacts: 'analysis-results.tgz,cov-int/**'
330 name: lttng-ust_{version}_pylint
342 project: lttng-ust-{version}/arch=x86-64,build=std,conf=python-agent
343 which-build: last-successful
346 target: 'deps/lttng-ust'
347 do-not-fingerprint: true
349 !include-raw-escape: scripts/lttng-ust/pylint.sh
353 artifacts: 'pep8.out,pylint.out'
366 recipients: 'ci-notification@lists.lttng.org'
367 notify-every-unstable-build: true
368 send-to-individuals: false
375 github_name: lttng-ust
381 - 'lttng-ust_{version}_{buildtype}':
383 arch: !!python/tuple [x86-32, x86-64]
384 build: !!python/tuple [std, oot, dist]
385 conf: !!python/tuple [std, java-agent, python-agent]
386 - 'lttng-ust_{version}_{buildtype}':
388 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
389 build: !!python/tuple [std]
390 conf: !!python/tuple [std, java-agent, python-agent]
391 - 'lttng-ust_{version}_java-tests':
392 arch: !!python/tuple [x86-32, x86-64]
393 - 'lttng-ust_{version}_cppcheck'
394 - 'lttng-ust_{version}_scan-build'
395 - 'lttng-ust_{version}_coverity':