dev@grizzly.java.net

Re: test failed on win7

From: Sebastien Dionne <survivant00_at_gmail.com>
Date: Wed, 11 Aug 2010 17:31:47 -0400

here the latest failure on Win7

<?xml version="1.0" encoding="UTF-8" ?>
<testsuite failures="1" time="189.087" errors="0" skipped="0" tests="40"
name="TestSuite">
  <properties>
    <property name="java.runtime.name" value="Java(TM) SE Runtime
Environment"/>
    <property name="sun.boot.library.path" value="c:\jdk\jre\bin"/>
    <property name="java.vm.version" value="17.0-b16"/>
    <property name="java.vm.vendor" value="Sun Microsystems Inc."/>
    <property name="java.vendor.url" value="http://java.sun.com/"/>
    <property name="path.separator" value=";"/>
    <property name="java.vm.name" value="Java HotSpot(TM) Client VM"/>
    <property name="file.encoding.pkg" value="sun.io"/>
    <property name="user.country" value="CA"/>
    <property name="sun.java.launcher" value="SUN_STANDARD"/>
    <property name="sun.os.patch.level" value=""/>
    <property name="java.vm.specification.name" value="Java Virtual Machine
Specification"/>
    <property name="user.dir"
value="C:\workspaces\workspace_grizzly\modules\http"/>
    <property name="java.runtime.version" value="1.6.0_21-b06"/>
    <property name="java.awt.graphicsenv"
value="sun.awt.Win32GraphicsEnvironment"/>
    <property name="basedir"
value="C:\workspaces\workspace_grizzly\modules\http"/>
    <property name="java.endorsed.dirs" value="c:\jdk\jre\lib\endorsed"/>
    <property name="os.arch" value="x86"/>
    <property name="surefire.real.class.path"
value="C:\Users\jerabi\AppData\Local\Temp\surefirebooter8688956579605105369.jar"/>
    <property name="java.io.tmpdir"
value="C:\Users\jerabi\AppData\Local\Temp\"/>
    <property name="line.separator" value="
"/>
    <property name="java.vm.specification.vendor" value="Sun Microsystems
Inc."/>
    <property name="user.variant" value=""/>
    <property name="os.name" value="Windows 7"/>
    <property name="javax.net.ssl.keyStore"
value="C:\workspaces\workspace_grizzly\modules\http\target\test-classes\ssltest-keystore.jks"/>
    <property name="sun.jnu.encoding" value="Cp1252"/>
    <property name="javax.net.ssl.keyStorePassword" value="changeit"/>
    <property name="java.library.path"
value="c:\jdk\jre\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;%JAVAHOME%\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth
Software\syswow64;C:\Program Files (x86)\Common Files\Lenovo;C:\Program
Files (x86)\Common Files\Ulead Systems\MPEG;C:\Program Files
(x86)\Lenovo\Access Connections\;c:\Program Files (x86)\Microsoft SQL
Server\90\Tools\binn\;C:\Program Files\TortoiseSVN\bin;C:;C:\Program Files
(x86)\CVSNT\;c:\maven\bin;c:\ant\bin;C:\Program
Files\TortoiseGit\bin;C:\jdk\bin;C:\Program Files
(x86)\QuickTime\QTSystem\;C:\Program Files\Intel\WiFi\bin\;C:\Program
Files\Common Files\Intel\WirelessCommon\;%JAVAHOME%\bin;C:\Program Files
(x86)\IDM Computer Solutions\UltraEdit\;C:\Program Files (x86)\Git\bin"/>
    <property name="surefire.test.class.path"
value="C:\workspaces\workspace_grizzly\modules\http\target\test-classes;C:\workspaces\workspace_grizzly\modules\http\target\classes;C:\workspaces\workspace_grizzly\modules\grizzly\target\grizzly-framework-1.9.19-SNAPSHOT.jar;C:\workspaces\workspace_grizzly\modules\utils\target\grizzly-utils-1.9.19-SNAPSHOT.jar;C:\workspaces\workspace_grizzly\extras\lzma\target\grizzly-lzma-1.9.19-SNAPSHOT.jar;C:\workspaces\workspace_grizzly\modules\rcm\target\grizzly-rcm-1.9.19-SNAPSHOT.jar;C:\workspaces\workspace_grizzly\modules\portunif\target\grizzly-portunif-1.9.19-SNAPSHOT.jar;C:\Users\jerabi\.m2\repository\junit\junit\4.7\junit-4.7.jar;C:\Users\jerabi\.m2\repository\org\testng\testng\5.10\testng-5.10-jdk15.jar;"/>
    <property name="javax.net.ssl.trustStore"
value="C:\workspaces\workspace_grizzly\modules\http\target\test-classes\ssltest-cacerts.jks"/>
    <property name="java.specification.name" value="Java Platform API
Specification"/>
    <property name="java.class.version" value="50.0"/>
    <property name="sun.management.compiler" value="HotSpot Client
Compiler"/>
    <property name="os.version" value="6.1"/>
    <property name="user.home" value="C:\Users\jerabi"/>
    <property name="user.timezone" value="America/New_York"/>
    <property name="java.awt.printerjob"
value="sun.awt.windows.WPrinterJob"/>
    <property name="java.specification.version" value="1.6"/>
    <property name="file.encoding" value="Cp1252"/>
    <property name="user.name" value="jerabi"/>
    <property name="java.class.path"
value="C:\workspaces\workspace_grizzly\modules\http\target\test-classes;C:\workspaces\workspace_grizzly\modules\http\target\classes;C:\workspaces\workspace_grizzly\modules\grizzly\target\grizzly-framework-1.9.19-SNAPSHOT.jar;C:\workspaces\workspace_grizzly\modules\utils\target\grizzly-utils-1.9.19-SNAPSHOT.jar;C:\workspaces\workspace_grizzly\extras\lzma\target\grizzly-lzma-1.9.19-SNAPSHOT.jar;C:\workspaces\workspace_grizzly\modules\rcm\target\grizzly-rcm-1.9.19-SNAPSHOT.jar;C:\workspaces\workspace_grizzly\modules\portunif\target\grizzly-portunif-1.9.19-SNAPSHOT.jar;C:\Users\jerabi\.m2\repository\junit\junit\4.7\junit-4.7.jar;C:\Users\jerabi\.m2\repository\org\testng\testng\5.10\testng-5.10-jdk15.jar;"/>
    <property name="java.vm.specification.version" value="1.0"/>
    <property name="sun.arch.data.model" value="32"/>
    <property name="java.home" value="c:\jdk\jre"/>
    <property name="java.specification.vendor" value="Sun Microsystems
Inc."/>
    <property name="user.language" value="fr"/>
    <property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
    <property name="java.vm.info" value="mixed mode, sharing"/>
    <property name="java.version" value="1.6.0_21"/>
    <property name="java.ext.dirs"
value="c:\jdk\jre\lib\ext;C:\Windows\Sun\Java\lib\ext"/>
    <property name="sun.boot.class.path"
value="c:\jdk\jre\lib\resources.jar;c:\jdk\jre\lib\rt.jar;c:\jdk\jre\lib\sunrsasign.jar;c:\jdk\jre\lib\jsse.jar;c:\jdk\jre\lib\jce.jar;c:\jdk\jre\lib\charsets.jar;c:\jdk\jre\classes"/>
    <property name="java.vendor" value="Sun Microsystems Inc."/>
    <property name="localRepository"
value="C:\Users\jerabi\.m2\repository"/>
    <property name="file.separator" value="\"/>
    <property name="java.vendor.url.bug" value="
http://java.sun.com/cgi-bin/bugreport.cgi"/>
    <property name="sun.cpu.endian" value="little"/>
    <property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
    <property name="javax.net.ssl.trustStorePassword" value="changeit"/>
    <property name="sun.desktop" value="windows"/>
    <property name="sun.cpu.isalist" value="pentium_pro+mmx pentium_pro
pentium+mmx pentium i486 i386 i86"/>
  </properties>
  <testcase time="0" classname="com.sun.grizzly.http.HttpRedirectorTest"
name="testHttpProtocolProcess"/>
  <testcase time="1.352" classname="com.sun.grizzly.http.HttpRedirectorTest"
name="testHttpsProtocolRedirect"/>
  <testcase time="2.644" classname="com.sun.grizzly.http.HttpRedirectorTest"
name="testHttpsProtocolProcess"/>
  <testcase time="3.743" classname="com.sun.grizzly.http.HttpRedirectorTest"
name="testHttpProtocolRedirect"/>
  <testcase time="3.807" classname="com.sun.grizzly.http.RedirectTest"
name="testRedirectWithHyperlink"/>
  <testcase time="4.821" classname="com.sun.grizzly.http.RedirectTest"
name="testRedirectWithInvalidHyperlink"/>
  <testcase time="104.91" classname="com.sun.grizzly.http.LongDownloadTest"
name="testDownload"/>
  <testcase time="111.063" classname="com.sun.grizzly.http.FileCacheTest"
name="testCache"/>
  <testcase time="112.132"
classname="com.sun.grizzly.http.RequestProcessingOverflowTest"
name="testLargeRequestURI">
    <failure message="Unable to read response from local test server:
java.net.SocketException: Connection reset"
type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError:
Unable to read response from local test server: java.net.SocketException:
Connection reset
    at junit.framework.Assert.fail(Assert.java:47)
    at
com.sun.grizzly.http.RequestProcessingOverflowTest.testLargeRequestURI(RequestProcessingOverflowTest.java:133)
</failure>
  </testcase>
  <testcase time="112.141"
classname="com.sun.grizzly.http.RequestProcessingOverflowTest"
name="testLargeRequestHeader"/>
  <testcase time="132.151" classname="com.sun.grizzly.http.KeepAliveTest"
name="testKeepAlive"/>
  <testcase time="148.206" classname="com.sun.grizzly.http.KeepAliveTest"
name="testKeepAliveSSL"/>
  <testcase time="149.222" classname="com.sun.grizzly.http.ArpSSLTest"
name="testSimplePacket"/>
  <testcase time="150.235"
classname="com.sun.grizzly.http.MultiReadSelectorThreadTest"
name="testSimplePacket"/>
  <testcase time="151.247"
classname="com.sun.grizzly.http.MultiReadSelectorThreadTest"
name="testSeveralPackets"/>
  <testcase time="152.266"
classname="com.sun.grizzly.http.AsyncHTTPResponseTest"
name="testHTTPSimpleAsyncResponse"/>
  <testcase time="153.383"
classname="com.sun.grizzly.http.AsyncHTTPResponseTest"
name="testHTTPSSimpleAsyncResponse"/>
  <testcase time="153.392" classname="com.sun.grizzly.http.ArpBasicTest"
name="testMultipleAsyncFilter"/>
  <testcase time="154.403"
classname="com.sun.grizzly.http.BasicSelectorThreadTest"
name="testKeepAliveTest"/>
  <testcase time="155.41"
classname="com.sun.grizzly.http.BasicSelectorThreadTest"
name="testMultipleBytesMimeHeaders"/>
  <testcase time="156.416"
classname="com.sun.grizzly.http.BasicSelectorThreadTest"
name="testKeepAliveNotFoundTest"/>
  <testcase time="156.421"
classname="com.sun.grizzly.http.BasicSelectorThreadTest"
name="testEphemeralPort"/>
  <testcase time="156.466"
classname="com.sun.grizzly.http.BasicSelectorThreadTest"
name="testHelloWorldGrizzlyAdapter"/>
  <testcase time="157.475" classname="com.sun.grizzly.http.GWSLoadTest"
name="testLoadAsync"/>
  <testcase time="158.481" classname="com.sun.grizzly.http.GWSLoadTest"
name="testLoadSynchronous"/>
  <testcase time="158.489"
classname="com.sun.grizzly.http.SelectorThreadStatsTest"
name="testKeepAliveConnection"/>
  <testcase time="158.497"
classname="com.sun.grizzly.http.SelectorThreadStatsTest"
name="testGetHits"/>
  <testcase time="159.506"
classname="com.sun.grizzly.http.PortUnificationTest"
name="testHttpPortUnification"/>
  <testcase time="160.633"
classname="com.sun.grizzly.http.GrizzlyRequestTest"
name="testGetUserPrincipalSSL"/>
  <testcase time="165.645"
classname="com.sun.grizzly.http.IdleHttpThreadTest"
name="testKillIdleThread"/>
  <testcase time="171.653"
classname="com.sun.grizzly.http.IdleHttpThreadTest"
name="testKeepAliveIdleConnection"/>
  <testcase time="176.66"
