Bug 174 - tcp_sigpipe test failure
tcp_sigpipe test failure
Status: RESOLVED FIXED
Product: unbound
Classification: Unclassified
Component: server
unspecified
i386 Linux
: P2 normal
Assigned To: unbound team
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-21 21:15 CEST by Jeffrey W. Baker
Modified: 2008-05-22 19:00 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey W. Baker 2008-05-21 21:15:58 CEST
While building unbound 1.0.0 on Ubuntu 8.04 (Linux squeak 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux), I noted a test suite failure.  

minitpkg extract tcp_sigpipe.tpkg to tcp_sigpipe.17731
minitpkg exe tcp_sigpipe
minitpkg exe tcp_sigpipe.pre
Warning: tcp_sigpipe.pre did not exit successfully
minitpkg exe tcp_sigpipe.test
tcp_sigpipe: FAILED
minitpkg exe tcp_sigpipe.post
tcp_sigpipe.post: line 10: kill: (17740) - No such process

and later:

!! FAILED !! : tcp_sigpipe

Expected behavior: all tests pass.
Comment 1 Wouter Wijngaards 2008-05-22 09:05:54 CEST
Could you provide the contents of testdata/result.tcp_sigpipe ?

Please note that the testsuite was not made to be portable everywhere, like the main daemon is. But it should run on Ubuntu without too much problems.
Comment 2 Jeffrey W. Baker 2008-05-22 18:47:36 CEST
Unfortunately while investigating this, I overwrote the result file with a successful run :-)  It seems that if there is no system ldns install, the test attempts to run ldns-testns from /home/wouter/bin.  When ldns is installed on the system, this test passes.

Comment 3 Wouter Wijngaards 2008-05-22 19:00:31 CEST
Aha. Thank you that /home/wouter is only supposed to be used inside our test rig. I fixed it so it checks for ldns-testns.

Thanks for your help, Wouter