harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tatyana doubtsova (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-1879) [drlvm][unit] org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest fails
Date Mon, 20 Nov 2006 13:57:05 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-1879?page=comments#action_12451308 ] 
            
tatyana doubtsova commented on HARMONY-1879:
--------------------------------------------

I also observe the problem on Win XP 50 times out of 50 while running  luni module in Other
VM mode:

$ ant -Dtest.jre.home=c:/users/tdoubtso/harmony/drlvm/trunk/build/win_ia32_msvc_debug/deploy/jre
-Dbuild.module=luni -Dhy.test.forkmode=perTest test 2>&1 | tee log_luni.txt

testUsingProxy Error localhost/127.0.0.1:3718 - Connection refused

java.net.ConnectException: localhost/127.0.0.1:3718 - Connection refused at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:224)
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:496) at java.net.Socket.connect(Socket.java:978)
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:630)
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:581)
at org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy(HttpURLConnectionTest.java:201)
at java.lang.reflect.VMReflection.invokeMethod(Native Method) 

testUsingProxySelector Error localhost/127.0.0.1:3720 - Connection refused

java.net.ConnectException: localhost/127.0.0.1:3720 - Connection refused at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:224)
at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:496) at java.net.Socket.connect(Socket.java:978)
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:627)
at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:608)
at org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxySelector(HttpURLConnectionTest.java:246)
at java.lang.reflect.VMReflection.invokeMethod(Native Method) 

> [drlvm][unit] org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest
fails
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1879
>                 URL: http://issues.apache.org/jira/browse/HARMONY-1879
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: SLES 9.0/ia32
>            Reporter: Alexei Fedotov
>
> The test fails from time to time. 
> $ while true; do ../drlvm/build/lnx_ia32_gcc_debug/deploy/jre/bin/java -cp modules/luni/bin/test:depends/jars/junit_3.8.2/junit.jar
junit.textui.TestRunner org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest;
done 2>&1 | tee http.log
> Here is output:
> ------------------------------------------
> There was 1 error:
> 1) testUsingProxy(org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest)java.net.ConnectException:
localhost/127.0.0.1:42670 - Connection refused
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:224)
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:496)
> 	at java.net.Socket.connect(Socket.java:978)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:630)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:581)
> 	at org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy(HttpURLConnectionTest.java:203)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> ------------------------------------------
> There were 2 errors:
> 1) testUsingProxy(org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest)java.net.ConnectException:
localhost/127.0.0.1:42703 - Connection refused
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:224)
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:496)
> 	at java.net.Socket.connect(Socket.java:978)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:630)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:581)
> 	at org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy(HttpURLConnectionTest.java:203)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 2) testUsingProxySelector(org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest)java.net.ConnectException:
localhost/127.0.0.1:42705 - Connection refused
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:224)
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:496)
> 	at java.net.Socket.connect(Socket.java:978)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:626)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:608)
> 	at org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxySelector(HttpURLConnectionTest.java:245)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> ------------------------------------------
> There were 2 errors:
> 1) testGetOutputStream(org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest)java.net.ConnectException:
localhost/127.0.0.1:43262 - Connection refused
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:224)
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:496)
> 	at java.net.Socket.connect(Socket.java:978)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:626)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:608)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:926)
> 	at org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testGetOutputStream(HttpURLConnectionTest.java:172)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 2) testUsingProxySelector(org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest)java.net.ConnectException:
localhost/127.0.0.1:43267 - Connection refused
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:224)
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:496)
> 	at java.net.Socket.connect(Socket.java:978)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:626)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:608)
> 	at org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxySelector(HttpURLConnectionTest.java:245)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> ------------------------------------------
> There were 2 errors:
> 1) testGetOutputStream(org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest)java.net.ConnectException:
localhost/127.0.0.1:43423 - Connection refused
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:224)
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:496)
> 	at java.net.Socket.connect(Socket.java:978)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:626)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:608)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:926)
> 	at org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testGetOutputStream(HttpURLConnectionTest.java:172)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 2) testUsingProxy(org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest)java.net.ConnectException:
localhost/127.0.0.1:43426 - Connection refused
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:224)
> 	at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java:496)
> 	at java.net.Socket.connect(Socket.java:978)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.getHTTPConnection(HttpURLConnection.java:630)
> 	at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:581)
> 	at org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy(HttpURLConnectionTest.java:203)
> 	at java.lang.reflect.VMReflection.invokeMethod(Native Method)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message