udevadm trigger fails with "Permission denied" on the Ubuntu 26.04
runner. /dev/kvm is already made world-accessible via chmod 666 in the
configure server step, so the udev rule is redundant.
Assisted-by: Claude Code:claude-opus-5
Signed-off-by: Marcel Hibbe <[email protected]>
On Ubuntu 26.04 qemu-kvm is a virtual package provided by both
qemu-system-x86 and qemu-system-x86-hwe, so apt refuses to install it.
Assisted-by: Claude Code:claude-opus-5
Signed-off-by: Marcel Hibbe <[email protected]>
Robolectric does not take its `android-all` jars through Gradle. It
fetches them itself from Maven Central the first time a test needs a
given SDK level, so every unit test run depends on a TLS handshake to a
remote repository that nothing caches: `setup-gradle` covers `~/.gradle`,
while Robolectric writes to `~/.m2/repository/org/robolectric`.
When that handshake fails the whole suite dies in `initializationError`
before a single assertion runs, which reads like a broken pull request
rather than the infrastructure hiccup it is.
Cache the directory Robolectric downloads into, keyed on the Robolectric
version so that an upgrade fetches the new jars once and caches those
instead of serving stale ones.
Restore and save are separate steps because `actions/cache` only saves on
a green job, and the runs worth caching are precisely the ones where a
download succeeded but a later test failed.
Assisted-by: Claude Code:claude-opus-5
Signed-off-by: Andy Scherzinger <[email protected]>
Jobs on the plain ubuntu-latest label also land on the smaller
self-hosted garm runners. Since 2026-09-10 every one of the 28 runner
losses in Assemble (14) and CodeQL (14) happened there ("The runner
has received a shutdown signal"), the same failure unit tests had
before moving to ubuntu-latest-max.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Andy Scherzinger <[email protected]>
The analysis workflow capped Gradle at 1g via ~/.gradle/gradle.properties,
overriding the project's 6g, so lintGplayDebug ran out of heap.
Unit tests could hang silently in testGplayDebugUnitTest until the 6h
job timeout. Fail the job after 45 minutes, log test events so a hang
names the stuck test, and give the test JVM 2g instead of Gradle's 512m
default for the Robolectric suites.
Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Andy Scherzinger <[email protected]>
Every Garm run against server master fails in "configure server":
This version of Nextcloud requires at least PHP 8.3
You are currently running 8.2.31. Please update your PHP version.
Nextcloud master raised its minimum to PHP 8.3, so the shallow-server image
pinned at php8.2 can no longer install it and the job dies before the emulator
is ever started.
Point the non-stable22 matrix entry at the php8.3 image. Note the tag differs:
the php8.2 image publishes ":1" while php8.3 currently only publishes ":latest",
so this is not a straight substitution of the version in the tag. That does mean
the pin is looser than before and should be tightened once a numbered tag is
published.
The stable22 branch of the expression keeps php8.0. It is unreachable today,
since the matrix only lists master, but it belongs with that server version if
the entry is ever restored.
Assisted-by: Claude Code:claude-opus-5
Signed-off-by: Andy Scherzinger <[email protected]>
The lint version bundled with AGP 9.3.1 ships IntelliJ PSI code
compiled against JDK 21, calling java.util.List.removeLast() which
does not exist on a JDK 17 runtime. This made
lintVitalAnalyze*Release crash with a NoSuchMethodError during
assembleGeneric/assembleGplay. Align the remaining JDK 17 workflows
(assembleFlavors, check, unit-tests) with the workflows already
running on JDK 21.
Assisted-by: Claude Code:claude-fable-5
Signed-off-by: Andy Scherzinger <[email protected]>