lttng-ci.git
6 months agoansible: Add new arm64/armhf hosts to inventory
Michael Jeanson [Fri, 26 Apr 2024 18:30:50 +0000 (14:30 -0400)] 
ansible: Add new arm64/armhf hosts to inventory

Change-Id: I37c33210acecefc965123e5d14bbb94521a256f2
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
6 months agoansible: fix debian12 armhf ISO filename
Michael Jeanson [Fri, 26 Apr 2024 18:26:56 +0000 (14:26 -0400)] 
ansible: fix debian12 armhf ISO filename

Change-Id: Icae323937fb8a8dd9072c041d8d3ae97e91ed553
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
6 months agoansible: add support for ansible 2.16
Michael Jeanson [Fri, 26 Apr 2024 18:09:29 +0000 (14:09 -0400)] 
ansible: add support for ansible 2.16

Convert deprecated 'include' to 'ansible.builtin.include_tasks' and
while we are here, add the 'ansible.builtin' prefix to 'include_vars'.

Change-Id: I10c06ab9436a8edd23922f1b0b57fb063f3b387c
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
6 months agoansible: libvirt: update debian ISOs
Michael Jeanson [Tue, 23 Apr 2024 19:38:11 +0000 (15:38 -0400)] 
ansible: libvirt: update debian ISOs

Update debian ISOs to the latest 12.4.0 point release and add the armhf
and arm64 architectures.

Change-Id: Ia6fbfb538e64b8f5e12d61a21b07eaf15686c580
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
6 months agoansible: libvirt: fix ISO images urls
Michael Jeanson [Tue, 23 Apr 2024 19:06:39 +0000 (15:06 -0400)] 
ansible: libvirt: fix ISO images urls

The 22.04.2 point release is not available anymore, update to 22.04.4.
Add the missing http protocol to the obj.internal.efficios.com url.

Change-Id: I827c066cbb63de38040ab11fbb482a2d5a7e7bc9
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
6 months agoansible: add arm64 CI hosts
Michael Jeanson [Tue, 23 Apr 2024 18:16:02 +0000 (14:16 -0400)] 
ansible: add arm64 CI hosts

Change-Id: Ibe934b68a1912233283b73e20bae3c7f5a6b1e90
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
7 months agojjb: Update regex match for lttng-modules detection on dev_review jobs
Kienan Stewart [Wed, 10 Apr 2024 14:17:12 +0000 (10:17 -0400)] 
jjb: Update regex match for lttng-modules detection on dev_review jobs

Change-Id: I0ef1df3a4e395f786f1b1b1ba829843d0297c500
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
7 months agojjb: lttng-modules: fix RT jobs failure
Michael Jeanson [Fri, 5 Apr 2024 14:47:58 +0000 (10:47 -0400)] 
jjb: lttng-modules: fix RT jobs failure

Add the 'distroversion' parameter to lttng-modules_PARAM_build jobs
triggered in 'master-rt.groovy'. This fixes the following error:

  Run condition [Regular expression match] enabling prebuild for step [Execute shell]
  Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens], action = [Fail the build]

Change-Id: I9f4eb6735e53e9ad7ea83d69b70a4ccf53843463
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
7 months agojjb: lttng-tools: add babeltrace dep to scan-build jobs
Michael Jeanson [Wed, 3 Apr 2024 17:21:45 +0000 (13:21 -0400)] 
jjb: lttng-tools: add babeltrace dep to scan-build jobs

Change-Id: I229b6a185f659bc126aa3a59b15e9c8e6c309c12
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
7 months agojjb: lttng-tools: add babeltrace dep to coverity job
Michael Jeanson [Tue, 2 Apr 2024 19:47:54 +0000 (15:47 -0400)] 
jjb: lttng-tools: add babeltrace dep to coverity job

Change-Id: I6cd11c6c905c84f9d28e15c5df4fa3f0c9dc3e94
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
7 months agojjb: Correct param builds for linux 6.9-rc1
Kienan Stewart [Tue, 26 Mar 2024 19:11:03 +0000 (15:11 -0400)] 
jjb: Correct param builds for linux 6.9-rc1

Change-Id: I04033db3ee27388d995e7009bc3a739c70f62af5
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
7 months agojjb: Default kverrc to false for lttng-modules stable-2.12 jobs
Kienan Stewart [Tue, 26 Mar 2024 14:29:51 +0000 (10:29 -0400)] 
jjb: Default kverrc to false for lttng-modules stable-2.12 jobs

stable-2.12 doesn't support the latest RC of it's ceiling (5.18-rc7).

Change-Id: I8cf8a180b626252f4ba9ca8e541915684a30ee56
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agojjb: Add lttng-modules builds across certain EL kernels
Kienan Stewart [Thu, 14 Mar 2024 12:49:30 +0000 (08:49 -0400)] 
jjb: Add lttng-modules builds across certain EL kernels

Change-Id: I99675d49a910ffbbbf841901200524a8f7839603
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agomisc: Correct jenkins_job_env.py on SLES nodes
Kienan Stewart [Tue, 19 Mar 2024 20:20:07 +0000 (16:20 -0400)] 
misc: Correct jenkins_job_env.py on SLES nodes

The `required` argument to `parser.add_subparser` is only introduced
in Python 3.7. SLE15SP4 has Python 3.6.

`platform.architecture` is a method that needs to be called.

Change-Id: Ie5ba39d94763701af15848d6bed66b16bede524d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agomisc: Add script to fetch build artifacts and impersonate jenkins environment
Kienan Stewart [Tue, 19 Mar 2024 20:06:21 +0000 (16:06 -0400)] 
misc: Add script to fetch build artifacts and impersonate jenkins environment

This is useful to fetch and quickly set up an approximation of the
environment that a jenkins build is run in for the LTTng CI.

Ex:

```
./scripts/jenkins_job_env.py fetch \
  -j lttng-tools_master_linuxbuild \
  -jc
  babeltrace_version=stable-2.0,build=std,conf=agents,liburcu_version=master,platform=deb12-amd64 \
  -b 157 \
  destination_dir
```

The script will download and unpack the archives, rebuilding symlinks
for the shared objects in `archive/deps/build/{lib_dir_arch}`, and
create two scripts to activate and deactivate the typical environment
variables in `destination_dir/{activate,deactivate}`.

Change-Id: I2bfcb213dfc0c066b91c5f70a596c1ec5e5019ff
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agojjb: Allow unsupported modules to be loaded when testing lttng-tools
Kienan Stewart [Mon, 18 Mar 2024 18:44:51 +0000 (14:44 -0400)] 
jjb: Allow unsupported modules to be loaded when testing lttng-tools

Change-Id: Idfa2d38bdb26a0ad6c599da596da48e3353489e4
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agojjb: Clone linux kernel with `--reference-if-able`
Kienan Stewart [Mon, 18 Mar 2024 19:21:51 +0000 (15:21 -0400)] 
jjb: Clone linux kernel with `--reference-if-able`

lttng-modules_PARAM_crossbuild jobs for riscv64 were intermittently
failing when cloning `linux-all.git` with messages similar to the
following:

```
11:53:56 + git clone --depth=1 -b v4.10.17 --reference /home/jenkins/gitcache/linux-stable.git/ git://git-mirror.internal.efficios.com/git/linux-all.git /home/jenkins/workspace/lttng-modules_PARAM_crossbuild/cross_arch/riscv64/platforms/deb12-amd64/src/linux
11:53:56 Cloning into '/home/jenkins/workspace/lttng-modules_PARAM_crossbuild/cross_arch/riscv64/platforms/deb12-amd64/src/linux'...
11:53:56 remote: fatal: packfile ./objects/pack/.tmp-479230-pack-f8bc46fc38bfd97fc2a516d9816a64fccfbfd3b2.pack cannot be accessed
11:53:56 remote: aborting due to possible repository corruption on the remote side.
11:53:56 fatal: early EOF
11:53:56 fatal: fetch-pack: invalid index-pack output
```

Testing using `--reference-if-able` instead of `--reference` seems to
resolve the cloning issue.

Change-Id: I49a03190604c00095436f3098dd8ac95706094e0
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoAdd .editorconfig to repo
Michael Jeanson [Thu, 14 Mar 2024 18:50:22 +0000 (14:50 -0400)] 
Add .editorconfig to repo

Change-Id: Iefab8767ef8e5dd122ad18ee1d83ca833b7ef21e
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
8 months agojjb: integration: rework lttng-tools 32-64
Michael Jeanson [Thu, 14 Mar 2024 18:44:29 +0000 (14:44 -0400)] 
jjb: integration: rework lttng-tools 32-64

Now that we have a libvirt plugin that allows using rootnodes with
snapshot reverts in pipelines steps, rework the 32-64 pipeline to remove
the external job and do every steps in the pipeline itself.

Rework the syntax for better readability, add the collection of
'test-suite.log' for easier tracking of test failure.

Change-Id: I87c4e10349bf86c71caaf4305c3b45a434aa5962
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
8 months agojjb: integration: fix ust lower-urcu for deb12
Michael Jeanson [Thu, 14 Mar 2024 18:40:15 +0000 (14:40 -0400)] 
jjb: integration: fix ust lower-urcu for deb12

Make the pipeline compatible with deb12 nodes and do some minor style
fixups.

Change-Id: Ia3bdfe9896c17028f9a6bb4cbf41a274604e804d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
8 months agojjb: Build lttng-modules against SLE kernels
Kienan Stewart [Tue, 5 Mar 2024 16:32:47 +0000 (11:32 -0500)] 
jjb: Build lttng-modules against SLE kernels

Change-Id: I44d825fb2faab4724e7e7150180e180b49c04e13
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoansible: Add mirror of patch SLE kernel source
Kienan Stewart [Tue, 5 Mar 2024 16:32:09 +0000 (11:32 -0500)] 
ansible: Add mirror of patch SLE kernel source

Change-Id: I436b3494ad1f87d2b8c3aae28551c01c7346b003
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agojjb: Add lttng-ust w/ urcu stable-0.14 to slesbuild
Kienan Stewart [Tue, 5 Mar 2024 14:50:55 +0000 (09:50 -0500)] 
jjb: Add lttng-ust w/ urcu stable-0.14 to slesbuild

Artifact is required for the dev_review_lttng-tools_root_slesbuild
job.

Change-Id: I44546c458fb0822fad5d4b4bc427ca03e5a6fa12
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agojjb: babeltrace: disable spurious warnings on GCC 4.8
Michael Jeanson [Mon, 4 Mar 2024 20:06:13 +0000 (15:06 -0500)] 
jjb: babeltrace: disable spurious warnings on GCC 4.8

Change-Id: Ia94b50680bf89cc104acb52be4d278d6c14dee02
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
8 months agojjb: lttng-tools: disable lib-ctl in relayd-only for 2.14
Michael Jeanson [Fri, 1 Mar 2024 22:41:38 +0000 (17:41 -0500)] 
jjb: lttng-tools: disable lib-ctl in relayd-only for 2.14

Change-Id: Ia2419c711d60d0504a0ab38821f962de5cdfd29e
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
8 months agojjb: lttng-tools: rename TAP_AUTOTIME to LTTNG_TESTS_TAP_AUTOTIME
Michael Jeanson [Thu, 29 Feb 2024 20:45:11 +0000 (15:45 -0500)] 
jjb: lttng-tools: rename TAP_AUTOTIME to LTTNG_TESTS_TAP_AUTOTIME

Change-Id: I88194b83b2de0f45feb6a4e635f49733e1d1bbdf
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
8 months agojjb: Test java agents using log4j 2.17.1 on slesbuilds
Kienan Stewart [Thu, 29 Feb 2024 14:18:16 +0000 (09:18 -0500)] 
jjb: Test java agents using log4j 2.17.1 on slesbuilds

Change-Id: Ic881c44577f8dc291363e219386b512bb340cbf8
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agojjb: Add _root_elbuild jobs for lttng-tools
Kienan Stewart [Wed, 28 Feb 2024 19:57:36 +0000 (14:57 -0500)] 
jjb: Add _root_elbuild jobs for lttng-tools

Change-Id: I8cfd4db4843486b8e593b9cd39b751be850ec6e7
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoansible: Install kernel devel on RedHat for building lttng-modules
Kienan Stewart [Wed, 28 Feb 2024 18:20:44 +0000 (13:20 -0500)] 
ansible: Install kernel devel on RedHat for building lttng-modules

Change-Id: If7120058e5bfa40d0c7344cfa22430222ecb779e
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoansible: Add ci-rootnode-el8-amd64-1d-01
Kienan Stewart [Wed, 28 Feb 2024 17:12:44 +0000 (12:12 -0500)] 
ansible: Add ci-rootnode-el8-amd64-1d-01

Change-Id: Id4f6c671151c66dc01d548c79ef39e951fc19064
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agojjb: Enable the use of .ssh/authorized_keys2 when building images
Kienan Stewart [Wed, 28 Feb 2024 14:03:24 +0000 (09:03 -0500)] 
jjb: Enable the use of .ssh/authorized_keys2 when building images

Change-Id: If4e760db7562c197056ba1996576688eea74e838
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoansible: Add Rocky Linux support to docker role
Kienan Stewart [Wed, 28 Feb 2024 13:49:15 +0000 (08:49 -0500)] 
ansible: Add Rocky Linux support to docker role

Change-Id: Ibed5027bfd39606fe5d6cab798fb7ef08bc004c6
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoansible: Add Rocky Linux support support to developer role
Kienan Stewart [Wed, 28 Feb 2024 13:48:28 +0000 (08:48 -0500)] 
ansible: Add Rocky Linux support support to developer role

Change-Id: I8904aa67b80f9ced69b947eb8c203413dd4a786d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoansible: Add RedHat and Rocky Linux support to libs-i386 role
Kienan Stewart [Wed, 28 Feb 2024 13:21:16 +0000 (08:21 -0500)] 
ansible: Add RedHat and Rocky Linux support to libs-i386 role

Change-Id: I1e6a26daae8fa04abcbb97ae4e55c935cbc9f32c
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoansible: Enable Rocky PowerTools on Rocky Linux 8
Kienan Stewart [Wed, 28 Feb 2024 13:16:08 +0000 (08:16 -0500)] 
ansible: Enable Rocky PowerTools on Rocky Linux 8

This repository provides packages used by the babeltrace role,
eg. python3-sphinx.

Change-Id: I9817b13dfd0f93227f26bc1caad98a3d9f1721cc
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoansible: Add Rocky Linux support to cross-compilers role
Kienan Stewart [Wed, 28 Feb 2024 13:15:39 +0000 (08:15 -0500)] 
ansible: Add Rocky Linux support to cross-compilers role

Change-Id: Ibb8d815ebdd358701d7bd6bc128d819b3b31a04a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoansible: Add Rocky Linux support to compilers role
Kienan Stewart [Wed, 28 Feb 2024 13:15:10 +0000 (08:15 -0500)] 
ansible: Add Rocky Linux support to compilers role

Change-Id: I6b632ab04d451d9eb607c8ccb94369bc395a0b45
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoansible: Correct typo in post-image-clean play
Kienan Stewart [Wed, 28 Feb 2024 12:39:19 +0000 (07:39 -0500)] 
ansible: Correct typo in post-image-clean play

Change-Id: I585afc12fd925098212b08566ba41c0a5b67acf9
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agojjb: Add imagebuilder job for Rocky Linux
Kienan Stewart [Wed, 28 Feb 2024 12:36:38 +0000 (07:36 -0500)] 
jjb: Add imagebuilder job for Rocky Linux

Change-Id: I1d2660bf36f9f145ce7f9b03e86f2663b3ed6938
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agojjb: librseq: add review portbuild job
Michael Jeanson [Wed, 28 Feb 2024 16:02:41 +0000 (11:02 -0500)] 
jjb: librseq: add review portbuild job

Also remove the touchstone, they slow things down and we have plenty of
builders now.

Change-Id: I675263ca09f4052acb698a2c927ab1765beb49b0
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
8 months agoansible: Required kernel headers for SLES
Kienan Stewart [Mon, 26 Feb 2024 18:55:44 +0000 (13:55 -0500)] 
ansible: Required kernel headers for SLES

Change-Id: I699700c6054af13bda8b1cb68743aad3619e9e4a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agojjb: Add root_slesbuild jobs for sles15sp4
Kienan Stewart [Mon, 26 Feb 2024 15:20:51 +0000 (10:20 -0500)] 
jjb: Add root_slesbuild jobs for sles15sp4

Change-Id: Idd3a844d2701003b403fa583175af9796166fa2f
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoansible: Add play to snapshot rootnodes
Kienan Stewart [Mon, 26 Feb 2024 15:08:59 +0000 (10:08 -0500)] 
ansible: Add play to snapshot rootnodes

Change-Id: I4bb1deaaf01c01ff97537c020ba73827260568c1
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agojjb: Use alternative log4j classpath on sles 15.4+
Kienan Stewart [Mon, 26 Feb 2024 14:04:17 +0000 (09:04 -0500)] 
jjb: Use alternative log4j classpath on sles 15.4+

A fresh installation of SLES15SP4 doesn't have the symbolic links that
exist on ci-node-sles15sp4, eg. `/usr/share/java/log4j-1.2.jar` ->
`/usr/share/java/log4j12/log4j-12.jar`.

I suspect that the symlinks were installed manually at some point to
simplify the build scripts. As the complexity is already added to
support SLES15SP5 from fresh installations, the proper locations for
log412 can be used on SLES15SP4 as well.

Change-Id: Id2747abd029a4b4978dd6f0214f5ed3ab1bb267c
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoansible: Add sles15sp4 rootnode
Kienan Stewart [Mon, 26 Feb 2024 13:25:46 +0000 (08:25 -0500)] 
ansible: Add sles15sp4 rootnode

Change-Id: I505912b38968535aa20c464fbd06ae6f0202ec05
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 months agoansible: add librseq role
Michael Jeanson [Fri, 23 Feb 2024 19:50:00 +0000 (14:50 -0500)] 
ansible: add librseq role

Add the role to install a new optional build dependency
'libseccomp-dev'.

Change-Id: I470cdc1478109dd85f0b4f354e6d7fe27e0bd1ec
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
8 months agoansible: Remove installation of curl from bookworm-backports
Kienan Stewart [Mon, 26 Feb 2024 12:51:27 +0000 (07:51 -0500)] 
ansible: Remove installation of curl from bookworm-backports

The configuration adjustment should be sufficient to avoid the
problem. It's not a big issue to use curl from bookworm-backports
otherwise, but the 'apt: upgrade' statement means that all the package
updates get run, violating an expectation for the default playbook
that only new packages will be installed - no updates should happen.

Change-Id: I8c083aa4d6a5d0a61a3924f52f295eab15467354
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Use java 1.8 with SLES builds
Kienan Stewart [Thu, 22 Feb 2024 18:06:56 +0000 (13:06 -0500)] 
jjb: Use java 1.8 with SLES builds

Change-Id: I087b79efbd3490f9a854625beb8c29fec082ecb5
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Ensure jq is installed on SLES12SP5
Kienan Stewart [Thu, 22 Feb 2024 15:09:06 +0000 (10:09 -0500)] 
ansible: Ensure jq is installed on SLES12SP5

Change-Id: Ib66d4a7e5984c5d548a16448efbe6345ae288fa1
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Install java 1.8 on SLES nodes
Kienan Stewart [Thu, 22 Feb 2024 15:06:56 +0000 (10:06 -0500)] 
ansible: Install java 1.8 on SLES nodes

Change-Id: I1bc39aa6b8e57a1ade363e14f8255a3ef439c58d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Ensure maven is installed on SLES 15
Kienan Stewart [Wed, 21 Feb 2024 13:48:58 +0000 (08:48 -0500)] 
ansible: Ensure maven is installed on SLES 15

Change-Id: If812dde2f528f36e8dd55f2a46f2c14a68aaeae6
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Install log4j12 on Suse nodes
Kienan Stewart [Tue, 20 Feb 2024 19:57:39 +0000 (14:57 -0500)] 
ansible: Install log4j12 on Suse nodes

This package is also required to build lttng-ust with the java agents
configuration.

Change-Id: I72d5d12f0185a7e99d40095ac7d42e9afade9035
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Gently stop instances before publication
Kienan Stewart [Tue, 20 Feb 2024 19:31:48 +0000 (14:31 -0500)] 
jjb: Gently stop instances before publication

Avoids potential issues with changes not being fully written to disk
in teh result image.

Change-Id: I0dab01038870cbc798560863de1971a3a124983a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Update java CLASSPATH for sles15sp5
Kienan Stewart [Tue, 20 Feb 2024 18:56:47 +0000 (13:56 -0500)] 
jjb: Update java CLASSPATH for sles15sp5

Change-Id: Ic1a34fc505d1a47c1fe3021ac2b834aa68af0581
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Install bzip2 on nodes with the developer role
Kienan Stewart [Tue, 20 Feb 2024 15:57:56 +0000 (10:57 -0500)] 
ansible: Install bzip2 on nodes with the developer role

When vlttng fetches releases, it downloads 'tar.bz2' files which
require the libraries to unarchive them.

Change-Id: I227884490be18f0320d39b8cf4be3126223253fa
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Add jobs running on sles15sp5
Kienan Stewart [Mon, 19 Feb 2024 15:16:34 +0000 (10:16 -0500)] 
jjb: Add jobs running on sles15sp5

Change-Id: I0b699241def81453abc19334e6ef32c99b650515
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Add host for sles15sp5
Kienan Stewart [Mon, 19 Feb 2024 15:12:40 +0000 (10:12 -0500)] 
ansible: Add host for sles15sp5

Change-Id: I8b6ecbed08485554da53e532723e1a18208a1e50
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agojjb: Add job to build sles15sp5 images
Kienan Stewart [Mon, 19 Feb 2024 13:27:33 +0000 (08:27 -0500)] 
jjb: Add job to build sles15sp5 images

Change-Id: I933e918f1123aa363b3d2903fa1045d013a311ef
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Ignore failures when clearing history during image cleanup
Kienan Stewart [Thu, 15 Feb 2024 12:50:29 +0000 (07:50 -0500)] 
ansible: Ignore failures when clearing history during image cleanup

Change-Id: I21b85ec6e05cc66f0874636cb212db39c8244aca
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Switch SLES product registrations to use common task
Kienan Stewart [Wed, 14 Feb 2024 20:45:48 +0000 (15:45 -0500)] 
ansible: Switch SLES product registrations to use common task

Change-Id: Ide81884d4bf64e61f0d824668455d78235715c71
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Check for SLES product using major version
Kienan Stewart [Wed, 14 Feb 2024 20:40:22 +0000 (15:40 -0500)] 
ansible: Check for SLES product using major version

docker is provided by the `sle-module-containers/12/x86_64` not
`sle-module-containers/12.5/x86_64` on SLES12 SP5.

Change-Id: Id4c2596f0954839ca8baaf0be8661c09790a8774
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Use SLES15 variables for all Suse variants in developer role
Kienan Stewart [Wed, 14 Feb 2024 20:23:37 +0000 (15:23 -0500)] 
ansible: Use SLES15 variables for all Suse variants in developer role

For the moment, the current overload is quite specific, and making it
more general allows the same content to be used to support SLES12SP4.

Change-Id: I9e9064912477366dde60b7f99ce7c7bb1233bdfb
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Correct variable filename for SLES12 in common role
Kienan Stewart [Wed, 14 Feb 2024 20:16:33 +0000 (15:16 -0500)] 
ansible: Correct variable filename for SLES12 in common role

Change-Id: Ic0e1e7e0d2293593d32d8ac2a1f6e712f30efb33
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Support Ubuntu in docker role
Kienan Stewart [Wed, 14 Feb 2024 20:00:26 +0000 (15:00 -0500)] 
ansible: Support Ubuntu in docker role

Change-Id: Ib68bfe59fc1c8da177ed1780876c01029478f1e8
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Remove python interpreter limit for installing vlttng
Kienan Stewart [Wed, 14 Feb 2024 19:58:41 +0000 (14:58 -0500)] 
ansible: Remove python interpreter limit for installing vlttng

The main issue with installing it was when to add
`--break-system-packages` or not, but that ended up being well
addressed in the `extra_args` parameter.

Change-Id: I50f0851247b542891f008221866e07b446ba567d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
9 months agoansible: Support Ubuntu focal in cross-compilers role
Kienan Stewart [Wed, 14 Feb 2024 19:41:55 +0000 (14:41 -0500)] 
ansible: Support Ubuntu focal in cross-compilers role

Change-Id: I05ebf398d0732fcda8eaa1583f5b7efb183f6072
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
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>
10 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>
10 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"

10 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>
This page took 0.039815 seconds and 4 git commands to generate.