SVN checkout task fails and cannot retry operation

XMLWordPrintable

    • 1
    • Severity 2 - Major

      Issue Summary

      SVN checkout task fails and cannot retry operation

      Steps to Reproduce

      The error might appear when the SVN task runs.

      Expected Results

      SVN checkout runs successfully

      Actual Results

      Build fails. In the build log we'll see the following message:

      error 29-Jul-2022 05:57:37  Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout.
      error 29-Jul-2022 05:57:37  java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: Failed to clean up 'PR-PL-JOB1'
      error 29-Jul-2022 05:57:37    at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:142)
      error 29-Jul-2022 05:57:37    at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:99)
      error 29-Jul-2022 05:57:37    at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:208)
      error 29-Jul-2022 05:57:37    at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:189)
      error 29-Jul-2022 05:57:37    at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:127)
      (...)
      error 29-Jul-2022 05:57:37  Caused by: org.tmatesoft.svn.core.SVNException: svn: E155004: There are unfinished work items in '/agent-home/xml-data/build-dir/PR-PL-JOB1'; run 'svn cleanup' first.
      error 29-Jul-2022 05:57:37    at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:70)
      error 29-Jul-2022 05:57:37    at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:57)
      error 29-Jul-2022 05:57:37    at org.tmatesoft.svn.core.internal.wc17.db.SVNWCDb.obtainWCLock(SVNWCDb.java:5862)
      error 29-Jul-2022 05:57:37    at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.cleanupInternal(SvnNgCleanup.java:115)
      error 29-Jul-2022 05:57:37    at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.cleanup(SvnNgCleanup.java:87)
      (...)
      error 29-Jul-2022 05:57:37    at com.atlassian.bamboo.repository.svn.v2.SvnWorkingCopyManager.cleanUpWorkspace(
      

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Marcin Gardias
            Reporter:
            Patricio (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: