Your message dated Thu, 24 Feb 2022 19:48:42 +0000 with message-id <[email protected]> and subject line Bug#1002477: fixed in autopkgtest 5.20 has caused the Debian Bug report #1002477, regarding autopkgtest: simple grep for build-needed causes unneeded builds when there's no build-needed test on a architecture to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 1002477: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1002477 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: autopkgtest Version: 5.16 Severity: important Dear Maintainer, /usr/bin/autopkgtest has # run create_command script = [ 'builddir=$(mktemp -d %s/build.XXX)' % testbed.scratch, 'cd $builddir', create_command, 'chmod -R a+rX .', 'cd [a-z0-9]*/.', 'pwd >&3', 'sed -n "1 {s/).*//; s/ (/\\n/; p}" debian/changelog >&3', 'set +e; grep -q "^Restrictions:.*\\bbuild-needed\\b" debian/tests/control 2>/dev/null; echo $? >&3' ] (result_pwd, testpkg_name, testpkg_version, build_needed_rc) = \ source_rules_command(script, 'extract', results_lines=4) which works not very good with the Architecture: field. It will simply cause a build being done if there is also no build-needed tests on _the architecture we run it for_. See e.g. https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice/-/blob/debian-experimental-7.3/tests/control That causes a full-build on i386 where the build-needed tests are only done for architectures where also a build-time testsuite failure would be handled as fatal (here: amd64 and arm64) Given the many (build-)dependencies of libreoffice libreoffice is triggered often for testing migration (see https://ci.debian.net/packages/libr/libreoffice/testing/amd64/) and this probably will cause some issues - maybe not on i386 but probably for armhf... TL;DR: Please make build-needed only honoured on the test actually specifying it for the arch we run the test for Regards, Rene
--- End Message ---
--- Begin Message ---Source: autopkgtest Source-Version: 5.20 Done: Paul Gevers <[email protected]> We believe that the bug you reported is fixed in the latest version of autopkgtest, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Paul Gevers <[email protected]> (supplier of updated autopkgtest package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Thu, 24 Feb 2022 20:29:51 +0100 Source: autopkgtest Architecture: source Version: 5.20 Distribution: unstable Urgency: medium Maintainer: Debian CI team <[email protected]> Changed-By: Paul Gevers <[email protected]> Closes: 896698 1002477 Changes: autopkgtest (5.20) unstable; urgency=medium . * Determine build-needed by parsing the control (Closes: #1002477) * Implement support for @recommends@ in test dependencies (Closes: #896698) * Update documentation * Convert `needs-recommends` to @recommends@ and drop all other code related to it Checksums-Sha1: b5d69af205d2813ee813f124093cfac584518763 1695 autopkgtest_5.20.dsc af6c635d59f91d81cc41bab02e36125cf86727fc 197128 autopkgtest_5.20.tar.xz Checksums-Sha256: de9c4102e4baa747de92befb8088280dec340649ee95358034a7a4707ab88ffa 1695 autopkgtest_5.20.dsc a19b208b804e631741e103043e1ec1fe2c187f88c9090b736fe31b599562e19c 197128 autopkgtest_5.20.tar.xz Files: 8fcf951034358bbb438199e5d031f27c 1695 devel optional autopkgtest_5.20.dsc 715428b39dfa5da717248b23370438f2 197128 devel optional autopkgtest_5.20.tar.xz -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAmIX3R8ACgkQnFyZ6wW9 dQoevAf/bqbujzpsuRgyoDo47pzn6u1sbGzwOjDdYi0WG53lllFCwL/12OYikygs jFAMNzBRYiGejxiU34DDWAW+telZgWhhsVn6w+EaMGIJQDblet+F7FBA/9oKB+dI j7uGapsMmvIncTtH+iAB6o0pLM5iMgth9Qr1VufMUhKx1Y3rgcNCBcWZ447iuRt9 0gPNmJdlioNAxC46E5UMyzZxL9QiCic5a5EX5wL7UITRiavJmOksiUgkSnWbCUTP QK/oscxDnmQg9fer1ZiIF86ShBZz2WjAxSD5iNMszNS5RZd94FdCWH89UYDMuX0p 1frJboROE/AsfWfiAK8TORzGE3lqDA== =bCT6 -----END PGP SIGNATURE-----
--- End Message ---

