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
Kienan Stewart [Tue, 20 Jun 2023 13:11:23 +0000 (09:11 -0400)]
ansible: Add deb12-armhf ci nodes
Change-Id: Ia4c2b9913ad553bddc304db918e3cecfc94cf7cf
Kienan Stewart [Tue, 20 Jun 2023 13:09:44 +0000 (09:09 -0400)]
ansible: Add deb12-armhf CI nodes
Change-Id: Ice84fc6222ff1d3a54a360258dc25bce66dbf2f7
Kienan Stewart [Tue, 20 Jun 2023 13:07:03 +0000 (09:07 -0400)]
jjb: Add builds on deb12-armhf platforms
Change-Id: Ifdde6d42ade22633a330f06367b7972fce841594
Kienan Stewart [Mon, 19 Jun 2023 19:54:19 +0000 (15:54 -0400)]
jjb: Add builds on deb12-arm64 platforms
Change-Id: I510290a3612ab7ffcd15eca79ed0492f4dbfa5a7
Kienan Stewart [Wed, 14 Jun 2023 21:03:59 +0000 (17:03 -0400)]
ansible: Add new rootnode for debian12 / i386
Change-Id: I488c6c7390d5f3d90ccd4abc7a70a721a4e3ea6f
Kienan Stewart [Wed, 14 Jun 2023 20:57:56 +0000 (16:57 -0400)]
ansible: Add default cross-compilers for Debian-based distributions
When deploying a new rootnode with Debian 12, the playbook failed
since no file matching the options defined in 'Include OS-specific
variables.' task in `roles/cross-compilers/main.yml` could be found.
Change-Id: Ia360ef42e16c16dd38e8ddb9d11db6ace589b7f4
Kienan Stewart [Wed, 14 Jun 2023 20:39:56 +0000 (16:39 -0400)]
ansible: Download CD images for Debian bookworm amd64 and i386
Change-Id: Ia35071b801fce99d11023d7f997480d6115057b4
Kienan Stewart [Tue, 13 Jun 2023 19:24:53 +0000 (15:24 -0400)]
jjb: Add deb12-i386 hosts
Change-Id: I5b1b9ffc37676ffbbe6f47e28b4e2b5aa75152f3
Kienan Stewart [Mon, 12 Jun 2023 15:36:36 +0000 (11:36 -0400)]
ansible: silence warnings in dist-upgrade playbook
Change-Id: I61cc2d88da6d72515089f6746730ff26f197ab8a
Michael Jeanson [Mon, 19 Jun 2023 17:58:59 +0000 (13:58 -0400)]
jjb: temporary fix for python layout on deb12
Revert the change to 'DEB_PYTHON_INSTALL_LAYOUT=deb' which also changes
'site-packages' to 'dist-packages' which is debian specific.
Instead, temporarily add the incorrect 'local/$LIBDIR' to the
lttng-tools PYTHONPATH while we work on a fix for the build system of
the affected projects.
Change-Id: I662295ae48973eff0864377f58c915edf9ded941
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Michael Jeanson [Wed, 7 Jun 2023 20:46:20 +0000 (16:46 -0400)]
wip: smokebuild
Change-Id: Id83224e273fedc94eb5ef57a0bdbfc4919c085fa
Michael Jeanson [Wed, 7 Jun 2023 20:46:03 +0000 (16:46 -0400)]
wip: riscv64
Change-Id: If01b8f249d6d3ec15f3c44bcd76c77a55a9fc8c7
Michael Jeanson [Tue, 13 Jun 2023 18:50:57 +0000 (14:50 -0400)]
jjb: set python install layout to deb
The default install layout for user built python modules has changed in
Debian 12 to add a 'local' dir to the prefix. Force the traditionnal
system layout by exporting 'DEB_PYTHON_INSTALL_LAYOUT=deb'.
Change-Id: I0d684be831a8deaf49dc486d6850dba3c8267be2
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Kienan Stewart [Mon, 12 Jun 2023 14:09:30 +0000 (10:09 -0400)]
ansible: Install and configure unattended-upgrades on Debian and Ubuntu
The unattended-upgrades are disabled by default on CI nodes.
Change-Id: Ifa86ae3fad626a69dcbfbf5829032fb3820128b3
Kienan Stewart [Mon, 12 Jun 2023 19:38:32 +0000 (15:38 -0400)]
ansible: Add playbook for Debian major version upgrades
Useful when recreating the node from scratch isn't a quick option
Change-Id: I5ebd413604a0f0f48474c205ae88a8a7bf99c2ee
Kienan Stewart [Mon, 12 Jun 2023 19:39:54 +0000 (15:39 -0400)]
jjb/ansible: Replace deb11-ppc64el with deb12-ppc64el
Change-Id: I31a439040f6313d8ac419c7001150d9985f014c4
Kienan Stewart [Wed, 7 Jun 2023 17:29:39 +0000 (13:29 -0400)]
lava: Add missing popd to kernel tasks
The `popd` step was removed in
cf1271bb7a11cb708178043db11c0503f604a042
Change-Id: If18bf7f8f36cfdec8eb95b8c4c3dac9dbe051495
Kienan Stewart [Wed, 7 Jun 2023 13:00:37 +0000 (09:00 -0400)]
lava: Use absolute directory for coredumps
If any of the scripts or tests modify the working directory in an
unexpected way, assuming that the coredump is relative to the working
directory will cause the jobs to fail.
Eg. https://lava-master-03.internal.efficios.com/scheduler/job/491
Change-Id: I0e6a71c1632109c5b62043dff20df587d81dd943
Kienan Stewart [Thu, 8 Jun 2023 14:30:20 +0000 (10:30 -0400)]
jjb: Do not create system tests with lltng 2.12 on linux >= 5.18
Change-Id: If7a2eea3198f4c1f4f196dd4dd2065753f7e7adc
Michael Jeanson [Thu, 8 Jun 2023 20:19:01 +0000 (16:19 -0400)]
jjb: lttng-tools: Add process cleaner plugin
Use the process cleaner plugin before and after jobs to clean possible
leftover processes that could interfere with the test suite.
Change-Id: I13af079244cbafde65f9c85f7c66d604fbfa2669
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Michael Jeanson [Mon, 5 Jun 2023 19:18:31 +0000 (15:18 -0400)]
ansible: split common and common-node roles
To keep the roles self-contained, split the 'common' role into a
'common-node' role.
Change-Id: Ifade97c647cc0e9b480d765caf02a225397de6da
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Michael Jeanson [Mon, 5 Jun 2023 19:01:50 +0000 (15:01 -0400)]
ansible: common: move root user logic to users.yml
Change-Id: I3d723d81fe25993a18736b5eea619987edd7c7e4
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Michael Jeanson [Wed, 7 Jun 2023 20:44:08 +0000 (16:44 -0400)]
jj: lttng-tools: Add aarch64 el builds to stable-2.12
Change-Id: Ic173a831a6ccfc5aeb31017ee612a53b62cc2f7a
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
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>
Michael Jeanson [Wed, 7 Jun 2023 20:05:34 +0000 (16:05 -0400)]
Merge "jjb: 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
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
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
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
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
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
Kienan Stewart [Wed, 7 Jun 2023 14:53:03 +0000 (10:53 -0400)]
ansible: Add ci-rootnode-jammy-amd64-07-01
Change-Id: I850affdc72ca953abc9853d6531553fc5525e548
Kienan Stewart [Wed, 7 Jun 2023 14:51:14 +0000 (10:51 -0400)]
ansible: Manage libvirt on CI 'hosts'
Change-Id: I970fe82d65de551ff51568f1ab72c5331cad3e57
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
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
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
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>
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>
Kienan Stewart [Thu, 25 May 2023 20:41:59 +0000 (16:41 -0400)]
ansible: Add physical hosts with minimal common configuration
Change-Id: I32e94782853288021303fb9fd9fbe48afd1c96ee
Kienan Stewart [Fri, 2 Jun 2023 13:10:19 +0000 (09:10 -0400)]
ansible: add role requirements file
Change-Id: I67ac89edab607c971e688dcdd43f342377a9a125
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
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
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
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
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
Michael Jeanson [Wed, 31 May 2023 21:50:55 +0000 (17:50 -0400)]
Merge "jjb: Add job to build and deploy bt2 website"
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
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
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
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
Kienan Stewart [Thu, 25 May 2023 18:36:56 +0000 (14:36 -0400)]
bt benchmark: Normalize indentation around invalid_commits
Change-Id: Ie44f2caeda9fb36c7f46b7f356921a1023e019d9
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
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
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
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
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
Kienan Stewart [Wed, 24 May 2023 20:38:27 +0000 (16:38 -0400)]
lava: Update pdudaemon service unit paths
Change-Id: I2f2b68e3705eb5933ac2720a1f55459f912dbc12
Michael Jeanson [Wed, 24 May 2023 19:01:43 +0000 (15:01 -0400)]
Merge "ansible/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
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
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
Kienan Stewart [Fri, 19 May 2023 19:11:20 +0000 (15:11 -0400)]
lava: Parameterize host and protocol settings
Change-Id: I43de2ff73e22ce100b0db08317908198825fd558
Kienan Stewart [Thu, 18 May 2023 19:22:14 +0000 (15:22 -0400)]
lava: Update default rootfs from xenial to jammy
Change-Id: Icf55a111839c246ea4a38ae5f5a6331e769dd299
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
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
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
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
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
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
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
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
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
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>
Kienan Stewart [Wed, 10 May 2023 14:26:58 +0000 (10:26 -0400)]
ansible: add kstewart ssh key
Change-Id: Ic5ba981bfb112340178060b1297aaedab848edc8
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>
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>
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>
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>
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
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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
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
Simon Marchi [Tue, 25 Apr 2023 18:36:09 +0000 (14:36 -0400)]
jjb: binutils-gdb: clean up cores in /tmp
Change-Id: Ie47cbbba30af58f3bac7c10e6a8a12439085495a
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
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
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
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
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
Michael Jeanson [Tue, 25 Apr 2023 19:28:35 +0000 (15:28 -0400)]
wip: smokebuild
Change-Id: I0c1d5cc5cf9a4f3e8287a081b5e832ebf5fd31eb
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>
This page took 0.040858 seconds and 4 git commands to generate.