#1108539 toybox: autopkgtest failure on ci.d.n: FAIL: du (no options)

#1108539#5
Date:
2025-06-30 20:03:52 UTC
From:
To:
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

#1108539#10
Date:
2025-07-03 00:01:05 UTC
From:
To:
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!

#1108539#15
Date:
2025-07-03 00:01:05 UTC
From:
To:
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!

#1108539#20
Date:
2025-07-03 07:02:17 UTC
From:
To:
Hi Antoni,


Ack.


Do I understand correctly that you'll only skip this particular test?
And would the test still pass in the regular sense if you run the test
on a non-tmpfs filesystem? Than it sound good to me with the
understanding that this is a test problem and not a fundamental problem
with the package. As said in the original report on ci.d.n all hosts run
the tests on a tmpfs filesystem.

Paul

#1108539#27
Date:
2026-10-14 12:51:17 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
toybox, 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 1108539@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated toybox 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 14 Oct 2026 14:37:19 +0200
Source: toybox
Architecture: source
Version: 0.8.9+dfsg-1.3
Distribution: unstable
Urgency: medium
Maintainer: Antoni Villalonga <antoni@friki.cat>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 1108539
Changes:
 toybox (0.8.9+dfsg-1.3) unstable; urgency=medium
 .
   * Non-maintainer upload
   * autopkgtest: install @builddeps@ (Closes: #1108539)
Checksums-Sha1:
 e1bb44cda84532ea0539e9b46c82f930039d16e3 1811 toybox_0.8.9+dfsg-1.3.dsc
 8ec23f58001c88af490a9b69bf8d72a3ab58b106 8420 toybox_0.8.9+dfsg-1.3.debian.tar.xz
 4d673cfddc86fe4299edd7023884183202aa279f 5553 toybox_0.8.9+dfsg-1.3_source.buildinfo
Checksums-Sha256:
 cf1ef7a7f46fc657a9eabcbc539681fa133f35733985a2e558e0c56c25f0b079 1811 toybox_0.8.9+dfsg-1.3.dsc
 0adf33e08447f569e70eb820f8da72e4998e3f6e96e554e37b799f17666ca168 8420 toybox_0.8.9+dfsg-1.3.debian.tar.xz
 2e32fd1699fa371d2ca30e2a171d777fd291b5295d807a5015a79340369cd315 5553 toybox_0.8.9+dfsg-1.3_source.buildinfo
Files:
 82d042ebc2a9a7dc3efdfe8978583ba1 1811 utils optional toybox_0.8.9+dfsg-1.3.dsc
 37d63f9096eeb07bfea690f37af45422 8420 utils optional toybox_0.8.9+dfsg-1.3.debian.tar.xz
 ef4181ad35c32fb1f20abbf999cc49c8 5553 utils optional toybox_0.8.9+dfsg-1.3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmrPd80QHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFCYpC/9MQe+Ce94TipZZZdtnGVQK1QiP/E+pOpiQ
mEUW2VrcPrEMhpYgCxfAon3cCMQJm8B5jIMngLFl8Lc1oFxZfdQ3SKWj7tGaosHa
3XctI2Efb1NoUQwefFuDLR1kON9uqtu3n10k28WOfl3Qy9INSFqg6vKWeEuGEs/Z
9eqv4iz5XCWZ8xzvbGoVFAlfvKRGnJ11M+Twtd5lLY2EWrBpK2pDq4r89AUiTUpM
CYMhXls3sWzVbkqJMWE1M+J7HUihqEmGlx/C5ZrjsTBPRWEFr47WBaBv/IqigF5u
u+iuU41oj9Xl/k3ByngR39MTjTR0mCTsGD6xK+G0K1I/0wl1h5BEaeQr3YEHbT2k
/d7A5UtjZukExqKuP1NmORFqc6hMJDx1ZkBUldoF/h1X3DzFtdB5ik2frSRufvSN
Mi69L+D5GwNnTTI5BZbG8XSAXuiQ8K1xfn89i5GpvFQ9/hpB9wjAU9xx41vcnAGz
My9wQghZS3FDh3UyGcKk+G0hhDtLN/s=
=4SNo
-----END PGP SIGNATURE-----

#1108539#32
Date:
2026-10-14 18:28:50 UTC
From:
To:
Actually, this is not fixed.