lttng-ci.git
2 years agojjb: binutils-gdb: add email notification publisher
Simon Marchi [Thu, 14 Oct 2021 12:56:07 +0000 (08:56 -0400)] 
jjb: binutils-gdb: add email notification publisher

I'd like to receive messages when this job fails.

Change-Id: Ifb1147abc811b2031dc4be9238274c2986038593

2 years agojjb: binutils-gdb: update known-failures
Simon Marchi [Wed, 13 Oct 2021 16:15:01 +0000 (12:15 -0400)] 
jjb: binutils-gdb: update known-failures

Add a few entries to the known failures.  I've been using this for a few
months and it has been relatively stable.  Some of the failures in there
have been fixed, so I should really do a pass to prune what no longer
fails (eventually).

Change-Id: If7c032b41b5fff7eb5268dbbd8f8d075f0eb9b18

2 years agojjb: lttng-ust: add FreeBSD gerrit job
Michael Jeanson [Wed, 9 Mar 2022 17:24:23 +0000 (12:24 -0500)] 
jjb: lttng-ust: add FreeBSD gerrit job

Change-Id: I2e0dcffd707702ca5bf30003a5ccef9e767629f4
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 years agosystem-tests: simplify root_regression handling
Jonathan Rajotte [Tue, 8 Mar 2022 15:55:00 +0000 (10:55 -0500)] 
system-tests: simplify root_regression handling

Do not use the version and only rely on the presence of the
root_regression file instead.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: Ia310f561f2d16f513c1c20d9d34a4172ade97908

2 years agoFix: test for presence of 'root_regression'
Jonathan Rajotte [Tue, 8 Mar 2022 15:50:14 +0000 (10:50 -0500)] 
Fix: test for presence of 'root_regression'

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: I790285adc2854eff42a873f10469565334e4cbb5

2 years agosystem-tests: update system-trigger.groovy tracked versions
Jonathan Rajotte [Wed, 2 Mar 2022 16:38:28 +0000 (11:38 -0500)] 
system-tests: update system-trigger.groovy tracked versions

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: Ic51358db72c148190f50d31209ecbd2ca4e4b6fe

2 years agosystem-tests: remove EOL lttng versions
Jonathan Rajotte [Wed, 2 Mar 2022 16:30:38 +0000 (11:30 -0500)] 
system-tests: remove EOL lttng versions

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: I7faedea8351c9e9b756e6c4bc173c5d4b78c54c4

2 years agosystem-tests: update kernel and lttng versions to be tested
Jonathan Rajotte [Wed, 2 Mar 2022 16:26:33 +0000 (11:26 -0500)] 
system-tests: update kernel and lttng versions to be tested

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: Iba1aa8b6dc0c3434898b286cd8af8e5f7563938b

2 years agojjb: lttng-ust-java-tests: properly add stable-2.12
Michael Jeanson [Mon, 21 Feb 2022 21:06:06 +0000 (16:06 -0500)] 
jjb: lttng-ust-java-tests: properly add stable-2.12

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I3b596c5c57e4759dcec254db7012d70cd9d7c9c8

2 years agoMerge "Depends-on: take into consideration the git branch for query and default"
Michael Jeanson [Fri, 18 Feb 2022 20:56:38 +0000 (15:56 -0500)] 
Merge "Depends-on: take into consideration the git branch for query and default"

2 years agoDepends-on: take into consideration the git branch for query and default
Jonathan Rajotte [Fri, 18 Feb 2022 19:43:01 +0000 (14:43 -0500)] 
Depends-on: take into consideration the git branch for query and default

Since gerrit cherry-picks have the same change-id the current query
returns multiples objects which is not supported. To alleviate this, we
use the GERRIT_BRANCH to refine the query. This is only valid for
project with the same version/name scheme at the branch level
(lttng-ust, lttng-modules). For now we need to handle this mostly for
those projects, it is quite rare that we need to handle this for
babeltrace and userspace-rcu.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: I5171d89083cbbb94e168158a11c69edebd4a766e

2 years agojjb: lttng-tools: Add log4j2 to agents config
Michael Jeanson [Fri, 18 Feb 2022 19:55:54 +0000 (14:55 -0500)] 
jjb: lttng-tools: Add log4j2 to agents config

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I1543b06461867db50dd07cf8b5d77e994781dce1

2 years agojjb: lttng-ust: Add log4j2 to agents config
Michael Jeanson [Fri, 18 Feb 2022 16:01:23 +0000 (11:01 -0500)] 
jjb: lttng-ust: Add log4j2 to agents config

Change-Id: I07d29caafc3a4447e14da5daac34bbc983eb5ffe
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 years agojjb: lttng-ust-java-tests: Add filtering for log4j2
Michael Jeanson [Tue, 15 Feb 2022 21:21:14 +0000 (16:21 -0500)] 
jjb: lttng-ust-java-tests: Add filtering for log4j2

The new log4j2 agent will be backported to stable-2.12 and stable-2.13
without support for the new 'log4j2' tracing domain. Prepare jobs for
these branches that filter the tests specific to this new domain.

Change-Id: I6bfc9f44ae2e369b28bb9cdcfca45c340b226e0d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 years agoansible: add minimal i386 runtime libs on standalone
Michael Jeanson [Tue, 15 Feb 2022 21:18:35 +0000 (16:18 -0500)] 
ansible: add minimal i386 runtime libs on standalone

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: Ifacc97455b1a40adbdd5eb4c8e7b75e98cc8920b

2 years agoansible: add minimal i386 runtime libs on amd64
Michael Jeanson [Tue, 1 Feb 2022 19:03:15 +0000 (14:03 -0500)] 
ansible: add minimal i386 runtime libs on amd64

Change-Id: If219b7dba8c7a0abde8f302a3bef90057c3501c0
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 years agojjb: integration: remove dot in recordIssues id
Michael Jeanson [Tue, 1 Feb 2022 16:28:39 +0000 (11:28 -0500)] 
jjb: integration: remove dot in recordIssues id

IDs for the recordIssues are now restricted to '[a-z0-9][a-z0-9-_]*',
remove the dots to make Jenkins happy.

Change-Id: I8beeb17de76a183c2ebe90c6c9e57a95a9235c7b
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 years agojjb: lttng-modules: fix kernel build >= 5.17
Michael Jeanson [Fri, 28 Jan 2022 19:33:24 +0000 (14:33 -0500)] 
jjb: lttng-modules: fix kernel build >= 5.17

Starting with 5.17, the 'auto.conf' file syntax differs from '.config'.
Stop overwriting it, only copy '.config' for older kernels where
'auto.conf' is missing.

Change-Id: I917104c0f43fadfc61f292b0b43d3b4cdc6650b7
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 years agojjb: common: add log4j 2.x jars in CLASSPATH
Michael Jeanson [Thu, 27 Jan 2022 19:29:25 +0000 (14:29 -0500)] 
jjb: common: add log4j 2.x jars in CLASSPATH

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I0aa05ade2d09deabcbd72d3ee17be75f5ac48144

2 years agojjb: lttng-tools release: specify log4j jars in CLASSPATH
Michael Jeanson [Thu, 27 Jan 2022 15:36:01 +0000 (10:36 -0500)] 
jjb: lttng-tools release: specify log4j jars in CLASSPATH

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I25a9309d1674298c5f04b808a29461997d5a01cc

2 years agojjb: lttng-ust-java-tests: add log4j2 agent location
Michael Jeanson [Mon, 24 Jan 2022 23:48:44 +0000 (18:48 -0500)] 
jjb: lttng-ust-java-tests: add log4j2 agent location

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: Ibf3917e7b7c8728252951013514bf7d712bc00d9

2 years agoansible: add gfortran to binutils-gdb role
Michael Jeanson [Thu, 20 Jan 2022 18:01:37 +0000 (13:01 -0500)] 
ansible: add gfortran to binutils-gdb role

Change-Id: Ic293786ea56fcebc62d23b1945cc0859fdf9b87d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 years agojjb: lttng-tools: specify log4j jars in CLASSPATH
Michael Jeanson [Thu, 13 Jan 2022 17:15:43 +0000 (12:15 -0500)] 
jjb: lttng-tools: specify log4j jars in CLASSPATH

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: Ic26375c4e8e01dee22f42780a784f83a2ba5998d

2 years agoFix: babeltrace2 needs its plugin path defined
Jonathan Rajotte [Fri, 14 Jan 2022 21:30:35 +0000 (16:30 -0500)] 
Fix: babeltrace2 needs its plugin path defined

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: I4327bbad07f423c19879f373e42ac9d9fb4ea670

2 years agoansible: lttng-ust: Add log4j2 dependency
Michael Jeanson [Tue, 11 Jan 2022 22:06:43 +0000 (17:06 -0500)] 
ansible: lttng-ust: Add log4j2 dependency

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: Ibd985bbc4e4984676a67f073fc009e144623ab9e

2 years agojjb: lttng-ust: specify log4j jars in CLASSPATH
Michael Jeanson [Tue, 11 Jan 2022 22:06:04 +0000 (17:06 -0500)] 
jjb: lttng-ust: specify log4j jars in CLASSPATH

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: Idd30454e8c7f07398d60b8f778c4904418e7c32d

2 years agojjb: librseq: Add gerrit job
Michael Jeanson [Wed, 15 Dec 2021 18:26:15 +0000 (13:26 -0500)] 
jjb: librseq: Add gerrit job

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I89dc38ae5872ff12fdee5e1ba620c814eb55198d

2 years agojjb: remove unused linux-rseq jobs
Michael Jeanson [Wed, 15 Dec 2021 15:43:25 +0000 (10:43 -0500)] 
jjb: remove unused linux-rseq jobs

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I21566306a04a17c2a54201061e18a349c90f0aaf

2 years agojjb: lttng-modules: disable objtool on kernel builds
Michael Jeanson [Wed, 15 Dec 2021 15:33:01 +0000 (10:33 -0500)] 
jjb: lttng-modules: disable objtool on kernel builds

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I21b9823fd4f53eca1dad54cc0a0939c898ad0001

2 years agoansible: Add 'dwarves' package to lttng-modules
Michael Jeanson [Mon, 13 Dec 2021 20:40:17 +0000 (15:40 -0500)] 
ansible: Add 'dwarves' package to lttng-modules

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Change-Id: I3e65a092767391c62648c5ab0604efe633afdb81

2 years agoansible: Use python3 on all nodes
Michael Jeanson [Mon, 13 Dec 2021 20:39:00 +0000 (15:39 -0500)] 
ansible: Use python3 on all nodes

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 years agojjb: use urcu master targeting ust master
Jonathan Rajotte [Mon, 6 Dec 2021 20:35:03 +0000 (15:35 -0500)] 
jjb: use urcu master targeting ust master

Normally we would want to restrict ourselves to the urcu stable release
here but currently lttng-tools master requires urcu master due to C++.

So when targeting master default to using urcu master otherwise fall
back to the one define in the jjb job definition.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Change-Id: Ib5173b406a0a9c57ac409d5b60ea5073ebdd55de

2 years agoansible: add binutils-gdb role to node_arm64
Michael Jeanson [Wed, 1 Dec 2021 19:03:56 +0000 (14:03 -0500)] 
ansible: add binutils-gdb role to node_arm64

Change-Id: Ib5c18734d3e47882e008b807834055d46a952f97
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 years agojjb: Add integration pipeline
Michael Jeanson [Wed, 1 Dec 2021 14:57:39 +0000 (09:57 -0500)] 
jjb: Add integration pipeline

2 years agoAdd git-review config
Michael Jeanson [Tue, 30 Nov 2021 19:50:50 +0000 (14:50 -0500)] 
Add git-review config

3 years agojjb: lttng-tools: not all configs build liblttng-ctl
Michael Jeanson [Mon, 22 Nov 2021 16:29:09 +0000 (11:29 -0500)] 
jjb: lttng-tools: not all configs build liblttng-ctl

Add conditionnal logic to handle configurations where we don't build
liblttng-ctl.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agolava: disable man pages for babeltrace2
Jonathan Rajotte [Mon, 22 Nov 2021 15:52:11 +0000 (10:52 -0500)] 
lava: disable man pages for babeltrace2

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: use babeltrace 2.0 for ust java tests and benchmarks
Michael Jeanson [Fri, 19 Nov 2021 20:30:18 +0000 (15:30 -0500)] 
jjb: use babeltrace 2.0 for ust java tests and benchmarks

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agofix: lava: the base vlttng profile have the version in the name
Jonathan Rajotte [Mon, 15 Nov 2021 15:15:37 +0000 (10:15 -0500)] 
fix: lava: the base vlttng profile have the version in the name

This requires that the overrides mention the correct profile otherwise
the resulting yaml profile is malformed.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agolava: use babeltrace2 for lttng >= 2.14 (master) for testing
Jonathan Rajotte [Mon, 15 Nov 2021 14:46:51 +0000 (09:46 -0500)] 
lava: use babeltrace2 for lttng >= 2.14 (master) for testing

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: lttng-tools update stable-2.11 to urcu 0.13 to match ust
Michael Jeanson [Mon, 18 Oct 2021 21:21:06 +0000 (17:21 -0400)] 
jjb: lttng-tools update stable-2.11 to urcu 0.13 to match ust

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agoansible: Update hosts for new debian nodes
Michael Jeanson [Mon, 18 Oct 2021 15:36:54 +0000 (11:36 -0400)] 
ansible: Update hosts for new debian nodes

3 years agojjb: lttng-modules: cap stable-2.11 to linux < v5.15
Michael Jeanson [Wed, 13 Oct 2021 18:02:09 +0000 (14:02 -0400)] 
jjb: lttng-modules: cap stable-2.11 to linux < v5.15

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agoMerge pull request #76 from simark/adele-lupien
Michael Jeanson [Tue, 12 Oct 2021 17:51:42 +0000 (13:51 -0400)] 
Merge pull request #76 from simark/adele-lupien

Some improvements to the binutils-gdb jobs

3 years agojjb: lttng-tools: remove bt stable-1.5 for master and 2.13.
Jonathan Rajotte [Fri, 8 Oct 2021 15:47:53 +0000 (11:47 -0400)] 
jjb: lttng-tools: remove bt stable-1.5 for master and 2.13.

2.13 marks the first release for which babeltrace2 is the official
optional reader dependencies for testing.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: binutils-gdb: filter out some known failures in GDB testsuite
Simon Marchi [Sat, 9 Oct 2021 01:56:41 +0000 (21:56 -0400)] 
jjb: binutils-gdb: filter out some known failures in GDB testsuite

The GDB testsuite is unfortunately known for not being clean.  In order
to get a somewhat useful CI job, filter out all the failures that can be
seen today, so that we can hopefully see the job passing.  With this,
any newly introduced failure will be visible, and not drowned in
pre-existing failures.

The ideal plan would be to work on fixing the tests listed here and
remove them from that list little by little.

3 years agojjb: binutils-gdb: collect test result artifacts in gerrit job
Simon Marchi [Sat, 9 Oct 2021 01:17:48 +0000 (21:17 -0400)] 
jjb: binutils-gdb: collect test result artifacts in gerrit job

This makes it easier to understand what failed exactly, when a try job
has failed.

3 years agojjb: binutils-gdb: replace sum2junit script with Python implementation
Simon Marchi [Sat, 9 Oct 2021 00:41:54 +0000 (20:41 -0400)] 
jjb: binutils-gdb: replace sum2junit script with Python implementation

3 years agoMerge pull request #75 from simark/readme
Michael Jeanson [Fri, 8 Oct 2021 20:15:48 +0000 (16:15 -0400)] 
Merge pull request #75 from simark/readme

Update jenkins-job-builder installation instructions in README

3 years agoMerge pull request #74 from simark/master
Michael Jeanson [Fri, 8 Oct 2021 20:15:16 +0000 (16:15 -0400)] 
Merge pull request #74 from simark/master

Some changes to binutils-gdb jobs

3 years agoUpdate jenkins-job-builder installation instructions in README
Simon Marchi [Fri, 8 Oct 2021 20:13:17 +0000 (16:13 -0400)] 
Update jenkins-job-builder installation instructions in README

3 years agojjb: binutils-gdb: disable ASan leaks reporting during "make check"
Simon Marchi [Fri, 8 Oct 2021 20:08:12 +0000 (16:08 -0400)] 
jjb: binutils-gdb: disable ASan leaks reporting during "make check"

3 years agojjb: update comment on binutils-gdb job
Simon Marchi [Fri, 8 Oct 2021 19:54:57 +0000 (15:54 -0400)] 
jjb: update comment on binutils-gdb job

3 years agojjb: binutils-gdb: archive testsuite/gdb.log
Michael Jeanson [Fri, 8 Oct 2021 18:27:33 +0000 (14:27 -0400)] 
jjb: binutils-gdb: archive testsuite/gdb.log

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agojjb: Add binutils-gdb base jobs
Michael Jeanson [Fri, 8 Oct 2021 17:57:43 +0000 (13:57 -0400)] 
jjb: Add binutils-gdb base jobs

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agojjb: Drop barectf i386 jobs
Michael Jeanson [Fri, 1 Oct 2021 17:50:07 +0000 (13:50 -0400)] 
jjb: Drop barectf i386 jobs

A tox dependency on i386 requires a full rust toolchain.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agoansible: fix deprecated syntax
Michael Jeanson [Thu, 30 Sep 2021 20:12:25 +0000 (16:12 -0400)] 
ansible: fix deprecated syntax

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agoansible: python3-sphinx is installable on RHEL
Michael Jeanson [Thu, 30 Sep 2021 20:04:52 +0000 (16:04 -0400)] 
ansible: python3-sphinx is installable on RHEL

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agoansible: python-virtualenv package renamed to virtualenv
Michael Jeanson [Thu, 30 Sep 2021 20:03:56 +0000 (16:03 -0400)] 
ansible: python-virtualenv package renamed to virtualenv

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agoansible: replace deprecated '-' in group names
Michael Jeanson [Thu, 30 Sep 2021 19:50:04 +0000 (15:50 -0400)] 
ansible: replace deprecated '-' in group names

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agoansible: update default ansible.cfg
Michael Jeanson [Thu, 30 Sep 2021 19:35:57 +0000 (15:35 -0400)] 
ansible: update default ansible.cfg

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agoansible: default to jdk11
Michael Jeanson [Thu, 30 Sep 2021 18:41:49 +0000 (14:41 -0400)] 
ansible: default to jdk11

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agoansible: lttng-modules: Add liblz4 for newer kernels
Michael Jeanson [Thu, 30 Sep 2021 18:37:31 +0000 (14:37 -0400)] 
ansible: lttng-modules: Add liblz4 for newer kernels

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agoansible: Install modules deps only on amd64
Michael Jeanson [Wed, 29 Sep 2021 18:42:43 +0000 (14:42 -0400)] 
ansible: Install modules deps only on amd64

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agojjb: Add C++ to print.sh
Michael Jeanson [Wed, 8 Sep 2021 20:21:24 +0000 (16:21 -0400)] 
jjb: Add C++ to print.sh

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agolava: handle reaching max number of retry for submit operation
Jonathan Rajotte [Wed, 29 Sep 2021 13:24:08 +0000 (09:24 -0400)] 
lava: handle reaching max number of retry for submit operation

Reaching the maximum number of retry would lead to:

 Traceback (most recent call last):
   File "/home/jenkins/workspace/vm_tests_kcanary_lcanary/src/lttng-ci/scripts/system-tests/lava2-submit.py", line 322, in <module>
     sys.exit(main())
   File "/home/jenkins/workspace/vm_tests_kcanary_lcanary/src/lttng-ci/scripts/system-tests/lava2-submit.py", line 284, in main
     print('Lava jobid:{}'.format(jobid))
 UnboundLocalError: local variable 'jobid' referenced before assignment

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: depends-on: do not run tests of dependencies
Jonathan Rajotte [Mon, 27 Sep 2021 21:25:45 +0000 (17:25 -0400)] 
jjb: depends-on: do not run tests of dependencies

The important part is how lttng-tools behave. Running the tests of
the dependencies is redundant and only leads to wasted time and CPU time.

The RUN_TESTS flag is now "namespaced" to ensure that we can turn on and
off tests for each projects if necessary.

LTTNG_TOOLS_RUN_TESTS
LTTNG_TOOLS_RUN_TESTS_LONG_REGRESSION
LTTNG_UST_RUN_TESTS
USERSPACE_RCU_RUN_TESTS

For now only `LTTNG_UST_RUN_TESTS` and `USERSPACE_RCU_RUN_TESTS` can be
manipulated via environment injection. The lttng-tools build script
is a bit more complex and manipulates the value themselves. More work
will be required if we want to control the flags of the lttng-tools
build script.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: lttng-modules: drop sloccount job
Michael Jeanson [Wed, 8 Sep 2021 18:12:28 +0000 (14:12 -0400)] 
jjb: lttng-modules: drop sloccount job

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agojjb: lttng-tools: Use urcu master un gerrit jobs
Michael Jeanson [Tue, 7 Sep 2021 19:10:18 +0000 (15:10 -0400)] 
jjb: lttng-tools: Use urcu master un gerrit jobs

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agoMerge pull request #71 from PSRCode/master
Michael Jeanson [Tue, 7 Sep 2021 19:06:27 +0000 (15:06 -0400)] 
Merge pull request #71 from PSRCode/master

jjb: Add "Depends-on: userspace-rcu:" for lttng-tools

3 years agojjb: Add "Depends-on: userspace-rcu:" for lttng-tools
Jonathan Rajotte [Fri, 3 Sep 2021 13:52:19 +0000 (09:52 -0400)] 
jjb: Add "Depends-on: userspace-rcu:" for lttng-tools

While there we can remove some conditional actions based on `conf`
"static" and "debug_rcu", since they are not defined for the gerrit job. It
facilitate the condition handling for `depends-on` handling.

Babeltrace is now always pulled and does not depends on any "$conf"
conditional action.

Since that for the remaining `conf` ("std", "agents", "no-ust") userspace_rcu is
required, use conditional only to handle the `Depends-on` feature.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: Use python3.9 explicitly on MacOS
Michael Jeanson [Thu, 5 Aug 2021 21:51:31 +0000 (17:51 -0400)] 
jjb: Use python3.9 explicitly on MacOS

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agojjb: lttng-www: nodejs 15 is deprecated. Use nodejs 16.
Jonathan Rajotte [Tue, 6 Jul 2021 19:05:15 +0000 (15:05 -0400)] 
jjb: lttng-www: nodejs 15 is deprecated. Use nodejs 16.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agoFix: system-tests: stable version parsing is done to late
Jonathan Rajotte [Tue, 22 Jun 2021 15:07:55 +0000 (11:07 -0400)] 
Fix: system-tests: stable version parsing is done to late

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agoFix: system-tests: canary 2.10 lttng-ust with urcu >= 0.13 is not supported
Jonathan Rajotte [Tue, 22 Jun 2021 14:57:46 +0000 (10:57 -0400)] 
Fix: system-tests: canary 2.10 lttng-ust with urcu >= 0.13 is not supported

urcu 0.13 removes the urcu_bp_synchronize_rcu symbols leading to
detection problem at configure time.

[1] https://github.com/lttng/lttng-ust/commit/b94384c0525ff159b7605c8010c8543388f3e71d

The canary is not updated to version 2.11 yet since the above fix is not
yet part of an official release.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: Adjust dep versions of ust and tools for urcu 0.13
Michael Jeanson [Mon, 14 Jun 2021 19:45:05 +0000 (15:45 -0400)] 
jjb: Adjust dep versions of ust and tools for urcu 0.13

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agojjb: liburcu: Add stable-0.13 jobs
Michael Jeanson [Thu, 3 Jun 2021 21:20:19 +0000 (17:20 -0400)] 
jjb: liburcu: Add stable-0.13 jobs

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agojjb: Remove urcu 0.10 for ust/tools >= 2.11
Michael Jeanson [Tue, 1 Jun 2021 20:24:57 +0000 (16:24 -0400)] 
jjb: Remove urcu 0.10 for ust/tools >= 2.11

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agojjb: Add lttng-modules stable-2.13 jobs
Michael Jeanson [Tue, 1 Jun 2021 20:13:26 +0000 (16:13 -0400)] 
jjb: Add lttng-modules stable-2.13 jobs

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agolttng-www: use bootstrap.sh instead of the ubuntu variant
Jonathan Rajotte [Thu, 27 May 2021 17:07:45 +0000 (13:07 -0400)] 
lttng-www: use bootstrap.sh instead of the ubuntu variant

The distributed jekyll version of ubuntu 18.04 is lower than the
lttng-www dependancy of jekyll v4.

Instead use the boostrap.sh script that essentially install jekyll via
`gem install`.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: lttng-ivc: urcu is now handled by lttng-ivc
Jonathan Rajotte [Tue, 18 May 2021 17:32:37 +0000 (13:32 -0400)] 
jjb: lttng-ivc: urcu is now handled by lttng-ivc

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: lttng-tools: adjust post-build action to act on failure instead of abort
Jonathan Rajotte [Fri, 14 May 2021 14:21:03 +0000 (10:21 -0400)] 
jjb: lttng-tools: adjust post-build action to act on failure instead of abort

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: lttng-tools: add clear job description for failed jobs due to timeout
Jonathan Rajotte [Fri, 14 May 2021 14:41:17 +0000 (10:41 -0400)] 
jjb: lttng-tools: add clear job description for failed jobs due to timeout

The job description is visible directly on the landing page of a job.

Red and h1 is used to be clear to the dev that the jobs was failed due
to timeout.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agoRevert "jjb: tools: mark build as aborted on timeout."
Jonathan Rajotte [Fri, 14 May 2021 13:56:48 +0000 (09:56 -0400)] 
Revert "jjb: tools: mark build as aborted on timeout."

This reverts commit 3b9bb48d192c642d57f678220c236ede3814ddb1.

This can lead to confusing situation where an aborted job due to
timeout is cleaned up by the "dev_mjeanson_system_clean" jobs before a
dev was able to have access the job logs. The current threshold for
cleaning up aborted jobs is 2 hours.

The "abort" notion is also used by the gerrit plugin to "abort" ongoing
build for which a new patch is set.

The most simple way to deal with this ambiguity is to revert this patch
and consider a timeout as a proper failure and let the human figure it
out.

A later patch will also add a timeout job description and update all
post-build actions depending on the aborted status.

3 years agojjb: lttng-ust: Add JAVA_HOME for openjdk11
Michael Jeanson [Thu, 6 May 2021 17:36:29 +0000 (13:36 -0400)] 
jjb: lttng-ust: Add JAVA_HOME for openjdk11

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agolttng-tools: executable cannot traverse root directory
Jonathan Rajotte [Wed, 5 May 2021 18:06:31 +0000 (14:06 -0400)] 
lttng-tools: executable cannot traverse root directory

The test_ust_notifier_discarded_count_multi_uid tests from lttng-tools
required that an instrumented application launched under a temporary
user be able to access lttng-ust libs in DEPS_LIBS. Since the dependancy
are not installed globally and that root owned directory are not
traversable by default, the apps fail to find liblttng-ust due to
permission setting.

To alleviate this for our CI, simply set the a+x bit on all leading
directly to DEPS_LIBS. This is acceptable under our CI since and the
root jobs since we always reset the work state to a known good state.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agotools: lava: some destructive tests are not part of the make test suite
Jonathan Rajotte [Mon, 3 May 2021 19:07:41 +0000 (15:07 -0400)] 
tools: lava: some destructive tests are not part of the make test suite

It is always expected that the destructive tests are only conducted when
the user is root.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agolava: bump jobs timeout to 5 hours
Jonathan Rajotte [Thu, 29 Apr 2021 12:31:57 +0000 (08:31 -0400)] 
lava: bump jobs timeout to 5 hours

The system tests now run more tests. It is still not clear if this is
pertinent but so far many jobs timeout at 3 hours on the rate limiting
tests.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agolava: add lava-node-amd64-05 device
Jonathan Rajotte [Thu, 29 Apr 2021 11:36:13 +0000 (07:36 -0400)] 
lava: add lava-node-amd64-05 device

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agoAdd lava-node-amd64-04 device
Jonathan Rajotte [Thu, 29 Apr 2021 04:24:30 +0000 (00:24 -0400)] 
Add lava-node-amd64-04 device

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: Add stable-2.13 jobs
Michael Jeanson [Mon, 26 Apr 2021 14:40:02 +0000 (10:40 -0400)] 
jjb: Add stable-2.13 jobs

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agogerrit: ust: run a lttng-tools build using the gerrit ust change.
Jonathan Rajotte [Wed, 24 Mar 2021 19:39:45 +0000 (15:39 -0400)] 
gerrit: ust: run a lttng-tools build using the gerrit ust change.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agoFix: system-tests: create .ssh folder on setup
Jonathan Rajotte [Tue, 9 Mar 2021 20:54:04 +0000 (15:54 -0500)] 
Fix: system-tests: create .ssh folder on setup

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agoFix: system-tests: move git checkout after network setup
Jonathan Rajotte [Tue, 9 Mar 2021 20:10:22 +0000 (15:10 -0500)] 
Fix: system-tests: move git checkout after network setup

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agoFix: systems-tests: wrong file extension. yaml -> yml
Jonathan Rajotte [Tue, 9 Mar 2021 20:03:55 +0000 (15:03 -0500)] 
Fix: systems-tests: wrong file extension. yaml -> yml

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agoFix: system-tests: missing space
Jonathan Rajotte [Tue, 9 Mar 2021 19:55:12 +0000 (14:55 -0500)] 
Fix: system-tests: missing space

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agosystem-tests: improve lava slave ssh capability
Jonathan Rajotte [Tue, 9 Mar 2021 19:29:49 +0000 (14:29 -0500)] 
system-tests: improve lava slave ssh capability

The current lava slave setup does not permit easy access to the running
slave once the job is started. This can be cumbersome when a hang
happens. To ease access, setup ssh with authorized keys for the root
user. This is only accessible from internal network.

Split the env setup in two: base and vlttng.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agosystem-tests: move to babeltrace 1.5 stable
Jonathan Rajotte [Tue, 9 Mar 2021 16:35:04 +0000 (11:35 -0500)] 
system-tests: move to babeltrace 1.5 stable

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agosystems-tests: canary jobs use custom lttng version string 'canary'
Jonathan Rajotte [Mon, 8 Mar 2021 18:56:27 +0000 (13:56 -0500)] 
systems-tests: canary jobs use custom lttng version string 'canary'

Harcode the resulting version string to "2.10".

We will need to rework this since it is error prone to hard code a
specific version here. We either fix the uptstream or we find an elegant
way to find the tag of a commit for a shallow repository downstream.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agosystem-tests: Use previous directory
Jonathan Rajotte [Fri, 5 Mar 2021 02:40:50 +0000 (21:40 -0500)] 
system-tests: Use previous directory

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
This page took 0.044505 seconds and 4 git commands to generate.