]> git.lttng.org Git - lttng-ci.git/log
lttng-ci.git
3 weeks agojjb: Add libsk pipeline
Kienan Stewart [Tue, 7 Jan 2025 19:13:47 +0000 (14:13 -0500)] 
jjb: Add libsk pipeline

Change-Id: Id50263d1cd32723acd9a70ee8bf428e5ef4a7bc5
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 weeks agojjb: Minor cleanup in lttng-tools job definition to reduce duplication
Kienan Stewart [Fri, 20 Dec 2024 20:27:51 +0000 (15:27 -0500)] 
jjb: Minor cleanup in lttng-tools job definition to reduce duplication

Change-Id: I2c070dbe31114595dfd3aa6ff902be0c0adf1a5e
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 weeks agojjb: Add lttng-tools builds with new liburcu stable-0.15
Kienan Stewart [Fri, 20 Dec 2024 20:27:08 +0000 (15:27 -0500)] 
jjb: Add lttng-tools builds with new liburcu stable-0.15

Change-Id: Ic8ac05fdccb2355615a3148a35d95ff9505452e6
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 weeks agojjb: Add lttng-ust dev_review jobs on SLES for stable-2.13 and stable-2.12
Kienan Stewart [Fri, 20 Dec 2024 19:33:37 +0000 (14:33 -0500)] 
jjb: Add lttng-ust dev_review jobs on SLES for stable-2.13 and stable-2.12

Change-Id: Ib9e4c8325eb4112fe15aa637734a8e258e171185
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 weeks agojjb: Test lttng-ust with liburcu stable-0.15
Kienan Stewart [Fri, 20 Dec 2024 19:33:00 +0000 (14:33 -0500)] 
jjb: Test lttng-ust with liburcu stable-0.15

Change-Id: If054c546ab0a3b6289fa8c53fd8d7f1d6cfc81fb
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 weeks agojjb: Add urcu stable-0.15 builds
Kienan Stewart [Fri, 20 Dec 2024 18:11:06 +0000 (13:11 -0500)] 
jjb: Add urcu stable-0.15 builds

Change-Id: I517bc6d9c31565aaa9efafad31960295fd53015f
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 weeks agojjb: Run lttng-tools master review tests with bt2 master
Kienan Stewart [Thu, 19 Dec 2024 21:23:16 +0000 (16:23 -0500)] 
jjb: Run lttng-tools master review tests with bt2 master

As done with the lttng-tools_master_linuxbuild job.

Change-Id: I7e7c1bfa8742a9b877c60341f2d8e99170e72cac
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 weeks agoansible: Update promtail client target
Kienan Stewart [Thu, 19 Dec 2024 14:41:11 +0000 (09:41 -0500)] 
ansible: Update promtail client target

Change-Id: I7b9f5351f3f147a808596ddaa3a0e86b1400342e
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 weeks agojjb: Output the core tar to the workspace root
Kienan Stewart [Wed, 18 Dec 2024 15:55:01 +0000 (10:55 -0500)] 
jjb: Output the core tar to the workspace root

When navigating to the build artifacts, having this file in the
'root' makes it much more visible for users.

Change-Id: I7dfed9fd94d615e68a1d7659ddf2cc0096968dce
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 weeks agojjb: Add smoke builds for lttng-modules
Kienan Stewart [Wed, 18 Dec 2024 15:27:56 +0000 (10:27 -0500)] 
jjb: Add smoke builds for lttng-modules

Change-Id: I64452a777e92133f48a10612118dbc299ed62f4c
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
5 weeks agojjb: Run abidiff on liblttng-ctl during lttng-tools builds
Kienan Stewart [Tue, 17 Dec 2024 20:30:47 +0000 (15:30 -0500)] 
jjb: Run abidiff on liblttng-ctl during lttng-tools builds

Change-Id: I0f44698df5de7d6ec8d52ec2e6e5d265a1c1c16a
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 weeks agojjb: Print abidw version if available
Kienan Stewart [Tue, 17 Dec 2024 20:31:10 +0000 (15:31 -0500)] 
jjb: Print abidw version if available

Change-Id: I041dd2fb12c39b90d30e3b8a3ad3c01d101d503e
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 weeks agoansible: Install abigail-tools on Debian nodes
Kienan Stewart [Tue, 17 Dec 2024 20:30:27 +0000 (15:30 -0500)] 
ansible: Install abigail-tools on Debian nodes

Change-Id: Ia505b2e554ad9f79397ac7fae6164eb4117d9b5e
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 weeks agojjb: Collect binaries from lttng-tools coredumps
Kienan Stewart [Tue, 17 Dec 2024 20:25:02 +0000 (15:25 -0500)] 
jjb: Collect binaries from lttng-tools coredumps

Change-Id: Icec573a14f1153099fcae688f7dc6d878eebb300
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 weeks agojjb: Set ustversion for lttng-tools 2.13 review jobs
Kienan Stewart [Fri, 13 Dec 2024 14:31:58 +0000 (09:31 -0500)] 
jjb: Set ustversion for lttng-tools 2.13 review jobs

When the version isn't defined, it defaults to master. LTTng-tools
2.13 isn't compatible with the master branch of the LTTng-ust anymore.

Change-Id: I03553ca655e7210624ecba2a3ba9788d811762d2
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
6 weeks agojjb: babeltrace: add stable-2.1 jobs
Michael Jeanson [Wed, 18 Dec 2024 21:38:29 +0000 (16:38 -0500)] 
jjb: babeltrace: add stable-2.1 jobs

Change-Id: I84c319231892a4aa8789b35a37e1fd7256d200bc
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
7 weeks agoAdd pre-commit config
Simon Marchi [Wed, 11 Dec 2024 15:01:48 +0000 (10:01 -0500)] 
Add pre-commit config

Add a pre-commit config file to run black and isort on commit.

Add some instructions on how to use it to `README.md`.

Change-Id: I7ce513a03d2da7fae3f1b6247a2cfd591d577cb6
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
7 weeks agoSort Python imports with isort 5.13.2
Simon Marchi [Mon, 9 Dec 2024 16:18:49 +0000 (11:18 -0500)] 
Sort Python imports with isort 5.13.2

Add isort 5.13.2 (the current version) as a dev dependency and run it on
all files.

Change-Id: If1b65c91ec05bb0fccad46c8d5e84adaad09d6cf
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
7 weeks agoFormat Python files with Black 24
Simon Marchi [Wed, 11 Dec 2024 15:00:30 +0000 (10:00 -0500)] 
Format Python files with Black 24

Add black 24 (the current version) as a dev dependency, run it on the
whole repo.

Change-Id: I77f713507596c26ecdfe05cf84f38144ba04c1c0
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
7 weeks agopyproject.toml: make lttng-ci a Poetry project
Simon Marchi [Wed, 11 Dec 2024 14:49:57 +0000 (09:49 -0500)] 
pyproject.toml: make lttng-ci a Poetry project

Run `poetry init` to put the boilerplate in pyproject.toml in order to
make lttng-ci a poetry project.

Use `package-mode = false` to indicate we don't intend to package this
project, but just use Poetry as a dependency manager.

Run `poetry add jenkins-job-builder` to add jenkins-job-builder as a
dependency.

Add some basic instructions to `README.md` on how to use poetry to
install and run the dependencies.

Change-Id: Ie0680d4c8e02ebd7120f80d3d28226034ef3142f
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
7 weeks agoansible: Set required ansible and ansible-core versions
Kienan Stewart [Tue, 10 Dec 2024 16:07:09 +0000 (11:07 -0500)] 
ansible: Set required ansible and ansible-core versions

ansible-core 2.17 drops support for Python2 and Python 3 < 3.7. Python
2 is used for SLES12, and Python 3.6 is used on EL8.

Change-Id: Ic233ecb219caf46117c3d5bbdd2ec1f2ca5045c3
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
7 weeks agoansible: Add option to skip site playbook when snapshotting rootnode
Kienan Stewart [Tue, 10 Dec 2024 15:25:08 +0000 (10:25 -0500)] 
ansible: Add option to skip site playbook when snapshotting rootnode

Change-Id: I2346f89247f6208b0121fbc9b279614c834200e8
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
7 weeks agoansible: Change play variables from list to map
Kienan Stewart [Tue, 10 Dec 2024 15:23:40 +0000 (10:23 -0500)] 
ansible: Change play variables from list to map

`vars` must be a map.

Change-Id: I5d36b17781466f70ec6e63eab7385fb149a28cd0
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agojjb: Restrict imagebuilder arches to those available in CI cluster
Kienan Stewart [Tue, 26 Nov 2024 19:01:31 +0000 (14:01 -0500)] 
jjb: Restrict imagebuilder arches to those available in CI cluster

Change-Id: Ie010325d030708b32408904ed44c38ac5be7c0ec
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agojjb: Increase details output during image building
Kienan Stewart [Mon, 25 Nov 2024 20:29:45 +0000 (15:29 -0500)] 
jjb: Increase details output during image building

It can be unclear what is going wrong without the raw output.

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

2 months agoansible: cross-compilers find source gcc version via dpkg
Kienan Stewart [Fri, 22 Nov 2024 16:43:21 +0000 (11:43 -0500)] 
ansible: cross-compilers find source gcc version via dpkg

Change-Id: I828a012e7fef1fdaf0bf4e7a0afe6a3eacb53787
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agojjb: imagebuilder: run apt-get update before dependency installation
Kienan Stewart [Fri, 22 Nov 2024 16:42:45 +0000 (11:42 -0500)] 
jjb: imagebuilder: run apt-get update before dependency installation

It can happen that the snapshotted root node could have old IPs that
are no longer valid cached for the apt mirrors. Running `apt-get
update` will ensure those are cleared.

Change-Id: Id0aa9ff0bfd40c5140d1397d4e6173a97225c26f
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agojjb: images: do not force compilers_legacy_install to false
Kienan Stewart [Fri, 22 Nov 2024 15:18:41 +0000 (10:18 -0500)] 
jjb: images: do not force compilers_legacy_install to false

Change-Id: I5caaf0dae89576e359584ddd3f668799d9f1265e

2 months agoansible: Do not install legacy compilers for development nodes
Kienan Stewart [Fri, 22 Nov 2024 15:18:16 +0000 (10:18 -0500)] 
ansible: Do not install legacy compilers for development nodes

Change-Id: I967b206d541101194036b16aa456f8775902afcc

2 months agojjb: lttng-tools: Only run clang root builds with clang-16
Kienan Stewart [Tue, 19 Nov 2024 16:48:25 +0000 (11:48 -0500)] 
jjb: lttng-tools: Only run clang root builds with clang-16

The root builds & tests take a long time, and there are fewer nodes
available. Running with all clang versions tends to bottle neck the
throughput.

Change-Id: I4a4df392c48c888e32fd336c3825ba6dcaafd932
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agojjb: Reduce repetition in lttng-tools job definitions
Kienan Stewart [Tue, 19 Nov 2024 16:18:07 +0000 (11:18 -0500)] 
jjb: Reduce repetition in lttng-tools job definitions

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

2 months agojjb: Run lttng-tools root builds when reviewing lttng-modules changes
Kienan Stewart [Mon, 18 Nov 2024 19:46:22 +0000 (14:46 -0500)] 
jjb: Run lttng-tools root builds when reviewing lttng-modules changes

Change-Id: I9946576f10b5d4017cdb69713c2535fea55f1e58
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
2 months agojjb: yocto23: replaced powerpcspe with powerpc
Michael Jeanson [Mon, 18 Nov 2024 19:42:58 +0000 (14:42 -0500)] 
jjb: yocto23: replaced powerpcspe with powerpc

The Yocto 2.3 builder was moved from a p2020rdb to a p3041ds, this means
the CPU cores changed from e500v2 to e500mc. Both are 32bit big-endian
PowerPC but the e500mc is a more classic powerpc architecture while the
e500v2 is a rarer powerpcspe variant which has been deprecated.

Change-Id: If420a16cf97823c95908a6f0ebe9b34dc154d833
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agoansible: add jdk-17 for jenkins 2.479
Michael Jeanson [Tue, 12 Nov 2024 19:10:04 +0000 (14:10 -0500)] 
ansible: add jdk-17 for jenkins 2.479

The new Jenkins LTS agent.jar is compiled for JAVA >= 17, add it to the
SLES and RHEL nodes.

Change-Id: I3fbd76d09f0c13a6dcd2b3e4368b4f17c4a91e5f
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
2 months agojjb: Use `**/*.log` to glob TAP log files
Kienan Stewart [Thu, 31 Oct 2024 12:45:41 +0000 (08:45 -0400)] 
jjb: Use `**/*.log` to glob TAP log files

`**/*.*` catches other files left when running with more verbose test
configurations. `*.log` is the suffix for automake test log files[1].

See this proposed patch to lttng-tools master[2] which updates the log
suffix for the additional verbose log files.

[1]: https://www.gnu.org/software/automake/manual/html_node/Parallel-Test-Harness.html
[2]: https://review.lttng.org/c/lttng-tools/+/13430

Change-Id: If50a775af193a2973fd35b2b56337be21791fcc0
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Correct default kernel.core_pattern sysctl configuration
Kienan Stewart [Tue, 29 Oct 2024 17:29:10 +0000 (13:29 -0400)] 
ansible: Correct default kernel.core_pattern sysctl configuration

Change-Id: Iec26481bf65b6d66e810fec54360a226f133d160
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Reduce verbosity of rasdaemon-exporter
Kienan Stewart [Tue, 29 Oct 2024 17:27:53 +0000 (13:27 -0400)] 
ansible: Reduce verbosity of rasdaemon-exporter

Change-Id: I883648f846952f37205d19c73c19c648d4bf5bcb
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Reduce verbosity of prometheus-node-exporter logs
Kienan Stewart [Thu, 24 Oct 2024 17:59:14 +0000 (13:59 -0400)] 
ansible: Reduce verbosity of prometheus-node-exporter logs

Change-Id: Ife6e81686e0235ac7fa291f4a6d9c843d0d13823
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Update user tasks to use fully qualified task names
Kienan Stewart [Fri, 18 Oct 2024 15:29:24 +0000 (11:29 -0400)] 
ansible: Update user tasks to use fully qualified task names

Change-Id: I2bd4369642bcbbd844dec0ca041261745763d85f
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Add access tag for managing users
Kienan Stewart [Fri, 18 Oct 2024 15:24:56 +0000 (11:24 -0400)] 
ansible: Add access tag for managing users

Change-Id: I6668b982a1bf470b68f868ed680d9216fc2b2741
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Update odion's public keys
Kienan Stewart [Fri, 18 Oct 2024 15:14:19 +0000 (11:14 -0400)] 
ansible: Update odion's public keys

Change-Id: Id049955cbacc4670b6673548009f1b7e8c68383c
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Correct condition for `ci_role` promtail tag
Kienan Stewart [Tue, 15 Oct 2024 17:50:11 +0000 (13:50 -0400)] 
ansible: Correct condition for `ci_role` promtail tag

Change-Id: I1e4805cd11528246ea14f510637c26e1b539d053
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Install and configure promtail
Kienan Stewart [Tue, 15 Oct 2024 17:44:52 +0000 (13:44 -0400)] 
ansible: Install and configure promtail

Change-Id: Ia0625da7547412fdb41abdfd31036d0a378c939e
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Remove unused amd64 nodes
Kienan Stewart [Thu, 10 Oct 2024 17:22:00 +0000 (13:22 -0400)] 
ansible: Remove unused amd64 nodes

These nodes were added when on-ramping the new CI cluster, but have
since been superceded by `ci-node-deb12-amd64-[1-2][a-d]-\d+`

Change-Id: Ia86f8368a0311b65c835b5bdfb04067788d1712f
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agoansible: Remove el7 node
Kienan Stewart [Thu, 10 Oct 2024 17:09:07 +0000 (13:09 -0400)] 
ansible: Remove el7 node

Change-Id: Id3b56ca1e8ba4d26c844d707e3cb33744e1614a6
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
3 months agojjb: Add linux-kernel ci jobs
Kienan Stewart [Thu, 10 Oct 2024 17:08:26 +0000 (13:08 -0400)] 
jjb: Add linux-kernel ci jobs

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

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

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

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

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

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

In preparation for doing Linux kernel builds on those nodes.

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

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

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

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

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

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

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

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

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

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

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

Change-Id: I8889b7ccab5d1b4ec2f26153ff9d73a9ec175f72

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

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

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

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

See upstream commit:

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

        kbuild: generate offset range data for builtin modules

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The ctf2 feature branch no longer exists.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

This avoids having to approve the script after each change.

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

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

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

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

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

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

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

Change-Id: I477ec48911326adc85c22b590ea49d8cba902e46
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
This page took 0.041268 seconds and 4 git commands to generate.