You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2016/02/29 15:10:18 UTC
[jira] [Created] (SLING-5570) Teleported tests fail with "Can't
assign requested address"
Bertrand Delacretaz created SLING-5570:
------------------------------------------
Summary: Teleported tests fail with "Can't assign requested address"
Key: SLING-5570
URL: https://issues.apache.org/jira/browse/SLING-5570
Project: Sling
Issue Type: Bug
Components: Testing
Reporter: Bertrand Delacretaz
Today we noticed integration tests failing with "Can't assign request address", for example:
* Start a Sling instance from launchpad/builder
* Add and start the testing/junit/core and launchpad/test-services bundles
* From the launchpad/integration-tests run the {{LdapFilterTeleporterTest}} using {{mvn clean test -Dhttp.port=8080 -Dtest=LdapFilterTeleporterTest}}
The test fails, at least most of the time, with:
{code}
testUppercase(org.apache.sling.launchpad.webapp.integrationtest.teleporter.LdapFilterTeleporterTest) Time elapsed: 0.012 sec <<< ERROR!
java.net.NoRouteToHostException: Can't assign requested address
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:382)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:241)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:228)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:431)
at java.net.Socket.connect(Socket.java:527)
at java.net.Socket.connect(Socket.java:476)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:424)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:538)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:214)
at sun.net.www.http.HttpClient.New(HttpClient.java:300)
at sun.net.www.http.HttpClient.New(HttpClient.java:319)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:987)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:923)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1031)
at org.apache.sling.testing.teleporter.client.MultipartAdapter.<init>(MultipartAdapter.java:42)
at org.apache.sling.testing.teleporter.client.TeleporterHttpClient.installBundle(TeleporterHttpClient.java:70)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)