lttng-ci.git
14 months agojjb: Refine range of patching for duplicate decls of __force_order
Kienan Stewart [Tue, 29 Aug 2023 14:29:04 +0000 (10:29 -0400)] 
jjb: Refine range of patching for duplicate decls of __force_order

Change-Id: I854ab00149c615aaf4d6544281119bc6c8e60aaf

14 months agojjb: Disable netronome and micrel phy drivers
Kienan Stewart [Tue, 29 Aug 2023 14:27:15 +0000 (10:27 -0400)] 
jjb: Disable netronome and micrel phy drivers

These drivers cause build issues on many legacy kernels with modern toolchains

Change-Id: Ib6f41bb694d6357a84b555b2b1408447d738ea56

14 months agoansible: Correct git mirror update script initial clone
Kienan Stewart [Tue, 29 Aug 2023 13:35:13 +0000 (09:35 -0400)] 
ansible: Correct git mirror update script initial clone

When '--mirror' isn't set, the remote references aren't always
pulled. To fix an existing repository that is just a bare clone, the
following commands can be run:

```
git remote rm origin
git remote add --mirror=fetch origin URL
git fetch --all
```

Change-Id: I9b713fe2dae523ba70a387adef23e87f98bb059a

14 months agojjb: Extend version range of genheaders patch to cover v4.18.16-rt9-rebase
Kienan Stewart [Tue, 29 Aug 2023 13:18:51 +0000 (09:18 -0400)] 
jjb: Extend version range of genheaders patch to cover v4.18.16-rt9-rebase

Change-Id: I1d5ea08b1fd3786e21be77e046a548d3bd633b26

14 months agojjb: Add workaround for newer pahole versions with focal kernels
Kienan Stewart [Mon, 28 Aug 2023 19:41:42 +0000 (15:41 -0400)] 
jjb: Add workaround for newer pahole versions with focal kernels

Change-Id: I4d5f175cadd27bf06dc4af9351e1cb1b2baa3bb9

14 months agojjb: lttng-modules: fix typo 'mark_args' -> 'make_args'
Michael Jeanson [Mon, 28 Aug 2023 18:24:04 +0000 (14:24 -0400)] 
jjb: lttng-modules: fix typo 'mark_args' -> 'make_args'

Change-Id: Idb76b5f4fef0177ba2e87d58064747f3cb775803
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agolava: Update PDU port for cloud08
Kienan Stewart [Fri, 25 Aug 2023 18:04:37 +0000 (14:04 -0400)] 
lava: Update PDU port for cloud08

While the PDU port is 8 when looking from the main apc account, when
connecting as the lava user the port should be '1' since it's the only
visible device.

Eg.

------- Outlet Control/Configuration ------------------------------------------

     1- cloud08                  ON

Change-Id: I2bcdfc329a4d9ae8bb8f1fc797e1c977107b7a35

14 months agoansible: Remove host_vars file for cloud06
Kienan Stewart [Fri, 25 Aug 2023 18:02:34 +0000 (14:02 -0400)] 
ansible: Remove host_vars file for cloud06

The node is being decomissioned

Change-Id: I3a5025106201bb0073e180a62cee03e46056fa3f

14 months agojjb: Use jgit when cloning lttng-tools for review
Kienan Stewart [Fri, 25 Aug 2023 15:06:43 +0000 (11:06 -0400)] 
jjb: Use jgit when cloning lttng-tools for review

This is done to work around hangs/timeouts that are happening with
more recent git versions and the lttng-tools repo on gerrit in
particular.

Refs #1532

Change-Id: Ibd67a4811e7ef2ef1a2d662f7ba7f10b78aeb19c

14 months agoansible: Download patched iPXE image to boot VMs for LAVA testing
Kienan Stewart [Thu, 24 Aug 2023 20:51:38 +0000 (16:51 -0400)] 
ansible: Download patched iPXE image to boot VMs for LAVA testing

Change-Id: Ic065ebd15897755a7583c1807c1c0edaaecc38a0

14 months agojjb: lttng-modules: add platform axis to param crossbuild job
Michael Jeanson [Thu, 24 Aug 2023 20:59:25 +0000 (16:59 -0400)] 
jjb: lttng-modules: add platform axis to param crossbuild job

Change-Id: I5c83fd20013e8396a0fe8d6102b0c5175d3f05d8
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: lttng-modules: extract tar with pbzip2
Michael Jeanson [Thu, 24 Aug 2023 20:54:23 +0000 (16:54 -0400)] 
jjb: lttng-modules: extract tar with pbzip2

Change-Id: Ie1d1e3b7ed54aa1bb934f51b4f0f27c48304f8e5
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: Run system tests on deb12-amd64 nodes
Kienan Stewart [Thu, 24 Aug 2023 19:50:32 +0000 (15:50 -0400)] 
jjb: Run system tests on deb12-amd64 nodes

Change-Id: I657902b4ebf7eb7456b0c7e021a17859303955bc

14 months agoMerge "ansible: Remove unused cloud hosts"
Michael Jeanson [Thu, 24 Aug 2023 20:12:06 +0000 (16:12 -0400)] 
Merge "ansible: Remove unused cloud hosts"

14 months agojjb: lttng-modules: remove ubuntu xenial builds
Michael Jeanson [Thu, 24 Aug 2023 19:51:08 +0000 (15:51 -0400)] 
jjb: lttng-modules: remove ubuntu xenial builds

Change-Id: I6ea800dad02d906eb61ff7c508ce8a27ddc3d864
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agoansible: Remove unused cloud hosts
Kienan Stewart [Thu, 24 Aug 2023 19:50:01 +0000 (15:50 -0400)] 
ansible: Remove unused cloud hosts

Change-Id: Idb1c0363e10ff38a81105b9b819dfc0bb140e7af

14 months agolava/ansible: Switch VM nodes to ci-host-amd64-2d
Kienan Stewart [Thu, 24 Aug 2023 19:36:58 +0000 (15:36 -0400)] 
lava/ansible: Switch VM nodes to ci-host-amd64-2d

Change-Id: Ia5b72defd7ac5963a6731714f16d3412140a3041

14 months agojjb: lttng-tools: parametrize buildtype in rootbuild jobs
Michael Jeanson [Thu, 24 Aug 2023 18:48:23 +0000 (14:48 -0400)] 
jjb: lttng-tools: parametrize buildtype in rootbuild jobs

Change-Id: I68b94670351eed4c97737c9266fc3f11c1221f8e
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: Delete remaining bionic-amd64 jobs
Michael Jeanson [Thu, 24 Aug 2023 18:39:27 +0000 (14:39 -0400)] 
jjb: Delete remaining bionic-amd64 jobs

Change-Id: Id8b99e5479384df785d8bc6e3935697265490e2b
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: Run lltng-modules_PARAM_build on deb12-amd64 nodes
Kienan Stewart [Thu, 24 Aug 2023 13:00:05 +0000 (09:00 -0400)] 
jjb: Run lltng-modules_PARAM_build on deb12-amd64 nodes

Change-Id: I7541afe79d15464b9ecee06c2a0958142034cf41

14 months agojjb: Adjust gcc and flags for building old kernels with gcc-11/12
Kienan Stewart [Thu, 10 Aug 2023 19:51:34 +0000 (15:51 -0400)] 
jjb: Adjust gcc and flags for building old kernels with gcc-11/12

A number of small tweaks are required for building with gcc 11, 12,
and 4.8 with more recent binutils.

Change-Id: I2c9dc91eb8a9ce9f4e237e82a2590931a2857bda

14 months agoansible: Disable multilib for gcc 4.8 powerpc64le
Kienan Stewart [Tue, 22 Aug 2023 20:39:52 +0000 (16:39 -0400)] 
ansible: Disable multilib for gcc 4.8 powerpc64le

This enables the support for '-m32' which is required when compiling
powerpc64le kernels

Change-Id: I61ec67220aa677e3339f6c10278b905347ea1cf7

14 months agoansible: Deploy legacy cross compilers on Debian nodes
Kienan Stewart [Fri, 18 Aug 2023 20:37:56 +0000 (16:37 -0400)] 
ansible: Deploy legacy cross compilers on Debian nodes

Change-Id: Idc7f5910d8b3c0f5fedd20f11e534cce93017d23

14 months agoansible: Install additional packages for binutils-gdb runners
Kienan Stewart [Fri, 18 Aug 2023 18:53:48 +0000 (14:53 -0400)] 
ansible: Install additional packages for binutils-gdb runners

Change-Id: I94611ff159f92a3debf484d6afea3888fec8a3f9

14 months agoansible: Replace deb12 i386 instances from old cloud
Kienan Stewart [Thu, 17 Aug 2023 17:19:16 +0000 (13:19 -0400)] 
ansible: Replace deb12 i386 instances from old cloud

Change-Id: Ib504de8ad45f171faa406f2ce6d3dbb5a67d301c

14 months agojjb: lttng-tools: fix ust java tests on deb12
Michael Jeanson [Thu, 17 Aug 2023 19:42:02 +0000 (15:42 -0400)] 
jjb: lttng-tools: fix ust java tests on deb12

Change-Id: Ib468e32e809130ddfbd98bb484930bd3ce165398
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agoansible: remove deprecated jammy nodes
Michael Jeanson [Wed, 16 Aug 2023 20:48:51 +0000 (16:48 -0400)] 
ansible: remove deprecated jammy nodes

Change-Id: I35b970d1fc5cf83a98c172d5d69a086b280bbf21
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: babeltrace: disable Werror on release build
Michael Jeanson [Wed, 16 Aug 2023 19:39:53 +0000 (15:39 -0400)] 
jjb: babeltrace: disable Werror on release build

Change-Id: I155af675f63b3135e93880f9af0ab16acaf7e883
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: integration: move amd64 jobs to deb12
Michael Jeanson [Wed, 16 Aug 2023 18:21:10 +0000 (14:21 -0400)] 
jjb: integration: move amd64 jobs to deb12

Change-Id: I5f51f0e353725962c9a40680de15cf7f977cd97c
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: lttng-ivc: move amd64 jobs to deb12
Michael Jeanson [Wed, 16 Aug 2023 17:58:26 +0000 (13:58 -0400)] 
jjb: lttng-ivc: move amd64 jobs to deb12

Change-Id: I8879305043e87517b669f60e2c30b31e5461cdc6
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: Add dev lttng-modules master crossbuild job
Kienan Stewart [Wed, 16 Aug 2023 18:10:12 +0000 (14:10 -0400)] 
jjb: Add dev lttng-modules master crossbuild job

Change-Id: I2aeef3845b0c976df31ad538269027251b6f3a11

14 months agoansible/jjb: Run lttng-tools 2.12 rootbuild on nodes with linux 5.x
Kienan Stewart [Wed, 16 Aug 2023 17:29:02 +0000 (13:29 -0400)] 
ansible/jjb: Run lttng-tools 2.12 rootbuild on nodes with linux 5.x

The Debian 12 nodes run with Linux 6.1, which is not supported by
lttng-modules stable-2.12. Since the lttng-tools rootbuild jobs build
and test the modules component, those jobs failed.

A new libvirt instance was provisioned and both linux-image-amd64 and
linux-headers-amd64 installed from Debian bullseye and set to held so
there an instance with an appropriately versioned kernel to exercise
the lttng-tools rootbuild with lttng-modules tests.

Change-Id: Ie9234880b2785c5fa8d03dd7297fcc0d926b183c

14 months agoansible: remove deprecated rootnodes
Michael Jeanson [Wed, 16 Aug 2023 18:19:38 +0000 (14:19 -0400)] 
ansible: remove deprecated rootnodes

Change-Id: Iba6c99c1a1ca2fafd15f4225b20b19f382110a93
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
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

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