lttng-ci.git
14 months agoansible: Correct launcher delegate host for i386 rootnode
Michael Jeanson [Wed, 16 Aug 2023 18:13:08 +0000 (14:13 -0400)] 
ansible: Correct launcher delegate host for i386 rootnode

Change-Id: I57881eda6d01bb70b04efc5ad88a468c230ab36f
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agowip: lttng-tools
Michael Jeanson [Tue, 15 Aug 2023 22:38:24 +0000 (18:38 -0400)] 
wip: lttng-tools

Change-Id: Ida59fe798ec37c17bb3b2c16c9944ad8b90a2097

14 months agojjb: liburcu: add atomic builtins conf to linuxbuild master
Michael Jeanson [Tue, 15 Aug 2023 20:11:02 +0000 (16:11 -0400)] 
jjb: liburcu: add atomic builtins conf to linuxbuild master

Change-Id: I749c4edb30dce57c1b9dcd5f92df95a74e42c30b
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: babeltrace: ignore pragma warnings on MacOS
Michael Jeanson [Tue, 15 Aug 2023 21:06:30 +0000 (17:06 -0400)] 
jjb: babeltrace: ignore pragma warnings on MacOS

Ignore prama warnings from Glib on MacOS

  plugin.c:85:4: warning: Deprecated pre-processor symbol [-W#pragma-messages]
                          PYTHON_PLUGIN_PROVIDER_FILENAME, NULL);
                          ^
  plugin.c:36:79: note: expanded from macro 'PYTHON_PLUGIN_PROVIDER_FILENAME'
  #define PYTHON_PLUGIN_PROVIDER_FILENAME "babeltrace2-python-plugin-provider." G_MODULE_SUFFIX
                                                                                ^
  /opt/local/lib/glib-2.0/include/glibconfig.h:289:30: note: expanded from macro 'G_MODULE_SUFFIX'
  #define G_MODULE_SUFFIX "so" GLIB_DEPRECATED_MACRO_IN_2_76
                               ^
  /opt/local/include/glib-2.0/glib/glib-visibility.h:889:39: note: expanded from macro 'GLIB_DEPRECATED_MACRO_IN_2_76'
  #define GLIB_DEPRECATED_MACRO_IN_2_76 GLIB_DEPRECATED_MACRO
                                        ^
  /opt/local/include/glib-2.0/glib/gmacros.h:1297:31: note: expanded from macro 'GLIB_DEPRECATED_MACRO'
  #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol")
                                ^
  /opt/local/include/glib-2.0/glib/gmacros.h:1296:33: note: expanded from macro '_GLIB_GNUC_DO_PRAGMA'
  #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x))
                                  ^
  <scratch space>:11:6: note: expanded from here
   GCC warning "Deprecated pre-processor symbol"
       ^

Change-Id: Iacccd4949caf618e67b94987ab2e9511b33958d1
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: lttng-ust-benchmarks: move amd64 jobs to deb12
Michael Jeanson [Tue, 15 Aug 2023 21:56:48 +0000 (17:56 -0400)] 
jjb: lttng-ust-benchmarks: move amd64 jobs to deb12

Change-Id: Ic19f735be9a72226ad1684e297252c41d349d6ba

14 months agojjb: lttng-ust: move amd64 jobs to deb12
Michael Jeanson [Tue, 15 Aug 2023 21:28:32 +0000 (17:28 -0400)] 
jjb: lttng-ust: move amd64 jobs to deb12

Change-Id: I7069a42347f87ab9eea4b9d2ade463d1847bc4d0

14 months agojjb: liburcu: move amd64 jobs to deb12
Michael Jeanson [Tue, 15 Aug 2023 18:44:46 +0000 (14:44 -0400)] 
jjb: liburcu: move amd64 jobs to deb12

Change-Id: I53a3b7ab8e0a8da3f4d823ce73085177435df47a
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: librseq: move amd64 jobs to deb12
Michael Jeanson [Tue, 15 Aug 2023 18:37:14 +0000 (14:37 -0400)] 
jjb: librseq: move amd64 jobs to deb12

Change-Id: I701efbe959bdcf369b85654c865f372e357f0d2c
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: babeltrace: move amd64 jobs to deb12
Michael Jeanson [Tue, 15 Aug 2023 17:59:23 +0000 (13:59 -0400)] 
jjb: babeltrace: move amd64 jobs to deb12

Change-Id: I1b62397b3fa458fbb814e17093b915ae45dfbdf7
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agoansible: Install gcc-11 and gcc-12 cross compilers on Debian
Kienan Stewart [Tue, 15 Aug 2023 18:47:10 +0000 (14:47 -0400)] 
ansible: Install gcc-11 and gcc-12 cross compilers on Debian

The default packages, eg. gcc-riscv64-linux-gnu, only installed the
most recent vers (eg. 12 on Bookworm).

Change-Id: I632ff54f7eceeb6e373e2026fb2fb828c2953d6d

14 months agojjb: Use linuxbuild as jobtype for lttng-tools rootbuilds
Kienan Stewart [Tue, 15 Aug 2023 18:37:09 +0000 (14:37 -0400)] 
jjb: Use linuxbuild as jobtype for lttng-tools rootbuilds

When the buildtype is 'build', the artifacts will be looked for in the
the '_build' jobs which aren't valid for the new root node tags

Change-Id: I2e7a28bc2128f94513c302f32aae21a321820ad3

14 months agojjb: Run lttng-ust-java-tests when testing lttng-tools
Kienan Stewart [Wed, 28 Jun 2023 20:25:36 +0000 (16:25 -0400)] 
jjb: Run lttng-ust-java-tests when testing lttng-tools

Change-Id: I379ec43d87c4a75be7c38b22aa35c4a13cf2bef1

14 months agoMerge "ansible: Do not update jenkins node during ci-instances when not set"
Michael Jeanson [Tue, 15 Aug 2023 17:29:45 +0000 (13:29 -0400)] 
Merge "ansible: Do not update jenkins node during ci-instances when not set"

14 months agojjb: lttng-www: move to deb12 builders
Michael Jeanson [Tue, 15 Aug 2023 15:31:16 +0000 (11:31 -0400)] 
jjb: lttng-www: move to deb12 builders

Change-Id: I5e8fe708af25aa568293da6e6b6b9d0e4c87fb4a
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: efficios-www: move to deb12 builders
Michael Jeanson [Tue, 15 Aug 2023 15:18:40 +0000 (11:18 -0400)] 
jjb: efficios-www: move to deb12 builders

Change-Id: I39043ae45b5645ac798dce6184812418fe9687d1
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: babeltrace-www: move to deb12 builders
Michael Jeanson [Tue, 15 Aug 2023 15:14:53 +0000 (11:14 -0400)] 
jjb: babeltrace-www: move to deb12 builders

Change-Id: Ib40f6bc968d9830e4f12bccdf89d9253c5efbdb5
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agoansible: Correct launcher delegate host for rootnodes
Kienan Stewart [Mon, 14 Aug 2023 19:35:37 +0000 (15:35 -0400)] 
ansible: Correct launcher delegate host for rootnodes

Change-Id: Icd43ee3ad53558d60e0794acb70b00af20ff0935

14 months agoansible: Do not update jenkins node during ci-instances when not set
Kienan Stewart [Mon, 14 Aug 2023 15:58:34 +0000 (11:58 -0400)] 
ansible: Do not update jenkins node during ci-instances when not set

Eg., we don't want to add git-mirror02 to Jenkins

Change-Id: I16d3fd4bf4a1340548366a83a9a4abb8e76fdb09

14 months agojjb: Run lttng-tools rootbuilds on deb12-amd64
Kienan Stewart [Fri, 11 Aug 2023 16:23:34 +0000 (12:23 -0400)] 
jjb: Run lttng-tools rootbuilds on deb12-amd64

Change-Id: I392c5a1c681a4f29a0846f1aac16d1cf60c500a0

14 months agojjb: Add linuxbuilds for dev_review_lttng-tools
Kienan Stewart [Fri, 11 Aug 2023 14:51:17 +0000 (10:51 -0400)] 
jjb: Add linuxbuilds for dev_review_lttng-tools

Change-Id: I93adf5f61e62205c347d599465850d1ac01e75bc

14 months agojjb: Build kernels with allmodconfig instead of allyesconfig
Kienan Stewart [Wed, 9 Aug 2023 21:21:35 +0000 (17:21 -0400)] 
jjb: Build kernels with allmodconfig instead of allyesconfig

allmodconfig will reduce the size the the vmlinuz image and the amount
of symbols the linker and other tools (eg. objtool) need to resolve

Change-Id: Iffcdebad808febcee9805570f30f05e0b5f8f2d8

14 months agojjb: Correct unbound variable usage error
Kienan Stewart [Wed, 9 Aug 2023 21:21:09 +0000 (17:21 -0400)] 
jjb: Correct unbound variable usage error

Change-Id: Id3c37316c88738d04d857b203d24e77f987ed627

14 months agojjb: Update JAVA_HOME for lttng-ust FreeBSD builds
Kienan Stewart [Mon, 14 Aug 2023 13:54:49 +0000 (09:54 -0400)] 
jjb: Update JAVA_HOME for lttng-ust FreeBSD builds

https://ci.lttng.org/job/lttng-ust_master_freebsdbuild/200/console
failed with missing 'jni.h' since the JAVA_HOME wasn't set correctly
any longer

Change-Id: I92561ee58d8437d7de12a6eeb9cc2a7cd9088667

14 months agojjb: librseq: fix clang job for deb12
Michael Jeanson [Wed, 9 Aug 2023 14:28:35 +0000 (10:28 -0400)] 
jjb: librseq: fix clang job for deb12

Change-Id: I956bd4c257f0017372343090bb296da3a37abe39
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agoansible: Add play to run produce known_hosts file using ssh-keyscan
Kienan Stewart [Wed, 9 Aug 2023 18:10:26 +0000 (14:10 -0400)] 
ansible: Add play to run produce known_hosts file using ssh-keyscan

Change-Id: Iaec237bb973d0f94717b24ea624bc87ea701e6e3

14 months agoansible: Add new CI nodes
Kienan Stewart [Wed, 9 Aug 2023 18:10:08 +0000 (14:10 -0400)] 
ansible: Add new CI nodes

Change-Id: I3fc73df825aecf3905d2c0a701d81bf8bb805d86

14 months agoansible: Increase ci-node and ci-rootnode default CPU limit to 8
Kienan Stewart [Wed, 9 Aug 2023 16:02:42 +0000 (12:02 -0400)] 
ansible: Increase ci-node and ci-rootnode default CPU limit to 8

Change-Id: Iadfa2101c7af589eea2bf97b574583f75b5a455c

14 months agoansible: Add and manage replacement git-mirror instance
Kienan Stewart [Wed, 9 Aug 2023 15:52:54 +0000 (11:52 -0400)] 
ansible: Add and manage replacement git-mirror instance

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

14 months agoansible: Install linux-headers on Debian x86_64 nodes
Kienan Stewart [Tue, 8 Aug 2023 17:51:34 +0000 (13:51 -0400)] 
ansible: Install linux-headers on Debian x86_64 nodes

These are required for lttng-modules builds to succeed

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

14 months agojjb: Remove 'jammy-amd64' platform from all jobs
Michael Jeanson [Tue, 8 Aug 2023 15:22:24 +0000 (11:22 -0400)] 
jjb: Remove 'jammy-amd64' platform from all jobs

The new default platform will be based on Debian 12 (Bookworm), remove
the Ubuntu Jammy platform that was previously in testing.

Change-Id: Ia01cafac13925b8a593d201f5cc1384dd0c8a735
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agoansible: zfs tuning
Michael Jeanson [Thu, 3 Aug 2023 14:53:25 +0000 (10:53 -0400)] 
ansible: zfs tuning

Performance tuning on zfs 'tank', set atime=off and xattr=sa.

Add a dataset for libvirt images with a recordsize of 64k which matches
the default cluster size of qcow2 images.

Change-Id: I4c697f4b984821e4f856daeca569ac07db33cb93
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: Derive lttng-modules architecture from platform label
Kienan Stewart [Mon, 7 Aug 2023 20:21:22 +0000 (16:21 -0400)] 
jjb: Derive lttng-modules architecture from platform label

This change updates the URL for fetching built kernels to key them by
build platform. This is done so that it's possible to differentiate a
kernel built on on deb12-amd64 (which will use gcc-12 by default) and
those built on bionic-amd64 which use gcc-7 by default.

An effect of this change is that all the kernels will need to be
rebuilt once the jobs are updated. It may be worth flushing the object
store of the linux kernels as this change is made so files in the old
paths are not kept endlessly without reason.

Change-Id: I96e0e6140827c660012e1264d96a324d8cca8801

14 months agojjb: Add dev job for lttng-tools rootbuild on deb12-amd64
Kienan Stewart [Mon, 7 Aug 2023 20:20:34 +0000 (16:20 -0400)] 
jjb: Add dev job for lttng-tools rootbuild on deb12-amd64

Change-Id: I19e6ec6ea527a89fdbee7deca3b4ad914d63b518

14 months agoansible: Update kernel build dependency to lttng-modules
Kienan Stewart [Mon, 7 Aug 2023 13:02:57 +0000 (09:02 -0400)] 
ansible: Update kernel build dependency to lttng-modules

Ubuntu-5.15.0-77.84 fails to build if cpio isn't installed

Change-Id: Ia64ee0b70a7fa88b5d866c1ad35e5cc433cb514f

14 months agojjb: Correct ubuntu kernel builds on Debian nodes
Kienan Stewart [Fri, 4 Aug 2023 21:19:17 +0000 (17:19 -0400)] 
jjb: Correct ubuntu kernel builds on Debian nodes

Change-Id: I9dd798548cc60611e2288cc3f56486a3ea04905a

14 months agoansible: Install gcc-riscv64-linux-gnu on Debian-based distros
Kienan Stewart [Fri, 4 Aug 2023 14:56:19 +0000 (10:56 -0400)] 
ansible: Install gcc-riscv64-linux-gnu on Debian-based distros

gcc-riscv64-linux-gnu is available for most arches since Ubuntu bionic
and Debian bullseye. In earlier releases it was only available on
amd64/i386 platforms.

Change-Id: Ib7c0c5ce8dc4fd3c361ade18ece08129ad27df6e

14 months agojjb: Support s3cmd 2.3 in lttng-modules build
Kienan Stewart [Fri, 4 Aug 2023 14:55:53 +0000 (10:55 -0400)] 
jjb: Support s3cmd 2.3 in lttng-modules build

Change-Id: I628954139b075160f84ea1fd9acd8125d9e6b410

14 months agojjb: Search for all available gcc binaries when selecting compiler
Kienan Stewart [Wed, 2 Aug 2023 21:31:16 +0000 (17:31 -0400)] 
jjb: Search for all available gcc binaries when selecting compiler

In searching through $PATH, the list of compiler versions to check
doesn't need to be manually maintained

Change-Id: I49f6a92e9319fc15cc8c31ff0ec7f458f355a709

14 months agoansible: Install gcc-4.8 on Debian compiler nodes
Kienan Stewart [Wed, 2 Aug 2023 21:30:37 +0000 (17:30 -0400)] 
ansible: Install gcc-4.8 on Debian compiler nodes

gcc-4.8 is used for compiling legacy kernels

Change-Id: Iaea9e12e91af68bdf1b7caa39bb5afb71e161da0

14 months agolava: Update PDU port for cloud08
Kienan Stewart [Tue, 1 Aug 2023 20:27:31 +0000 (16:27 -0400)] 
lava: Update PDU port for cloud08

Change-Id: I0aab812a5cd96f541bcfab342d893556fc522568

14 months agoansible: Add rootnodes in new cluster
Kienan Stewart [Mon, 31 Jul 2023 21:21:49 +0000 (17:21 -0400)] 
ansible: Add rootnodes in new cluster

Change-Id: I3fcb71c3d84c82b570a5411747effe8bc17d4736

15 months agojjb: Add deb12-amd64 platform to linuxbuilds
Kienan Stewart [Mon, 31 Jul 2023 20:03:06 +0000 (16:03 -0400)] 
jjb: Add deb12-amd64 platform to linuxbuilds

Change-Id: I90921f505d4a6c3bdb38b7e0db3482ac7ca92317

15 months agoansible: Remove uuid set for ci-rootnode-deb12-i386-01-01
Kienan Stewart [Thu, 20 Jul 2023 15:14:16 +0000 (11:14 -0400)] 
ansible: Remove uuid set for ci-rootnode-deb12-i386-01-01

When the UUID is set, each time ansible is run the
community.libvirt.virt task will run and attempt to update the XML
definition of the virtual machine.

However, each time this happens the MAC address is changed. This
causes the VM to no longer get the expected IP address via DHCP.

If a new release of community.libvirt.virt sees the light of day, the
mutate option to keep the MAC address for interfaces could be tested
to see if it solves the problem we're seeing.

C.f https://github.com/ansible-collections/community.libvirt/commit/c4fe15801de0a1b61456acc8d2a5a704b0fe6ea5

For the moment, no changes to the XML template or settings are
expected for the VM, so removing the UUID is the simplest way to avoid
this issue.

Change-Id: I290999111da0eb29ccc856e55cd348da35e48df2

15 months agoRemove unused kernel build scripts
Kienan Stewart [Wed, 19 Jul 2023 21:01:09 +0000 (17:01 -0400)] 
Remove unused kernel build scripts

These scripts are superceded by lttng-modules/param-build.sh for
lttng-modules and build_kernel_PARAM for system tests.

Refs #1499

Change-Id: Ide19802735ff28747ef79124fd5145bc2c86af73

15 months agoRemove proxy from preseed
Kienan Stewart [Wed, 19 Jul 2023 21:00:12 +0000 (17:00 -0400)] 
Remove proxy from preseed

Refs #1499

Change-Id: I98fe68acebd93fef1f2b48994cc3720aa314963f

15 months agoansible: Update path for downloaded ISO images
Kienan Stewart [Thu, 27 Jul 2023 18:06:23 +0000 (14:06 -0400)] 
ansible: Update path for downloaded ISO images

/var/lib/libvirt/images isn't world-readable by default. The ISOs are
meant to be readily accessible as they should be used read-only.

In the cases where VMs are run as unprivileged users (eg. with lxd),
/var/lib/libvirt/images/*.iso isn't readable. Rather than loosening
the mode on the images folder, the ISOs will be in a directory
that is world-readable by default.

Change-Id: I056c290e5b88f0baaa52eaf749d4f29b53dbb8af

15 months agoansible: Add new CI hosts
Kienan Stewart [Tue, 25 Jul 2023 20:14:54 +0000 (16:14 -0400)] 
ansible: Add new CI hosts

Change-Id: I745cf88af108dc60e0cadfe417083409a20cb32a

15 months agoansible: Install prometheus-node-exporter on hosts
Kienan Stewart [Thu, 27 Jul 2023 20:09:20 +0000 (16:09 -0400)] 
ansible: Install prometheus-node-exporter on hosts

Change-Id: I8ccb421fb39e9b5f7b2f93e54cae0d508676f74b

15 months agoansible: Install intel or amd microcode on physical hosts
Kienan Stewart [Wed, 26 Jul 2023 14:13:38 +0000 (10:13 -0400)] 
ansible: Install intel or amd microcode on physical hosts

Change-Id: I097ce36e0cbe1cea7e83876a7d13727120b49f47

15 months agoansible: Use archive instead of release for debian ISO URLs
Kienan Stewart [Tue, 25 Jul 2023 20:06:54 +0000 (16:06 -0400)] 
ansible: Use archive instead of release for debian ISO URLs

The archive URLs are stable and shouldn't change with time. The
release URLs will no longer be valid when a new minor release happens

Change-Id: I14713bd2b1f9651acad16606926ad57b33013129

15 months agojjb: lttng-tools: remove proc-cleaner from macosbuild jobs
Michael Jeanson [Wed, 19 Jul 2023 19:21:34 +0000 (15:21 -0400)] 
jjb: lttng-tools: remove proc-cleaner from macosbuild jobs

Macos runs a lot of user processes which the proc-cleaner plugin tries
to kill, don't use it on macosbuild jobs.

Change-Id: I84a21cb3ee4b72223de9e157f6e336d25c8faada
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
16 months agojjb: Check internal links on babeltrace.org before deploy
Kienan Stewart [Fri, 7 Jul 2023 14:27:27 +0000 (10:27 -0400)] 
jjb: Check internal links on babeltrace.org before deploy

Change-Id: Icf09e3e9d7cedde87dffa0ff264b98295a7a337b

16 months agojjb: Check internal site links on lttng.org before deploy
Kienan Stewart [Fri, 7 Jul 2023 14:26:50 +0000 (10:26 -0400)] 
jjb: Check internal site links on lttng.org before deploy

Change-Id: I4811b7dc6b9cd988a50e1ce23eb7d7519dc20804

16 months agojjb: Check internal site links on efficios.com before deploy
Kienan Stewart [Fri, 7 Jul 2023 14:25:54 +0000 (10:25 -0400)] 
jjb: Check internal site links on efficios.com before deploy

Change-Id: I56b36751928d7b06f9d598566ddb0c0cf715287c

16 months agojjb: lttng-ust-benchmarks: move repo to lttng org
Michael Jeanson [Mon, 3 Jul 2023 20:05:33 +0000 (16:05 -0400)] 
jjb: lttng-ust-benchmarks: move repo to lttng org

Change-Id: I6608dc4fc87d4e9237f99105db7c323c0a035838
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
16 months agojjb: lttng-tools: remove process cleaner from rootbuild jobs
Michael Jeanson [Tue, 27 Jun 2023 20:56:41 +0000 (16:56 -0400)] 
jjb: lttng-tools: remove process cleaner from rootbuild jobs

Since 'rootbuild' jobs run as root in ephemeral VMs, it doesn't make
sense to try to kill all root owned process at the end of the build.

Change-Id: I814c31a40c9396cf5f96ae3310b14fe987cf546a
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
16 months agojjb: Build & deploy lttng-www using jammy rootnode
Kienan Stewart [Tue, 27 Jun 2023 18:50:29 +0000 (14:50 -0400)] 
jjb: Build & deploy lttng-www using jammy rootnode

For compatibility reasons, the job was designed to run against the
bionic node. It recently started failing to build since the
sass-embedded version was pinned to 1.53, and various artifacts
related to building it could no longer be fetched from maven.org.

In the process of unpinning it, changes were done so that the project
can be built on jammy.

Change-Id: I9084939fc2222dc6d0b8229790d9968127975ec3

16 months agoansible: Rename deb11 hosts to deb12
Kienan Stewart [Thu, 22 Jun 2023 18:33:00 +0000 (14:33 -0400)] 
ansible: Rename deb11 hosts to deb12

Change-Id: I2fa9726f90890500706a7c8ab713daafc640232e

16 months agoansible: Install linux-headers on standalone (root) nodes
Kienan Stewart [Thu, 22 Jun 2023 16:01:12 +0000 (12:01 -0400)] 
ansible: Install linux-headers on standalone (root) nodes

Required for lttng-tools rootbuild jobs

Change-Id: Id9c9cd6ae4874dcce41190bf42e4d7067be4d745

16 months agojjb: Remove jobs targeting Debian 11
Kienan Stewart [Wed, 21 Jun 2023 18:45:55 +0000 (14:45 -0400)] 
jjb: Remove jobs targeting Debian 11

Change-Id: I4e3f9fcea36ea54791fc476d7fe5ae0f5f5d3810

16 months agojjb: Immediately remove currentJobs with null build
Kienan Stewart [Tue, 20 Jun 2023 15:30:08 +0000 (11:30 -0400)] 
jjb: Immediately remove currentJobs with null build

In 9ee19c2b8f8af895460c3cc132282a9f85ec27dd, jobs ended up getting set
as 'Cancelled' if LaunchJob returned null instead of a Job
object. Those cancellations meant that the entire result of the
trigger was set to 'Aborted', masking otherwise successful runs.

This commit changes the behaviour slightly by prunning entries with a
null build immediately after the jobs are queued. This means that jobs
that couldn't be found by name don't cause the build to be flagged as
'Aborted'.

Change-Id: Ie76bb7bf05625eb541b0abdf0f05e95eb2d740c4

16 months agoansible: Force dpkg configuration during release upgrades
Kienan Stewart [Fri, 16 Jun 2023 18:20:48 +0000 (14:20 -0400)] 
ansible: Force dpkg configuration during release upgrades

This stops the installer from prompting for user decisions during the
various upgrades. Using confnew instead of confold risks breaking
configuration, but we largely use default configurations choosing the
new one means we don't have to go over all the diffs manually.

Change-Id: I754ec43fa35e23050659961ccbadf404ed7838cc

16 months agoansible: Add optional play to replace common hostname patterns during release-ugprades
Kienan Stewart [Thu, 15 Jun 2023 14:07:37 +0000 (10:07 -0400)] 
ansible: Add optional play to replace common hostname patterns during release-ugprades

Change-Id: Id60d624b91fd6e66347017f337b4048a319ac1c5

16 months agoansible: Cleanup debug statements in release-upgrade playbook
Kienan Stewart [Thu, 15 Jun 2023 14:06:32 +0000 (10:06 -0400)] 
ansible: Cleanup debug statements in release-upgrade playbook

Change-Id: I86fe5b5f8a4e6849294cb5c19c919926c083db7c

16 months agoansible: Refactor and rename release upgrade playbook
Kienan Stewart [Tue, 13 Jun 2023 19:22:51 +0000 (15:22 -0400)] 
ansible: Refactor and rename release upgrade playbook

In the end, The 'when:' at the play level wasn't a valid construct for
ansible. To more easily control which tasks are run based on the
ansible_distribution, the Debian specific tasks have been grouped
together in to a separate file which is then included only if
ansible_distribution is 'Debian'.

Change-Id: Iddeeb2da3682b16c4f22ccb179ddc9e40997de3e

16 months agoansible: Add deb12-armhf ci nodes
Kienan Stewart [Tue, 20 Jun 2023 13:11:23 +0000 (09:11 -0400)] 
ansible: Add deb12-armhf ci nodes

Change-Id: Ia4c2b9913ad553bddc304db918e3cecfc94cf7cf

16 months agoansible: Add deb12-armhf CI nodes
Kienan Stewart [Tue, 20 Jun 2023 13:09:44 +0000 (09:09 -0400)] 
ansible: Add deb12-armhf CI nodes

Change-Id: Ice84fc6222ff1d3a54a360258dc25bce66dbf2f7

16 months agojjb: Add builds on deb12-armhf platforms
Kienan Stewart [Tue, 20 Jun 2023 13:07:03 +0000 (09:07 -0400)] 
jjb: Add builds on deb12-armhf platforms

Change-Id: Ifdde6d42ade22633a330f06367b7972fce841594

16 months agojjb: Add builds on deb12-arm64 platforms
Kienan Stewart [Mon, 19 Jun 2023 19:54:19 +0000 (15:54 -0400)] 
jjb: Add builds on deb12-arm64 platforms

Change-Id: I510290a3612ab7ffcd15eca79ed0492f4dbfa5a7

16 months agoansible: Add new rootnode for debian12 / i386
Kienan Stewart [Wed, 14 Jun 2023 21:03:59 +0000 (17:03 -0400)] 
ansible: Add new rootnode for debian12 / i386

Change-Id: I488c6c7390d5f3d90ccd4abc7a70a721a4e3ea6f

16 months agoansible: Add default cross-compilers for Debian-based distributions
Kienan Stewart [Wed, 14 Jun 2023 20:57:56 +0000 (16:57 -0400)] 
ansible: Add default cross-compilers for Debian-based distributions

When deploying a new rootnode with Debian 12, the playbook failed
since no file matching the options defined in 'Include OS-specific
variables.' task in `roles/cross-compilers/main.yml` could be found.

Change-Id: Ia360ef42e16c16dd38e8ddb9d11db6ace589b7f4

16 months agoansible: Download CD images for Debian bookworm amd64 and i386
Kienan Stewart [Wed, 14 Jun 2023 20:39:56 +0000 (16:39 -0400)] 
ansible: Download CD images for Debian bookworm amd64 and i386

Change-Id: Ia35071b801fce99d11023d7f997480d6115057b4

16 months agojjb: Add deb12-i386 hosts
Kienan Stewart [Tue, 13 Jun 2023 19:24:53 +0000 (15:24 -0400)] 
jjb: Add deb12-i386 hosts

Change-Id: I5b1b9ffc37676ffbbe6f47e28b4e2b5aa75152f3

16 months agoansible: silence warnings in dist-upgrade playbook
Kienan Stewart [Mon, 12 Jun 2023 15:36:36 +0000 (11:36 -0400)] 
ansible: silence warnings in dist-upgrade playbook

Change-Id: I61cc2d88da6d72515089f6746730ff26f197ab8a

16 months agojjb: temporary fix for python layout on deb12
Michael Jeanson [Mon, 19 Jun 2023 17:58:59 +0000 (13:58 -0400)] 
jjb: temporary fix for python layout on deb12

Revert the change to 'DEB_PYTHON_INSTALL_LAYOUT=deb' which also changes
'site-packages' to 'dist-packages' which is debian specific.

Instead, temporarily add the incorrect 'local/$LIBDIR' to the
lttng-tools PYTHONPATH while we work on a fix for the build system of
the affected projects.

Change-Id: I662295ae48973eff0864377f58c915edf9ded941
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
16 months agowip: smokebuild
Michael Jeanson [Wed, 7 Jun 2023 20:46:20 +0000 (16:46 -0400)] 
wip: smokebuild

Change-Id: Id83224e273fedc94eb5ef57a0bdbfc4919c085fa

16 months agowip: riscv64
Michael Jeanson [Wed, 7 Jun 2023 20:46:03 +0000 (16:46 -0400)] 
wip: riscv64

Change-Id: If01b8f249d6d3ec15f3c44bcd76c77a55a9fc8c7

16 months agojjb: set python install layout to deb
Michael Jeanson [Tue, 13 Jun 2023 18:50:57 +0000 (14:50 -0400)] 
jjb: set python install layout to deb

The default install layout for user built python modules has changed in
Debian 12 to add a 'local' dir to the prefix. Force the traditionnal
system layout by exporting 'DEB_PYTHON_INSTALL_LAYOUT=deb'.

Change-Id: I0d684be831a8deaf49dc486d6850dba3c8267be2
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
16 months agoansible: Install and configure unattended-upgrades on Debian and Ubuntu
Kienan Stewart [Mon, 12 Jun 2023 14:09:30 +0000 (10:09 -0400)] 
ansible: Install and configure unattended-upgrades on Debian and Ubuntu

The unattended-upgrades are disabled by default on CI nodes.

Change-Id: Ifa86ae3fad626a69dcbfbf5829032fb3820128b3

16 months agoansible: Add playbook for Debian major version upgrades
Kienan Stewart [Mon, 12 Jun 2023 19:38:32 +0000 (15:38 -0400)] 
ansible: Add playbook for Debian major version upgrades

Useful when recreating the node from scratch isn't a quick option

Change-Id: I5ebd413604a0f0f48474c205ae88a8a7bf99c2ee

16 months agojjb/ansible: Replace deb11-ppc64el with deb12-ppc64el
Kienan Stewart [Mon, 12 Jun 2023 19:39:54 +0000 (15:39 -0400)] 
jjb/ansible: Replace deb11-ppc64el with deb12-ppc64el

Change-Id: I31a439040f6313d8ac419c7001150d9985f014c4

16 months agolava: Add missing popd to kernel tasks
Kienan Stewart [Wed, 7 Jun 2023 17:29:39 +0000 (13:29 -0400)] 
lava: Add missing popd to kernel tasks

The `popd` step was removed in
cf1271bb7a11cb708178043db11c0503f604a042

Change-Id: If18bf7f8f36cfdec8eb95b8c4c3dac9dbe051495

16 months agolava: Use absolute directory for coredumps
Kienan Stewart [Wed, 7 Jun 2023 13:00:37 +0000 (09:00 -0400)] 
lava: Use absolute directory for coredumps

If any of the scripts or tests modify the working directory in an
unexpected way, assuming that the coredump is relative to the working
directory will cause the jobs to fail.

Eg. https://lava-master-03.internal.efficios.com/scheduler/job/491

Change-Id: I0e6a71c1632109c5b62043dff20df587d81dd943

16 months agojjb: Do not create system tests with lltng 2.12 on linux >= 5.18
Kienan Stewart [Thu, 8 Jun 2023 14:30:20 +0000 (10:30 -0400)] 
jjb: Do not create system tests with lltng 2.12 on linux >= 5.18

Change-Id: If7a2eea3198f4c1f4f196dd4dd2065753f7e7adc

16 months agojjb: lttng-tools: Add process cleaner plugin
Michael Jeanson [Thu, 8 Jun 2023 20:19:01 +0000 (16:19 -0400)] 
jjb: lttng-tools: Add process cleaner plugin

Use the process cleaner plugin before and after jobs to clean possible
leftover processes that could interfere with the test suite.

Change-Id: I13af079244cbafde65f9c85f7c66d604fbfa2669
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
16 months agoansible: split common and common-node roles
Michael Jeanson [Mon, 5 Jun 2023 19:18:31 +0000 (15:18 -0400)] 
ansible: split common and common-node roles

To keep the roles self-contained, split the 'common' role into a
'common-node' role.

Change-Id: Ifade97c647cc0e9b480d765caf02a225397de6da
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
16 months agoansible: common: move root user logic to users.yml
Michael Jeanson [Mon, 5 Jun 2023 19:01:50 +0000 (15:01 -0400)] 
ansible: common: move root user logic to users.yml

Change-Id: I3d723d81fe25993a18736b5eea619987edd7c7e4
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
16 months agojj: lttng-tools: Add aarch64 el builds to stable-2.12
Michael Jeanson [Wed, 7 Jun 2023 20:44:08 +0000 (16:44 -0400)] 
jj: lttng-tools: Add aarch64 el builds to stable-2.12

Change-Id: Ic173a831a6ccfc5aeb31017ee612a53b62cc2f7a
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
16 months agojj: lttng-ust: Add aarch64 el builds to stable-2.12
Michael Jeanson [Wed, 7 Jun 2023 20:42:10 +0000 (16:42 -0400)] 
jj: lttng-ust: Add aarch64 el builds to stable-2.12

Change-Id: I5b3e22f4a875cbec6e5ac13db00ecea5c8cf616c
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
16 months agoMerge "jjb: Add job to build and deploy efficios.com"
Michael Jeanson [Wed, 7 Jun 2023 20:05:34 +0000 (16:05 -0400)] 
Merge "jjb: Add job to build and deploy efficios.com"

16 months agojjb: Add job to build and deploy efficios.com
Kienan Stewart [Wed, 7 Jun 2023 19:26:57 +0000 (15:26 -0400)] 
jjb: Add job to build and deploy efficios.com

Change-Id: Ie61384f0c99bdf0ffab57b7156296c5f3ca59362

16 months agoMerge changes from topic "jjb-system_baremetal_crash"
Michael Jeanson [Wed, 7 Jun 2023 19:53:47 +0000 (15:53 -0400)] 
Merge changes from topic "jjb-system_baremetal_crash"

* changes:
  jjb: Add system test for linux-6.1.y
  jjb: Fix crash when trying to launch a job that is not defined

16 months agoansible: Deploy jenkin's SSH public key to standalone nodes
Kienan Stewart [Wed, 7 Jun 2023 18:54:22 +0000 (14:54 -0400)] 
ansible: Deploy jenkin's SSH public key to standalone nodes

If ansible is run against any standalone nodes, the public set in
/root/.ssh/authorized_keys will be removed, and new connections will
fail until the VM is reset from the base-configuration snapshot if it
exists.

When deploying new nodes, ensuring the key is in the root user's
authorized_keys file in the first place avoids creating snapshots that
aren't accessible by the jenkin's user.

Change-Id: I37cc8e804aa4dea649df1558ccf8290d5df6be6f

16 months agoansible: Deploy public key for lava-master-03 to cloud06
Kienan Stewart [Wed, 7 Jun 2023 18:18:00 +0000 (14:18 -0400)] 
ansible: Deploy public key for lava-master-03 to cloud06

When ansible is rerun against cloud06, the public key for the root
user of lava-master-03 was being removed, causing lava jobs to fail as
they could not connect to run virsh commands.

C.f. https://lava-master-03.internal.efficios.com/scheduler/job/502#action_2-3-1-1

Change-Id: I7b7986fa34d8925468ed962c598f73c0bd78b823

17 months agojjb: Add system test for linux-6.1.y
Kienan Stewart [Wed, 7 Jun 2023 15:04:43 +0000 (11:04 -0400)] 
jjb: Add system test for linux-6.1.y

Change-Id: I6c5fa2847c1ab3e2985e36de7725fd73f4367d0d

17 months agojjb: Fix crash when trying to launch a job that is not defined
Kienan Stewart [Wed, 7 Jun 2023 15:01:05 +0000 (11:01 -0400)] 
jjb: Fix crash when trying to launch a job that is not defined

Original error:

```
Launching job: baremetal_tests_kmaster_lmaster
ERROR: Build step failed with exception
java.lang.NullPointerException: Cannot invoke method getProperty() on null object
at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:91)
at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:47)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:34)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
at hudson.model.Job$getProperty$0.call(Unknown Source)
at Script1$_run_closure8.doCall(Script1.groovy:273)
...
```

After applying this correction, a run with undefined jobs would look
like this:

```
Launching job: baremetal_tests_kmaster_lmaster
Failed to find job by name 'baremetal_tests_klinux-6.1.y_lmaster'
Launching job: baremetal_tests_klinux-5.15.y_lmaster
...
```

Change-Id: Idedb693816c4928a5318397a724a6096dd544f7d

17 months agoansible: Add ci-rootnode-jammy-amd64-07-01
Kienan Stewart [Wed, 7 Jun 2023 14:53:03 +0000 (10:53 -0400)] 
ansible: Add ci-rootnode-jammy-amd64-07-01

Change-Id: I850affdc72ca953abc9853d6531553fc5525e548

17 months agoansible: Manage libvirt on CI 'hosts'
Kienan Stewart [Wed, 7 Jun 2023 14:51:14 +0000 (10:51 -0400)] 
ansible: Manage libvirt on CI 'hosts'

Change-Id: I970fe82d65de551ff51568f1ab72c5331cad3e57

17 months agolava: Remove redundant destructive tests
Kienan Stewart [Mon, 5 Jun 2023 19:01:34 +0000 (15:01 -0400)] 
lava: Remove redundant destructive tests

The majority of destructive tests are already being run in make check
via run-test-suites.sh. The only case not covered by that script was
the tests in 'root_destructive_tests' in the stable-2.12 and
stable-2.13 branches.

By adding support for that in run-tests-suites.sh, the
destructive-tests.yml can be completely removed from LAVA.

Change-Id: Ied4aceafb222cfe54c20ebff83608f702c1221e6

17 months agolava: Update SSH authorized keys deployed to the DUTs
Kienan Stewart [Mon, 5 Jun 2023 15:58:38 +0000 (11:58 -0400)] 
lava: Update SSH authorized keys deployed to the DUTs

Change-Id: I7d5b5ac31c63763f09c919c6f7fc53fd3fd62119

This page took 0.040175 seconds and 4 git commands to generate.