dev@grizzly.java.net

Re: Build failure on trunk

From: Changshin Lee <iasandcb_at_gmail.com>
Date: Sat, 24 Nov 2007 12:48:18 +0900

Hi,

I tried again and got the following message:

Running com.sun.grizzly.SSLAsyncQueueWriterTest
2007. 11. 24 ???? 11:25:18 com.sun.grizzly.SSLAsyncQueueWriterTest setUp
????: SSL certs path: /Volumes/FLASHBACK/workspace/grizzly/modules/
grizzly/target/test-classes/ssltest-cacerts.jks
2007. 11. 24 ???? 11:25:19 com.sun.grizzly.SSLAsyncQueueWriterTest setUp
????: SSL keystore path: /Volumes/FLASHBACK/workspace/grizzly/modules/
grizzly/target/test-classes/ssltest-keystore.jks
java.io.IOException: Connection reset by peer
        at sun.nio.ch.FileDispatcher.read0(Native Method)
        at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
        at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
        at sun.nio.ch.IOUtil.read(IOUtil.java:206)
        at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)
        at
com
.sun.grizzly.SSLConnectorHandler.doReadAsync(SSLConnectorHandler.java:
867)
        at com.sun.grizzly.SSLConnectorHandler.read(SSLConnectorHandler.java:
466)
        at com.sun.grizzly.SSLAsyncQueueWriterTest
$3.onRead(SSLAsyncQueueWriterTest.java:266)
        at
com.sun.grizzly.SSLConnectorHandler.onRead(SSLConnectorHandler.java:828)
        at
com
.sun
.grizzly
.CallbackHandlerContextTask.call(CallbackHandlerContextTask.java:62)
        at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
2007. 11. 24 ???? 11:25:21 com.sun.grizzly.async.TCPAsyncQueueWriter
onWrite
?ɰ?: Exception occured when executing asynchronous queue writing
java.nio.channels.AsynchronousCloseException
        at
java
.nio
.channels
.spi
.AbstractInterruptibleChannel.end(AbstractInterruptibleChannel.java:185)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:309)
        at
com
.sun
.grizzly.async.TCPAsyncQueueWriter.doWrite(TCPAsyncQueueWriter.java:303)
        at
com
.sun
.grizzly.async.TCPAsyncQueueWriter.doWrite(TCPAsyncQueueWriter.java:292)
        at
com
.sun
.grizzly.async.TCPAsyncQueueWriter.onWrite(TCPAsyncQueueWriter.java:178)
        at
com
.sun
.grizzly
.async
.AsyncQueueWriterContextTask.call(AsyncQueueWriterContextTask.java:65)
        at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
2007. 11. 24 ???? 11:25:51 com.sun.grizzly.SSLAsyncQueueWriterTest
testSeveralPackets
????: EXPECTED SIZE: 26000
2007. 11. 24 ???? 11:25:51 com.sun.grizzly.SSLAsyncQueueWriterTest
testSeveralPackets

..

2007. 11. 24 ???? 11:25:51 com.sun.grizzly.SSLAsyncQueueWriterTest
testSeveralPackets
????: READBB: java.nio.HeapByteBuffer[pos=22646 lim=22646 cap=42660]
2007. 11. 24 ???? 11:25:51 com.sun.grizzly.SSLAsyncQueueWriterTest
testSeveralPackets
????: LATCH: 1
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 32.509
sec <<< FAILURE!

Thanks,

ias

2007. 11. 23, 오후 10:11, Oleksiy Stashok 작성:

> Hello,
>
> please try it again.
>
> WBR,
> Alexey.
>
> Changshin Lee wrote:
>> Hi,
>>
>> Thanks for the fix, but "mvn" still fails on Mac with the following
>> message:
>>
>> 007. 11. 23 ???? 12:43:06 com.sun.grizzly.async.TCPAsyncQueueWriter
>> onWrite
>> ?ɰ?: Exception occured when executing asynchronous queue writing
>> java.nio.channels.ClosedChannelException
>> at
>> sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:
>> 125)
>> at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:294)
>> at
>> com
>> .sun
>> .grizzly.async.TCPAsyncQueueWriter.doWrite(TCPAsyncQueueWriter.java:
>> 301)
>> at
>> com
>> .sun
>> .grizzly.async.TCPAsyncQueueWriter.doWrite(TCPAsyncQueueWriter.java:
>> 290)
>> at
>> com
>> .sun
>> .grizzly.async.TCPAsyncQueueWriter.onWrite(TCPAsyncQueueWriter.java:
>> 178)
>> at
>> com
>> .sun
>> .grizzly
>> .async
>> .AsyncQueueWriterContextTask.call(AsyncQueueWriterContextTask.java:
>> 65)
>> at
>> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
>> 2007. 11. 23 ???? 12:43:36 com.sun.grizzly.SSLAsyncQueueWriterTest
>> testSeveralPackets
>> ????: EXPECTED SIZE: 26000
>>
>> ...
>>
>> 007. 11. 23 ???? 12:43:36 com.sun.grizzly.async.TCPAsyncQueueWriter
>> onWrite
>> ?ɰ?: Exception occured when executing asynchronous queue writing
>> java.nio.channels.AsynchronousCloseException
>> at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:312)
>> at
>> com
>> .sun
>> .grizzly.async.TCPAsyncQueueWriter.doWrite(TCPAsyncQueueWriter.java:
>> 301)
>> at
>> com
>> .sun
>> .grizzly.async.TCPAsyncQueueWriter.doWrite(TCPAsyncQueueWriter.java:
>> 290)
>> at
>> com
>> .sun
>> .grizzly.async.TCPAsyncQueueWriter.onWrite(TCPAsyncQueueWriter.java:
>> 178)
>> at
>> com
>> .sun
>> .grizzly
>> .async
>> .AsyncQueueWriterContextTask.call(AsyncQueueWriterContextTask.java:
>> 65)
>> at
>> com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179)
>> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
>> 31.651 sec <<< FAILURE!
>>
>>
>> Cheers,
>>
>> ias
>> 2007. 11. 23, 오전 2:56, Oleksiy Stashok 작성:
>>
>>> This was a bug in Unit tests.
>>> Fixed.
>>>
>>> WBR,
>>> Alexey.
>>>
>>> Oleksiy Stashok wrote:
>>>> I see this happened also on local Hudson.
>>>> Need to investigate...
>>>>
>>>> WBR,
>>>> Alexey.
>>>>
>>>> Jeanfrancois Arcand wrote:
>>>>> Hi,
>>>>>
>>>>> Changshin Lee wrote:
>>>>>> Hi all,
>>>>>>
>>>>>> I tried to build the trunk on Mac OS X 10.5 JDK 1.5.0_13 and
>>>>>> got the following error:
>>>>>>
>>>>>> ...
>>>>>>
>>>>>> Running com.sun.grizzly.DefaultControllerTest
>>>>>> Exception in thread "Thread-56" java.lang.OutOfMemoryError:
>>>>>> unable to create new native thread
>>>>>> at java.lang.Thread.start0(Native Method)
>>>>>> at java.lang.Thread.start(Thread.java:592)
>>>>>> at com.sun.grizzly.Controller.initReadThreads(Controller.java:
>>>>>> 933)
>>>>>> at com.sun.grizzly.Controller.start(Controller.java:825)
>>>>>> at com.sun.grizzly.Controller.run(Controller.java:696)
>>>>>> at java.lang.Thread.run(Thread.java:613)
>>>>>>
>>>>>> I adjusted MAVEN_OPTS with -Xmx1g but didn't work either.
>>>>>
>>>>> I don't get that exception. Which platform are you using?
>>>>>
>>>>> Thanks
>>>>>
>>>>> -- Jeanfrancois
>>>>>
>>>>>>
>>>>>> Thanks for your help in advance,
>>>>>>
>>>>>> ias
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>