lttng-ci.git
9 months agoansible: Support Ubuntu focal, jammy, and noble in compiler role
Kienan Stewart [Wed, 14 Feb 2024 19:40:58 +0000 (14:40 -0500)] 
ansible: Support Ubuntu focal, jammy, and noble in compiler role

Change-Id: I2d4e4878c761650779dd0678d030fc651cf9b885
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Limit deploying LTTng-CI PPA to Jammy
Kienan Stewart [Wed, 14 Feb 2024 19:35:38 +0000 (14:35 -0500)] 
ansible: Limit deploying LTTng-CI PPA to Jammy

The PPA only provides packages for Bionic and Jammy at this
time. Bionic is not going to be supported by the ansible scripts.

Change-Id: Ifc28fae75b94a49840c0efc887631fd49d712efe
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Add job for building Ubuntu images
Kienan Stewart [Mon, 12 Feb 2024 18:33:42 +0000 (13:33 -0500)] 
jjb: Add job for building Ubuntu images

Change-Id: I3b59a30b461ab170073234cd0d7737e27c755875
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agolava: Remove apt update & upgrade from lava setup
Kienan Stewart [Mon, 12 Feb 2024 15:56:52 +0000 (10:56 -0500)] 
lava: Remove apt update & upgrade from lava setup

The `apt-get upgrade` will block waiting for user input unless `-y` is
specified, causing builds to time out when there are actually updates
to perform.

Rather than forcing the command to run in non-interactive mode, I
decided to remove the update and ugprade. My principal reasoning is
that most of the jobs no longer require extra packages to be installed
at run time - they are included instead in the rootfs.

Change-Id: Ia9d76aa6ddda9b1a06b27125dca10f92b0e8c2fa
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: restrict mode on internal certificate private key to user
Kienan Stewart [Mon, 12 Feb 2024 15:49:47 +0000 (10:49 -0500)] 
ansible: restrict mode on internal certificate private key to user

Samba asserts that the mode is 0600, not 0640.

Change-Id: If6ca4dba54726c29caba18575f9c0796d14a6b79
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Add configurable path prefix for the internal certificate
Kienan Stewart [Mon, 12 Feb 2024 15:48:45 +0000 (10:48 -0500)] 
ansible: Add configurable path prefix for the internal certificate

This allows a task or role to change the variable and deploy the files
in another location. Eg., for samba they can be deployed into
/etc/samba/tls instead.

Change-Id: I0ee629e7b83f2ef4304948aa2627100ebe1b8cef
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Update matchStrs for Ubuntu focal kernels
Kienan Stewart [Thu, 8 Feb 2024 15:28:47 +0000 (10:28 -0500)] 
jjb: Update matchStrs for Ubuntu focal kernels

Change-Id: I5e8763951e8b4720a9dfb87c61e4de82dc5f4c01
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Add lttng-modules jobs for Ubuntu noble
Kienan Stewart [Thu, 8 Feb 2024 15:12:56 +0000 (10:12 -0500)] 
jjb: Add lttng-modules jobs for Ubuntu noble

While Ubuntu noble isn't yet released[1], the groundwork can be laid
to start running our CI tests again the kernels they may use.

[1]: https://discourse.ubuntu.com/t/noble-numbat-release-schedule/35649/4

Change-Id: Id2e1d6f4698fa43449b081b635dbb4c460495f33
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Add mirror Ubuntu noble kernel sources to git-mirror
Kienan Stewart [Thu, 8 Feb 2024 15:01:07 +0000 (10:01 -0500)] 
ansible: Add mirror Ubuntu noble kernel sources to git-mirror

Change-Id: I37c2a78d3f3c9fc970375cfaa6219ebf21aeadbc
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Add dev_review jobs for lttng-ust-java-tests
Kienan Stewart [Fri, 2 Feb 2024 16:03:28 +0000 (11:03 -0500)] 
jjb: Add dev_review jobs for lttng-ust-java-tests

Change-Id: I294802750dd560c56690751bb279f78270030ed2
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Test newly published images before changing aliases
Kienan Stewart [Thu, 1 Feb 2024 18:46:37 +0000 (13:46 -0500)] 
jjb: Test newly published images before changing aliases

Change-Id: I20d8eaf171508ff43cf31b7d89b271741fdf323b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Add support for SLES to docker role
Kienan Stewart [Wed, 31 Jan 2024 19:41:09 +0000 (14:41 -0500)] 
ansible: Add support for SLES to docker role

Change-Id: Ie217bf343e8d7564cba800818cf5bb3ccc087a97
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Add SLES support to developer role
Kienan Stewart [Wed, 31 Jan 2024 19:26:13 +0000 (14:26 -0500)] 
ansible: Add SLES support to developer role

Change-Id: I710a9fd8f84789bb2617255e045a36f4af784f37
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Add support for SLES in i386-libs role
Kienan Stewart [Wed, 31 Jan 2024 16:20:02 +0000 (11:20 -0500)] 
ansible: Add support for SLES in i386-libs role

Change-Id: Ib2629466f055188fb1f5bd7dd0f41496f93775cd
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Allow cloud-init status to complete with an error for images
Kienan Stewart [Wed, 31 Jan 2024 14:07:45 +0000 (09:07 -0500)] 
jjb: Allow cloud-init status to complete with an error for images

Change-Id: I7b63d76a9ce61a3cf19b2ab8f75742dde42e51a2
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Correct runcmd to deploy SSH public keys in profiles
Kienan Stewart [Wed, 31 Jan 2024 14:02:34 +0000 (09:02 -0500)] 
ansible: Correct runcmd to deploy SSH public keys in profiles

`authorized_keys` should be a file, not a directory.

Change-Id: Ia8d250149b77f6e812a311509e70900f2a975c9b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Reduce output when downloading go during distrobuild
Kienan Stewart [Wed, 31 Jan 2024 13:32:44 +0000 (08:32 -0500)] 
jjb: Reduce output when downloading go during distrobuild

Change-Id: Ia30dc11a07ea691077ca82faa8633ad1068e96e6
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb/ansible: Add support for building SLES images
Kienan Stewart [Tue, 30 Jan 2024 20:53:51 +0000 (15:53 -0500)] 
jjb/ansible: Add support for building SLES images

Change-Id: I89af9759bb7b3c8352ea19f1f6890842cb4efe9a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Use image type to different vm and container distrobuild images
Kienan Stewart [Tue, 30 Jan 2024 16:48:42 +0000 (11:48 -0500)] 
jjb: Use image type to different vm and container distrobuild images

Our lxd instance doesn't support applying the same alias to multiple
image fingerprints at this time.

Change-Id: Id12ade8f6ea1c00be10bc33528448f5b0c016f37
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Support release specific distrobuilder files
Kienan Stewart [Tue, 30 Jan 2024 16:46:42 +0000 (11:46 -0500)] 
jjb: Support release specific distrobuilder files

Change-Id: I9f692b483356cc7f6d40f5e39372c7f633b623d3
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Add dev_review_lttng-ust_lttng-tools_master for SLES
Kienan Stewart [Tue, 30 Jan 2024 14:12:44 +0000 (09:12 -0500)] 
jjb: Add dev_review_lttng-ust_lttng-tools_master for SLES

Change-Id: I20d3b65b2ffb343a16b92a39fc77f1f958733f1a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Add support for SLES 12
Kienan Stewart [Thu, 25 Jan 2024 18:43:21 +0000 (13:43 -0500)] 
ansible: Add support for SLES 12

Change-Id: I5cbc69edd7673e0bc1375f1a6720b96665d5f30f
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Register SLES nodes if necessary
Kienan Stewart [Wed, 31 Jan 2024 15:19:15 +0000 (10:19 -0500)] 
ansible: Register SLES nodes if necessary

Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Change-Id: Iae950177ebddf2ecec67f9f719d088051cdaee2f

9 months agoansible: Activate supplementary SLES repos using suseconnect
Kienan Stewart [Thu, 25 Jan 2024 18:42:20 +0000 (13:42 -0500)] 
ansible: Activate supplementary SLES repos using suseconnect

Change-Id: I25ce4a9c6a4d47efc478b559adf7bef3c37660fa
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Install compilers on sles nodes
Kienan Stewart [Thu, 25 Jan 2024 18:34:55 +0000 (13:34 -0500)] 
ansible: Install compilers on sles nodes

Change-Id: I1c487cc929ab661c091812b7ff6e9730e6bf648d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Remove corrupted YAML when parsing TAP results on lttng-tools
Kienan Stewart [Wed, 24 Jan 2024 13:43:25 +0000 (08:43 -0500)] 
jjb: Remove corrupted YAML when parsing TAP results on lttng-tools

While `stdbuf` helps, it doesn't guarantee that the YAML sections in
the TAP output are parseable.

Requires: jenkins-job-buidler with the following patch:
https://review.opendev.org/c/jjb/jenkins-job-builder/+/906536

Change-Id: Ibf9780fef5334d1c2abfe4a339776c40e822824a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Disable TAP timing on slesbuilds of lttng-tools
Kienan Stewart [Tue, 23 Jan 2024 20:26:22 +0000 (15:26 -0500)] 
jjb: Disable TAP timing on slesbuilds of lttng-tools

The tap results regularly have malformed YAML which causes the builds
to fail spuriously.

