I can reproduce the failure manually now, in that test environment.
Saving the info here.
root@n-ccache:/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress#
/usr/bin/ssh -m hmac-sha2-512 -c aes128-ctr -F /tmp/andreas//regress/ssh_proxy
-o proxycommand="sudo env SSH_SK_HELPER= sh
/tmp/andreas//regress/sshd-log-wrapper.sh -i -f
/tmp/andreas//regress/sshd_proxy | /tmp/andreas//regress/modpipe -wm
xor:2900:1" -oServerAliveInterval=1 -oServerAliveCountMax=30 999.999.999.999
printf "%4096" " "
# cat ssh_proxy
Host *
Hostname 127.0.0.1
HostKeyAlias localhost-with-alias
Port 4242
User openssh-tests
GlobalKnownHostsFile
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/known_hosts
UserKnownHostsFile
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/known_hosts
PubkeyAuthentication yes
ChallengeResponseAuthentication no
PasswordAuthentication no
BatchMode yes
StrictHostKeyChecking yes
LogLevel DEBUG3
SecurityKeyProvider
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/misc/sk-dummy/sk-dummy.so
IdentityFile /tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/ssh-ed25519
IdentityFile
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/[email protected]
IdentityFile
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/ecdsa-sha2-nistp256
IdentityFile
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/ecdsa-sha2-nistp384
IdentityFile
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/ecdsa-sha2-nistp521
IdentityFile
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/[email protected]
IdentityFile /tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/ssh-dss
IdentityFile /tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/ssh-rsa
proxycommand sudo env SSH_SK_HELPER=""
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/sshd-log-wrapper.sh -i -f
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/sshd_proxy
# cat sshd-log-wrapper.sh
#!/bin/sh
timestamp="`/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/timestamp`"
logfile="/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/log/${timestamp}.sshd.$$.log"
rm -f /tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/sshd.log
touch $logfile
test -z "sudo" || chown openssh-tests $logfile
ln -f -s ${logfile}
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/sshd.log
echo "Executing: /usr/sbin/sshd $@" log ${logfile}
>>/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/regress.log
echo "Executing: /usr/sbin/sshd $@" >>${logfile}
exec /usr/sbin/sshd -E${logfile} "$@"
# cat sshd_proxy
StrictModes no
Port 4242
AddressFamily inet
ListenAddress 127.0.0.1
#ListenAddress ::1
PidFile
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/pidfile
AuthorizedKeysFile
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/authorized_keys_%u
LogLevel DEBUG3
AcceptEnv _XXX_TEST_*
AcceptEnv _XXX_TEST
Subsystem sftp /usr/lib/openssh/sftp-server
UsePAM yes
StrictModes no
StrictModes no
SecurityKeyProvider
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/misc/sk-dummy/sk-dummy.so
HostKey /tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/ssh-ed25519
HostKey
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/[email protected]
HostKey /tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/ecdsa-sha2-nistp256
HostKey /tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/ecdsa-sha2-nistp384
HostKey /tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/ecdsa-sha2-nistp521
HostKey
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/[email protected]
HostKey /tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/ssh-dss
HostKey /tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/ssh-rsa
Ciphers=aes128-ctr
MACs=hmac-sha2-512
I tried different values for the printf amount (4096, 2048, 16386). I also
increased the buffer size in the modpipe.c utility. Nothing like this helped.
I'm trying now to get rid of the modpipe intermediary, to see if that's the
thing getting in the way of the flow of data.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/2091943
Title:
OpenSSH autopkgtests do not like tilde character in its version string
(e.g. ~ppa1)
Status in openssh package in Ubuntu:
New
Bug description:
Starting with Noble, the openssh autopkgtest "regress" (specifically
"integrity.sh") fails when the version string contains a tilde
character, such as "~ppa1".
In such case, it would fail with a log like this:
"""
943s 15:17:52.628196592 O: [email protected]: expected 10 mac errors,
got 9
943s 15:17:52.643425013 O: test integrity: [email protected] @2900
973s 15:18:22.861245950 O: unexpected error mac [email protected] at
2900: Executing: /usr/bin/ssh -c [email protected] -F
/tmp/autopkgtest.IEqRfF/autopkgtest_tmp/user/regress/ssh_proxy -o
proxycommand=sudo env SSH_SK_HELPER= sh
/tmp/autopkgtest.IEqRfF/autopkgtest_tmp/user/regress/sshd-log-wrapper.sh -i -f
/tmp/autopkgtest.IEqRfF/autopkgtest_tmp/user/regress/sshd_proxy |
/tmp/autopkgtest.IEqRfF/autopkgtest_tmp/user/regress/modpipe -wm xor:2900:1
-oServerAliveInterval=1 -oServerAliveCountMax=30 999.999.999.999 printf
"%4096s" " ".Connection to UNKNOWN port 65535 timed out.
973s 15:18:22.873852332 O: test integrity: [email protected] @2901
974s 15:18:23.054367085 O: test integrity: [email protected] @2902
974s 15:18:23.233795263 O: test integrity: [email protected] @2903
974s 15:18:23.414326814 O: test integrity: [email protected] @2904
974s 15:18:23.593728032 O: test integrity: [email protected] @2905
974s 15:18:23.773737617 O: test integrity: [email protected] @2906
974s 15:18:23.953240316 O: test integrity: [email protected] @2907
975s 15:18:24.132768013 O: test integrity: [email protected] @2908
975s 15:18:24.314160170 O: test integrity: [email protected] @2909
975s 15:18:24.481575251 O: test integrity: 10 errors: mac 9 padding 0 length
0 timeout 0
975s 15:18:24.511336625 O: [email protected]: expected 10 mac errors,
got 9
975s 15:18:24.527543807 O: test integrity: [email protected] @2900
1005s 15:18:54.780404775 O: unexpected error mac
[email protected] at 2900: Executing: /usr/bin/ssh -c
[email protected] -F
/tmp/autopkgtest.IEqRfF/autopkgtest_tmp/user/regress/ssh_proxy -o
proxycommand=sudo env SSH_SK_HELPER= sh
/tmp/autopkgtest.IEqRfF/autopkgtest_tmp/user/regress/sshd-log-wrapper.sh -i -f
/tmp/autopkgtest.IEqRfF/autopkgtest_tmp/user/regress/sshd_proxy |
/tmp/autopkgtest.IEqRfF/autopkgtest_tmp/user/regress/modpipe -wm xor:2900:1
-oServerAliveInterval=1 -oServerAliveCountMax=30 999.999.999.999 printf
"%4096s" " ".Connection to UNKNOWN port 65535 timed out.
1005s 15:18:54.793199833 O: test integrity: [email protected]
@2901
1006s 15:18:54.974724705 O: test integrity: [email protected]
@2902
1006s 15:18:55.156217135 O: test integrity: [email protected]
@2903
1006s 15:18:55.338105249 O: test integrity: [email protected]
@2904
1006s 15:18:55.518876831 O: test integrity: [email protected]
@2905
1006s 15:18:55.702486443 O: test integrity: [email protected]
@2906
1006s 15:18:55.886914864 O: test integrity: [email protected]
@2907
1007s 15:18:56.072806620 O: test integrity: [email protected]
@2908
1007s 15:18:56.255436459 O: test integrity: [email protected]
@2909
1007s 15:18:56.426811377 O: test integrity: 10 errors: mac 9 padding 0 length
0 timeout 0
1007s 15:18:56.461882513 O: [email protected]: expected 10 mac
errors, got 9
1007s 15:18:56.462364399 E: make: *** [Makefile:252: t-exec] Error 1
1007s 15:18:56.463874215 O: failed integrity
1007s 15:18:56.466716165 O: make: Leaving directory
'/tmp/autopkgtest.IEqRfF/autopkgtest_tmp/user/regress'
1007s 15:18:56.468626306 O: ==>
/tmp/autopkgtest.IEqRfF/autopkgtest_tmp/user/regress/failed-regress.log <==
1007s 15:18:56.467685576 E: tail: error writing 'standard output': Resource
temporarily unavailable
1007s 15:18:56.470363804 E: tail: error writing 'standard output': Resource
temporarily unavailable
1007s 15:18:56.470451085 O: Executing: /usr/bin/ssh -Q key-plain log
/tmp/autopkgtest.IEqRfF/autopkgtest_tmp/user/regress/log/20241216T151643.962770.ssh.48972.log
1007s 15:18:56.471894741 O: Executing: /usr/bin/ssh -Q key-plain log
/tmp/autopkgtest.IEqRfF/autopkgtest_tmp/user/regress/log/20241216T151643.972077.ssh.48979.log
1007s 15:18:56.471892661 E: tail: error writing 'standard output': Resource
temporarily unavailable
"""
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2091943/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp