org.tmatesoft.svn.core.SVNException: svn: PROPFIND /svnroot/<<path-to-leading-directory>> failed

Jenkins JIRA | jsiirola | 5 years ago
  1. 0

    We are having problems getting Jenkins working with Subversion repositories hosted outside our firewall (i.e., available via HTTP proxy). Here is the situation: - Jenkins 1.429, Subversion-Plugin 1.31 - 2 machines, a Master and a Slave, both inside the firewall - 2 repositories (projects): -- "A": hosted by us, and available directly (i.e. inside the firewall); -- "B": hosted externally (i.e., *must* go through the firewall); -- the project A has a link (via svn:externals property) to the project B. -- both repositories accessed via "https://" protocol - a job that checks out "A" using the Subversion-Plugin If we run the job (and checkout A) on the Master, everything works. However, if the job runs on the slave, the checkout appears to "work" (in that Jenkins does not detect an error), but the external is completely missing from the workspace. Further, if I reconfigure the job to explicitly checkout the B (external) project as a separate target, the checkout fails on the Slave with "java.net.SocketTimeoutException: connect timed out": {noformat} Checking out https://<<path-to-repository>> ERROR: Failed to check out https://<<path-to-repository>> org.tmatesoft.svn.core.SVNException: svn: PROPFIND /svnroot/<<path-to-leading-directory>> failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:136) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineProperties(DAVUtil.java:226) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineInfo(DAVUtil.java:184) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:182) at org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(SVNBasicClient.java:482) at org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:873) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:534) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:901) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:90) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:144) at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:121) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1995) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Unknown Source) Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: PROPFIND /svnroot/epanet/MSX/trunk failed at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200) at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:146) at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:89) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:291) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:276) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:264) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doPropfind(DAVConnection.java:126) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getProperties(DAVUtil.java:73) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getResourceProperties(DAVUtil.java:79) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getStartingProperties(DAVUtil.java:103) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:125) ... 26 more Caused by: org.tmatesoft.svn.core.SVNException: svn: PROPFIND request failed on '/svnroot/epanet/MSX/trunk' svn: connection refused by the server at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:644) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:285) ... 33 more Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: PROPFIND request failed on '/svnroot/epanet/MSX/trunk' at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:642) ... 34 more Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: connection refused by the server at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:400) ... 34 more Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source) at org.tmatesoft.svn.core.internal.util.SVNSocketConnection.run(SVNSocketConnection.java:57) ... 1 more {noformat} Both Master and Slave machines have (identical) correctly-configured ~/.subversion/servers files, and a checkout of A (and hence, B) using the command line as the Jenkins user works on both machines. This sounds like the Subversion-Plugin is not correctly picking up a proxy configuration when it runs on a slave.

    Jenkins JIRA | 5 years ago | jsiirola
    org.tmatesoft.svn.core.SVNException: svn: PROPFIND /svnroot/<<path-to-leading-directory>> failed
  2. 0

    We are having problems getting Jenkins working with Subversion repositories hosted outside our firewall (i.e., available via HTTP proxy). Here is the situation: - Jenkins 1.429, Subversion-Plugin 1.31 - 2 machines, a Master and a Slave, both inside the firewall - 2 repositories (projects): -- "A": hosted by us, and available directly (i.e. inside the firewall); -- "B": hosted externally (i.e., *must* go through the firewall); -- the project A has a link (via svn:externals property) to the project B. -- both repositories accessed via "https://" protocol - a job that checks out "A" using the Subversion-Plugin If we run the job (and checkout A) on the Master, everything works. However, if the job runs on the slave, the checkout appears to "work" (in that Jenkins does not detect an error), but the external is completely missing from the workspace. Further, if I reconfigure the job to explicitly checkout the B (external) project as a separate target, the checkout fails on the Slave with "java.net.SocketTimeoutException: connect timed out": {noformat} Checking out https://<<path-to-repository>> ERROR: Failed to check out https://<<path-to-repository>> org.tmatesoft.svn.core.SVNException: svn: PROPFIND /svnroot/<<path-to-leading-directory>> failed at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:136) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineProperties(DAVUtil.java:226) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getBaselineInfo(DAVUtil.java:184) at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:182) at org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(SVNBasicClient.java:482) at org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:873) at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:534) at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:901) at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:90) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:144) at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:121) at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:136) at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:773) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:754) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:738) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1995) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Unknown Source) Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: PROPFIND /svnroot/epanet/MSX/trunk failed at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200) at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:146) at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:89) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:291) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:276) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:264) at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doPropfind(DAVConnection.java:126) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getProperties(DAVUtil.java:73) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getResourceProperties(DAVUtil.java:79) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.getStartingProperties(DAVUtil.java:103) at org.tmatesoft.svn.core.internal.io.dav.DAVUtil.findStartingProperties(DAVUtil.java:125) ... 26 more Caused by: org.tmatesoft.svn.core.SVNException: svn: PROPFIND request failed on '/svnroot/epanet/MSX/trunk' svn: connection refused by the server at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64) at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:644) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:285) ... 33 more Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: PROPFIND request failed on '/svnroot/epanet/MSX/trunk' at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:642) ... 34 more Caused by: org.tmatesoft.svn.core.SVNErrorMessage: svn: connection refused by the server at org.tmatesoft.svn.core.SVNErrorMessage.create(SVNErrorMessage.java:200) at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection._request(HTTPConnection.java:400) ... 34 more Caused by: java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source) at org.tmatesoft.svn.core.internal.util.SVNSocketConnection.run(SVNSocketConnection.java:57) ... 1 more {noformat} Both Master and Slave machines have (identical) correctly-configured ~/.subversion/servers files, and a checkout of A (and hence, B) using the command line as the Jenkins user works on both machines. This sounds like the Subversion-Plugin is not correctly picking up a proxy configuration when it runs on a slave.

    Jenkins JIRA | 5 years ago | jsiirola
    org.tmatesoft.svn.core.SVNException: svn: PROPFIND /svnroot/<<path-to-leading-directory>> failed
  3. 0

    [JENKINS-10971] SVN checkouts fail for slaves behind proxy - Jenkins JIRA

    jenkins-ci.org | 4 months ago
    org.tmatesoft.svn.core.SVNException: svn: PROPFIND /svnroot/<<path-to-leading-directory>> failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins issues - [JIRA] (JENKINS-13055) checkout error for org.tmatesoft.svn.core.SVNException: svn: REPORT /svn/hit71/!svn/vcc/default failed

    nabble.com | 8 months ago
    org.tmatesoft.svn.core.SVNException: svn: OPTIONS /xxx/xxxxxx/xxxxxxxx/xxxxx/xxxxxxxxx failed
  6. 0

    [JENKINS-13055] checkout error for org.tmatesoft.svn.core.SVNException: svn: REPORT /svn/hit71/!svn/vcc/default failed - Jenkins JIRA

    jenkins-ci.org | 8 months ago
    org.tmatesoft.svn.core.SVNException: svn: OPTIONS /xxx/xxxxxx/xxxxxxxx/xxxxx/xxxxxxxxx failed

  1. richard77 2 times, last 1 week ago
  2. treefolk 1 times, last 2 weeks ago
  3. kjhdofjosvs 20 times, last 2 weeks ago
  4. Andreas Häber 9 times, last 2 weeks ago
  5. Aria Pahlavan 2 times, last 3 weeks ago
45 more registered users
50 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.ConnectException

    Connection timed out: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(Unknown Source)
    3. java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    4. java.net.PlainSocketImpl.connect(Unknown Source)
    5. java.net.SocksSocketImpl.connect(Unknown Source)
    6. java.net.Socket.connect(Unknown Source)
    6 frames
  3. Java JSSE
    SSLSocketImpl.connect
    1. com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    1 frame
  4. SVNKit Library
    SVNSocketConnection.run
    1. org.tmatesoft.svn.core.internal.util.SVNSocketConnection.run(SVNSocketConnection.java:57)
    1 frame
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame