harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-1879) org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest fails
Date Mon, 16 Oct 2006 13:42:04 GMT
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