Discussion:
Svn-Checkout with externals
von Schoenebeck, Florian
2018-10-01 16:18:54 UTC
Permalink
Hi,
we are using Apache Subversion 1.9.3 on our Ubuntu-16.04 - Server. (svn-repos with format 5 (svn-1.7.3))
With TeamCity and svnKit 1.9.2 we have problems to check out projects which uses svn:externals.
The checkout normally works but sometime we get the following error (apache: error.log)
The checkout is hanging, (normal checkout-time: 90s)

[Mon Oct 01 17:44:38.737002 2018] [dav:error] [pid 12638] [client 10.190.40.12:52380] A failure occurred while driving the update report editor [500, #160005]
[Mon Oct 01 17:44:38.737026 2018] [dav:error] [pid 12638] [client 10.190.40.12:52380] Cannot replace a directory from within [500, #160005]
[Mon Oct 01 17:44:38.740522 2018] [dav:error] [pid 12981] [client 10.190.40.12:52384] A failure occurred while driving the update report editor [500, #160005]
[Mon Oct 01 17:44:38.740560 2018] [dav:error] [pid 12981] [client 10.190.40.12:52384] Cannot replace a directory from within [500, #160005]
[Mon Oct 01 17:45:02.296343 2018] [dav:error] [pid 10521] [client 10.190.40.12:53914] A failure occurred while driving the update report editor [500, #160005]
[Mon Oct 01 17:45:02.296360 2018] [dav:error] [pid 10521] [client 10.190.40.12:53914] Cannot replace a directory from within [500, #160005]
[Mon Oct 01 17:45:02.298774 2018] [dav:error] [pid 12639] [client 10.190.40.12:53924] A failure occurred while driving the update report editor [500, #160005]
[Mon Oct 01 17:45:02.298803 2018] [dav:error] [pid 12639] [client 10.190.40.12:53924] Cannot replace a directory from within [500, #160005]
[Mon Oct 01 17:45:21.677609 2018] [dav:error] [pid 12001] [client 10.190.40.12:59448] A failure occurred while driving the update report editor [500, #160005]
[Mon Oct 01 17:45:21.677628 2018] [dav:error] [pid 12001] [client 10.190.40.12:59448] Cannot replace a directory from within [500, #160005]
[Mon Oct 01 17:45:21.680140 2018] [dav:error] [pid 7192] [client 10.190.40.12:59458] A failure occurred while driving the update report editor [500, #160005]



TeamCity- Build-Log:

Failed to perform checkout on agent: Subversion: checkout failed: Subversion update_external problem for D:\work\641f829b10ee37b7\src\xxxx: svn: E175002: timed out waiting for server


Has anyone an idea?

Regards
Florian v.Schoenebeck
Johan Corveleyn
2018-10-01 20:50:31 UTC
Permalink
On Mon, Oct 1, 2018 at 6:19 PM von Schoenebeck, Florian
Hi,
we are using Apache Subversion 1.9.3 on our Ubuntu-16.04 – Server. (svn-repos with format 5 (svn-1.7.3))
With TeamCity and svnKit 1.9.2 we have problems to check out projects which uses svn:externals.
The checkout normally works but sometime we get the following error (apache: error.log)
The checkout is hanging, (normal checkout-time: 90s)
[Mon Oct 01 17:44:38.737002 2018] [dav:error] [pid 12638] [client 10.190.40.12:52380] A failure occurred while driving the update report editor [500, #160005]
[Mon Oct 01 17:44:38.737026 2018] [dav:error] [pid 12638] [client 10.190.40.12:52380] Cannot replace a directory from within [500, #160005]
[Mon Oct 01 17:44:38.740522 2018] [dav:error] [pid 12981] [client 10.190.40.12:52384] A failure occurred while driving the update report editor [500, #160005]
[Mon Oct 01 17:44:38.740560 2018] [dav:error] [pid 12981] [client 10.190.40.12:52384] Cannot replace a directory from within [500, #160005]
[Mon Oct 01 17:45:02.296343 2018] [dav:error] [pid 10521] [client 10.190.40.12:53914] A failure occurred while driving the update report editor [500, #160005]
[Mon Oct 01 17:45:02.296360 2018] [dav:error] [pid 10521] [client 10.190.40.12:53914] Cannot replace a directory from within [500, #160005]
[Mon Oct 01 17:45:02.298774 2018] [dav:error] [pid 12639] [client 10.190.40.12:53924] A failure occurred while driving the update report editor [500, #160005]
[Mon Oct 01 17:45:02.298803 2018] [dav:error] [pid 12639] [client 10.190.40.12:53924] Cannot replace a directory from within [500, #160005]
[Mon Oct 01 17:45:21.677609 2018] [dav:error] [pid 12001] [client 10.190.40.12:59448] A failure occurred while driving the update report editor [500, #160005]
[Mon Oct 01 17:45:21.677628 2018] [dav:error] [pid 12001] [client 10.190.40.12:59448] Cannot replace a directory from within [500, #160005]
[Mon Oct 01 17:45:21.680140 2018] [dav:error] [pid 7192] [client 10.190.40.12:59458] A failure occurred while driving the update report editor [500, #160005]
Failed to perform checkout on agent: Subversion: checkout failed: Subversion update_external problem for D:\work\641f829b10ee37b7\src\xxxx: svn: E175002: timed out waiting for server
Has anyone an idea?
To me this looks like a problem specific to SVNKit, which is a
pure-Java reimplementation of the Subversion client. SVNKit is not
maintained by the Apache Subversion community. It has its own
mailinglists, see https://svnkit.com/support.html.

Also, a quick google search for "Cannot replace a directory from
within" turned up the following:
https://teamcity-support.jetbrains.com/hc/en-us/community/posts/206302499-Basic-Teamcity-and-SVN-question

Maybe this is the same problem, and you might be able to fix it like
the OP of that question, by following the hints of Alexander Kitaev
(SVNKit developer):

"I think this problem could appear when directory (your project root
directory) was "replaced" with another directory or deleted from
repository at some revision. I would recommend you to enable "clean
sources before build" option in build configuration and check whether
it will resolve the problem. Then you may disable this option."
--
Johan
Loading...