classname="com.sun.grizzly.http.IdleHttpThreadTest"
name="testKillLoopingWhileThread"/>
  <testcase time="181.668"
classname="com.sun.grizzly.http.IdleHttpThreadTest"
name="testKillBlockingQueueThread"/>
  <testcase time="181.676"
classname="com.sun.grizzly.http.ResponseFilterTest"
name="testResponseFilter"/>
  <testcase time="181.684"
classname="com.sun.grizzly.http.ResponseFilterTest"
name="testCompleteNewBCResponseFilter"/>
  <testcase time="181.69"
classname="com.sun.grizzly.http.ResponseFilterTest"
name="testComplexByteChunkManipulation"/>
  <testcase time="183.737"
classname="com.sun.grizzly.http.MultiReadSSLSelectorThreadTest"
name="testSimplePacket"/>
  <testcase time="185.827"
classname="com.sun.grizzly.http.MultiReadSSLSelectorThreadTest"
name="testSeveralPackets"/>
  <testcase time="186.854"
classname="com.sun.grizzly.http.ContentEncodingTest" name="testGzip"/>
  <testcase time="186.875"
classname="com.sun.grizzly.http.ContentEncodingTest" name="testLzma"/>
</testsuite>


Command line test Tests passed/Failed/Skipped:39/1/0 Started on:Wed Aug 11
17:16:38 EDT 2010 Total time:188 seconds (188725 ms) Included groups:
 Excluded groups:

*(Hover the method name to see the test class name)*

 *FAILED TESTS* *Test method* *Instance* *Time (seconds)* *Exception* *
testLargeRequestURI*
testLargeRequestURI(com.sun.grizzly.http.RequestProcessingOverflowTest)1

junit.framework.AssertionFailedError: Unable to read response from
local test server: java.net.SocketException: Connection reset
        at junit.framework.Assert.fail(Assert.java:47)
        at com.sun.grizzly.http.RequestProcessingOverflowTest.testLargeRequestURI(RequestProcessingOverflowTest.java:133)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)
        at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:155)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
... Removed 22 stack frames

Click to hide stack
frames<file:///C:/workspaces/workspace_grizzly/modules/http/target/surefire-reports/testng-junit-results/Command%20line%20suite/Command%20line%20test.html#>

junit.framework.AssertionFailedError: Unable to read response from
local test server: java.net.SocketException: Connection reset
        at junit.framework.Assert.fail(Assert.java:47)
        at com.sun.grizzly.http.RequestProcessingOverflowTest.testLargeRequestURI(RequestProcessingOverflowTest.java:133)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at org.testng.junit.JUnitTestRunner.doRun(JUnitTestRunner.java:244)
        at org.testng.junit.JUnitTestRunner.start(JUnitTestRunner.java:217)
        at org.testng.junit.JUnitTestRunner.run(JUnitTestRunner.java:205)
        at org.testng.TestRunner$2.run(TestRunner.java:546)
        at org.testng.TestRunner.runWorkers(TestRunner.java:759)
        at org.testng.TestRunner.privateRunJUnit(TestRunner.java:558)
        at org.testng.TestRunner.run(TestRunner.java:483)
        at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
        at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
        at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
        at org.testng.SuiteRunner.run(SuiteRunner.java:204)
        at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
        at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
        at org.testng.TestNG.run(TestNG.java:784)
        at org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:62)
        at org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute(TestNGDirectoryTestSuite.java:155)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

  *PASSED TESTS* *Test method* *Instance* *Time (seconds)* *Exception* *
testCache* testCache(com.sun.grizzly.http.FileCacheTest)6
 *testCompleteNewBCResponseFilter*
testCompleteNewBCResponseFilter(com.sun.grizzly.http.ResponseFilterTest)0
 *testComplexByteChunkManipulation*
testComplexByteChunkManipulation(com.sun.grizzly.http.ResponseFilterTest)0
 *testDownload* testDownload(com.sun.grizzly.http.LongDownloadTest)100
 *testEphemeralPort*
testEphemeralPort(com.sun.grizzly.http.BasicSelectorThreadTest)0
 *testGetHits* testGetHits(com.sun.grizzly.http.SelectorThreadStatsTest)0
 *testGetUserPrincipalSSL*
testGetUserPrincipalSSL(com.sun.grizzly.http.GrizzlyRequestTest)1
 *testGzip* testGzip(com.sun.grizzly.http.ContentEncodingTest)1
 *testHTTPSSimpleAsyncResponse*
testHTTPSSimpleAsyncResponse(com.sun.grizzly.http.AsyncHTTPResponseTest)1
 *testHTTPSimpleAsyncResponse*
testHTTPSimpleAsyncResponse(com.sun.grizzly.http.AsyncHTTPResponseTest)1
 *testHelloWorldGrizzlyAdapter*
testHelloWorldGrizzlyAdapter(com.sun.grizzly.http.BasicSelectorThreadTest)0
 *testHttpPortUnification*
testHttpPortUnification(com.sun.grizzly.http.PortUnificationTest)1
 *testHttpProtocolProcess*
testHttpProtocolProcess(com.sun.grizzly.http.HttpRedirectorTest)1
 *testHttpProtocolRedirect*
testHttpProtocolRedirect(com.sun.grizzly.http.HttpRedirectorTest)1
 *testHttpsProtocolProcess*
testHttpsProtocolProcess(com.sun.grizzly.http.HttpRedirectorTest)1
 *testHttpsProtocolRedirect*
testHttpsProtocolRedirect(com.sun.grizzly.http.HttpRedirectorTest)1
 *testKeepAlive* testKeepAlive(com.sun.grizzly.http.KeepAliveTest)20
 *testKeepAliveConnection*
testKeepAliveConnection(com.sun.grizzly.http.SelectorThreadStatsTest)0
 *testKeepAliveIdleConnection*
testKeepAliveIdleConnection(com.sun.grizzly.http.IdleHttpThreadTest)6
 *testKeepAliveNotFoundTest*
testKeepAliveNotFoundTest(com.sun.grizzly.http.BasicSelectorThreadTest)1
 *testKeepAliveSSL* testKeepAliveSSL(com.sun.grizzly.http.KeepAliveTest)16
 *testKeepAliveTest*
testKeepAliveTest(com.sun.grizzly.http.BasicSelectorThreadTest)1
 *testKillBlockingQueueThread*
testKillBlockingQueueThread(com.sun.grizzly.http.IdleHttpThreadTest)5
 *testKillIdleThread*
testKillIdleThread(com.sun.grizzly.http.IdleHttpThreadTest)5
 *testKillLoopingWhileThread*
testKillLoopingWhileThread(com.sun.grizzly.http.IdleHttpThreadTest)5
 *testLargeRequestHeader*
testLargeRequestHeader(com.sun.grizzly.http.RequestProcessingOverflowTest)0
 *testLoadAsync* testLoadAsync(com.sun.grizzly.http.GWSLoadTest)1
 *testLoadSynchronous* testLoadSynchronous(com.sun.grizzly.http.GWSLoadTest)
1
 *testLzma* testLzma(com.sun.grizzly.http.ContentEncodingTest)0
 *testMultipleAsyncFilter*
testMultipleAsyncFilter(com.sun.grizzly.http.ArpBasicTest)0
 *testMultipleBytesMimeHeaders*
testMultipleBytesMimeHeaders(com.sun.grizzly.http.BasicSelectorThreadTest)1
 *testRedirectWithHyperlink*
testRedirectWithHyperlink(com.sun.grizzly.http.RedirectTest)0
 *testRedirectWithInvalidHyperlink*
testRedirectWithInvalidHyperlink(com.sun.grizzly.http.RedirectTest)1
 *testResponseFilter*
testResponseFilter(com.sun.grizzly.http.ResponseFilterTest)0
 *testSeveralPackets*
testSeveralPackets(com.sun.grizzly.http.MultiReadSelectorThreadTest)1
 *testSeveralPackets*
testSeveralPackets(com.sun.grizzly.http.MultiReadSSLSelectorThreadTest)2
 *testSimplePacket* testSimplePacket(com.sun.grizzly.http.ArpSSLTest)1
 *testSimplePacket*
testSimplePacket(com.sun.grizzly.http.MultiReadSelectorThreadTest)1
 *testSimplePacket*
testSimplePacket(com.sun.grizzly.http.MultiReadSSLSelectorThreadTest)2