OpenSSH 4.6p1 make tests fails

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I have installed openssh 4.6p1 on  a test system, but I won't use it
in production because make tests did not succesfully complete. The
error is below, but I don't know what it means. What is going on and
is this a real problem or just a diagnostic?

Build environment is opensuse  10.2.

Quoted text here. Click to load it

ok try ciphers
run test ...
ok yes pipe head
run test ...
ssh: connect to host port 4242: Connection refused

ssh connect after login grace timeout failed without privsep
failed connect after login grace timeout
make[1]: *** [t-exec] Error 1
make[1]: Leaving directory `/usr/src/openssh/openssh-4.6p1/regress'
make: *** [tests] Error 2

Re: OpenSSH 4.6p1 make tests fails

Quoted text here. Click to load it

It means that sshd did not start listening again after handling a timed-
out connection (one that connected but did not attempt to log in).

Quoted text here. Click to load it

That's hard to say.  Sometimes it can fail due to external factors (eg
system load) since some of the tests, like this one, are inherently racy.
Some of the tests (including this one) use listening ports and will fail
if the ports are busied out by something else (I don't think that's the
case here since it would have failed earlier in the test).

Unfortunately, the test scripts are pretty convoluted.  Most of the time
they work fine but when they don't it can be hard to debug.

In this kind of case I would normally add a "set -x" to the top of
the file and add an "exit" at the bottom of the "fatal"
function in the same file.  This will show you exactly what the scripts
ran and will leave everything (eg keys) in a state where you can rerun
the last command with more verbosity.

Quoted text here. Click to load it

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Site Timeline