Skip to content
  1. Oct 01, 2014
  2. Sep 29, 2014
  3. Sep 28, 2014
  4. Sep 25, 2014
  5. Sep 23, 2014
  6. Sep 22, 2014
  7. Sep 20, 2014
    • Jesse Glick's avatar
      Merge branch 'security' into security-rc · 041f9b9f
      Jesse Glick authored
      Conflicts:
      	test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java
      	test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java
      	test/src/test/groovy/hudson/model/AbstractProjectTest.groovy
      041f9b9f
    • Jesse Glick's avatar
      Skip a test if starting Jenkins was interrupted. · 6e1defe5
      Jesse Glick authored
      For reasons TBD, sometimes CI tests fail with (1.565.x):
      java.lang.InterruptedException: null
      	at java.lang.Object.wait(Native Method)
      	at java.lang.Object.wait(Object.java:503)
      	at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:267)
      	at jenkins.InitReactorRunner.run(InitReactorRunner.java:44)
      	at jenkins.model.Jenkins.executeReactor(Jenkins.java:915)
      	at jenkins.model.Jenkins.<init>(Jenkins.java:814)
      	at hudson.model.Hudson.<init>(Hudson.java:82)
      	at org.jvnet.hudson.test.JenkinsRule.newHudson(JenkinsRule.java:539)
      	at org.jvnet.hudson.test.JenkinsRule.before(JenkinsRule.java:331)
      	at org.jvnet.hudson.test.JenkinsRule$2.evaluate(JenkinsRule.java:479)
      (cherry picked from commit 7bbf36b7)
      6e1defe5
    • Jesse Glick's avatar
      Trying to make SocketTimeoutException’s (as originally noted in 3ec7e562) not... · 201065ff
      Jesse Glick authored
      Trying to make SocketTimeoutException’s (as originally noted in 3ec7e562) not turn into test errors. (Works only in JenkinsRule, not HudsonTestCase.) Still have no clue as to cause.
      
      (cherry picked from commit 6fd76ea2)
      
      Conflicts:
      	test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java
      201065ff
    • Jesse Glick's avatar
      Trying to diagnose recent CI failures of HtmlUnit calls. · d44f8589
      Jesse Glick authored
      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.
      (cherry picked from commit 3ec7e562)
      
      Conflicts:
      	test/src/main/java/org/jvnet/hudson/test/JenkinsRule.java
      d44f8589
    • Jesse Glick's avatar
      [JENKINS-10615] AbstractProjectTest.testWorkspaceLock frequently fails on... · 389a565d
      Jesse Glick authored
      [JENKINS-10615] AbstractProjectTest.testWorkspaceLock frequently fails on jenkins.ci due to InterruptedException in HudsonTestCase.setUp.
      Possibly because it is sorted after [JENKINS-15156] testGetBuildAfterGC and the test suite times out.
      
      (cherry picked from commit 85e9e126)
      389a565d
  8. Sep 19, 2014
  9. Sep 18, 2014
    • Jesse Glick's avatar
      Merge branch 'security' into security-rc · 8aafca03
      Jesse Glick authored
      Conflicts:
      	core/src/main/java/hudson/model/AbstractItem.java
      	core/src/main/java/hudson/security/ACL.java
      	test/src/test/groovy/hudson/model/AbstractProjectTest.groovy
      8aafca03
Loading