lttng-ci.git
12 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>
12 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"

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 months agojjb: Stop testing lttng master against linux 3.18.y
Kienan Stewart [Mon, 5 Jun 2023 14:39:54 +0000 (10:39 -0400)] 
jjb: Stop testing lttng master against linux 3.18.y

lttng >= 2.14 dropped support for the 3.x kernels

Change-Id: Id7fc81e6c545f04f460d6b65dba18924e0b9cb21

12 months agoansible: add mitogen plugin to README
Michael Jeanson [Mon, 5 Jun 2023 15:20:28 +0000 (11:20 -0400)] 
ansible: add mitogen plugin to README

Change-Id: I3425698eec0b24d87334c6b38a728179101c2a89
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
12 months agoansible: common: Add gcc / g++ on Redhat
Michael Jeanson [Mon, 5 Jun 2023 15:14:24 +0000 (11:14 -0400)] 
ansible: common: Add gcc / g++ on Redhat

Change-Id: I83436f97f96043634589148300b3225a7ececf2e
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
12 months agoansible: Add physical hosts with minimal common configuration
Kienan Stewart [Thu, 25 May 2023 20:41:59 +0000 (16:41 -0400)] 
ansible: Add physical hosts with minimal common configuration

Change-Id: I32e94782853288021303fb9fd9fbe48afd1c96ee

12 months agoansible: add role requirements file
Kienan Stewart [Fri, 2 Jun 2023 13:10:19 +0000 (09:10 -0400)] 
ansible: add role requirements file

Change-Id: I67ac89edab607c971e688dcdd43f342377a9a125

12 months agojjb: Add aarch64 el builds to recent branches of bbt, lttng, and urcu
Kienan Stewart [Fri, 2 Jun 2023 18:23:52 +0000 (14:23 -0400)] 
jjb: Add aarch64 el builds to recent branches of bbt, lttng, and urcu

Change-Id: I7973c1a54e2055cca2907b430ff0ee808b2e4e81

12 months agoansible: Change default strategy to mitogen_linear
Kienan Stewart [Thu, 1 Jun 2023 15:26:03 +0000 (11:26 -0400)] 
ansible: Change default strategy to mitogen_linear

The default ansible strategy if not set is 'linear'. Using
mitogen_linear results in a significant speed up in runs.

For example, when running the site.yml playbook against
ci-node-el[7-9]-arm64-01 with no other changes between the runs, the
run time goes from ~2 minutes to ~30 seconds.

Change-Id: I47952c2a7d73607248aad71cc6670984aef3804b

12 months agoansible: Add new CI nodes for el[7-9] on aarch64
Kienan Stewart [Thu, 1 Jun 2023 15:25:17 +0000 (11:25 -0400)] 
ansible: Add new CI nodes for el[7-9] on aarch64

Change-Id: I39883cdb956f3df12a9a1cbf85279445851276db

12 months agoansible: Update package installations to support EL aarch64
Kienan Stewart [Thu, 1 Jun 2023 14:50:22 +0000 (10:50 -0400)] 
ansible: Update package installations to support EL aarch64

A number of packages are in the epel-release or the develo
repositories.

Change-Id: I0ad4b2c9dea377c86bbaf00e7631fa223425af08

12 months agoansible: Add support for common configuration on Windows hosts
Kienan Stewart [Wed, 31 May 2023 21:03:07 +0000 (17:03 -0400)] 
ansible: Add support for common configuration on Windows hosts

Change-Id: I9f5d9c7f4e58c4e1c55d5e25fe1886abcd8a7f0a

12 months agoMerge "jjb: Add job to build and deploy bt2 website"
Michael Jeanson [Wed, 31 May 2023 21:50:55 +0000 (17:50 -0400)] 
Merge "jjb: Add job to build and deploy bt2 website"

12 months agoMerge changes from topic "system_tests-trigger_failure"
Michael Jeanson [Mon, 29 May 2023 21:14:21 +0000 (17:14 -0400)] 
Merge changes from topic "system_tests-trigger_failure"

* changes:
  Update linux branches of interest for system tests
  jjb: Update system_jobs default rootfs URL to jammy
  jjb: Fix crash when launching new jobs from the the system trigger

12 months agojjb: Add job to build and deploy bt2 website
Kienan Stewart [Fri, 26 May 2023 20:42:50 +0000 (16:42 -0400)] 
jjb: Add job to build and deploy bt2 website

Change-Id: I94daca69cf0f44dea3eba9fc5533de5c32458fc5

12 months agobt benchmark: Add further ignored commits
Kienan Stewart [Thu, 25 May 2023 18:39:48 +0000 (14:39 -0400)] 
bt benchmark: Add further ignored commits

ade5c95e2a4f90f839f222fc1a66175b3b199922 and
30341532906d62808e9d66fb115f5edb4e6f5706 fail in the xenial rootfs,
unable to configure with the following error:

```
configure: error: elfutils >= 0.154 is required to use the debug info
feature. You can disable this feature using --disable-debug-info.
```

The rootfs has elfutils, libelf1, and libelf1-dev at a version >=
0.154 and I don't intend to investigate further.

@see https://lava-master-03.internal.efficios.com/scheduler/job/138
@see https://lava-master-03.internal.efficios.com/scheduler/job/144

006c5ffb42f32e802136e3c27a63accb59b4d6c4 and
88488ff5bdcd7679ff1f04fe6cff0d24b4f8fc0c fail to compile with the
following error:

```
param-validation.c:226:30: error: BT_VALUE_MAP_FOREACH_ENTRY_CONST_STATUS_MEMORY_ERROR undeclared
```

@see https://lava-master-03.internal.efficios.com/scheduler/job/136
@see https://lava-master-03.internal.efficios.com/scheduler/job/139

Further commits were added grouped in to two sections: Issues with
elfutils, and other build problems.

Based on jobs ~150-229 on lava-master-03

Change-Id: Ia6a7d60a474a53dd5395ee0cf133b43d3df7ceff

12 months agoUpdate linux branches of interest for system tests
Kienan Stewart [Thu, 25 May 2023 19:32:47 +0000 (15:32 -0400)] 
Update linux branches of interest for system tests

Recent branches are master and LTS branches

@see https://www.kernel.org/category/releases.html

Change-Id: Iefbcf9c4e0d0157d4a2374c64c9d37ccac67c2dc

12 months agobt benchmark: Normalize indentation around invalid_commits
Kienan Stewart [Thu, 25 May 2023 18:36:56 +0000 (14:36 -0400)] 
bt benchmark: Normalize indentation around invalid_commits

Change-Id: Ie44f2caeda9fb36c7f46b7f356921a1023e019d9

12 months agojjb: Update system_jobs default rootfs URL to jammy
Kienan Stewart [Thu, 25 May 2023 17:38:41 +0000 (13:38 -0400)] 
jjb: Update system_jobs default rootfs URL to jammy

Change-Id: Id58257ba5484ff4542389b4ecad5718cefd6a767

12 months agojjb: Fix crash when launching new jobs from the the system trigger
Kienan Stewart [Thu, 25 May 2023 16:00:36 +0000 (12:00 -0400)] 
jjb: Fix crash when launching new jobs from the the system trigger

ChoiceParameterDefinition does not have a method getDefaultValue().
However, getDefaultParameterValue() will return null if there is no
default, so the check can be altered.

C.f. https://javadoc.jenkins-ci.org/hudson/model/ParameterDefinition.html
C.f. https://javadoc.jenkins-ci.org/hudson/model/ChoiceParameterDefinition.html

Original crash:

```
ERROR: Build step failed with exception
groovy.lang.MissingMethodException: No signature of method:
hudson.model.ChoiceParameterDefinition.getDefaultValue() is applicable
for argument types: () values: []
...
at Script1$_run_closure8.doCall(Script1.groovy:276)
...
at Script1$_run_closure14.doCall(Script1.groovy:434)
...
```

Change-Id: I8847806b2abb556ff2b89aa772277b1318c507e1

12 months agobt benchmark: Ignore commit ae466a6e1b856d96cf5112a371b4df2b732503ec
Kienan Stewart [Thu, 25 May 2023 15:34:40 +0000 (11:34 -0400)] 
bt benchmark: Ignore commit ae466a6e1b856d96cf5112a371b4df2b732503ec

The commit fails to build. See
https://lava-master-03.internal.efficios.com/scheduler/job/133

```
param-validation.c: In function 'validate_map_value':
param-validation.c:226:30: error: 'BT_VALUE_MAP_FOREACH_ENTRY_CONST_STATUS_MEMORY_ERROR' undeclared (first use in this function)
  if (foreach_entry_status == BT_VALUE_MAP_FOREACH_ENTRY_CONST_STATUS_MEMORY_ERR
param-validation.c:226:30: note: each undeclared identifier is reported only once for each function it appears in
Makefile:466: recipe for target 'param-validation.lo' failed
```

Change-Id: I30f824fde526ed52f0427e233d808780f19d527a

12 months agobt benchmark: Collect commits to benchmark into a set
Kienan Stewart [Thu, 25 May 2023 14:17:09 +0000 (10:17 -0400)] 
bt benchmark: Collect commits to benchmark into a set

By collecting the the commits in to a set, we can give an indication
in the test runner how many jobs are going to be generated and
the overall progress of the lava job submissions.

The same commit hash may be present in multiple branches, using a set
prevents double checking the same hash twice.

Change-Id: I38a297f4147e4055d40cc462d0fdd7b10df88f46

12 months agolava: Run babeltrace-benchmark jobs with /bin/bash
Kienan Stewart [Thu, 25 May 2023 14:08:05 +0000 (10:08 -0400)] 
lava: Run babeltrace-benchmark jobs with /bin/bash

pushd/popd are not available in /bin/sh

Change-Id: I051b305074979bb9e97f5eadab3a9f36ec029c90

12 months agolava: Update pdudaemon service unit paths
Kienan Stewart [Wed, 24 May 2023 20:38:27 +0000 (16:38 -0400)] 
lava: Update pdudaemon service unit paths

Change-Id: I2f2b68e3705eb5933ac2720a1f55459f912dbc12

12 months agoMerge "ansible/lava: Add role for lava server"
Michael Jeanson [Wed, 24 May 2023 19:01:43 +0000 (15:01 -0400)] 
Merge "ansible/lava: Add role for lava server"

12 months agoansible/lava: Add role for lava server
Kienan Stewart [Wed, 24 May 2023 17:51:47 +0000 (13:51 -0400)] 
ansible/lava: Add role for lava server

Change-Id: I11cbf0ab6e78f9b344c4860d24458e264c7e79c3

12 months agolava: Switch default lava-server to lava-master-03
Kienan Stewart [Wed, 24 May 2023 12:49:32 +0000 (08:49 -0400)] 
lava: Switch default lava-server to lava-master-03

Change-Id: I5307a909c8d65e0d649c2a574fc46dbf172f8f2e

12 months agolava: Set default shell for submitted jobs
Kienan Stewart [Tue, 23 May 2023 18:49:04 +0000 (14:49 -0400)] 
lava: Set default shell for submitted jobs

With the older lava-server installation on lava-master-02, the default
shell was changed by setting `lava_test_sh_cmd` in the base device
type template file
`/etc/lava-server/dispatcher-config/device-types/base.jinja2`.

Rather than setting the value for all devices by default in global
configuration, I think it is best to make the expected shell explicit
in our submitted job configuration. The SHELL environment variable is
read and used by the `lava_dispatcher/lava_test_shell/lava-test-shell`
script to set the interpreter for the tests.

Note: It doesn't seem possible to update the SHELL or
`lava_test_sh_cmd` on a per-test basis.

Change-Id: I7a02f1e76cfc50dfea7925d27609533e831bd221

12 months agolava: Parameterize host and protocol settings
Kienan Stewart [Fri, 19 May 2023 19:11:20 +0000 (15:11 -0400)] 
lava: Parameterize host and protocol settings

Change-Id: I43de2ff73e22ce100b0db08317908198825fd558

12 months agolava: Update default rootfs from xenial to jammy
Kienan Stewart [Thu, 18 May 2023 19:22:14 +0000 (15:22 -0400)] 
lava: Update default rootfs from xenial to jammy

Change-Id: Icf55a111839c246ea4a38ae5f5a6331e769dd299

12 months agolava: Update recursive DNS server for babeltrace-benchmark jobs
Kienan Stewart [Thu, 18 May 2023 18:22:19 +0000 (14:22 -0400)] 
lava: Update recursive DNS server for babeltrace-benchmark jobs

172.18.0.12 is deprecated, and the recursive DNS service has been
passed to a host on 172.18.0.13

Change-Id: Ie5bb1f319ead34b43d0b327a40f9099b779fc79b

12 months agolava: Remove unused submission script for lava 1.x
Kienan Stewart [Thu, 18 May 2023 18:20:29 +0000 (14:20 -0400)] 
lava: Remove unused submission script for lava 1.x

Change-Id: Ib6283fc7979dcd1e27f2f8e76a786536d5f02bf3

12 months agolava: Update LTTng canary version from 2.10 to 2.13
Kienan Stewart [Thu, 18 May 2023 17:56:00 +0000 (13:56 -0400)] 
lava: Update LTTng canary version from 2.10 to 2.13

Change-Id: I94d695bb69b9f6ff1f99b8941604ecc84a393053

12 months agojjb/lava: Parameterize repo URL and branch for test scripts
Kienan Stewart [Thu, 18 May 2023 17:51:49 +0000 (13:51 -0400)] 
jjb/lava: Parameterize repo URL and branch for test scripts

This permets us to launch a build with a different repo URL and/or
branch. Without this change, any changes we want to test must be
pushed on to the lttng-ci master branch before the run.

Pass repo URL and branch through to the clone in the setup job as well.

Change-Id: Ie9d45b2285e8e484dd23727278bb87e9c3ddfae2

12 months agojjb/lava: Parametrize URL for system-test's root FS
Kienan Stewart [Thu, 18 May 2023 15:40:24 +0000 (11:40 -0400)] 
jjb/lava: Parametrize URL for system-test's root FS

Change-Id: I75f21e32241b1bfe1d0eefc47433294f0fc10b1c

12 months agolava: Switch from vmdebootstrap to debootstrap
Kienan Stewart [Thu, 18 May 2023 13:33:59 +0000 (09:33 -0400)] 
lava: Switch from vmdebootstrap to debootstrap

vmdebootstrap is [abandoned][3] by it's author, who recommends no longer
using it. The package is no longer available in recent distributions.

While there is a more or less direct sucessors, [vmdb2][1] and other
options including [debos][2], the needs for creating the rootfs appear
to be minimal so I adjusted the script so any further modifications
are done by commands chrooted in the new environment.

[1]: https://vmdb2-manual.liw.fi/
[2]: https://github.com/go-debos/debos
[3]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907751 "Request
for removal from Debian"

Change-Id: I0a9e5fa312e62dbce88dc1908433d7059ec294f1

lava: Fix value in generated rootfs' hostname

Change-Id: I748170655a04cb95a07713e8487e427e3ae536a3

12 months agolava: Update canary branches and commit IDs
Kienan Stewart [Wed, 17 May 2023 19:01:10 +0000 (15:01 -0400)] 
lava: Update canary branches and commit IDs

The latest stable lttng-{modules,tools,ust} was chosen.

For the linux kernel, the latest release in the 5.15 LTS branch was
chosen. 5.15.x branch is used by Ubuntu 22.04 jammy, although the
exact version differs.

Change-Id: I649cd80fee7891015094ed8ebca6968d027ba8b7

12 months agolava: Rename inline x86-env-setup test
Kienan Stewart [Wed, 17 May 2023 18:05:10 +0000 (14:05 -0400)] 
lava: Rename inline x86-env-setup test

I propose renaming this job for two principal reasons: the setup is
run on more than x86 devices (it is used by kvm/qemu hosts as well),
and the purpose of this "test" is to create the vlttng virtualenv.

The more specific name also helps to avoid potential confusion with
the "x86-env-setup" that is run just beforehand.

Change-Id: I39915fec661f0519b94f68cbd6a26ca32ca3c254

12 months agolava: Update recursive name server address
Kienan Stewart [Wed, 17 May 2023 18:00:11 +0000 (14:00 -0400)] 
lava: Update recursive name server address

172.18.0.12 is still available and working; however, it is deprecated
and the host running the service may be decomissioned in the
future.

Change-Id: Ia717b3c5b73423f690a59e3ee10a18c5c3f44919

12 months agojjb: barectf: Add stable-3.1 branch
Michael Jeanson [Wed, 17 May 2023 15:38:50 +0000 (11:38 -0400)] 
jjb: barectf: Add stable-3.1 branch

Change-Id: I86580c0feb3a62c384d735aceccbf78dc9736c0a
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agoansible: add kstewart ssh key
Kienan Stewart [Wed, 10 May 2023 14:26:58 +0000 (10:26 -0400)] 
ansible: add kstewart ssh key

Change-Id: Ic5ba981bfb112340178060b1297aaedab848edc8

13 months agojjb: barectf: install poetry first
Michael Jeanson [Tue, 9 May 2023 15:25:45 +0000 (11:25 -0400)] 
jjb: barectf: install poetry first

Install poetry first so it has more priority when its dependencies
conflict with those of tox.

Change-Id: Iaf7e216cdc0fb67fb8ffaba39b94c689751bb1ca
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agoansible: remove powerpc nodes
Michael Jeanson [Thu, 4 May 2023 18:25:16 +0000 (14:25 -0400)] 
ansible: remove powerpc nodes

Change-Id: If2c38c40c5a806d33975143110fc383705ec0b93
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: lttng-tools: fix no-ust configs
Michael Jeanson [Mon, 1 May 2023 18:49:19 +0000 (14:49 -0400)] 
jjb: lttng-tools: fix no-ust configs

Don't set 'LTTNG_TOOLS_RUN_TESTS=no' on platforms without ust, they
already use the 'no-ust' config to handle that.

Change-Id: Ib12c492287a94ea78ac1fdf280a23e0245b829b3
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agoansible: add 'bear' to ubuntu jammy nodes
Michael Jeanson [Mon, 1 May 2023 18:48:40 +0000 (14:48 -0400)] 
ansible: add 'bear' to ubuntu jammy nodes

Change-Id: Ie99304a3c3edc1a4d22bae1e88793ee456b16232
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: binutils-gdb: use absolute 3 hours job timeout
Simon Marchi [Tue, 2 May 2023 19:16:40 +0000 (15:16 -0400)] 
jjb: binutils-gdb: use absolute 3 hours job timeout

The no-activity timeout mode is not good for when a commit completely
breaks GDB.  All tests in the testsuite will just fail very slowly
(timing out), but they will still print lines regularly.  So the timeout
will never actually kick in.  Change the timeout to be fixed at 3
hours.

Change-Id: I6606b5ed02cb7deed7491179aa6f1fc40e017480

13 months agojjb: cleanup many build.sh
Michael Jeanson [Fri, 28 Apr 2023 18:40:15 +0000 (14:40 -0400)] 
jjb: cleanup many build.sh

Change-Id: Iefde7953c739329bfe381db4b0d23edfa9fd10e3
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: reduce ircbot verbosity
Michael Jeanson [Fri, 28 Apr 2023 15:55:30 +0000 (11:55 -0400)] 
jjb: reduce ircbot verbosity

Change-Id: I0a98aec81dd43e82e8a433110453426857d76885
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: set follow-symlinks on archive publisher
Michael Jeanson [Fri, 28 Apr 2023 15:44:03 +0000 (11:44 -0400)] 
jjb: set follow-symlinks on archive publisher

The default for newly created job seems to ahve changed to not including
symlinks by default when archiving artefacts. This is problematic for
jobs that archive librairies with versioned symlinks. Add the
follow-symlinks property to those jobs.

Change-Id: I365466ada8c935ce803e28496b4ca055fe8e3f00
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: lttng-tools/babeltrace: smokebuild proof-of-concept
Michael Jeanson [Wed, 26 Apr 2023 14:17:27 +0000 (10:17 -0400)] 
jjb: lttng-tools/babeltrace: smokebuild proof-of-concept

Implement basic 'smoketest' jobs integrated with gerrit.

smokebuild: run a single amd64 oot-dist build without running the tests
check-format: run clang-format on the patch
clang-tidy: run clang-tidy on the files touched by the patch

Change-Id: Id2e23fdf8027f5776a36b962b52c35da8629cf87
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: binutils-gdb: throttle concurrent review builds
Michael Jeanson [Tue, 25 Apr 2023 20:29:48 +0000 (16:29 -0400)] 
jjb: binutils-gdb: throttle concurrent review builds

Change-Id: I490b0ba82e9f6de6c14bbaf540f7c35ea74d3c8c
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: binutils-gdb: rename gerrit jobs to review
Michael Jeanson [Tue, 25 Apr 2023 20:23:59 +0000 (16:23 -0400)] 
jjb: binutils-gdb: rename gerrit jobs to review

Bring the binutils-gdb jobs in line with the rest of the gerrit jobs.

Change-Id: Idf96594ba8047a41fa5dd4bc630f09df3213c6b5
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: binutils-gdb: add missing workspace cleanup on macos
Michael Jeanson [Tue, 25 Apr 2023 20:18:35 +0000 (16:18 -0400)] 
jjb: binutils-gdb: add missing workspace cleanup on macos

Change-Id: I9c811846687aac8e6d0fadf54448e96674d10851
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agoansible: Add clang-format and clang-tidy on jammy nodes
Michael Jeanson [Tue, 25 Apr 2023 20:14:12 +0000 (16:14 -0400)] 
ansible: Add clang-format and clang-tidy on jammy nodes

Change-Id: I48a1a056820da24ce72ba1e7d0311f3ee25a76fe
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: binutils-gdb: keep a bit more builds, for a bit longer
Simon Marchi [Tue, 25 Apr 2023 18:46:11 +0000 (14:46 -0400)] 
jjb: binutils-gdb: keep a bit more builds, for a bit longer

Change-Id: Ie9b844b193ea8206b2ed58d79b6d7f5f2bc1e67a

13 months agojjb: binutils-gdb: don't collect build directory
Simon Marchi [Tue, 25 Apr 2023 18:45:15 +0000 (14:45 -0400)] 
jjb: binutils-gdb: don't collect build directory

There is no need to.

Change-Id: I856d6d55ed6dcdd37c3ba5a6ab1ca0d79c035371

13 months agojjb: binutils-gdb: use `-r` with `read`
Simon Marchi [Tue, 25 Apr 2023 18:41:51 +0000 (14:41 -0400)] 
jjb: binutils-gdb: use `-r` with `read`

Because shellcheck said so:

    In scripts/binutils-gdb/build.sh line 952:
    while read line; do
          ^--^ SC2162 (info): read without -r will mangle backslashes.

Change-Id: I26584cdb30c124de3341e476930df1f4fd474a71

13 months agojjb: binutils-gdb: increase testsuite timeout locally
Simon Marchi [Tue, 25 Apr 2023 18:39:15 +0000 (14:39 -0400)] 
jjb: binutils-gdb: increase testsuite timeout locally

There are many spurious timeouts when running on the CI machines.
Increase the timeout locally using a site.exp file to reduce those.

Change-Id: Ie9740e766826dd94870b2ad8e6ec5433ebc0d93a

13 months agojjb: binutils-gdb: clean up cores in /tmp
Simon Marchi [Tue, 25 Apr 2023 18:36:09 +0000 (14:36 -0400)] 
jjb: binutils-gdb: clean up cores in /tmp

Change-Id: Ie47cbbba30af58f3bac7c10e6a8a12439085495a

13 months agojjb: binutils-gdb: add macos build
Simon Marchi [Tue, 25 Apr 2023 18:38:31 +0000 (14:38 -0400)] 
jjb: binutils-gdb: add macos build

Add a macos job that only builds, but does not run tests.

Change-Id: Ie64a97a173153189ebe20b507a46f38c46d55139

13 months agojjb: binutils-gdb: build with debug info
Simon Marchi [Tue, 25 Apr 2023 18:31:24 +0000 (14:31 -0400)] 
jjb: binutils-gdb: build with debug info

This makes the stack traces that GDB shows when it aborts a bit more
informative.

Change-Id: I52dd433574da35d130978bc95f2c6aa7aa029845

13 months agojjb: binutils-gdb: catch ERRORs in gdb.sum
Simon Marchi [Tue, 25 Apr 2023 18:28:47 +0000 (14:28 -0400)] 
jjb: binutils-gdb: catch ERRORs in gdb.sum

When tests encounter a fatal error, it is reported as:

    ERROR: blah blah blah

Unlike normal test result lines, they don't include the name of the .exp
file currently running.  It would still be nice to catch them and
consider them failures, as they are abnormal.  Update the Python gdb.sum
processing script to remember the name of the current .exp, by looking
at the "Running" lines.  And when it encounters an ERROR, generate a
junit failure.

Change-Id: If99d73992241370afe9a9b59cb9abe491272d05f

13 months agojjb: binutils-gdb: use ccache
Simon Marchi [Tue, 25 Apr 2023 18:27:45 +0000 (14:27 -0400)] 
jjb: binutils-gdb: use ccache

Use ccache to speed up builds when possible.

We have witnessed that the ccache mechanism to regulate the cache size
didn't work under Jenkins for some reason, causing the cache directory
to grow indefinitely.  Run `ccache -c` at the start of each job to force
ccache to do some cleanup and ensure the cache is not over the allowed
size.