Change-Id: I53f28d01eb5f126d7d6803846353852bdaf2065f
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Add dev_review_slesbuild for lttng-tools
Kienan Stewart [Tue, 23 Jan 2024 15:36:52 +0000 (10:36 -0500)] 
jjb: Add dev_review_slesbuild for lttng-tools

Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Change-Id: I5b4a78c9c4f28f050bfd19e250a81d7f51083ec7

9 months agojjb/ansible: Test lttng-ust-java-agents on slesbuilds
Kienan Stewart [Wed, 10 Jan 2024 14:00:57 +0000 (09:00 -0500)] 
jjb/ansible: Test lttng-ust-java-agents on slesbuilds

Change-Id: Ie3b77a9ed6276a73bc3446825c5017c67066aff2
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Update host names for SLES ci nodes
Kienan Stewart [Tue, 9 Jan 2024 20:52:38 +0000 (15:52 -0500)] 
ansible: Update host names for SLES ci nodes

Change-Id: Ic52654e46d4e64a2deb5a0f255fa8fb026966c23

9 months agojjb: update yocto powerpc and ppc64 to kirkstone
Michael Jeanson [Tue, 30 Jan 2024 18:06:56 +0000 (13:06 -0500)] 
jjb: update yocto powerpc and ppc64 to kirkstone

Change-Id: Iab8529b9f716c57e5661779ebfb1ef97d63815e1
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
9 months agolava: Use custom timeout function for make check
Kienan Stewart [Tue, 23 Jan 2024 15:01:19 +0000 (10:01 -0500)] 
lava: Use custom timeout function for make check

This allows us to send SIGABRT and get coredumps for the state of the
binaries that are interesting.

Change-Id: I5304b4856a80f25389180b36c6666cf60cfbd4a7
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoMerge "jjb: babeltrace: add shellcheck to lint jobs"
Michael Jeanson [Tue, 23 Jan 2024 20:19:24 +0000 (15:19 -0500)] 
Merge "jjb: babeltrace: add shellcheck to lint jobs"

9 months agojjb: babeltrace: add shellcheck to lint jobs
Michael Jeanson [Fri, 15 Dec 2023 21:45:15 +0000 (16:45 -0500)] 
jjb: babeltrace: add shellcheck to lint jobs

Change-Id: Id709f4982c66a11ae0188f257e21a9332c6fb85b
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
9 months agoansible: Deploy combined key+cert for haproxy
Kienan Stewart [Tue, 23 Jan 2024 18:53:30 +0000 (13:53 -0500)] 
ansible: Deploy combined key+cert for haproxy

Change-Id: I7cbb2dee54b8322b1acbcfd440cbbf1efce302d6
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Update internal ssl cert for 2024
Michael Jeanson [Tue, 23 Jan 2024 18:27:33 +0000 (13:27 -0500)] 
ansible: Update internal ssl cert for 2024

Change-Id: I0cc49f9fb2a963f0e12c5e6405da42189e79f750
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
9 months agojjb: test lttng-modules review jobs with the latest kernel rc
Kienan Stewart [Mon, 22 Jan 2024 19:17:34 +0000 (14:17 -0500)] 
jjb: test lttng-modules review jobs with the latest kernel rc

This helps in situations where an RC as just been released and that
the incoming review commit(s) that are run by the CI need to check
that version.

Change-Id: I363469fadeb7c0219c52aa0b4521a45ee0edfd10
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Add docker role for developer nodes
Kienan Stewart [Mon, 22 Jan 2024 15:43:31 +0000 (10:43 -0500)] 
ansible: Add docker role for developer nodes

Change-Id: If8df43b443c547f9229c8502146c4c2b9456afc2
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agoansible: Limit gcc cross from bookworm snapshot to bookworm nodes
Kienan Stewart [Fri, 19 Jan 2024 18:33:31 +0000 (13:33 -0500)] 
ansible: Limit gcc cross from bookworm snapshot to bookworm nodes

Change-Id: I572ec2499555739e7e0245f93bf0ac50efc14f60
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agoansible: Use a more generic condition for installing linux headers
Kienan Stewart [Fri, 19 Jan 2024 16:36:30 +0000 (11:36 -0500)] 
ansible: Use a more generic condition for installing linux headers

When building ci-node or developer images, the linux headers weren't
being installed as the node wasn't in the node_standalone group.

When the node is a virtualization host or a KVM guest, the headers
will be installed.

Change-Id: Ic19459fc6c3f7c0b47541ffb194640f01e517986
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agoansible: Exclude cross compiler packages not available in Debian/i386
Kienan Stewart [Fri, 10 Nov 2023 15:25:25 +0000 (10:25 -0500)] 
ansible: Exclude cross compiler packages not available in Debian/i386

Change-Id: I05ee89ccf407b42ee026d3c5eb70549a05037016

10 months agoansible: Add support for Debian sid
Kienan Stewart [Thu, 9 Nov 2023 19:59:01 +0000 (14:59 -0500)] 
ansible: Add support for Debian sid

Change-Id: I1debfebc84926c5a1f0621607a3e706b3b444b65
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agoansible: Add support for Debian trixie
Kienan Stewart [Thu, 9 Nov 2023 19:53:38 +0000 (14:53 -0500)] 
ansible: Add support for Debian trixie

Change-Id: I7ab2688ae11c71fcfd0893a2fdd1dfaa110bab74
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agoansible: Add support for Debian 11
Kienan Stewart [Thu, 9 Nov 2023 19:40:00 +0000 (14:40 -0500)] 
ansible: Add support for Debian 11

Change-Id: Ia6a3202f5fdf130b8fc2103f7ce2c30bbf2af099
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agojjb: Add jobs for building ci/dev images
Kienan Stewart [Tue, 31 Oct 2023 13:57:03 +0000 (09:57 -0400)] 
jjb: Add jobs for building ci/dev images

Change-Id: I68ec852b8dcf4775966b8bfb4a53e1d539b58d2b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agoansible: Remove lttng-analyses role
Kienan Stewart [Fri, 19 Jan 2024 16:01:16 +0000 (11:01 -0500)] 
ansible: Remove lttng-analyses role

lttng-analyses is archived and not currently maintained

Change-Id: Iae8c3172255088bec82f34fac907e05d6c206a61
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agojjb: Remove lttng-analyses jobs
Kienan Stewart [Fri, 19 Jan 2024 15:59:07 +0000 (10:59 -0500)] 
jjb: Remove lttng-analyses jobs

lttng-analyses has been archived and isn't currently maintained

Change-Id: I5d9dc404cfd4557dcab233e814910ee05a1e400d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agoansible: Install gcc5 on Debian 12 CI nodes
Kienan Stewart [Thu, 18 Jan 2024 19:23:20 +0000 (14:23 -0500)] 
ansible: Install gcc5 on Debian 12 CI nodes

lttng-modules crossbuilds for arm64 were failing for kernel versions <
4.4, principally due to gcc < 5.1 being explicitly denied in
lttng-modules.

To recover compilation coverage for these versions on this
architecture, gcc 5.5.0 has been built and deployed via ansible on to
the deb12-amd64 nodes.

The compilation coverage is not quite as large, as support for gcc 5
was only introduced in linux 3.18.

Fixes: support #1604
Change-Id: I49e7fc9d081c0b86cb25487d161efc3d1cf8f484
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agolava: Install vlttng inside a venv
Kienan Stewart [Mon, 15 Jan 2024 19:00:11 +0000 (14:00 -0500)] 
lava: Install vlttng inside a venv

A number of the lava jobs were failing as the python tests couldn't
import the `bt2` module. While it may be possible to improve the
behaviour of vlttng to better address the situation two elements
combine to make the process work more systematically:

* Install `vlttng` inside a venv instead of using the
`--break-system-packages` option: once activated, this will set an
initial value for the `PYTHONPATH` environment variable
* When `vlttng` is invoked, since `PYTHONPATH` is no longer empty, the
value will be updated correctly.

In the case of the new rootfs, it also appears to be necessary to
ensure that `setuptools` is using `distutils` from Python stdlib,
although the module is deprecated and will be removed in Python 3.12

C.f. https://peps.python.org/pep-0632/

Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Change-Id: If0aefb72f5c37721f88b49bd4a841b5ce61f46a0

10 months agolava: Wait until time is synchronised during test suite cleanup
Kienan Stewart [Mon, 15 Jan 2024 14:35:56 +0000 (09:35 -0500)] 
lava: Wait until time is synchronised during test suite cleanup

Change-Id: I85d426b9167eb53777d0684d4f7f3249a6a48f3a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agoansible: Add cron job to reboot armhf nodes that have gone read-only
Kienan Stewart [Wed, 17 Jan 2024 19:04:46 +0000 (14:04 -0500)] 
ansible: Add cron job to reboot armhf nodes that have gone read-only

Change-Id: I4f2c38244bf4135600e1e33bf9c4fe76be1de740
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agojjb: lttng-ivc: use 'lttng' upstream repo for lttng-ivc
Michael Jeanson [Tue, 16 Jan 2024 18:48:43 +0000 (13:48 -0500)] 
jjb: lttng-ivc: use 'lttng' upstream repo for lttng-ivc

Change-Id: I6a9acb70983e7e4bf88210a2b596ae8f5685f4f4
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
10 months agojjb: babeltrace: remove unused mjeanson dev jobs
Michael Jeanson [Tue, 16 Jan 2024 18:30:36 +0000 (13:30 -0500)] 
jjb: babeltrace: remove unused mjeanson dev jobs

Change-Id: I83e3fdb903bbce26d51383ba653e297e08d949a3

10 months agojjb: fix memory printing on FreeBSD
Michael Jeanson [Tue, 16 Jan 2024 18:17:48 +0000 (13:17 -0500)] 
jjb: fix memory printing on FreeBSD

Change-Id: I0f5b56d9008e08134f81563d9c54f1bb15cb843b
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
10 months agojjb/lava: Update system tests to use Debian bookworm rootfs
Kienan Stewart [Thu, 21 Dec 2023 14:52:24 +0000 (09:52 -0500)] 
jjb/lava: Update system tests to use Debian bookworm rootfs

Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Change-Id: If40992f99c7b484351b2f54255fc37c4d89eed8b

10 months agolava: Upload artifacts as a separate test
Kienan Stewart [Tue, 9 Jan 2024 19:19:06 +0000 (14:19 -0500)] 
lava: Upload artifacts as a separate test

Change-Id: I6736aa3d1e807ef26451008cc5e2ec2f6aa93de8
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agojjb/lava: Correct YAML loading for lava job results
Kienan Stewart [Thu, 11 Jan 2024 20:10:03 +0000 (15:10 -0500)] 
jjb/lava: Correct YAML loading for lava job results

Change-Id: I7d2a7d4eeb0192c4ac1b83547683fc02589ccc76
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agojjb: print hardware details
Michael Jeanson [Fri, 12 Jan 2024 16:16:25 +0000 (11:16 -0500)] 
jjb: print hardware details

Print the hardware details of the CI node at the beginning of the build.

Change-Id: I675d950f687df72f90f89d296b1a68b9207d0f93
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
10 months agojjb: lttng-tools: remove unused mjeanson dev jobs
Michael Jeanson [Fri, 12 Jan 2024 18:27:53 +0000 (13:27 -0500)] 
jjb: lttng-tools: remove unused mjeanson dev jobs

Change-Id: Ic53dc166092343b469cabef9ac4d8828b5a10205
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
10 months agojjb: lttng-ust: remove unused mjeanson dev jobs
Michael Jeanson [Fri, 12 Jan 2024 18:27:39 +0000 (13:27 -0500)] 
jjb: lttng-ust: remove unused mjeanson dev jobs

Change-Id: I455a6475319c5abb1ab920dcc823da4371287b17
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
10 months agojjb: Remove lttng-ust jobs for unsupported versions
Kienan Stewart [Wed, 10 Jan 2024 19:06:30 +0000 (14:06 -0500)] 
jjb: Remove lttng-ust jobs for unsupported versions

Change-Id: Ic763d668554b3745fc3aff4d81cf403ca9a1e35d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agojjb: Remove lttng-tools jobs for unsupported versions
Kienan Stewart [Wed, 10 Jan 2024 18:59:12 +0000 (13:59 -0500)] 
jjb: Remove lttng-tools jobs for unsupported versions

Change-Id: I0d4bfba21560a8cdb2601a0fe0ae51c04a78df06
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agojjb: Disable UST java tests by default on non-linuxbuild targets
Kienan Stewart [Wed, 10 Jan 2024 15:18:04 +0000 (10:18 -0500)] 
jjb: Disable UST java tests by default on non-linuxbuild targets

Change-Id: I451abf33352c8953a0b909974597a0b9916898ce
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agolava: Include test logs in uploaded artifact when make check fails
Kienan Stewart [Tue, 9 Jan 2024 18:49:32 +0000 (13:49 -0500)] 
lava: Include test logs in uploaded artifact when make check fails

Change-Id: I2c216a12f94f377de719ec128a0dae8524f08480
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agolava: Use safe loads for YAML
Kienan Stewart [Tue, 9 Jan 2024 16:04:58 +0000 (11:04 -0500)] 
lava: Use safe loads for YAML

The version of LAVA we are using was updated last year, and includes
fixes for supporting safe YAML.

C.f. https://gitlab.com/lava/lava/-/commit/c0da3495c11936d761de4e03d709041f2f9a1d3e

Fixes Support #754

Change-Id: I34afafa5643fa45059077468536239e4b48d15ac
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
10 months agojjb: binutils-gdb: don't run tests in parallel
Simon Marchi [Tue, 9 Jan 2024 15:42:51 +0000 (10:42 -0500)] 
jjb: binutils-gdb: don't run tests in parallel

We see some tests failing, where GDB gets SIGKILLed, most likely some
out of memory problems.  Don't run test in parallel for now, to try to
avoid these.

Change-Id: I6e3ed399dd9376d5ab0316f85b77eb4c0b35c9e1

10 months agoansible: Install rasdaemon and prometheus exporter on CI hosts
Kienan Stewart [Mon, 8 Jan 2024 20:29:20 +0000 (15:29 -0500)] 
ansible: Install rasdaemon and prometheus exporter on CI hosts

Change-Id: Iff4018e7e4174aad321ab740e534cab4d3414255
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
11 months agojjb: Rerun failed system test jobs by default
Kienan Stewart [Thu, 21 Dec 2023 13:28:52 +0000 (08:28 -0500)] 
jjb: Rerun failed system test jobs by default

There can be occasional temporary errors launching jobs, eg. a
time-out waiting for the PXE boot, or flaky tests. Rather than stop
trying to run the test after a single failure, the failed tests will
be retried the next time to job is triggered.

Change-Id: Id996e70d46c41cf4693d6d2a9febe7a3c557e86b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
11 months agojjb: Manage system tests view with jenkins-job-builder
Kienan Stewart [Thu, 21 Dec 2023 12:59:51 +0000 (07:59 -0500)] 
jjb: Manage system tests view with jenkins-job-builder

The view was only configured via the interface, and a number of the
jobs weren't being shown.

In particular the regex for the baremetal tests in the interface was
missing the plural 's' on the 'tests'.

Change-Id: Ib4c2cd78bd8b92a14a114f7fc72df4cf2a5afce3
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
11 months agojjb: Add Linux 6.6.y to system tests
Kienan Stewart [Thu, 21 Dec 2023 12:49:43 +0000 (07:49 -0500)] 
jjb: Add Linux 6.6.y to system tests

Change-Id: Ibcc313e0996ba0d269ee8725bfa138344f276561
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
11 months agojjb: Use git.efficios.com mirror for deploying efficios-www
Kienan Stewart [Mon, 18 Dec 2023 19:53:22 +0000 (14:53 -0500)] 
jjb: Use git.efficios.com mirror for deploying efficios-www

Change-Id: Ic4d92b9f64be4a425eb90175eebe9198048f9f34
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
11 months agojjb: babeltrace: run tools/format-cpp.sh to check C++ formatting
Simon Marchi [Fri, 8 Dec 2023 16:10:40 +0000 (11:10 -0500)] 
jjb: babeltrace: run tools/format-cpp.sh to check C++ formatting

Change-Id: I87ce874d12792697522c4a5b92dd120e138791b3
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
11 months agojjb: drop macos-amd64 except for binutils-gdb
Michael Jeanson [Fri, 15 Dec 2023 20:24:36 +0000 (15:24 -0500)] 
jjb: drop macos-amd64 except for binutils-gdb

Our macOS amd64 machine is unsupported and doesn't receive OS updates
anymore.

Change-Id: I51449a8158423d5dc1f2c736c19bb5d23711015e
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
11 months agojjb: babeltrace: move mingw64 builds to ucrt64
Michael Jeanson [Fri, 15 Dec 2023 20:07:46 +0000 (15:07 -0500)] 
jjb: babeltrace: move mingw64 builds to ucrt64

UCRT64 is the new default runtime supported by the MSYS2 project.

Change-Id: I74576e3a7c7e7522b12abd103105bada70bb5051
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
11 months agojjb: babeltrace: drop mingw32 flavor from winbuild
Michael Jeanson [Fri, 15 Dec 2023 20:01:35 +0000 (15:01 -0500)] 
jjb: babeltrace: drop mingw32 flavor from winbuild

The MSYS2 project is starting to deprecate their 32-bit support, drop it
from the build matrix.

Change-Id: I184880f6d2e8408de451084daccae2a1dbaae5b0
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
11 months agojjb: liburcu: remove mjeanson dev jobs
Michael Jeanson [Thu, 14 Dec 2023 21:32:22 +0000 (16:32 -0500)] 
jjb: liburcu: remove mjeanson dev jobs

Change-Id: I0364e04066f3d48b710c2ffb410578b0dbb3b424
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
11 months agojjb: remove -DDEBUG from coverity CFLAGS
Michael Jeanson [Thu, 14 Dec 2023 21:10:28 +0000 (16:10 -0500)] 
jjb: remove -DDEBUG from coverity CFLAGS

As far as I know we don't use this define and it conflicts with a
loglevel enum value in babeltrace.

Change-Id: I197deacfdd178288404ddb8f2ad94034baf512ed
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
11 months agoansible: Use HTTP/1.1 for git http operations on Debian bookworm
Kienan Stewart [Mon, 11 Dec 2023 14:40:35 +0000 (09:40 -0500)] 
ansible: Use HTTP/1.1 for git http operations on Debian bookworm

When using HTTP/2 for git operations, git's use of libcurl can result
in deadlocks with libcurl 7.84-8.4 as libcurl may call the read
callback multiple times after EOF.

@see https://lore.kernel.org/git/CAGE_+C5u9H8m5faK1vXKk6QTyjcHgKHqxOZy5ptzsYbF_0yrCQ@mail.gmail.com/
@see https://curl.se/mail/lib-2023-11/0017.html
@see https://github.com/curl/curl/pull/12363

Fixes #1532

Change-Id: I1236d7bc8480c2b8316891b2572ce93f999ff4e4

11 months agoMerge "jjb: Add dev_review_efficios-www"
Kienan Stewart [Tue, 5 Dec 2023 20:36:16 +0000 (15:36 -0500)] 
Merge "jjb: Add dev_review_efficios-www"

11 months agoMerge "jjb: Add dev_review_lttng-www"
Kienan Stewart [Tue, 5 Dec 2023 20:35:56 +0000 (15:35 -0500)] 
Merge "jjb: Add dev_review_lttng-www"

11 months agojjb: Add dev_review_efficios-www
Kienan Stewart [Fri, 1 Dec 2023 20:58:44 +0000 (15:58 -0500)] 
jjb: Add dev_review_efficios-www

Change-Id: I3c73146fafa6a8a898daaeb67f5d5f4c821b1765
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
11 months agojjb: Add dev_review_lttng-www
Kienan Stewart [Fri, 1 Dec 2023 20:39:38 +0000 (15:39 -0500)] 
jjb: Add dev_review_lttng-www

Change-Id: I924fdbb835b7767f62aa25bc1eeea94e3b61746c
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
11 months agojjb: Update recent Linux kernel LTS versions
Kienan Stewart [Fri, 1 Dec 2023 15:58:34 +0000 (10:58 -0500)] 
jjb: Update recent Linux kernel LTS versions

C.f. https://www.kernel.org/category/releases.html accessed on
2023-12-01

Change-Id: I60d6252eaa1b73d3c9e4390d0fb76fecc62cee7b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
11 months agojjb: Add older LTS kernel versions
Kienan Stewart [Fri, 1 Dec 2023 15:36:24 +0000 (10:36 -0500)] 
jjb: Add older LTS kernel versions

lttng-modules stable-2.13 supports Linux >= 3.0 at this time. When
`dev_review_` jobs for this branch are run, the version ranges are set
with `kverceil` and `kverfloor`, then filtered according to
`lts-head`. Since only more recent LTS kernels were added to
`lts_kversions`, CI tests weren't running against as wide of a range
of kernels as suggested by the project's support matrix.

Change-Id: Id49eca88732ed2cdd840e717e13c9161b35f2e81
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
11 months agoMerge "ansible: Add group roles for building ci/dev images"
Kienan Stewart [Fri, 1 Dec 2023 18:28:42 +0000 (13:28 -0500)] 
Merge "ansible: Add group roles for building ci/dev images"

11 months agoMerge "ansible: Add role for developer tools"
Kienan Stewart [Fri, 1 Dec 2023 18:28:35 +0000 (13:28 -0500)] 
Merge "ansible: Add role for developer tools"

11 months agoMerge "ansible: Use 'compilers_legacy_install' to control legacy CC installation"
Kienan Stewart [Fri, 1 Dec 2023 18:28:17 +0000 (13:28 -0500)] 
Merge "ansible: Use 'compilers_legacy_install' to control legacy CC installation"

11 months agoMerge "ansible: lxd: Disable secureboot on the ci-rootnode profile"
Kienan Stewart [Fri, 1 Dec 2023 18:27:49 +0000 (13:27 -0500)] 
Merge "ansible: lxd: Disable secureboot on the ci-rootnode profile"

11 months agoansible: Add group roles for building ci/dev images
Kienan Stewart [Tue, 31 Oct 2023 13:55:27 +0000 (09:55 -0400)] 
ansible: Add group roles for building ci/dev images

Change-Id: I7c1ac127fd43d7b9507c0f9672f9800604dc48d3

11 months agoansible: Add role for developer tools
Kienan Stewart [Tue, 31 Oct 2023 13:55:14 +0000 (09:55 -0400)] 
ansible: Add role for developer tools

The idea of the developer tools roles is to provide commonly used by
people working interactively in an environment on LTTng or other
projects.

This first pass is based on https://github.com/jgalar/lttng-dockerfiles

Change-Id: I2b822602dfeb08bf59ab5094cee2f0554845a614

12 months agoansible: Remove lttng-scope role
Kienan Stewart [Mon, 20 Nov 2023 19:01:08 +0000 (14:01 -0500)] 
ansible: Remove lttng-scope role

Change-Id: Ied03ebfa715c2e26f688418ba1948d299f69c0d5
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
12 months agojjb: Remove coverity build options related to lttng-scope
Kienan Stewart [Mon, 20 Nov 2023 19:00:33 +0000 (14:00 -0500)] 
jjb: Remove coverity build options related to lttng-scope

Change-Id: I9eded456cd58e5ccd55559c01b1060813f01a530
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
12 months agoansible: Use 'compilers_legacy_install' to control legacy CC installation
Kienan Stewart [Tue, 24 Oct 2023 20:26:28 +0000 (16:26 -0400)] 
ansible: Use 'compilers_legacy_install' to control legacy CC installation

Change-Id: Ib82813759364dd7227206f3dd4e6d8d95b720b2e

12 months agoansible: lxd: Disable secureboot on the ci-rootnode profile
Kienan Stewart [Tue, 24 Oct 2023 20:23:45 +0000 (16:23 -0400)] 
ansible: lxd: Disable secureboot on the ci-rootnode profile

The rootnodes are typically VMs (currently managed via libvirt rather
than lxd). However, the profile is still useful when launching VMs
from images for testing, eg.

lxc launch -p default -p ci-rootnode --vm images:debian/10/cloud/amd64

Without disabling secureboot, extra steps are required to load any
built kernel modules.

Change-Id: I65ec94cf6e2891c27e437a3b1a4e8126f81487da

12 months agojjb: Stop using jgit for lttng-tools jobs
Kienan Stewart [Tue, 7 Nov 2023 20:03:29 +0000 (15:03 -0500)] 
jjb: Stop using jgit for lttng-tools jobs

The CI master and the Debian workers are using a more recent
libcurl3-gnutls which doesn't seem to suffer from the same issues when
fetching tags from some of the gerrit repos.

Refs #1532

Change-Id: I972f17572ae30a2394944b716bebf0b5d5824cc5

12 months agojjb: coverity: fix for curl 8.4
Michael Jeanson [Tue, 7 Nov 2023 18:27:32 +0000 (13:27 -0500)] 
jjb: coverity: fix for curl 8.4

We upgraded curl to work around a git clone issue but this new version
doesn't support combining '--form' or '--data' with '--continue-at'.
Remove the resume support that was added when the Coverity download
server was flaky, they seem to have fixed the issue on their side.

Change-Id: I9907a1cba903a73a8221a5ce490c39d82e2d4769
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
12 months agoansible: Install libcurl3-gnutls from bookworm-backports
Kienan Stewart [Mon, 6 Nov 2023 20:28:26 +0000 (15:28 -0500)] 
ansible: Install libcurl3-gnutls from bookworm-backports

In the CI builds, we're seeing an issue where certain projects hang
and fail to checkout the gerrit refs.

Eg. ```
git init .
git fetch --tags --force --progress -- \
  https://review.lttng.org/babeltrace \
  +refs/heads/*:refs/remotes/origin/*
git fetch --tags --force --progress -- \
  https://review.lttng.org/babeltrace \
  refs/changes/*:refs/changes/*
```

Not all repositories are affected. There seems to be some type of
content in the gerrit repository that triggers the issue.
After some testing, the version of libcurl3-gnutls available in
bookworm-backports (8.4.0-2~bpo12+1) doesn't seem to be affected
while the version in Debian bookworm (7.88.1-10+deb12u4) fails.

Fetches via SSH are not affected.

Refs #1532

Change-Id: If4b8ca62d5a512c7cccc2225b180b91d3832987d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
12 months agojjb: Cleanup system tests email notification recipients
Kienan Stewart [Wed, 1 Nov 2023 16:02:35 +0000 (12:02 -0400)] 
jjb: Cleanup system tests email notification recipients

Change-Id: Ibf861c81fc0a3130f12edb9f52f52858a1d9dd73
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
13 months agojjb: babeltrace: Add 'isort' to pylint jobs
Michael Jeanson [Thu, 19 Oct 2023 19:14:40 +0000 (15:14 -0400)] 
jjb: babeltrace: Add 'isort' to pylint jobs

Requested by Simon, the script makes sure it doesn't run on stable-15
and stable-2.0 where it's not supported.

Change-Id: Ia4617feff900fe7ca9542c06974f1b45371d011b
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: Add jobs for lttng-docs
Kienan Stewart [Thu, 19 Oct 2023 17:57:09 +0000 (13:57 -0400)] 
jjb: Add jobs for lttng-docs

Change-Id: I92bea15063de5d942a0e095109c4b6a4d5656b9d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
This page took 0.039996 seconds and 4 git commands to generate.