]> git.lttng.org Git - lttng-ci.git/log
lttng-ci.git
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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>
3 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

3 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>
3 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>
3 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>
3 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
4 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>
5 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>
5 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>
6 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

6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 months agoansible: Skip managing DNS entries if meta is empty
Kienan Stewart [Tue, 28 May 2024 19:25:35 +0000 (15:25 -0400)] 
ansible: Skip managing DNS entries if meta is empty

Change-Id: I7e4a322ef25a479d2c4a6526b00135a9dde72c48
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 months agoansible: Display LXD container name in task title
Kienan Stewart [Tue, 28 May 2024 19:24:21 +0000 (15:24 -0400)] 
ansible: Display LXD container name in task title

Change-Id: If5331028840cb7808ee27192a09f70aa20a0908a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 months agoansible: Update default image for new LXD instances
Kienan Stewart [Tue, 28 May 2024 19:23:42 +0000 (15:23 -0400)] 
ansible: Update default image for new LXD instances

Change-Id: Ie9bb2066d947f7b3904c62b1438b03697b260dfe
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 months agojjb: Add babeltrace review jobs on SLES
Kienan Stewart [Tue, 28 May 2024 17:21:47 +0000 (13:21 -0400)] 
jjb: Add babeltrace review jobs on SLES

Change-Id: I17e94f70c173a5c457fec03bab647a83d390e3c5
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 months agoansible: Do not create Jenkins user on root nodes
Kienan Stewart [Mon, 27 May 2024 19:42:28 +0000 (15:42 -0400)] 
ansible: Do not create Jenkins user on root nodes

Change-Id: I823f64a5b49a8ca3420d999a4055c7e449b970bb
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 months agoansible: Install systemtap development packages on CI nodes
Kienan Stewart [Mon, 27 May 2024 18:21:54 +0000 (14:21 -0400)] 
ansible: Install systemtap development packages on CI nodes

Change-Id: I460e2ff8b84541d6e58ea4aa1cbef3da411956c8
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 months agoansible: Skip installing cross compilers on ci-rootnode-deb12-amd64-1c-02
Kienan Stewart [Mon, 27 May 2024 18:21:26 +0000 (14:21 -0400)] 
ansible: Skip installing cross compilers on ci-rootnode-deb12-amd64-1c-02

Change-Id: Idc7399ad60c355e36f16b6c83c19693b23c006a5
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 months agoansible: Add parameter to skip installing cross compilers
Kienan Stewart [Mon, 27 May 2024 18:17:50 +0000 (14:17 -0400)] 
ansible: Add parameter to skip installing cross compilers

Change-Id: I4e885ce54ef491660d0881230cd503088454b760
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 months agobabeltrace: check header include guards in lint job
Simon Marchi [Fri, 24 May 2024 16:14:39 +0000 (12:14 -0400)] 
babeltrace: check header include guards in lint job

Change-Id: Ia39a497ca392abf10dd390c7f43a4c7dd4ed2e30
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
6 months agoansible: Enable RDP and allow pings on windows CI hosts
Kienan Stewart [Tue, 21 May 2024 17:53:08 +0000 (13:53 -0400)] 
ansible: Enable RDP and allow pings on windows CI hosts

Change-Id: I4cae9771c6c37eec22b1a79ddc35730d17a6854e
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 months agojjb: Remove macos-amd64 platform from binutils-gdb
Kienan Stewart [Tue, 21 May 2024 14:54:28 +0000 (10:54 -0400)] 
jjb: Remove macos-amd64 platform from binutils-gdb

The node has been decommissioned.

Change-Id: I5feb2067b1b2e4f2acfa66a01596ab0c8a4962bd
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 months agojjb: MacOSX: mktemp wrapper that respects $TMPDIR
Kienan Stewart [Fri, 17 May 2024 15:23:04 +0000 (11:23 -0400)] 
jjb: MacOSX: mktemp wrapper that respects $TMPDIR

Change-Id: Ia6c5a6cadf707423a9236ea33248e35f1b0084bd
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 months agojjb: Add missing function to binutils build script
Kienan Stewart [Fri, 17 May 2024 15:24:45 +0000 (11:24 -0400)] 
jjb: Add missing function to binutils build script

Change-Id: Ifa110754469a25ffe61b3cf28efb8190d8e30eb6
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
7 months agoansible: create a node_wandboard group
Michael Jeanson [Mon, 29 Apr 2024 20:44:31 +0000 (16:44 -0400)] 
ansible: create a node_wandboard group

Move the reboot on readonly root action to this new group as it doesn't
apply to the new armhf containers.

Change-Id: I9b91a7e30614c920bf54593edd8601b59816c7d6
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
7 months agojjb: lttng-tools: fix dev_review_*_root_linuxbuild jobs
Michael Jeanson [Mon, 29 Apr 2024 19:55:09 +0000 (15:55 -0400)] 
jjb: lttng-tools: fix dev_review_*_root_linuxbuild jobs

These jobs inherited the default wrappers for lttng-tools, including the
proccleaner which doesn't work for 'root' builds as it tries to kill all
processes owned by root that are not started by the jenkins agent before
starting the build.

Set the same custom wrappers as the other 'root' builds.

Change-Id: I793235a8c5037a07fe610b89e63834cccac2e2b8
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
7 months agojjb: lttng-tools: Unify rootbuild jobs under '_root_{buildtype}'
Michael Jeanson [Mon, 29 Apr 2024 15:45:45 +0000 (11:45 -0400)] 
jjb: lttng-tools: Unify rootbuild jobs under '_root_{buildtype}'

Replace the old '_rootbuild' jobs with the same template as used by
the el8/sles15sp4 root jobs. Replace the '_rootbuild_i386' job with
'_root_portbuild' including the new armhf and arm64 architecture.

The resulting jobs are named as follows:

 - lttng-tools_master_root_linuxbuild
 - lttng-tools_master_root_portbuild

This all means using a single template and having more consistent
naming.

Change-Id: I53a5a875bc76f128ff66000540c38b6be429e557
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
7 months agoansible: fix cross compilers role on armhf/arm64
Michael Jeanson [Fri, 26 Apr 2024 20:51:34 +0000 (16:51 -0400)] 
ansible: fix cross compilers role on armhf/arm64

Change-Id: I9d6ffd581fc1acf21e31cb7386b53c5fd7685eae
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
8 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>
8 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>
8 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>
8 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
This page took 0.040959 seconds and 4 git commands to generate.