• Bug#1108539: toybox: autopkgtest failure on ci.d.n: FAIL: du (no option

    From Antoni Villalonga@1:229/2 to Paul Gevers on Thu Jul 3 02:10:01 2025
    From: [email protected]

    Hi,

    I've already reported this problem upstream in oct 2021.

    | https://github.com/landley/toybox/issues/301

    What do you think about aplying the suggested patch on the test?
    It makes the test superficial on tmpfs-like filesystem \o/

    | if [ "$(stat --format %b . 2>/dev/null)" != "0" ]; then
    | echo "$SHOWSKIP: du (tmpfs-like filesystem)"
    | return 2>/dev/null
    | exit
    | fi


    I think it's the best we can do for trixie.

    Thanks for your time Paul!

    On Mon, Jun 30, 2025 at 10:03:52PM +0200, Paul Gevers wrote:
    Source: toybox
    Version: 0.8.9+dfsg-1.1
    Severity: serious
    User: [email protected]
    Usertags: regression
    Tags: trixie-ignore

    Dear maintainer(s),

    Your package has an autopkgtest, great. However, it fails since early 2024
    on amd64 and some time later on other architectures. I highly suspect that the test fails when the file system lives on tmpfs, as is the case on all architectures nowadays.

    The release team has announced [1] that failing autopkgtest on amd64 and arm64 are considered RC in testing.

    More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

    With my Release Team member hat on I have tagged this as trixie-ignore as it's so late in the freeze and it's not worth removing the package from trixie because of this at this moment. Having said that, if a fix is
    possible without fully removing the autopkgtest and without making the test superficial, it's still welcome, but it would need to happen soon.

    Paul

    [1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

    https://ci.debian.net/data/autopkgtest/testing/amd64/t/toybox/61462994/log.gz

    75s PASS: cut -d newline
    75s SKIP: demo_number disabled
    75s PASS: dirname /-only
    75s PASS: dirname trailing /
    75s PASS: dirname combined
    75s PASS: dirname /a/
    75s PASS: dirname multiple
    75s FAIL: du (no options)
    75s echo -ne '' | du -k du_test
    75s --- expected 2025-06-18 19:13:21.103913606 +0000
    75s +++ actual 2025-06-18 19:13:21.107913692 +0000
    75s @@ -1,2 +1,2 @@
    75s -4 du_test/test
    75s -8 du_test
    75s +0 du_test/test
    75s +0 du_test
    75s make: *** [Makefile:77: tests] Error 1


    --
    Antoni Villalonga
    https://friki.cat/

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)