[Bug 3374] New: Test login-timeout fails nonedeterministically

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Dec 15 15:16:38 AEDT 2021


            Bug ID: 3374
           Summary: Test login-timeout fails nonedeterministically
           Product: Portable OpenSSH
           Version: 8.8p1
          Hardware: amd64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Regression tests
          Assignee: unassigned-bugs at mindrot.org
          Reporter: rose at rosekunkel.me

Created attachment 3558
  --> https://bugzilla.mindrot.org/attachment.cgi?id=3558&action=edit
Patch to increase the wait time to 20s

Running the test login-timeout.sh on my machine sometimes fails and
sometimes passes. There seems to be some variance in how long it takes
sshd to disconnect a client after it has timed out, and as a result the
second client sometimes attempts to connect before the first client has
been disconnected, which fails. Changing the wait time between the
first and second connections from 15 to 20 seconds makes the test pass
consistently. I've attached a patch making this change, but there may
be an underlying issue in sshd that needs to be fixed instead. I'm
happy to provide logs/system information/etc if that would be helpful.

You are receiving this mail because:
You are watching the assignee of the bug.

More information about the openssh-bugs mailing list