2011/4/27 Nicolas Lalevée <nicolas.lale...@hibnet.org>: > I could only reproduce the apply-test failing locally (on a mac). > The following command line got me more info about what's happening: > ant -lib lib/optional/ant-antunit-1.1.jar antunit-report > -Dantunit.testcase=taskdefs/exec/apply-test.xml -Dantunit.loglevel=info > > In the output I can see these lines: > [au:antunit] error at LeadPipeInputStream.read(): Pipe broken > [au:antunit] z after y after blah > [au:antunit] error at LeadPipeInputStream.read(): Pipe broken > [au:antunit] x after y after blah > > Not sure what to conclude from that since I'm not yet familiar with what > LeadPipeInputStream does. At a first glance I would say that we could > interpret that if the pipe is broken, then the "writing Thread is no longer > alive", which would be basically be a nominal case and not an error one ? >
If it helps, LeadPipeInputStream (a poor pun) is intended to replace the java.io.PipedInputStream to recover from "writing thread is no longer alive" errors, because often there is data remaining to be read when the writer has already sent all he had to send, then terminated. Matt > Nicolas > > Le 23 avr. 2011 à 22:48, Antoine Levy Lambert a écrit : > >> We currently have two antunit tests failing in gump. >> I am looking into this, I am trying my luck at installing virtualbox on my >> MacBook. >> >> Regards, >> >> Antoine >> >> [au:antunit] Build File: >> /srv/gump/public/workspace/ant/src/tests/antunit/taskdefs/exec/exec-test.xml >> [au:antunit] Tests run: 30, Failures: 1, Errors: 0, Time elapsed: 32.748 sec >> [au:antunit] Target: >> test-redirector-input-output-inputencoding-outputencoding FAILED >> [au:antunit] at line 552, column 24 >> [au:antunit] Message: Assertion failed >> [au:antunit] took 1.428 sec >> [au:antunit] Build File: >> /srv/gump/public/workspace/ant/src/tests/antunit/taskdefs/exec/apply-test.xml >> [au:antunit] Tests run: 30, Failures: 1, Errors: 0, Time elapsed: 98.754 sec >> [au:antunit] Target: testRedirector14 FAILED >> [au:antunit] at line 611, column 76 >> [au:antunit] Message: Expected log to contain 'z after y after blahx >> after y after blah' at level info >> [au:antunit] took 3.269 sec >> >> >> On 4/23/11 8:27 AM, Gump Integration Build wrote: >>> >>> Full details are available at: >>> http://vmgump.apache.org/gump/public/ant/test-ant-no-xerces/index.html >>> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org >> For additional commands, e-mail: dev-h...@ant.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org