Change-Id: I54698ed5ed7b4fd8b416f9864d33d5aae2d67ecd

13 months agojjb: binutils-gdb: update known failurs, add RE known failures files
Simon Marchi [Tue, 25 Apr 2023 18:25:31 +0000 (14:25 -0400)] 
jjb: binutils-gdb: update known failurs, add RE known failures files

 - Sync known failures with what is in production
 - Add a file per board that lets us define regexes of tests to ignore

Change-Id: I29a97e6955934f3d0fb9489c6a38fc9550add38b

13 months agowip: smokebuild
Michael Jeanson [Tue, 25 Apr 2023 19:28:35 +0000 (15:28 -0400)] 
wip: smokebuild

Change-Id: I0c1d5cc5cf9a4f3e8287a081b5e832ebf5fd31eb

13 months agojjb: anchor naming compat with jjb 5.0
Michael Jeanson [Tue, 25 Apr 2023 17:30:33 +0000 (13:30 -0400)] 
jjb: anchor naming compat with jjb 5.0

Change-Id: Ia425650b9397a8a61c951825e8a8c10fc8947a00
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: lttng-modules: split gerrit jobs by branch
Michael Jeanson [Mon, 24 Apr 2023 19:40:13 +0000 (15:40 -0400)] 
jjb: lttng-modules: split gerrit jobs by branch

This allows to set kernel version ranges per branch. Also now build on
each current head of the kernel tls branches and the head of the latest
supported kernel branch.

Change-Id: I11f7b225df3e8188fdf72ecc82bfccd90853f343
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: lttng-tools: split gerrit jobs by branch
Michael Jeanson [Mon, 24 Apr 2023 21:24:49 +0000 (17:24 -0400)] 
jjb: lttng-tools: split gerrit jobs by branch

Change-Id: I6ae0a54230c36ed87594a2b407a069114cd687e1

13 months agojjb: lttng-ust: split gerrit jobs by branch
Michael Jeanson [Mon, 24 Apr 2023 19:40:26 +0000 (15:40 -0400)] 
jjb: lttng-ust: split gerrit jobs by branch

Change-Id: Ib7fac10e214f3a10b1b11d338130e33526d6205a
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: librseq: split gerrit jobs by branch
Michael Jeanson [Mon, 24 Apr 2023 18:52:44 +0000 (14:52 -0400)] 
jjb: librseq: split gerrit jobs by branch

Change-Id: Id3561a8728be6bc19c397c12a3b926fd0f670dac
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: barectf: split gerrit jobs by branch
Michael Jeanson [Mon, 24 Apr 2023 18:45:53 +0000 (14:45 -0400)] 
jjb: barectf: split gerrit jobs by branch

Change-Id: Ia0da54bbff8c12262c934d6d4cf01a6805f55445
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: liburcu: split gerrit jobs by branch
Michael Jeanson [Mon, 24 Apr 2023 18:10:47 +0000 (14:10 -0400)] 
jjb: liburcu: split gerrit jobs by branch

Change-Id: I3c1bb30c26e127769cdfdfbb1bdcb78763ba8fc4
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: babeltrace: split gerrit jobs by branch
Michael Jeanson [Fri, 21 Apr 2023 19:52:24 +0000 (15:52 -0400)] 
jjb: babeltrace: split gerrit jobs by branch

Change-Id: Ib08b716f5e71bc2060816544e9b70b7ad820376d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agoansible: Add CI PPA to Ubuntu nodes
Michael Jeanson [Fri, 21 Apr 2023 18:33:49 +0000 (14:33 -0400)] 
ansible: Add CI PPA to Ubuntu nodes

Change-Id: Ic07c182d7944ea0a769ec8413f05c126a17e4a3f
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
13 months agojjb: lttng-tools: rework pre/post build scripts
Michael Jeanson [Wed, 19 Apr 2023 21:06:16 +0000 (17:06 -0400)] 
jjb: lttng-tools: rework pre/post build scripts

* Abort instead of fail builds that timeout, to distinguish and take
  specifc actions
* Use a more explicit naming scheme
* Add gdb backtrace printing of core dumps
* Fix shellcheck warnings

Change-Id: I26954a6c921a9ed0d65be6b321f2dd4a548bee7c
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: add ircbot in #lttng-ci
Michael Jeanson [Thu, 6 Apr 2023 20:24:40 +0000 (16:24 -0400)] 
jjb: add ircbot in #lttng-ci

Change-Id: I1db5a433cdb77cb32d8d52666cc1449b1f013079
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: update dev_upstream jobs
Michael Jeanson [Thu, 6 Apr 2023 19:25:02 +0000 (15:25 -0400)] 
jjb: update dev_upstream jobs

Change-Id: Iec9a1a1dfffefea2dfd326a60a58481bc11f39e5
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: lttng-ust/tools: Add yocto stable jobs
Michael Jeanson [Wed, 5 Apr 2023 18:49:40 +0000 (14:49 -0400)] 
jjb: lttng-ust/tools: Add yocto stable jobs

Change-Id: I8e9185af48d37e06ed78fc2c87911ea93af4cddd
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: remove sid-powerpc from portbuild jobs
Michael Jeanson [Tue, 4 Apr 2023 19:14:03 +0000 (15:14 -0400)] 
jjb: remove sid-powerpc from portbuild jobs

Change-Id: I07b22bbf3767e259df81705deb40941f9801aa16
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: lttng-tools: add missing filter to stable rootbuild job
Michael Jeanson [Tue, 4 Apr 2023 19:04:56 +0000 (15:04 -0400)] 
jjb: lttng-tools: add missing filter to stable rootbuild job

Change-Id: Iba347446234e7270211a5179c275a46e7bd16374
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: lttng-tools: disable -Wshadow on GCC 4.8
Michael Jeanson [Mon, 3 Apr 2023 18:40:19 +0000 (14:40 -0400)] 
jjb: lttng-tools: disable -Wshadow on GCC 4.8

Change-Id: I1abdfa179d5fad115fea0e3f58dfdb5a9b2b3b11
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: lttng-tools: sles15sp4 doesn't have python2
Michael Jeanson [Mon, 27 Mar 2023 21:35:47 +0000 (17:35 -0400)] 
jjb: lttng-tools: sles15sp4 doesn't have python2

Change-Id: Iace681136f0c3dc152a7d07dc1d459dd3d5a0dd4
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: update SLES detection in build scripts
Michael Jeanson [Mon, 27 Mar 2023 18:51:01 +0000 (14:51 -0400)] 
jjb: update SLES detection in build scripts

Change-Id: I64b6f8a1950bcc31c4aa79c39fb9d40e080ca061
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: Add sles15sp4 to sles builds
Michael Jeanson [Mon, 27 Mar 2023 15:13:09 +0000 (11:13 -0400)] 
jjb: Add sles15sp4 to sles builds

Change-Id: I6c4141d5d9be8cbc1278bba3cf52152a2d917286
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agoansible: Add SLES15 node
Michael Jeanson [Fri, 24 Mar 2023 19:32:04 +0000 (15:32 -0400)] 
ansible: Add SLES15 node

Change-Id: Id07d9defe0c7fff7276002e2b1050cbc16b6b53d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: archive top-level test suite log
Michael Jeanson [Tue, 21 Mar 2023 21:03:45 +0000 (17:03 -0400)] 
jjb: archive top-level test suite log

Change-Id: Idae0b28eb6b6a69153f9caa98566935275dc2987
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agofix: jjb: always set LIBDIR_ARCH
Michael Jeanson [Tue, 21 Mar 2023 20:55:34 +0000 (16:55 -0400)] 
fix: jjb: always set LIBDIR_ARCH

Change-Id: Ie3e6f4f84524bed315446c09525738f7b8dcd268
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: extend 'libdir = lib64' to yocto
Michael Jeanson [Mon, 20 Mar 2023 20:50:49 +0000 (16:50 -0400)] 
jjb: extend 'libdir = lib64' to yocto

Change-Id: I386a67682ec48e46f37416feef914f4df7e3ef32
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: lttng-tools: disable -Wmissing-field-initializers on el7
Michael Jeanson [Fri, 17 Mar 2023 17:40:01 +0000 (13:40 -0400)] 
jjb: lttng-tools: disable -Wmissing-field-initializers on el7

Change-Id: I96323cfe882d0bf8d7e0df877327b4edb59ff50d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
14 months agojjb: Add Yocto jobs
Michael Jeanson [Thu, 9 Mar 2023 21:45:11 +0000 (16:45 -0500)] 
jjb: Add Yocto jobs

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