From d09d72f9d3c98caddb4ce7cf637051270ab9115e Mon Sep 17 00:00:00 2001 From: Mattia Tadini Date: Sat, 14 Nov 2026 19:21:45 +0100 Subject: [PATCH] release-check: reinstall the packages even when the version is already there apt-get install ./x.deb skips a package whose version is already installed, so the check ran on whatever bytes were on the machine. With 26.11.2 the test builds, carrying the release version, were still on the .32 and the Fujitsu: skillfish-base, skillfish-hub and skillfishos-archive-keyring were checked from the test build, not from the published one. --reinstall makes the gate's promise true: the bytes in debs.sha256 are the bytes that ran. --- tests/release/release-check.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/release/release-check.sh b/tests/release/release-check.sh index 7e19ec00..5eca11b3 100755 --- a/tests/release/release-check.sh +++ b/tests/release/release-check.sh @@ -57,8 +57,13 @@ while read -r kind target <&3; do echo ">>> installing" # A machine that is not a BC-250 still gets every package: they are meant # to install anywhere and switch themselves off where they don't apply. + # --reinstall: without it apt skips a package whose version is already + # installed, and the check then runs on whatever bytes were there. It + # happened with 26.11.2 (14/11/2026): test builds carrying the release + # version stayed on both machines, and three packages were checked from the + # test build instead of the release one. The gate promises exact bytes. if ! "${SSH[@]}" "$target" "cd /root/release-check/debs && DEBIAN_FRONTEND=noninteractive \ - apt-get install -y -q --allow-downgrades -o Dpkg::Options::=--force-confold ./*.deb" \ + apt-get install -y -q --reinstall --allow-downgrades -o Dpkg::Options::=--force-confold ./*.deb" \ > "$OUT/$kind-install.log" 2>&1; then tail -20 "$OUT/$kind-install.log" printf '{"version":"%s","kind":"%s","counts":{"fail":1},"results":[{"name":"install the packages","status":"fail","detail":"see %s-install.log"}]}\n' \