lttng-ci.git
3 weeks agojjb: Add linux-kernel ci jobs
Kienan Stewart [Thu, 10 Oct 2024 17:08:26 +0000 (13:08 -0400)] 
jjb: Add linux-kernel ci jobs

Change-Id: I56d2814d3ced0be7716d25c194ab52d5dffd2177
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 weeks agojjb: Add `to_groovy` filter to convert variables to groovy syntax
Kienan Stewart [Fri, 11 Oct 2024 12:57:06 +0000 (08:57 -0400)] 
jjb: Add `to_groovy` filter to convert variables to groovy syntax

To update jobs that use this filter, use recent jjb versions and
execute it as follows:

```
PYTHONPATH=. jenkins-job update ./jobs/linux.yml
```

Change-Id: I09b4b5e3e57f4bfeb76eac00399f3bb885bb1b2b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agoansible: Install device-tree-compiler for lttng-modules builds
Kienan Stewart [Tue, 8 Oct 2024 20:23:41 +0000 (16:23 -0400)] 
ansible: Install device-tree-compiler for lttng-modules builds

When building a native build of the Linux kernel on non-x86 arches,
device-tree-compiler is required.

Change-Id: Id5627d3c164677e49310ccdec95a7e2aa08dc3ca
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agoansible: Install lttng-modules build dependencies on other node archs
Kienan Stewart [Tue, 8 Oct 2024 17:51:04 +0000 (13:51 -0400)] 
ansible: Install lttng-modules build dependencies on other node archs

In preparation for doing Linux kernel builds on those nodes.

Change-Id: I66f66748d9099a53a98027c6824b22dd7748b76b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agoansible: Clone lttng-modules Linux mirror only for `node_amd64` nodes
Kienan Stewart [Tue, 8 Oct 2024 17:50:01 +0000 (13:50 -0400)] 
ansible: Clone lttng-modules Linux mirror only for `node_amd64` nodes

Change-Id: Ia39a49582f574ff73452fd9a4ea642362371da58
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agoansible: Add info command to `manage_jenkins_node.py`
Kienan Stewart [Mon, 7 Oct 2024 14:19:23 +0000 (10:19 -0400)] 
ansible: Add info command to `manage_jenkins_node.py`

Change-Id: I0ce0177ae637d56e865594ce253b9ab52619f546
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agoansible: Add flag to snapshot-rootnode to run package upgrades
Kienan Stewart [Mon, 7 Oct 2024 13:28:17 +0000 (09:28 -0400)] 
ansible: Add flag to snapshot-rootnode to run package upgrades

This defaults to false because the snapshot-rootnode needs to be run
anytime any configuration changes are made, and doing package upgrades
is not always desired.

Change-Id: Id1ab8dcd44c5e7172949bf251252cd6348e1f1c3
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agoansible: Add flag to disable upgrades when updating CI nodes
Kienan Stewart [Mon, 7 Oct 2024 13:27:17 +0000 (09:27 -0400)] 
ansible: Add flag to disable upgrades when updating CI nodes

This play defaults to "true", since the normal ansible
playbook (`site.yml`) can be used to install new packages and
configuration without running the package upgrades.

Change-Id: Ifcdce209f7cac1cc72ca27e5ad3d3f150793fdfc
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agoansible: Skip legacy compiler sources when not installing them
Kienan Stewart [Mon, 7 Oct 2024 13:26:16 +0000 (09:26 -0400)] 
ansible: Skip legacy compiler sources when not installing them

Change-Id: I289c56f7c6ce7ff5fdfb23c0514d049d7645a1b0
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agoansible: Do not install legacy compilers on standalone nodes
Kienan Stewart [Mon, 7 Oct 2024 13:25:39 +0000 (09:25 -0400)] 
ansible: Do not install legacy compilers on standalone nodes

These compilers are used only by the lttng-modules jobs to build old
kernels, which aren't run on standalone nodes.

Change-Id: I984d2b00048eaf9b5d599c3e59bfe48d713327f9
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agoansible: Include compiler role on standalone nodes
Kienan Stewart [Mon, 7 Oct 2024 13:25:19 +0000 (09:25 -0400)] 
ansible: Include compiler role on standalone nodes

Change-Id: Ib2d976ebd2efa0ec08df6a69856416fa27e3420e
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agoWIP: jjb: Kernel dev jobs
Kienan Stewart [Fri, 4 Oct 2024 19:57:16 +0000 (15:57 -0400)] 
WIP: jjb: Kernel dev jobs

