www-builds mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Kolinko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BUILDS-9) Some Buildbot Builds failing due to corupted xml in svn step
Date Thu, 28 Aug 2014 10:33:57 GMT

    [ https://issues.apache.org/jira/browse/BUILDS-9?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14113644#comment-14113644

Konstantin Kolinko commented on BUILDS-9:

1. Checks that ".svn" directory is present
2. Calls "svn info --xml" and parses its stdout as XML.
In this case the step 2 fails.
My guess is that svn working copy is in an older format and needs an "svn upgrade" call on

Further looking into Buildbot master branch on GitHub source code, the call on step 2 does
check exit code of the command. ("cmd.didFail()" \[3]) That should have produced a different
message, "Source step failed while running command %s".

I tested running "svn info --xml" with svn 1.8.10 (Windows) on a svn 1.7 working copy.
The result was
- A truncated XML document on stdout
- An error message on stderr
- Exit code "1".

Historically, there have been several cases when svn info returned zero exit code on errors,
but this is not one.

So my guess that the working copy "needs an "svn upgrade"" is likely a wrong one.

\[3] https://github.com/buildbot/buildbot/blob/master/master/buildbot/steps/source/svn.py#L231

Ways to go forward:
1. Connect to the slave and run "svn info --xml --non-interactive --no-auth-cache" and look
what the error message is.
2. Purge the broken working copy and let it checkout a fresh one.
The latter can also be done remotely by reconfiguring the SVN step in the project.

> Some Buildbot Builds failing due to corupted xml in svn step
> ------------------------------------------------------------
>                 Key: BUILDS-9
>                 URL: https://issues.apache.org/jira/browse/BUILDS-9
>             Project: Infra Build Platform
>          Issue Type: Bug
>          Components: Buildbot
>         Environment: Currently only seems to happen on lares_ubuntu which as svn 1.8.8
>            Reporter: Gavin
>            Assignee: Gavin
> most builds fail during the svn checkout|update step with the error message 'Corrupted
xml, aborting step'

This message was sent by Atlassian JIRA

View raw message