dev@grizzly.java.net

Re: Grizzly trunk build fails in module http

From: Survivant 00 <survivant00_at_gmail.com>
Date: Mon, 23 Feb 2009 13:31:57 -0500

I wasn't able to reproduce the 3 tests that failed.. don't know why.. but
here the logs

-------------------------------------------------------------------------------
Test set: com.sun.grizzly.http.MapperTest
-------------------------------------------------------------------------------
Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 31.172 sec
<<< FAILURE!
testComplexMapping(com.sun.grizzly.http.MapperTest) Time elapsed: 30.016
sec <<< FAILURE!
junit.framework.ComparisonFailure: expected:<[/a/b/c/*.html]> but was:<[]>
    at junit.framework.Assert.assertEquals(Assert.java:81)
    at junit.framework.Assert.assertEquals(Assert.java:87)
    at
com.sun.grizzly.http.MapperTest.testComplexMapping(MapperTest.java:104)


-------------------------------------------------------------------------------
Test set: com.sun.grizzly.http.GrizzlyWebServerTest
-------------------------------------------------------------------------------
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 4.218 sec
<<< FAILURE!
testStartContract(com.sun.grizzly.http.GrizzlyWebServerTest) Time elapsed:
1.016 sec <<< FAILURE!
junit.framework.AssertionFailedError: Should throw exception that can't bind
to port.
    at junit.framework.Assert.fail(Assert.java:47)
    at
com.sun.grizzly.http.GrizzlyWebServerTest.testStartContract(GrizzlyWebServerTest.java:171)




2009/2/23 Jeanfrancois Arcand <Jeanfrancois.Arcand_at_sun.com>

>
>
> Oleksiy Stashok wrote:
>
>> Sebastien, I think I know which machine should become Hudson slave for
>> Grizzly builds :)))
>>
>> I just updated and 3 tests failed.
>>>
>>> Failed tests:
>>> testStartContract(com.sun.grizzly.http.GrizzlyWebServerTest)
>>> testWrongMapping(com.sun.grizzly.http.MapperTest)
>>> testComplexMapping(com.sun.grizzly.http.MapperTest)
>>>
>> Jeanfrancois, do you have any idea on this?
>>
>
> Can you post the log? I guess it fail only in win32 as Linux works for me.
>
> Thanks
>
> --Jeanfrancois
>
>
>
>> Thanks.
>>
>> WBR,
>> Alexey.
>>
>>
>>>
>>> Tests run: 11, Failures: 3, Errors: 0, Skipped: 0
>>>
>>>
>>>
>>>
>>> 2009/2/23 Oleksiy Stashok <Oleksiy.Stashok_at_sun.com <mailto:
>>> Oleksiy.Stashok_at_sun.com>>
>>>
>>> this issue is not 100% reproducable, the test didn't fail for all
>>> runs.
>>>
>>> WBR,
>>> Alexey.
>>>
>>> On Feb 23, 2009, at 18:37 , Survivant 00 wrote:
>>>
>>> my question is why Hudson didn't report it ?
>>>>
>>>>
>>>>
>>>> 2009/2/23 Oleksiy Stashok <Oleksiy.Stashok_at_sun.com
>>>> <mailto:Oleksiy.Stashok_at_sun.com>>
>>>>
>>>>
>>>> You're right, I was also able to reproduce this...
>>>> It should be fixed now.
>>>>
>>>> Thanks.
>>>>
>>>> WBR,
>>>> Alexey.
>>>>
>>>> On Feb 23, 2009, at 15:09 , Survivant 00 wrote:
>>>>
>>>> got a error on Windows XP too.
>>>>>
>>>>> Tests in error:
>>>>>
>>>>> testHTTPSSimpleAsyncResponse(com.sun.grizzly.http.AsyncHTTPResponseTest)
>>>>>
>>>>> testSuspendTimeoutCompletionHandlerGrizzlyAdapter(com.sun.grizzly.http.Suspend
>>>>> Test)
>>>>>
>>>>> Tests run: 33, Failures: 0, Errors: 2, Skipped: 0
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------------------------------
>>>>> Test set: com.sun.grizzly.http.AsyncHTTPResponseTest
>>>>>
>>>>> -------------------------------------------------------------------------------
>>>>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time
>>>>> elapsed: 6.235 sec <<< FAILURE!
>>>>>
>>>>> testHTTPSSimpleAsyncResponse(com.sun.grizzly.http.AsyncHTTPResponseTest)
>>>>> Time elapsed: 2.844 sec <<< ERROR!
>>>>> javax.net.ssl.SSLException: Unsupported record version
>>>>> Unknown-0.0
>>>>> at
>>>>>
>>>>> com.sun.net.ssl.internal.ssl.InputRecord.readV3Record(InputRecord.java:375)
>>>>> at
>>>>>
>>>>> com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:360)
>>>>> at
>>>>>
>>>>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789)
>>>>> at
>>>>>
>>>>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:746)
>>>>> at
>>>>>
>>>>> com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
>>>>> at
>>>>> java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
>>>>> at
>>>>> java.io.BufferedInputStream.read(BufferedInputStream.java:317)
>>>>> at sun.net <http://sun.net>.www.MeteredStream.read
>>>>> <http://www.MeteredStream.read>(MeteredStream.java:116)
>>>>> at
>>>>> java.io.FilterInputStream.read(FilterInputStream.java:116)
>>>>> at sun.net
>>>>> <http://sun.net>.www.protocol.http.HttpURLConnection
>>>>> <http://www.protocol.http.HttpURLConnection
>>>>> >$HttpInputStream.read(HttpURLConnection.java:2446)
>>>>> at
>>>>>
>>>>> com.sun.grizzly.http.AsyncHTTPResponseTest.testHTTPSSimpleAsyncResponse(AsyncHTTPResponseTest.java:155)
>>>>>
>>>>>
>>>>>
>>>>> 2009/2/23 Oleksiy Stashok <Oleksiy.Stashok_at_sun.com
>>>>> <mailto:Oleksiy.Stashok_at_sun.com>>
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> do you see this issue each time you build Grizzly?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> WBR,
>>>>> Alexey.
>>>>>
>>>>> On Feb 23, 2009, at 13:29 , Schmidt Matthias wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I did a fresh checkout of grizzly (svn 2521) and
>>>>> tried to build it on Mac OSX 10.5.6 using java
>>>>> 1.5.0_16 and maven 2.0.6.
>>>>>
>>>>> It fails with this:
>>>>>
>>>>> Tests in error:
>>>>>
>>>>> testHTTPSSimpleAsyncResponse(com.sun.grizzly.http.AsyncHTTPResponseTest)
>>>>>
>>>>> Tests run: 33, Failures: 0, Errors: 1, Skipped: 0
>>>>>
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] BUILD FAILURE
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] There are test failures.
>>>>>
>>>>> Please refer to
>>>>>
>>>>> /src/grizzly/code/modules/http/target/surefire-reports
>>>>> for the individual test results.
>>>>> [INFO]
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Trace
>>>>> org.apache.maven.BuildFailureException: There
>>>>> are test failures.
>>>>>
>>>>>
>>>>>
>>>>> Here's the file:
>>>>>
>>>>> schmidtm_at_kasimir
>>>>> :/src/grizzly/code/modules/http/target/surefire-reports
>>>>> $ more
>>>>> com.sun.grizzly.http.AsyncHTTPResponseTest.txt
>>>>>
>>>>> -------------------------------------------------------------------------------
>>>>> Test set: com.sun.grizzly.http.AsyncHTTPResponseTest
>>>>>
>>>>> -------------------------------------------------------------------------------
>>>>> Tests run: 2, Failures: 0, Errors: 1, Skipped:
>>>>> 0, Time elapsed: 5.148 sec <<< FAILURE!
>>>>>
>>>>> testHTTPSSimpleAsyncResponse(com.sun.grizzly.http.AsyncHTTPResponseTest)
>>>>> Time elapsed: 2.108 sec <<< ERROR!
>>>>> javax.net.ssl.SSLException: Unsupported record
>>>>> version Unknown-0.0
>>>>> at
>>>>>
>>>>> com.sun.net.ssl.internal.ssl.InputRecord.readV3Record(InputRecord.java:375)
>>>>> at
>>>>>
>>>>> com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:360)
>>>>> at
>>>>>
>>>>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:723)
>>>>> at
>>>>>
>>>>> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:680)
>>>>> at
>>>>>
>>>>> com.sun.net.ssl.internal.ssl.AppInputStream.read(AppInputStream.java:75)
>>>>> at
>>>>>
>>>>> java.io.BufferedInputStream.read1(BufferedInputStream.java:254)
>>>>> at
>>>>>
>>>>> java.io.BufferedInputStream.read(BufferedInputStream.java:313)
>>>>> at sun.net
>>>>> <http://sun.net>.www.MeteredStream.read
>>>>> <http://www.MeteredStream.read
>>>>> >(MeteredStream.java:116)
>>>>> at
>>>>>
>>>>> java.io.FilterInputStream.read(FilterInputStream.java:111)
>>>>> at sun.net
>>>>> <http://sun.net
>>>>> >.www.protocol.http.HttpURLConnection
>>>>> <http://www.protocol.http.HttpURLConnection
>>>>> >$HttpInputStream.read(HttpURLConnection.java:2196)
>>>>> at
>>>>>
>>>>> com.sun.grizzly.http.AsyncHTTPResponseTest.testHTTPSSimpleAsyncResponse(AsyncHTTPResponseTest.java:155)
>>>>>
>>>>>
>>>>>
>>>>> Can you guys give me a helping hand here?
>>>>>
>>>>> cheers,
>>>>>
>>>>> Matthias
>>>>>
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------------
>>>>> Matthias Schmidt Tel :
>>>>> (++49) 6227 356 236
>>>>> Sun Microsystems GmbH Fax :
>>>>> (++49) 6227 356 222
>>>>> Altrottstr. 31
>>>>> D-69190 Walldorf Mobil :
>>>>> (++49) 171 5767209
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail:
>>>>> dev-unsubscribe_at_grizzly.dev.java.net
>>>>> <mailto:dev-unsubscribe_at_grizzly.dev.java.net>
>>>>> For additional commands, e-mail:
>>>>> dev-help_at_grizzly.dev.java.net
>>>>> <mailto:dev-help_at_grizzly.dev.java.net>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail:
>>>>> dev-unsubscribe_at_grizzly.dev.java.net
>>>>> <mailto:dev-unsubscribe_at_grizzly.dev.java.net>
>>>>> For additional commands, e-mail:
>>>>> dev-help_at_grizzly.dev.java.net
>>>>> <mailto: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
>
>