Other bits about the banner, from the logs. I don't see anything
obviously truncated:

16:53:44.527442099 O: debug1: Local version string SSH-2.0-OpenSSH_9.6p1 
Ubuntu-3ubuntu13.11+ccache2
16:53:44.528835039 O: debug1: Remote protocol version 2.0, remote software 
version OpenSSH_9.6p1 Ubuntu-3ubuntu13.11+ccache2
16:53:44.530280132 O: debug1: compat_banner: match: OpenSSH_9.6p1 
Ubuntu-3ubuntu13.11+ccache2 pat OpenSSH* compat 0x04000000


The server logs look happy, I was not able to spot an obvious problem. Some 
snippets:


16:53:44.791772945 O: ==> 
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/failed-sshd.log <==
16:53:44.793780839 O: Executing: /usr/sbin/sshd -i -f 
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/sshd_proxy
...
16:53:45.084249374 O: Accepted key ED25519 
SHA256:GaNBm0jKEm5khuEZBageIYnrgkpeGFi9+THdb+NfsAg found at 
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/authorized_keys_openssh-tests:1
...
16:53:45.104184938 O: Postponed publickey for openssh-tests from UNKNOWN port 
65535 ssh2 [preauth]
...
16:53:45.108405093 O: debug1: userauth-request for user openssh-tests service 
ssh-connection method [email protected] [preauth]
...
16:53:45.177265163 O: Accepted publickey for openssh-tests from UNKNOWN port 
65535 ssh2: ED25519 SHA256:GaNBm0jKEm5khuEZBageIYnrgkpeGFi9+THdb+NfsAg
...
16:53:45.214089006 O: debug1: PAM: establishing credentials
16:53:45.216001412 O: debug3: PAM: opening session
...
16:53:45.266099637 O: debug1: active: key options: agent-forwarding 
port-forwarding pty user-rc x11-forwarding
16:53:45.269041783 O: debug3: sending debug message: 
/tmp/autopkgtest.mlareh/autopkgtes16:53:45.272714333 I: Finished with exitcode 2
Synchronizing state of haveged.service with SysV service script with 
/usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install disable haveged
Removed "/etc/systemd/system/sysinit.target.wants/haveged.service".
info: Looking for files to backup/remove ...
info: Removing files ...
info: Removing crontab ...
info: Removing user `openssh-tests' ...
autopkgtest [13:53:46]: test regress: -----------------------]
regress              FAIL non-zero exit status 2


There seems to be a truncation of some sort in the last debug3 message: 
"sending debug message". But looks like the user was authenticated, and PAM was 
granting them a session.

I got a hold of the actual sshd logs, and the truncation is not there.
But I also don't see anything obvious being wrong:

debug1: active: key options: agent-forwarding port-forwarding pty user-rc 
x11-forwarding^M
debug3: sending debug message: 
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/authorized_keys_openssh-tests:1:
 key options: agent-forwarding port-forwarding pty user-rc x11-forwarding^M
debug3: send packet: type 4^M
debug3: sending debug message: 
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/authorized_keys_openssh-tests:1:
 key options: agent-forwarding port-forwarding pty user-rc x11-forwarding^M
debug3: send packet: type 4^M
debug1: Entering interactive session for SSH2.^M
debug1: server_init_dispatch^M
Connection closed by UNKNOWN port 65535^M
debug1: do_cleanup^M
debug3: PAM: sshpam_thread_cleanup entering^M
debug1: temporarily_use_uid: 1002/1002 (e=1002/1002)^M
debug1: restore_uid: (unprivileged)^M
Transferred: sent 4512, received 2776 bytes^M
Closing connection to UNKNOWN port 65535^M
debug3: mm_audit_event entering^M
debug3: mm_request_send: entering, type 112^M
debug3: mm_request_send: entering, type 50^M
debug3: mm_request_receive: entering^M
debug3: monitor_read: checking request 112^M
debug3: mm_answer_audit_event entering^M
debug3: mm_request_receive: entering^M
debug3: monitor_read: checking request 50^M
debug3: mm_answer_term: tearing down sessions^M
debug1: PAM: cleanup^M
debug1: PAM: closing session^M
debug1: PAM: deleting credentials^M
FAIL: unexpected error mac hmac-sha2-512 at 2900: Executing: /usr/bin/ssh -m 
hmac-sha2-512 -c aes128-ctr -F 
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/ssh_proxy -o 
proxycommand=sudo env SSH_SK_HELPER= sh 
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/sshd-log-wrapper.sh -i -f 
/tmp/autopkgtest.mlareh/autopkgtest_tmp/user/regress/sshd_proxy | 
/tmp/autopkgtest.mlareh/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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2091943

Title:
  OpenSSH autopkgtests do not like tilde character in its version string
  (e.g. ~ppa1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2091943/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to