lttng-ci.git
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>
3 years agosystem-tests: refactor to allow easier test suites management across lttng versions
Jonathan Rajotte [Fri, 5 Mar 2021 01:59:07 +0000 (20:59 -0500)] 
system-tests: refactor to allow easier test suites management across lttng versions

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agoFix: system-test: 3.18 does not recognize kvm_guest.config
Jonathan Rajotte [Thu, 4 Mar 2021 15:48:34 +0000 (10:48 -0500)] 
Fix: system-test: 3.18 does not recognize kvm_guest.config

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agoUse git:// for git-mirror
Jonathan Rajotte [Wed, 3 Mar 2021 14:59:29 +0000 (09:59 -0500)] 
Use git:// for git-mirror

The http side is not scaled to usage.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agoFix: system-tests: kvmconfig is deprecated
Jonathan Rajotte [Wed, 3 Mar 2021 14:29:43 +0000 (09:29 -0500)] 
Fix: system-tests: kvmconfig is deprecated

Starting in 5.11 with commit:

  commit 9bba03d4473df0b707224d4d2067b62d1e1e2a77
  Author: Masahiro Yamada <masahiroy@kernel.org>
  Date:   Wed Dec 23 15:35:42 2020 +0900

      kconfig: remove 'kvmconfig' and 'xenconfig' shorthands

      Linux 5.10 is out. Remove the 'kvmconfig' and 'xenconfig' shorthands
      as previously announced.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agolava: pip install range not working
Jonathan Rajotte [Tue, 2 Mar 2021 14:11:18 +0000 (09:11 -0500)] 
lava: pip install range not working

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agolava: pip21 drop support for python 3.5
Jonathan Rajotte [Tue, 2 Mar 2021 14:04:16 +0000 (09:04 -0500)] 
lava: pip21 drop support for python 3.5

Limit the pip version to 20.3.x. for now.

Ultimate solution here will be to upgrade the base image from Xenial to
latest LTS.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: lttng-www: only keep 5 builds
Jonathan Rajotte [Fri, 26 Feb 2021 18:25:58 +0000 (13:25 -0500)] 
jjb: lttng-www: only keep 5 builds

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: lttng-www: use jenkins credentials to populate known_hosts ssh
Jonathan Rajotte [Fri, 26 Feb 2021 16:36:06 +0000 (11:36 -0500)] 
jjb: lttng-www: use jenkins credentials to populate known_hosts ssh

This ensure that we deploy to the good host.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agoCleanup: whitespace
Jonathan Rajotte [Fri, 26 Feb 2021 15:51:42 +0000 (10:51 -0500)] 
Cleanup: whitespace

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: add job for lttng-www auto deploy
Jonathan Rajotte [Fri, 26 Feb 2021 15:49:26 +0000 (10:49 -0500)] 
jjb: add job for lttng-www auto deploy

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: tools: mark build as aborted on timeout.
Jonathan Rajotte [Thu, 25 Feb 2021 15:28:59 +0000 (10:28 -0500)] 
jjb: tools: mark build as aborted on timeout.

This can help identify the cause of the "failure" between test failure
and timeout abort. It also facilitate the classification of  post-build
action.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: tools: add post-build action to gather tap logs
Jonathan Rajotte [Mon, 22 Feb 2021 22:20:31 +0000 (17:20 -0500)] 
jjb: tools: add post-build action to gather tap logs

Currently, if a build abort (timeout etc.) we do not gather the tap logs
and this can lead to difficulty in figuring out the causes of the
problem.

The action is performed only on Abort.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
3 years agojjb: Bump SLES12 to SP5
Michael Jeanson [Thu, 11 Feb 2021 20:58:48 +0000 (15:58 -0500)] 
jjb: Bump SLES12 to SP5

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agojjb: Drop all Solaris jobs
Michael Jeanson [Mon, 8 Feb 2021 15:27:56 +0000 (10:27 -0500)] 
jjb: Drop all Solaris jobs

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agoansible: jdk is provided by the common role
Michael Jeanson [Thu, 4 Feb 2021 17:21:47 +0000 (12:21 -0500)] 
ansible: jdk is provided by the common role

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agoansible: remove scope role from all nodes
Michael Jeanson [Thu, 4 Feb 2021 17:21:01 +0000 (12:21 -0500)] 
ansible: remove scope role from all nodes

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 years agojjb: lttng-modules: remove -Werror
Michael Jeanson [Thu, 4 Feb 2021 16:56:12 +0000 (11:56 -0500)] 
jjb: lttng-modules: remove -Werror

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
This page took 0.039846 seconds and 4 git commands to generate.