Re: Bug#1129134: libssh2 - sshd tests fail - help requested

Peter Pentchev <[email protected]> Thu, 12 Mar 2026 17:52:08 +0200
Newsgroups gmane.linux.debian.devel.ssh
Message-ID <[email protected]>
On Thu, Mar 12, 2026 at 10:59:30AM -0400, Nicolas Mora wrote:
> Hello, thanks a lot for all your feedbacks!
> 
> Le 2026-03-10 à 19 h 16, Peter Pentchev a écrit :
> 
> > 
> > So installing the passwd package HIDES the truth from sshd, and
> > the tests pass because sshd simply doesn't know the account is locked :)
> > 
> > With that in mind, of course it is up to the libssh2 Debian package
> > maintainers to decide how to handle this. I still believe that disabling
> > the test at package build time and only running it as autopkgtest is
> > correct for the remrun package.
> > 
> I explicitly added openssh-server in builddep, because before that, sshd
> tests were executed if openssh-server was present in the build system, which
> lead to #1006379.
> 
> I have no problem disabling sshd tests in build but when you say enabling it
> in autopkgtest, I should install openssh-server and password during
> autopkgtest, won't the autopkgtest result be also a "happy accident?"

If you specify "needs-root" and "breaks-testbed", your autopkgtest is
free to create any user account it wants to, or to unlock any user account
it wants to use.

G'luck,
Peter

-- 
Peter Pentchev  [email protected] [email protected] [email protected]
PGP key:        https://www.ringlet.net/roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmmy4SMACgkQZR7vsCUn
3xO69A/9EBS7dt3l4dMbVHsVzkcHSmrxLOFqkPzSIzMoYFicJkedg9+GN5xxZu/q
KFcggvNQSosxD7yj+5Zxo3uGRlefIlQfTE8xIlPX1YxD+cq2uJGV9V0Tff7qF3jK
i6drTu2oTnT0SMrMQmbJ3y0y0txuEumEjp8JviY+E8WiGDyz7cdlfjeDIIYnKVzu
wTOegk1W/IGXtolech/6lIunYXW+755QEaH0cmv3wJuCOvyVJyT0Ty5mJ5OCHaIH
K2LPwKJ0J1/oZE2Xaov8VO7dlLH+2zuATfuh/PzO2gbWxCcpoqq9eeCHS0pbvhFl
2P//vp/Azwil1iByNjH50MZRa1ox1OYaIGRkZuqwiVs03nkZT4EYa1cVS/Mwuv6Y
8xuUq6vv0H4ItNW4vQoiy8PLObSly6QM5OI1xSPOGGw8XjZLjiNGjKB4GE57Ul2m
Pr2y2KjD9fLFhjConyywqJgfBgcFCFPSsa9/v5xcKbOLEFB5uq4wHoAcCJsAtNGk
PuhBrab/NdLEnhKf4F8LixqVM1WX1c5HzTKgsYvwD/NjFo6YW/IN8lGqOoNtAmOp
vjst2TT+0JoSB23qsZsce7P8XS6QVJK+xuzZW3znUQzwPiDX2gcu9MsWQm9VNHY0
jrwDpQOL/aBYoVTAAKETkGmld7tRCp9G/dhvTkmbzZNmzCUbins=
=ywsQ
-----END PGP SIGNATURE-----