Change-Id: I8889b7ccab5d1b4ec2f26153ff9d73a9ec175f72

4 weeks agoansible: Correct logging statement in manage_jenkins script
Kienan Stewart [Fri, 4 Oct 2024 19:57:53 +0000 (15:57 -0400)] 
ansible: Correct logging statement in manage_jenkins script

Change-Id: I0fc69fca0f6004738d4044b84215fa456916aef2
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agoansible: Add play to update non-standalone CI nodes
Kienan Stewart [Fri, 4 Oct 2024 14:59:22 +0000 (10:59 -0400)] 
ansible: Add play to update non-standalone CI nodes

Change-Id: I7ca97377786a9f348c5273590d857c81b51dd635
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agoansible: Install gawk for building lttng-modules
Kienan Stewart [Fri, 4 Oct 2024 14:31:41 +0000 (10:31 -0400)] 
ansible: Install gawk for building lttng-modules

While gawk isn't a dependency of lttng-modules, it is now required to
build the Linux kernel when `CONFIG_BUILTIN_MODULE_RANGES` is enabled.

See upstream commit:

    commit 5f5e7344322f0b0676579af054c787ed57d1c1df
    Author: Kris Van Hees <kris.van.hees@oracle.com>
    Date:   Fri Sep 6 10:45:03 2024 -0400

        kbuild: generate offset range data for builtin modules

        Create file module.builtin.ranges that can be used to find where
        built-in modules are located by their addresses. This will be useful for
        tracing tools to find what functions are for various built-in modules.

Change-Id: I6d9b1e93857131de30dc1c2527be93cd3327a296
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agoFix indentation in shell scripts
Simon Marchi [Thu, 3 Oct 2024 15:03:49 +0000 (11:03 -0400)] 
Fix indentation in shell scripts

There is currently a mix of tabs and spaces in shell scripts.  The most
common style appears to be 4 spaces, so convert everything to that.
Modify `.editorconfig` to try to enforce that style.

Change-Id: Ic2c9a051a2713cc97d071bf3581952ee16985aa3
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
4 weeks agojjb: babeltrace: lint: print shellcheck version
Simon Marchi [Thu, 3 Oct 2024 15:01:03 +0000 (11:01 -0400)] 
jjb: babeltrace: lint: print shellcheck version

 - Make `print_tooling()` print the shellcheck version, if shellcheck is
   present
 - Source `scripts/common/print.sh` in the babeltrace lint jobs
 - Call `print_tooling` in the babeltrace lint jobs

Change-Id: Ie40aaca4a060a077d1be49b18f6d9f5edcf80749
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
4 weeks agoMerge "jjb: babeltrace: check for untracked or modified files in the git repo"
Kienan Stewart [Fri, 4 Oct 2024 12:29:40 +0000 (08:29 -0400)] 
Merge "jjb: babeltrace: check for untracked or modified files in the git repo"

4 weeks agojjb: Print shellcheck version if the tool is available
Kienan Stewart [Fri, 4 Oct 2024 12:18:40 +0000 (08:18 -0400)] 
jjb: Print shellcheck version if the tool is available

Change-Id: I356fbc23c3ad0023987c2b45f6c969624929e957
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 weeks agojjb: babeltrace: check for untracked or modified files in the git repo
Simon Marchi [Tue, 10 Sep 2024 17:46:59 +0000 (13:46 -0400)] 
jjb: babeltrace: check for untracked or modified files in the git repo

To help spot missing entries in .gitignore, or build steps that somehow
modify source files, do a `git status` in the git repo after builds.
Fail the build if there are untracked or modified files.

Change-Id: Id93da324d234e30979418f8f77d29e98f24677c8
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
4 weeks agojjb: Add armhf and arm64 as build options for Debian images
Kienan Stewart [Wed, 2 Oct 2024 13:44:21 +0000 (09:44 -0400)] 
jjb: Add armhf and arm64 as build options for Debian images

Change-Id: I2f2bcae64d5003495fcceaececaaa000621923a6
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 weeks agoansible: Allow unattended upgrades from Debian backports
Kienan Stewart [Thu, 26 Sep 2024 13:25:55 +0000 (09:25 -0400)] 
ansible: Allow unattended upgrades from Debian backports

Change-Id: Ia201cb63c660ab2b11757647af363de83d66043c
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 weeks agoansible: Add apt update handler
Kienan Stewart [Thu, 26 Sep 2024 13:07:27 +0000 (09:07 -0400)] 
ansible: Add apt update handler

Change-Id: I832079b5d13b92f46316322f9e3879043b67486e
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 weeks agoansible: Manage multiple netplan configurations
Kienan Stewart [Wed, 25 Sep 2024 16:19:13 +0000 (12:19 -0400)] 
ansible: Manage multiple netplan configurations

Change-Id: I8e3b59f1fafcaf1c94440b1e334026baa4fa4d00
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 weeks agoansible: Install prometheus metrics plugin on Jenkins servers
Kienan Stewart [Mon, 9 Sep 2024 18:14:32 +0000 (14:14 -0400)] 
ansible: Install prometheus metrics plugin on Jenkins servers

Change-Id: Ic79f3e341408a6ede06ac08e5194a222023295fe
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 weeks agoansible: Install web tools on developer nodes
Kienan Stewart [Mon, 9 Sep 2024 14:15:15 +0000 (10:15 -0400)] 
ansible: Install web tools on developer nodes

Change-Id: I0707e8db6abdd29f0f9a5558f156799ac1544f85
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 weeks agojjb: Add clang builds for lttng-tools
Kienan Stewart [Fri, 6 Sep 2024 13:38:10 +0000 (09:38 -0400)] 
jjb: Add clang builds for lttng-tools

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

8 weeks agojjb: Add clang builds for lttng-ust
Kienan Stewart [Thu, 5 Sep 2024 19:42:02 +0000 (15:42 -0400)] 
jjb: Add clang builds for lttng-ust

Change-Id: I9d85c23775ffaee8c52aa0c62e7126c8d77a4bcf
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 weeks agojjb: Add clang builds for liburcu
Kienan Stewart [Thu, 5 Sep 2024 19:13:13 +0000 (15:13 -0400)] 
jjb: Add clang builds for liburcu

Change-Id: I79927757b51080790fd46d6bdf27ead2deab63d4
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 weeks agoansible: Remove EL7 hosts
Kienan Stewart [Fri, 6 Sep 2024 19:59:43 +0000 (15:59 -0400)] 
ansible: Remove EL7 hosts

Change-Id: I45f1b717e051736e9f0eeb0edba87565f7941d3f
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 weeks agojjb: Remove special cases for EL7 from build scripts
Kienan Stewart [Fri, 6 Sep 2024 19:59:00 +0000 (15:59 -0400)] 
jjb: Remove special cases for EL7 from build scripts

Change-Id: Ifaba321a0a52beacbc3b560245d7fc0c47542c02
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 weeks agojjb: Remove el7 platform from EL linux builds
Kienan Stewart [Fri, 6 Sep 2024 19:52:22 +0000 (15:52 -0400)] 
jjb: Remove el7 platform from EL linux builds

Change-Id: I4dd069efded84ee075604ffca138806eaad99924
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
8 weeks agojjb: Remove babeltrace CTF2 review jobs
Kienan Stewart [Thu, 5 Sep 2024 19:29:53 +0000 (15:29 -0400)] 
jjb: Remove babeltrace CTF2 review jobs

The ctf2 feature branch no longer exists.

Change-Id: I77cbe254ca82f18ee7dff074fae04e33011d6369
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agojjb: Run log4j2 lttng-ust-java-tests with LTTng-tools 2.14+
Kienan Stewart [Wed, 4 Sep 2024 17:58:23 +0000 (13:58 -0400)] 
jjb: Run log4j2 lttng-ust-java-tests with LTTng-tools 2.14+

Change-Id: I96f540afea43ccfaa2df97a7edfa86ae816ca1f2
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agojjb: Use jgit for MacOSX Babeltrace jobs
Kienan Stewart [Wed, 4 Sep 2024 12:56:02 +0000 (08:56 -0400)] 
jjb: Use jgit for MacOSX Babeltrace jobs

Following a number of checkout errors where git fetch hung and timed
out from the OSX builder to review.lttng.org, `jgit` was tested as an
alternative. The same hangs don't appear to happen when using `jgit`.

Change-Id: I20231150e066b71acdec3f9b309d7f93ad76ac2f
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agojjb: add riscv64 to portbuild jobs
Michael Jeanson [Thu, 29 Aug 2024 20:57:27 +0000 (16:57 -0400)] 
jjb: add riscv64 to portbuild jobs

Add deb13-riscv64 to the main portbuild jobs, the boards are quite slow
so don't add them to the dev_review jobs yet.

Change-Id: I5c063cae03789ac1986641b8f517e81ef9e91a0b
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agoansible: babeltrace: add python3-setuptools on Debian
Michael Jeanson [Thu, 29 Aug 2024 14:50:09 +0000 (10:50 -0400)] 
ansible: babeltrace: add python3-setuptools on Debian

Python 3.12 removed distutils, so we added support for setuptools in
Babeltrace when building with Python >= 3.12.

Install python3-setuptools as Python 3.12 as landed in Debian sid.

Change-Id: Ia9db6dbd855f254d0ee1858c6e4de37585fd4da4
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agoansible: common-node: explicitly install openjdk-17
Michael Jeanson [Thu, 29 Aug 2024 14:42:10 +0000 (10:42 -0400)] 
ansible: common-node: explicitly install openjdk-17

Explicitly install version 17 of openjdk as this is currently required
by our Jenkins setup and the default version varies between Debian
releases.

Change-Id: I28b1823b763fca989b4b7469582fed0166ad4e07
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agoansible: remove binutils-gdb role from riscv64 nodes
Michael Jeanson [Thu, 29 Aug 2024 14:40:28 +0000 (10:40 -0400)] 
ansible: remove binutils-gdb role from riscv64 nodes

Not all dependencies are currently installable on riscv64 and we don't
plan to run the gdb jobs on riscv64 at the moment.

Change-Id: I64a25dbc6639ca122baec540ba70786d8965123f
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agoansible: Add riscv64 nodes
Michael Jeanson [Mon, 26 Aug 2024 20:30:38 +0000 (16:30 -0400)] 
ansible: Add riscv64 nodes

Change-Id: If900b4309ef54ae396559058fafdef96bfb3166c
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agojjb: lttng-modules: update ubuntu supported kernel versions
Michael Jeanson [Mon, 26 Aug 2024 15:45:14 +0000 (11:45 -0400)] 
jjb: lttng-modules: update ubuntu supported kernel versions

Change-Id: Ia2a3b361397e1690ad12272391730f8d06a053c8
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agoansible: add kernel headers for arm64 and armhf
Michael Jeanson [Wed, 14 Aug 2024 20:03:41 +0000 (16:03 -0400)] 
ansible: add kernel headers for arm64 and armhf

Change-Id: If27a1528514d7c7493c48c5e49ab4710560bdcad
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agoRemove obsolete AUTHORS
Michael Jeanson [Wed, 14 Aug 2024 19:10:00 +0000 (15:10 -0400)] 
Remove obsolete AUTHORS

Change-Id: Idef55ee5c8579f4ba92564748f39efc820f8af5a
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agoansible: Add python3-jenkins dep to README
Michael Jeanson [Wed, 14 Aug 2024 19:09:18 +0000 (15:09 -0400)] 
ansible: Add python3-jenkins dep to README

Change-Id: I5e750b58532f55a0ffd6b936868e9050aaa714c6
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agoansible: Remove ci-node-deb12-armhf-0[5-8]
Kienan Stewart [Thu, 22 Aug 2024 18:29:36 +0000 (14:29 -0400)] 
ansible: Remove ci-node-deb12-armhf-0[5-8]

Change-Id: If97b7b8efab5de2708a0221cb995a93ecbb4e489
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agojbb: Run librseq clang builds with clang-16
Kienan Stewart [Thu, 22 Aug 2024 18:18:17 +0000 (14:18 -0400)] 
jbb: Run librseq clang builds with clang-16

Change-Id: I22006cd42ca2406d5652088032e5fa7de17fb199
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agojjb: Run Babeltrace jobs with clang-16
Kienan Stewart [Thu, 22 Aug 2024 18:17:35 +0000 (14:17 -0400)] 
jjb: Run Babeltrace jobs with clang-16

Change-Id: Id04e980bf2d8c532050383eb155fb3ccde4e7eeb
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Install gcc 14 cross compilers on Debian trixie
Kienan Stewart [Thu, 22 Aug 2024 18:05:23 +0000 (14:05 -0400)] 
ansible: Install gcc 14 cross compilers on Debian trixie

Change-Id: I4aa810ccdf36b4371f21c7c490fb4c66d7983d1d
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agojjb: Use sandbox for image builder pipeline
Kienan Stewart [Thu, 22 Aug 2024 17:47:16 +0000 (13:47 -0400)] 
jjb: Use sandbox for image builder pipeline

This avoids having to approve the script after each change.

Change-Id: I37488fe1b7c79b128875b3e56f709fd8d8b9519b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agojjb: Update image building jobs to use incus-client
Kienan Stewart [Thu, 22 Aug 2024 17:40:05 +0000 (13:40 -0400)] 
jjb: Update image building jobs to use incus-client

Change-Id: I2e701af95b16227459bbcec403996275d893325b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Update lz4 tool package name for Debian
Kienan Stewart [Thu, 22 Aug 2024 17:24:30 +0000 (13:24 -0400)] 
ansible: Update lz4 tool package name for Debian

liblz4-tool has been a transitional package since at least Debian
buster. In Debian trixie, this transitional package has been
removed. The new package name `lz4` replaces it.

Change-Id: Idd36b8cb1dff80e031b704b0335601c35c1f05f3
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Install gcc 14 on Debian trixie
Kienan Stewart [Thu, 22 Aug 2024 15:56:50 +0000 (11:56 -0400)] 
ansible: Install gcc 14 on Debian trixie

Change-Id: I277db7562a0d29dde81361359eddd3f7f91b899a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Update available clang compilers for Debian Trixie
Kienan Stewart [Thu, 22 Aug 2024 15:55:48 +0000 (11:55 -0400)] 
ansible: Update available clang compilers for Debian Trixie

Change-Id: I603f526655e095dccd8467c1c4182f7f9f9dffa5
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: fix ci-instances playbook for Incus
Michael Jeanson [Wed, 14 Aug 2024 15:45:39 +0000 (11:45 -0400)] 
ansible: fix ci-instances playbook for Incus

Change-Id: Id05b03a6689749ef9c3acadd1a16c12cf42e3244
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agoAdd more arm64/armhf CI instances
Michael Jeanson [Wed, 14 Aug 2024 14:52:49 +0000 (10:52 -0400)] 
Add more arm64/armhf CI instances

Change-Id: I477ec48911326adc85c22b590ea49d8cba902e46
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agoansible: modernize dist-upgrade playbook
Michael Jeanson [Fri, 9 Aug 2024 18:02:32 +0000 (14:02 -0400)] 
ansible: modernize dist-upgrade playbook

Use ansible.builtin.apt in a single operation.

Change-Id: Iaccd7a5aaa90fdfd5bb68ee16ef092ea1132b830
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agoansible: Add ci-master-04
Kienan Stewart [Fri, 9 Aug 2024 18:59:46 +0000 (14:59 -0400)] 
ansible: Add ci-master-04

Change-Id: I632de7842bc5b6fe6edf365ca14181786e5c1ab8
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Add jenkins role to playbook for jenkins hosts
Kienan Stewart [Fri, 9 Aug 2024 18:58:49 +0000 (14:58 -0400)] 
ansible: Add jenkins role to playbook for jenkins hosts

Change-Id: I3282369beffd760609bebeb722e5783b6d4d3f87
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Add note on how to skip slow tasks
Kienan Stewart [Mon, 12 Aug 2024 12:54:23 +0000 (08:54 -0400)] 
ansible: Add note on how to skip slow tasks

Change-Id: Iab1b508a52e4d9288015510be0f63fcc15ab6a0b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Add role for installing Jenkins
Kienan Stewart [Fri, 9 Aug 2024 17:56:50 +0000 (13:56 -0400)] 
ansible: Add role for installing Jenkins

Change-Id: Ia24ad484f83763bcff451fda82b64ffcdb008f79
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: netplan: fixed host netif by mac address
Michael Jeanson [Fri, 9 Aug 2024 16:00:58 +0000 (12:00 -0400)] 
ansible: netplan: fixed host netif by mac address

Since we track the bookworm-backports kernel on the CI amd64 hosts, the
name of the network interfaces may change after a kernel update. Change
the netplan config to bind the interface based on its mac address which
doesn't change.

Change-Id: I7c2a040964f22187fb6a76e1ec3cd1b6e05a2679
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agojjb: liburcu: workaround a TLS issue on Cygwin
Michael Jeanson [Tue, 23 Jul 2024 17:42:25 +0000 (13:42 -0400)] 
jjb: liburcu: workaround a TLS issue on Cygwin

The TLS emulation layer provided by GCC on Cygwin has a deadlock issue
with the 'test_perthreadlock'. Use our internal TLS implementation on
Cygwin to work around this.

Change-Id: Id9e8c6623715e529ba01fcb128d75e922766098f
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agoansible: Remove group read access to netplan configuration files
Kienan Stewart [Fri, 9 Aug 2024 14:08:39 +0000 (10:08 -0400)] 
ansible: Remove group read access to netplan configuration files

Netplan warns that the configuration files shouldn't be group readable
when running `netplan apply`. This change will silence that warning.

Change-Id: I3d390f5626f92760e2a4ab7690f9c63b64ef639b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Update interfaces names for amd64 CI hosts
Kienan Stewart [Fri, 9 Aug 2024 13:37:31 +0000 (09:37 -0400)] 
ansible: Update interfaces names for amd64 CI hosts

A recent update has cause the predictable names to include the PCI
slot number.

Change-Id: I1e411a911151f62b57048504d3da5dbc4bcb3d9f
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Reorganize cluster groups in ansible inventory
Kienan Stewart [Thu, 8 Aug 2024 18:16:38 +0000 (14:16 -0400)] 
ansible: Reorganize cluster groups in ansible inventory

Change-Id: I99bfb4b1a95be3002d60fb664d7a16c05a165f0e
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Apply lxd role only to hosts in the lxd group
Kienan Stewart [Thu, 8 Aug 2024 13:15:11 +0000 (09:15 -0400)] 
ansible: Apply lxd role only to hosts in the lxd group

This will continue to allow bootstrapping of LXD clusters if needed
for testing.

Change-Id: Ib0cffa8ad8f50e30242d638ad12c65032cbb5789
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Add arm64 ci hosts to lxd_cluster_ci
Kienan Stewart [Thu, 8 Aug 2024 15:30:24 +0000 (11:30 -0400)] 
ansible: Add arm64 ci hosts to lxd_cluster_ci

Change-Id: I5e4c5d2bf9ce0d2cb8848cfa69ce5e52aea9a3af
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Add incus migration steps
Kienan Stewart [Thu, 8 Aug 2024 13:16:16 +0000 (09:16 -0400)] 
ansible: Add incus migration steps

Change-Id: I344b9398b2a396d47ee9b934f85d21e5cbf293d5
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Update readme for bootstrapping LXD hosts
Kienan Stewart [Thu, 8 Aug 2024 12:50:49 +0000 (08:50 -0400)] 
ansible: Update readme for bootstrapping LXD hosts

Change-Id: I0bd605d61a82ebe12c6ac3bfdac8bfa7ba02b6f8
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Add test cluster
Kienan Stewart [Wed, 7 Aug 2024 21:06:42 +0000 (17:06 -0400)] 
ansible: Add test cluster

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

2 months agoansible: Add minimal role to install incus and incus-tools
Kienan Stewart [Wed, 7 Aug 2024 18:03:06 +0000 (14:03 -0400)] 
ansible: Add minimal role to install incus and incus-tools

Change-Id: Ic7026bc40e48b3f46061f8039c8c6ed77fcaac81
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Set images and backups storage volumes on hosts
Kienan Stewart [Thu, 8 Aug 2024 17:01:55 +0000 (13:01 -0400)] 
ansible: Set images and backups storage volumes on hosts

By placing images and backups in the default (zfs) storage, the root
partition won't get filled with that.

Change-Id: I617cc6d1b82d28e65f8a848567e634f4a5a2516f
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Fix core pattern match
Kienan Stewart [Thu, 8 Aug 2024 17:51:36 +0000 (13:51 -0400)] 
ansible: Fix core pattern match

The output of /proc/sys/kernel/core_pattern is single-quoted with the
default core pattern.

Change-Id: I7da0b590afdf247cbac3b0944dfa42d9258bdbcf
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agoansible: Correct typo in common Debian setup
Kienan Stewart [Wed, 7 Aug 2024 18:00:22 +0000 (14:00 -0400)] 
ansible: Correct typo in common Debian setup

Change-Id: I79a8f74b41c260bc8bd6bad8497ad3c7a070ed56
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Add missing default variables for common-node
Kienan Stewart [Mon, 29 Jul 2024 19:22:09 +0000 (15:22 -0400)] 
ansible: Add missing default variables for common-node

Required for commit c426b44b233d1a84ede09b1fcd062cfe8315ac58.

Change-Id: I0cee581202bb4f2f452748ec0bcaf7c7afb29456
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Disable, wait, and enable root nodes during snapshot
Kienan Stewart [Fri, 26 Jul 2024 20:51:57 +0000 (16:51 -0400)] 
ansible: Disable, wait, and enable root nodes during snapshot

This change decreases the number of manual steps required to perform
the updates to the rootnode snapshots.

Change-Id: I0ad25a4e282498ce5f146f75dcabaa84a6eb2400
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Add helper script to perform frequent tasks against CI nodes
Kienan Stewart [Fri, 26 Jul 2024 20:51:12 +0000 (16:51 -0400)] 
ansible: Add helper script to perform frequent tasks against CI nodes

Change-Id: I4715027db1920dedf85512548cd0a575d7a64d1c
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Run black on ansible scripts
Kienan Stewart [Mon, 29 Jul 2024 12:59:17 +0000 (08:59 -0400)] 
ansible: Run black on ansible scripts

Change-Id: Iff19c3648aa68d3b42e2ea79ff1d4538476cfeed
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoAdd pyproject.toml with black tool
Kienan Stewart [Fri, 26 Jul 2024 20:48:56 +0000 (16:48 -0400)] 
Add pyproject.toml with black tool

This allows editors to automatiicaly verify if blacken should be used
or not with python scripts.

Blacken is used with other LTTng projects as well.

Change-Id: Ifbd84e97c6a3ce87259a6a7950a3256e757e3463
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Set core pattern on LXD hosts and CI nodes
Kienan Stewart [Thu, 25 Jul 2024 19:30:02 +0000 (15:30 -0400)] 
ansible: Set core pattern on LXD hosts and CI nodes

Change-Id: I7633740ff2122b88ddfcb52a373e6186f06722fa
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agojjb: typo in clang-tidy regex 'hhp' -> 'hpp'
Michael Jeanson [Tue, 23 Jul 2024 20:50:52 +0000 (16:50 -0400)] 
jjb: typo in clang-tidy regex 'hhp' -> 'hpp'

Change-Id: Ic58bcb48a25fe48c835b5366d75a5c5696dc0f5e
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 months agojjb: liburcu: set a more reasonable timeout
Michael Jeanson [Mon, 22 Jul 2024 19:23:54 +0000 (15:23 -0400)] 
jjb: liburcu: set a more reasonable timeout

Replace the hard timeout of 90 minutes to one of 30 minutes relative to
the last console output. This is more in line with the other jobs
configuration and can be tuned further later. Also set the job to
ABORTED instead of FAILED on timeout.

Change-Id: I14b8b48b7c4e079cf4a2cfed8c9f00f7bea70e25
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
3 months agoansible: Use EFI with recently deployed SLES nodes
Kienan Stewart [Thu, 11 Jul 2024 19:40:43 +0000 (15:40 -0400)] 
ansible: Use EFI with recently deployed SLES nodes

The base images provided by Suse are meant to work with EFI, and
enabling EFI in the VMs means that the installations don't need to be
reconfigure to use legacy BIOS boot after initial deployment.

Change-Id: Ia1c309b7b16f52e5ede5131d22e220f87211d753
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Add option to template libvirt domains with EFI
Kienan Stewart [Thu, 11 Jul 2024 19:36:53 +0000 (15:36 -0400)] 
ansible: Add option to template libvirt domains with EFI

Change-Id: I3f706634c81a193132b93cfc7b6cbae6ac795157
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Ensure log4j-1.2.jar link exists on SLES12
Kienan Stewart [Thu, 11 Jul 2024 19:13:04 +0000 (15:13 -0400)] 
ansible: Ensure log4j-1.2.jar link exists on SLES12

Change-Id: I7672e45845e37284f0fd403dfeeac8398eb3fb9e
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Disable firewalld on SLES nodes
Kienan Stewart [Thu, 11 Jul 2024 19:10:01 +0000 (15:10 -0400)] 
ansible: Disable firewalld on SLES nodes

Change-Id: Ic968f8292f5a748bdb71a5876d4827833a4af118
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agojjb: Skip gerrit lttng-modules checkouts for non-root users
Kienan Stewart [Tue, 9 Jul 2024 13:19:39 +0000 (09:19 -0400)] 
jjb: Skip gerrit lttng-modules checkouts for non-root users

Change-Id: I9e43b7f944e145705ad592b65eefab466902ac22
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 months agoansible: Use jre-11-openjdk by default on SLES12SP5
Kienan Stewart [Fri, 5 Jul 2024 17:16:39 +0000 (13:16 -0400)] 
ansible: Use jre-11-openjdk by default on SLES12SP5

Change-Id: I66f8acfa51f372b9c418230af3d3e5b138f903e0
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 months agoansible: Install log4j from upstream release on SLES12SP5
Kienan Stewart [Fri, 5 Jul 2024 15:54:54 +0000 (11:54 -0400)] 
ansible: Install log4j from upstream release on SLES12SP5

Change-Id: I4faf1897162e8c400d828a515dddf24e7f49a2ab
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 months agojjb: Use lttng-modules from gerrit when depends-on is set
Kienan Stewart [Wed, 3 Jul 2024 19:18:47 +0000 (15:18 -0400)] 
jjb: Use lttng-modules from gerrit when depends-on is set

Change-Id: Id9727687db2ebde04a4c564cdbac400c3c95652f
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
4 months agoansible: Install git-review with the developer role
Kienan Stewart [Tue, 18 Jun 2024 14:31:10 +0000 (10:31 -0400)] 
ansible: Install git-review with the developer role

Change-Id: I372c673a48d9b5788cfd86c0a2ad1a85ed29166b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 months agojjb: babeltrace: use clang-format-16
Simon Marchi [Mon, 27 May 2024 13:52:15 +0000 (09:52 -0400)] 
jjb: babeltrace: use clang-format-16

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Change-Id: I97e7719f478fe9305ee420bb41176df57e78b813

5 months agoansible: Add clang-16 toolchain to debian12 nodes
Michael Jeanson [Thu, 9 May 2024 20:35:13 +0000 (16:35 -0400)] 
ansible: Add clang-16 toolchain to debian12 nodes

Change-Id: I6110211bb7a838700b1d9bdebf67f77af9738000
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
5 months agojjb: Treat warnings as errors on lttng-modules jobs against RC kernels
Kienan Stewart [Wed, 29 May 2024 19:43:05 +0000 (15:43 -0400)] 
jjb: Treat warnings as errors on lttng-modules jobs against RC kernels

Change-Id: If96423f71fb697f4f61df8eaab6d405ef07c0bac
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 months agoansible: Print SUSE product name in connection task title
Kienan Stewart [Wed, 29 May 2024 12:54:53 +0000 (08:54 -0400)] 
ansible: Print SUSE product name in connection task title

Change-Id: I5dd337f7b80ad5e939a481fa5c6cab013a157ed1
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 months agoansible: Add new SLES 12 SP5 instances
Kienan Stewart [Wed, 29 May 2024 12:48:39 +0000 (08:48 -0400)] 
ansible: Add new SLES 12 SP5 instances

Change-Id: I26cd66bd93b7c55c5fcaacf34265e53fbbe3fd89
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 months agoansible: Use SUSEConnect instead of suseconnect
Kienan Stewart [Wed, 29 May 2024 12:47:28 +0000 (08:47 -0400)] 
ansible: Use SUSEConnect instead of suseconnect

`suseconnect` is only available by default on SLES 15.
New deployments of SLES 12 SP5 have only the cased version
`SUSEConnect`.

Change-Id: Ib61d945aff0e7581929f0008db4c21bcee5e228a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 months agoansible: Install python3-lxml on libvirt hosts
Kienan Stewart [Tue, 28 May 2024 19:59:55 +0000 (15:59 -0400)] 
ansible: Install python3-lxml on libvirt hosts

The lxml python package is required by community.libvirt 1.3.0

Change-Id: I896ef3e6ceaa66786e44c1ff981936e0fd1aabc2
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 months agoansible: Add new sles15sp4 and sles15sp5 CI instances
Kienan Stewart [Tue, 28 May 2024 19:38:36 +0000 (15:38 -0400)] 
ansible: Add new sles15sp4 and sles15sp5 CI instances

Change-Id: Ic073d6d32bdb5de1f011b22cc55efb285cacaa2b
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 months agoansible: Stop managing old development instances
Kienan Stewart [Tue, 28 May 2024 19:26:27 +0000 (15:26 -0400)] 
ansible: Stop managing old development instances

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