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] Closed: (HARMONY-1879) [drlvm][unit] org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest fails
Date Wed, 20 Jun 2007 11:38:26 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-1879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexei Fedotov closed HARMONY-1879.
-----------------------------------


The patch was applied correctly.

> [drlvm][unit] org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest
fails
> -------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-1879
>                 URL: https://issues.apache.org/jira/browse/HARMONY-1879
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: SLES 9.0/ia32
>            Reporter: Alexei Fedotov
>            Assignee: Alexey Petrenko
>         Attachments: HARMONY-1879-HttpURLConnectionTest(3).patch, HARMONY-1879-HttpURLConnectionTest.patch
>
>
> 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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message