jenkinsci / jenkinsci/subversion-plugin

[JENKINS-27263] Checkout of svn:externals fails silently and intermittently

Open
#1,217 3 comments 0 reactions 0 assignees View on GitHub
component:subversion-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
131
Forks
275
Avg merge
12h 4m
Merged PRs (30d)
6

Description

We have configurations based on svn:externals for our product. Sometimes (apparently at random) checkouts fail silently leading to files missing in the build tree.

Example of output during checkout (somewhat sanitized):

00:00:00.002 - Started by an SCM change

00:00:00.003 - Building remotely on Jenkins Buildhost (i-461077a2) (linux) in workspace /mnt/workspace/8.30_Standard_Linux_build

00:00:00.438 - Checking out a fresh workspace because /mnt/workspace/8.30_Standard_Linux_build/build doesn't exist

00:00:00.476 - Cleaning local Directory build

00:00:00.477 - Checking out at revision '2015-03-06T08:53:12.714 +0000'

00:00:02.435 - AUGlobal_config_file

00:00:02.435 - U.

00:00:02.435 - Fetching '' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module1'

... (several modules working well)

00:00:15.182 - At revision 48819

00:00:15.182 - Fetching '' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module4'

00:00:16.182 - A module5/dir_1

... (many files and dirs working)

00:01:31.865 - A module5/dir_4

00:01:31.865 - AUmodule5/dir_4/file_1.xml

... (working files)

00:01:48.522 - A module5/dir_4/file_100.xml

00:01:51.525 - Fetching '' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module5'

00:01:53.522 - A module6/dir1

... (the rest of the checkout working)

On the next build, we get this:

00:00:00.021 - Started by an SCM change

00:00:00.023 - Building remotely on Jenkins Buildhost (i-461077a2) (linux) in workspace /mnt/workspace/8.30_Standard_Linux_build

00:00:00.489 - Updating at revision '2015-03-06T09:18:17.980 +0000'

00:00:01.529 - Fetching '' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module1'

00:00:01.784 - At revision 48825

00:00:02.072 - Fetching '' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module2'

00:00:02.324 - At revision 48825

00:00:02.615 - Fetching '' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module3'

00:00:03.232 - At revision 48825

00:00:03.559 - Fetching '' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module4'

00:00:04.162 - At revision 48825

00:00:04.496 - Fetching '' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module5'

00:00:07.958 - AUmodule5/dir_4/file_1.xml

00:00:08.046 - A module5/dir_4/file_2.xml

... (The rest of module5 checked out)

00:00:17.816 - Umodule5

00:00:18.912 - At revision 48825

00:00:19.228 - Fetching '' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module6'

From what I can see the abnormalities are:


  • after the first checkout of module5/dir_4/file_100.xml there is a slight delay (approx 3 seconds)

  • At the end of the first checkout the line reporting at what revision we have reached is missing

  • the files checked out into module5/dir4 in the first checkout seems to be removed again.

Without looking at the code or knowing anything I would guess that the subtask of checking out module-4 fails due to a network error or something but the main checkout task loses the error signal.

---
Originally reported by mr_shark, imported from: Checkout of svn:externals fails silently and intermittently


  • status: Open
  • priority: Major
  • component(s): subversion-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 20251212-090250

Raw content of original issue

We have configurations based on svn:externals for our product. Sometimes (apparently at random) checkouts fail silently leading to files missing in the build tree.

Example of output during checkout (somewhat sanitized):

00:00:00.002 - Started by an SCM change
00:00:00.003 - Building remotely on Jenkins Buildhost (i-461077a2) (linux) in workspace /mnt/workspace/8.30_Standard_Linux_build
00:00:00.438 - Checking out a fresh workspace because /mnt/workspace/8.30_Standard_Linux_build/build doesn't exist
00:00:00.476 - Cleaning local Directory build
00:00:00.477 - Checking out <svn-url-for-config> at revision '2015-03-06T08:53:12.714 +0000'
00:00:02.435 - AU Global_config_file
00:00:02.435 - U .
00:00:02.435 - Fetching '<svn-url-for-module-1>' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module1'

... (several modules working well)

00:00:15.182 - At revision 48819
00:00:15.182 - Fetching '<svn-url-for-module-5>' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module4'
00:00:16.182 - A module5/dir_1

... (many files and dirs working)

00:01:31.865 - A module5/dir_4
00:01:31.865 - AU module5/dir_4/file_1.xml

... (working files)

00:01:48.522 - A module5/dir_4/file_100.xml
00:01:51.525 - Fetching '<svn-url-for-module-6>' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module5'
00:01:53.522 - A module6/dir1

... (the rest of the checkout working)

On the next build, we get this:

00:00:00.021 - Started by an SCM change
00:00:00.023 - Building remotely on Jenkins Buildhost (i-461077a2) (linux) in workspace /mnt/workspace/8.30_Standard_Linux_build
00:00:00.489 - Updating <svn-url-for-config> at revision '2015-03-06T09:18:17.980 +0000'
00:00:01.529 - Fetching '<svn-url-for-module-1>' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module1'
00:00:01.784 - At revision 48825
00:00:02.072 - Fetching '<svn-url-for-module-2>' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module2'
00:00:02.324 - At revision 48825
00:00:02.615 - Fetching '<svn-url-for-module-3>' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module3'
00:00:03.232 - At revision 48825
00:00:03.559 - Fetching '<svn-url-for-module-4>' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module4'
00:00:04.162 - At revision 48825
00:00:04.496 - Fetching '<svn-url-for-module-5>' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module5'
00:00:07.958 - AU module5/dir_4/file_1.xml
00:00:08.046 - A module5/dir_4/file_2.xml

... (The rest of module5 checked out)

00:00:17.816 - U module5
00:00:18.912 - At revision 48825
00:00:19.228 - Fetching '<svn-url-for-module-6>' at -1 into '/mnt/workspace/8.30_Standard_Linux_build/build/module6'

From what I can see the abnormalities are:


  • after the first checkout of module5/dir_4/file_100.xml there is a slight delay (approx 3 seconds)

  • At the end of the first checkout the line reporting at what revision we have reached is missing

  • the files checked out into module5/dir4 in the first checkout seems to be removed again.

Without looking at the code or knowing anything I would guess that the subtask of checking out module-4 fails due to a network error or something but the main checkout task loses the error signal.

environment

```
Jenkins ver. 1.583

Subversion Plugin 2.4.3

Sun Java 1.6.0_20 (on the client)
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.