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 PROJECT_NAME=lttng-ust
39 url: https://github.com/{github_user}/{github_name}
44 name: lttng-ust_{version}_{buildtype}
48 node: 'master' # Applies only to matrix flyweight task
51 (build=="std") || (liburcu_version=="master")
65 !include: jobs/inc/liburcu-versions.yaml.inc
73 project: liburcu_${{liburcu_version}}_{buildtype}/arch=$arch,conf=std,build=std
74 which-build: last-successful
77 target: 'deps/liburcu'
78 do-not-fingerprint: true
80 !include-raw-escape: scripts/lttng-ust/build.sh
82 # TODO: Scan for open tasks
85 results: 'tap/**/*.log'
86 failed-tests-mark-build-as-failure: true
87 todo-is-failure: false
90 - 'GNU Make + GNU C Compiler (gcc)'
102 strategy: new-failure-and-fixed
103 matrix-notifier: only-parent
108 name: lttng-ust_{version}_java-tests
111 Tests for LTTng-UST's Java agent. Runs the master branch of
112 <a href="https://github.com/lttng/lttng-ust-java-tests">lttng-ust-java-tests</a>
113 against the {version} branches of UST, lttng-tools, and Babeltrace.
115 <p>Job is managed by Jenkins Job Builder.</p>
118 node: 'master' # Applies only to matrix flyweight task
131 name: liburcu_version
136 name: lttng_ust_version
141 name: lttng_tools_version
150 properties-content: |
151 LD_LIBRARY_PATH="${{WORKSPACE}}/deps/build/lib"
152 PATH="${{WORKSPACE}}/deps/build/bin:${{PATH}}"
153 LTTNG_CONSUMERD32_BIN="${{WORKSPACE}}/deps/build/lib/lttng/libexec/lttng-consumerd"
154 LTTNG_CONSUMERD64_BIN="${{WORKSPACE}}/deps/build/lib/lttng/libexec/lttng-consumerd"
159 url: git://github.com/lttng/lttng-ust-java-tests.git
161 browser-url: https://github.com/lttng/lttng-ust-java-tests
164 basedir: lttng-ust-java-tests
175 url: https://github.com/lttng/lttng-ust-java-tests
179 project: liburcu_${{liburcu_version}}_build/arch=${{arch}},conf=std,build=std
180 which-build: last-successful
184 do-not-fingerprint: true
186 project: lttng-ust_{version}_build/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=java-agent,build=std
187 which-build: last-successful
191 do-not-fingerprint: true
193 project: lttng-tools_${{lttng_tools_version}}_build/babeltrace_version=master,liburcu_version=${{liburcu_version}},arch=${{arch}},conf=java-agent,build=std
194 which-build: last-successful
198 do-not-fingerprint: true
200 project: babeltrace_master_build/arch=${{arch}},conf=std,build=std
201 which-build: last-successful
205 do-not-fingerprint: true
209 # Start the lttng-sessiond
213 maven-version: 'Maven 3.3.3'
214 private-repository: true
219 pom: 'lttng-ust-java-tests/pom.xml'
221 - maven.test.failure.ignore=true
222 - common-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-common.jar
223 - jul-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-jul.jar
224 - log4j-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-log4j.jar
225 - argLine=-Djava.library.path=${{WORKSPACE}}/deps/build/lib
226 maven-version: 'Maven 3.3.3'
227 private-repository: true
232 killall lttng-sessiond
236 results: lttng-ust-java-tests/**/target/failsafe-reports/*.xml
238 recipients: alex@voxpopuli.im
239 matrix-trigger: only-parent
247 name: lttng-ust_{version}_cppcheck
256 rm -f lttng-ust-cppcheck.xml
257 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> lttng-ust-cppcheck.xml
261 artifacts: 'lttng-ust-cppcheck.xml'
264 pattern: 'lttng-ust-cppcheck.xml'
266 recipients: 'ci-notification@lists.lttng.org'
267 notify-every-unstable-build: true
268 send-to-individuals: false
271 name: lttng-ust_{version}_scan-build
281 project: liburcu_master_build/arch=x86-64,conf=std,build=std
282 which-build: last-successful
285 target: 'deps/liburcu'
286 do-not-fingerprint: true
288 !include-raw-escape: scripts/common/scan-build.sh
293 dir: 'scan-build-archive/'
297 name: lttng-ust_{version}_coverity
310 - credentials-binding:
311 - username-password-separated:
312 credential-id: lttng-ust_coverity_token
313 username: COVERITY_SCAN_PROJECT_NAME
314 password: COVERITY_SCAN_TOKEN
318 project: liburcu_master_build/arch=x86-64,conf=std,build=std
319 which-build: last-successful
322 target: 'deps/liburcu'
323 do-not-fingerprint: true
325 !include-raw-escape: scripts/common/coverity.sh
330 artifacts: 'analysis-results.tgz,cov-int/**'
335 name: lttng-ust_{version}_pylint
347 project: lttng-ust-{version}/arch=x86-64,build=std,conf=python-agent
348 which-build: last-successful
351 target: 'deps/lttng-ust'
352 do-not-fingerprint: true
354 !include-raw-escape: scripts/lttng-ust/pylint.sh
358 artifacts: 'pep8.out,pylint.out'
371 recipients: 'ci-notification@lists.lttng.org'
372 notify-every-unstable-build: true
373 send-to-individuals: false
380 github_name: lttng-ust
386 - 'lttng-ust_{version}_{buildtype}':
388 arch: !!python/tuple [x86-32, x86-64]
389 build: !!python/tuple [std, oot, dist]
390 conf: !!python/tuple [std, java-agent, python-agent]
391 - 'lttng-ust_{version}_{buildtype}':
393 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
394 build: !!python/tuple [std]
395 conf: !!python/tuple [std, java-agent, python-agent]
396 - 'lttng-ust_{version}_java-tests':
397 arch: !!python/tuple [x86-32, x86-64]
398 - 'lttng-ust_{version}_cppcheck'
399 - 'lttng-ust_{version}_scan-build'
400 - 'lttng-ust_{version}_coverity':