You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Aldrin Piri (JIRA)" <ji...@apache.org> on 2016/04/10 19:06:25 UTC

[jira] [Created] (NIFI-1749) Test failures when building without access to internet

Aldrin Piri created NIFI-1749:
---------------------------------

             Summary: Test failures when building without access to internet
                 Key: NIFI-1749
                 URL: https://issues.apache.org/jira/browse/NIFI-1749
             Project: Apache NiFi
          Issue Type: Bug
          Components: Tools and Build
    Affects Versions: 0.6.0
            Reporter: Aldrin Piri
            Priority: Minor


Given the needed dependencies within the Maven local repository, some tests will fail without access to the Internet.

{code}
testCSSSelectorSyntaxValidator(org.apache.nifi.TestGetHTMLElement)  Time elapsed: 0.947 sec  <<< ERROR!
java.net.UnknownHostException: www.google.com
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
	at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
	at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
	at sun.net.www.http.HttpClient.New(HttpClient.java:308)
	at sun.net.www.http.HttpClient.New(HttpClient.java:326)
	at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1169)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1105)
	at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:999)
	at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:933)
	at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:512)
	at org.jsoup.helper.HttpConnection$Response.execute(HttpConnection.java:493)
	at org.jsoup.helper.HttpConnection.execute(HttpConnection.java:205)
	at org.jsoup.helper.HttpConnection.get(HttpConnection.java:194)
	at org.jsoup.Jsoup.parse(Jsoup.java:183)
	at org.apache.nifi.TestGetHTMLElement.testCSSSelectorSyntaxValidator(TestGetHTMLElement.java:49)
{code}

{quote}
DeleteDynamoDBTest.testStringHashStringRangeDeleteOnlyHashFailure:89 null
GetDynamoDBTest.testStringHashStringRangeGetOnlyHashFailure:421 null
PutDynamoDBTest.testStringHashStringRangePutOnlyHashFailure:92 null
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)