Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: 3ec7e562fe9225efb42272a9427499a11e059f48
      
https://github.com/jenkinsci/jenkins/commit/3ec7e562fe9225efb42272a9427499a11e059f48
  Author: Jesse Glick <[email protected]>
  Date:   2014-02-23 (Sun, 23 Feb 2014)

  Changed paths:
    M test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
    M test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java

  Log Message:
  -----------
  Trying to diagnose recent CI failures of HtmlUnit calls.
For example 
https://jenkins.ci.cloudbees.com/job/core/job/jenkins-core-validated-merge/38/testReport/lib.layout/LayoutTest/rejectedLinks/
 failed with:
java.io.IOException: GET http://localhost:52099/jenkins/login failed
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:152)
        at java.net.SocketInputStream.read(SocketInputStream.java:122)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
        at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
        at 
org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
        at 
org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
        at 
org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
        at 
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
        at 
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
        at 
org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
        at 
org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
        at 
com.gargoylesoftware.htmlunit.HttpWebConnection.getResponse(HttpWebConnection.java:101)
        at 
com.gargoylesoftware.htmlunit.WebClient.loadWebResponseFromWebConnection(WebClient.java:1456)
        at 
com.gargoylesoftware.htmlunit.WebClient.loadWebResponse(WebClient.java:1387)
        at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:328)
        at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389)
        at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374)
        at 
org.jvnet.hudson.test.JenkinsRule$WebClient.goTo(JenkinsRule.java:1944)
        at 
org.jvnet.hudson.test.JenkinsRule$WebClient.goTo(JenkinsRule.java:1926)
        at lib.layout.LayoutTest.rejectedLinks(LayoutTest.java:44)
which makes little sense since the named IOException is actually thrown from 
HttpWebConnection.java:130.
Perhaps Surefire is not reporting the original cause correctly, conflating the 
wrapper’s message with the original stack trace.
As a temporary measure, printing the original stack trace to stderr if there is 
any.


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to