[
https://issues.apache.org/jira/browse/BOOKKEEPER-523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539026#comment-13539026
]
Flavio Junqueira edited comment on BOOKKEEPER-523 at 12/23/12 1:22 PM:
-----------------------------------------------------------------------
I also got a hang on BookieFailureTest locally:
{noformat}
testAsyncBK4[5](org.apache.bookkeeper.test.BookieFailureTest)
Time elapsed: 60.122 sec <<< ERROR!
java.lang.Exception: test timed out after 60000 milliseconds
at java.lang.Object.wait(Native Method)
at
org.apache.bookkeeper.test.BookieFailureTest.auxTestReadWriteAsyncSingleClient
(BookieFailureTest.java:182)
at org.apache.bookkeeper.test.BookieFailureTest.testAsyncBK4
(BookieFailureTest.java:120)
{noformat}
I was not seeing this test failing before, is it a new issue?
I also got an out of memory error on TestReplicationWorker:
{noformat}
Running org.apache.bookkeeper.replication.TestReplicationWorker
Exception in thread "ThreadedStreamConsumer" java.lang.OutOfMemoryError: Java
heap space
at java.util.Arrays.copyOf
(Arrays.java:2882)
at java.lang.AbstractStringBuilder.expandCapacity
(AbstractStringBuilder.java:100)
at java.lang.AbstractStringBuilder.append
(AbstractStringBuilder.java:390)
at java.lang.StringBuffer.append
(StringBuffer.java:224)
at
org.apache.maven.surefire.report.ConsoleOutputFileReporter.writeMessage
(ConsoleOutputFileReporter.java:115)
at org.apache.maven.surefire.report.MulticastingReporter.writeMessage
(MulticastingReporter.java:101)
at org.apache.maven.surefire.report.TestSetRunListener.writeTestOutput
(TestSetRunListener.java:99)
at
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine
(ForkClient.java:132)
at
org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run
(ThreadedStreamConsumer.java:67)
at java.lang.Thread.run(Thread.java:680)
{noformat}
was (Author: fpj):
I also got a hang on BookieFailureTest locally:
{noformat}
testAsyncBK4[5](org.apache.bookkeeper.test.BookieFailureTest) Time elapsed:
60.122 sec <<< ERROR!
java.lang.Exception: test timed out after 60000 milliseconds
at java.lang.Object.wait(Native Method)
at
org.apache.bookkeeper.test.BookieFailureTest.auxTestReadWriteAsyncSingleClient(BookieFailureTest.java:182)
at
org.apache.bookkeeper.test.BookieFailureTest.testAsyncBK4(BookieFailureTest.java:120)
{noformat}
I was not seeing this test failing before, is it a new issue?
I also got an out of memory error on TestReplicationWorker:
{noformat}
Running org.apache.bookkeeper.replication.TestReplicationWorker
Exception in thread "ThreadedStreamConsumer" java.lang.OutOfMemoryError: Java
heap space
at java.util.Arrays.copyOf(Arrays.java:2882)
at
java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
at
java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
at java.lang.StringBuffer.append(StringBuffer.java:224)
at
org.apache.maven.surefire.report.ConsoleOutputFileReporter.writeMessage(ConsoleOutputFileReporter.java:115)
at
org.apache.maven.surefire.report.MulticastingReporter.writeMessage(MulticastingReporter.java:101)
at
org.apache.maven.surefire.report.TestSetRunListener.writeTestOutput(TestSetRunListener.java:99)
at
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:132)
at
org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:67)
at java.lang.Thread.run(Thread.java:680)
{noformat}
> Every test should have a timeout
> --------------------------------
>
> Key: BOOKKEEPER-523
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-523
> Project: Bookkeeper
> Issue Type: Bug
> Reporter: Ivan Kelly
> Assignee: Ivan Kelly
> Fix For: 4.2.0
>
> Attachments:
> 0002-BOOKKEEPER-523-Every-test-should-have-a-timeout.patch
>
>
> Otherwise it will run forever.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira