lttng-ci.git
8 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>
8 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

8 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>
8 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>
9 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>
9 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>
9 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

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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

9 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>
9 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>
9 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>
9 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

9 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>
9 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

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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

9 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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>
10 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

10 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"

10 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

11 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>
11 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>
11 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

11 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

11 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

11 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>
11 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>
12 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>
12 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>
12 months agojjb: Add latest Ubuntu jammy kernel ranges for lttng-modules
Kienan Stewart [Mon, 16 Oct 2023 14:53:20 +0000 (10:53 -0400)] 
jjb: Add latest Ubuntu jammy kernel ranges for lttng-modules

Change-Id: I1245ee2f27d3bf6dcb6536d210c4fb6515cd6354

12 months agojjb/ansible: Drop support for Ubuntu bionic
Kienan Stewart [Mon, 16 Oct 2023 14:49:02 +0000 (10:49 -0400)] 
jjb/ansible: Drop support for Ubuntu bionic

Bionic reached it's end of life in June 2023

Change-Id: I1a874090a0360be7d962c1b78c2116716420745d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
12 months agojjb: normand: use virtualenv instead of venv
Michael Jeanson [Tue, 10 Oct 2023 17:44:04 +0000 (13:44 -0400)] 
jjb: normand: use virtualenv instead of venv

Virtualenv is installed on the nodes, not venv currently.

Change-Id: I2875888a792d484c8bacb5a1f94aea807c0bd949
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
12 months agojjb: add Normand job
Philippe Proulx [Sat, 7 Oct 2023 01:26:05 +0000 (21:26 -0400)] 
jjb: add Normand job

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
12 months agojjb: lttng-modules: Add riscv64 to crossbuilds
Michael Jeanson [Thu, 5 Oct 2023 20:29:07 +0000 (16:29 -0400)] 
jjb: lttng-modules: Add riscv64 to crossbuilds

Change-Id: I979165f270138f0daae63589a84b784bfa8b71fb
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
12 months agojjb: babeltrace-benchmark: update requirement.txt for deb12
Michael Jeanson [Tue, 3 Oct 2023 14:48:20 +0000 (10:48 -0400)] 
jjb: babeltrace-benchmark: update requirement.txt for deb12

Change-Id: If47ef5d42d34c220e02199bc16953a75ecd85567
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
12 months agojjb: babeltrace-benchmark: fix job for deb12
Michael Jeanson [Tue, 3 Oct 2023 14:32:27 +0000 (10:32 -0400)] 
jjb: babeltrace-benchmark: fix job for deb12

Change-Id: Ie1623b1c64ea603ecdc8a4a97441b845c4fa4f76
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
12 months agowip: ivc
Michael Jeanson [Mon, 2 Oct 2023 21:00:34 +0000 (17:00 -0400)] 
wip: ivc

Change-Id: Ia70ca04036a9ddfc92727a8ea620afe3ccd16f96

12 months agojjb: lttng-modules: add floor for ubuntu riscv builds
Michael Jeanson [Mon, 2 Oct 2023 20:59:50 +0000 (16:59 -0400)] 
jjb: lttng-modules: add floor for ubuntu riscv builds

Change-Id: I1bcb92e8a4f727364d6fc887167b436f2481066b
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
12 months agojjb: lttng-modules: update coverity for deb12
Michael Jeanson [Mon, 2 Oct 2023 20:57:35 +0000 (16:57 -0400)] 
jjb: lttng-modules: update coverity for deb12

Change-Id: I4194aeb8d37d2211e79d1e36fc26ccf6897cd944
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: lttng-modules: refactor triggers
Michael Jeanson [Wed, 6 Sep 2023 19:23:09 +0000 (15:23 -0400)] 
jjb: lttng-modules: refactor triggers

Refactor triggers for lttng-modules kernel buils.

'(cross)build-vanilla':
  - hourly check for lttng-modules commits
  - daily (22:00) check for new kernel tags

'fullbuild-vanilla':
  - friday at midnight check for lttng-modules commits

'build-{UBUNTU}':
  - hourly check for lttng-modules commits
  - saturday at midnight check for new ubuntu kernel tags

'build-rt':
  - hourly check for lttng-modules commits
  - sunday at midnight check for new rt kernel tags

Change-Id: I9b827d926f89c81f49e6689b3c12f9688ae7ede4
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: Do not test python2 agents in lttng-tools release builds
Kienan Stewart [Wed, 6 Sep 2023 19:19:48 +0000 (15:19 -0400)] 
jjb: Do not test python2 agents in lttng-tools release builds

The nodes that run lttng-tools release jobs no longer have python2

Change-Id: If86f0ca782633d1b7ea40ddaff3fce8032676955
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
13 months agoansible: Portability fixes for reusing modules / Debian trixie
Kienan Stewart [Tue, 5 Sep 2023 20:02:01 +0000 (16:02 -0400)] 
ansible: Portability fixes for reusing modules / Debian trixie

While configuring my workstation with ansible, I needed
to make some adjustments in order to re-use some of the
modules: either by needing to support Debian trixie, to
run the tasks out of the context of the lttng-ci inventory,
or to disable some unwanted configurations.

@see https://git.internal.efficios.com/kstewart/workstation-config

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

13 months agojjb: lttng-modules: refine patch version ranges
Michael Jeanson [Tue, 5 Sep 2023 18:32:17 +0000 (14:32 -0400)] 
jjb: lttng-modules: refine patch version ranges

Change-Id: Ic173f4102d7dfb1dd83cf67ff26eb47ee89e7d5a
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: lttng-modules: cleanup and add logging to PARAM builds
Michael Jeanson [Tue, 5 Sep 2023 18:31:28 +0000 (14:31 -0400)] 
jjb: lttng-modules: cleanup and add logging to PARAM builds

Change-Id: Id9e1f44621adcd0c4d6438c5a7ae488f7b7db33d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: babeltrace: add 'ctf2' review jobs
Michael Jeanson [Tue, 5 Sep 2023 14:55:34 +0000 (10:55 -0400)] 
jjb: babeltrace: add 'ctf2' review jobs

Add review jobs for the temporary 'ctf2' branch.

Change-Id: Idf342678962546a3300d52057c31fb5693beddc1
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: lttng-modules: many kernel build fixes
Michael Jeanson [Fri, 1 Sep 2023 15:59:05 +0000 (11:59 -0400)] 
jjb: lttng-modules: many kernel build fixes

Change-Id: I3f7a0601c543e4f4a37fe29fd538c3299661e7f2
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: binutils-gdb: set MAKEINFO=true during make install
Simon Marchi [Thu, 31 Aug 2023 15:57:09 +0000 (11:57 -0400)] 
jjb: binutils-gdb: set MAKEINFO=true during make install

Some builds fail because some directories try to invoke makeinfo during
"make install", presumably because we passed MAKEINFO=true during the
make phase, to skip building the doc.  Pass MAKEINFO=true to make
install as well to skip it again.

Change-Id: I1dc0eb9d0a4307a889aa37daaaa6b2afe765cbaf
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
14 months agojjb: lttng-modules: adjust kernel version ranges in param build patches
Michael Jeanson [Thu, 31 Aug 2023 15:00:04 +0000 (11:00 -0400)] 
jjb: lttng-modules: adjust kernel version ranges in param build patches

Change-Id: Ia70e1eedd6435d02095b1c1e898fb4f0665e5949
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: Run lttng-tools ust-java-tests by default
Kienan Stewart [Wed, 30 Aug 2023 20:33:27 +0000 (16:33 -0400)] 
jjb: Run lttng-tools ust-java-tests by default

Change-Id: If48c48a40a17aac07ebc55b39d866896c8c09588

14 months agoansible: Enable grok-pull@x.service to start after reboot
Kienan Stewart [Wed, 30 Aug 2023 20:24:04 +0000 (16:24 -0400)] 
ansible: Enable grok-pull@x.service to start after reboot

Change-Id: Idb8e3968260443b052d8a6299c4a67d24e72fa80

14 months agoansible: Mask networking.service on Debian when starting to manage netplan
Kienan Stewart [Wed, 30 Aug 2023 18:01:35 +0000 (14:01 -0400)] 
ansible: Mask networking.service on Debian when starting to manage netplan

Change-Id: I59bb6d399b274bcb7f35ab777d776d7bdef7407d

14 months agoansible: Manage network configuration to set static IPs on rootnodes
Kienan Stewart [Wed, 30 Aug 2023 15:53:28 +0000 (11:53 -0400)] 
ansible: Manage network configuration to set static IPs on rootnodes

Change-Id: Ie49353e1ebf33951b751cc733d451e45e666c77a

14 months agojjb: Add build fixes for rt kernels
Kienan Stewart [Wed, 30 Aug 2023 17:12:27 +0000 (13:12 -0400)] 
jjb: Add build fixes for rt kernels

Change-Id: I200198fe51fe65ac46ee0805794245bcfb8a414a

14 months agojjb: lttng-modules: update ubuntu crossbuild jobs
Michael Jeanson [Tue, 29 Aug 2023 20:25:17 +0000 (16:25 -0400)] 
jjb: lttng-modules: update ubuntu crossbuild jobs

Change-Id: Id25a3d69c61572e34b77e006ddb73da4b0cafa0a
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: lttng-modules: enable riscv64 configs in ubuntu builds
Michael Jeanson [Tue, 29 Aug 2023 19:25:51 +0000 (15:25 -0400)] 
jjb: lttng-modules: enable riscv64 configs in ubuntu builds

We now have a riscv64 toolchain on the debian 12 nodes.

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