Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- OpenSSH 4.6p1 make tests fails
March 14, 2007, 4:34 pm
rate this thread
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.
ok try ciphers
run test yes-head.sh ...
ok yes pipe head
run test login-timeout.sh ...
ssh: connect to host 127.0.0.1 port 4242: Connection refused
ssh connect after login grace timeout failed without privsep
failed connect after login grace timeout
make: *** [t-exec] Error 1
make: Leaving directory `/usr/src/openssh/openssh-4.6p1/regress'
make: *** [tests] Error 2
Re: OpenSSH 4.6p1 make tests fails
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).
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 test-exec.sh 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.
Darren Tucker (dtucker at zip.com.au)
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.
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum