Hello!

Running autopkgtests on the latest inetutils version fails on Ubuntu.
(this is inetutils 2.6-4 from Debian).

Full log available:
https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-vhaudiquet-inetutils-lp2130124/resolute/amd64/i/inetutils/20251105_145814_d8bd2@/log.gz

The error seems to originate from the counting method of successes in
the script.
284s + test 36 -eq 33
284s + echo Registered 36 successes out of 33.
284s Registered 36 successes out of 33.
...
284s + [ 36 -eq 33 ]
284s + echo Failing some tests.
284s Failing some tests.

Maybe that is a real bug, and a message is really received twice where
it should not be, but maybe this is just a counting error in the test
script (IMHO that counting formula seems really complicated, and I'm
not sure I understand what is going on).
I tried to investigate more but am not familiar with the intrinsics of this.

Tracking merge bug (currently merging this version into Ubuntu from Debian):
https://bugs.launchpad.net/ubuntu/+source/inetutils/+bug/2130124

It seems that this specific test is skipped on Debian, which is why
they don't see the issue. If you have a fix, I can send it to Debian
too.

If you want to reproduce, running syslogd.sh test should be enough,
but it specifically happens on the latest version available here:
https://code.launchpad.net/~vhaudiquet/ubuntu/+source/inetutils/+git/inetutils/+ref/merge-lp2130124-resolute

Minimal reproducer (which needs git-ubuntu) :
apt install ubuntu-dev-tools net-tools gnulib libsystemd-dev
libreadline-dev libpam0g-dev libwrap0-dev libkrb5-dev
git clone -b merge-lp2130124-resolute
https://git.launchpad.net/~vhaudiquet/ubuntu/+source/inetutils
cd inetutils
git ubuntu export-orig
gbp buildpackage --git-ignore-branch


Tell me if you need more details or logs.
I can try to make a reproducer on a direct upstream build if needed,
and not inside autopkgtests.

Thank you !

--
Valentin Haudiquet
[email protected]

Reply via email to