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
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
172 url: https://github.com/lttng/lttng-ust-java-tests
176 project: liburcu_${{liburcu_version}}_build/arch=${{arch}},conf=std,build=std
177 which-build: last-successful
181 do-not-fingerprint: true
183 project: lttng-ust_{version}_build/liburcu_version=${{liburcu_version}},arch=${{arch}},conf=java-agent,build=std
184 which-build: last-successful
188 do-not-fingerprint: true
190 project: lttng-tools_${{lttng_tools_version}}_build/babeltrace_version=master,liburcu_version=${{liburcu_version}},arch=${{arch}},conf=java-agent,build=std
191 which-build: last-successful
195 do-not-fingerprint: true
197 project: babeltrace_master_build/arch=${{arch}},conf=std,build=std
198 which-build: last-successful
202 do-not-fingerprint: true
206 # Start the lttng-sessiond
210 maven-version: 'Maven 3.3.3'
211 private-repository: true
216 pom: 'lttng-ust-java-tests/pom.xml'
218 - maven.test.failure.ignore=true
219 - common-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-common.jar
220 - jul-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-jul.jar
221 - log4j-jar-location=${{WORKSPACE}}/deps/build/share/java/lttng-ust-agent-log4j.jar
222 - argLine=-Djava.library.path=${{WORKSPACE}}/deps/build/lib
223 maven-version: 'Maven 3.3.3'
224 private-repository: true
229 killall lttng-sessiond
233 results: lttng-ust-java-tests/**/target/failsafe-reports/*.xml
235 recipients: alex@voxpopuli.im
236 matrix-trigger: only-parent
244 name: lttng-ust_{version}_cppcheck
253 rm -f lttng-ust-cppcheck.xml
254 cppcheck --enable=all --xml --xml-version=2 $WORKSPACE/src/lttng-ust 2> lttng-ust-cppcheck.xml
258 artifacts: 'lttng-ust-cppcheck.xml'
261 pattern: 'lttng-ust-cppcheck.xml'
263 recipients: 'ci-notification@lists.lttng.org'
264 notify-every-unstable-build: true
265 send-to-individuals: false
268 name: lttng-ust_{version}_scan-build
278 project: liburcu_master_build/arch=x86-64,conf=std,build=std
279 which-build: last-successful
282 target: 'deps/liburcu'
283 do-not-fingerprint: true
285 !include-raw-escape: scripts/lttng-ust/scan-build.sh
290 dir: 'scan-build-archive/'
294 name: lttng-ust_{version}_coverity
307 - credentials-binding:
308 - username-password-separated:
309 credential-id: lttng-ust_coverity_token
310 username: COVERITY_SCAN_PROJECT_NAME
311 password: COVERITY_SCAN_TOKEN
315 project: liburcu_master_build/arch=x86-64,conf=std,build=std
316 which-build: last-successful
319 target: 'deps/liburcu'
320 do-not-fingerprint: true
322 !include-raw-escape: scripts/common/coverity.sh
327 artifacts: 'analysis-results.tgz,cov-int/**'
332 name: lttng-ust_{version}_pylint
344 project: lttng-ust-{version}/arch=x86-64,build=std,conf=python-agent
345 which-build: last-successful
348 target: 'deps/lttng-ust'
349 do-not-fingerprint: true
351 !include-raw-escape: scripts/lttng-ust/pylint.sh
355 artifacts: 'pep8.out,pylint.out'
368 recipients: 'ci-notification@lists.lttng.org'
369 notify-every-unstable-build: true
370 send-to-individuals: false
377 github_name: lttng-ust
383 - 'lttng-ust_{version}_{buildtype}':
385 arch: !!python/tuple [x86-32, x86-64]
386 build: !!python/tuple [std, oot, dist]
387 conf: !!python/tuple [std, java-agent, python-agent]
388 - 'lttng-ust_{version}_{buildtype}':
390 arch: !!python/tuple [armhf, arm64, powerpc, ppc64el]
391 build: !!python/tuple [std]
392 conf: !!python/tuple [std, java-agent, python-agent]
393 - 'lttng-ust_{version}_java-tests':
394 arch: !!python/tuple [x86-32, x86-64]
395 - 'lttng-ust_{version}_cppcheck'
396 - 'lttng-ust_{version}_scan-build'
397 - 'lttng-ust_{version}_coverity':