Uploaded image for project: 'Bamboo'
  1. Bamboo
  2. BAM-4253

Automatic SVN error recover should be case insensitive

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Fix Version/s: 2.3
    • Component/s: Builds
    • Labels:
      None
    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      We have some error recovery mechanisms but the checks are sensitive to the case of the message. This should be case insenstive

      com.atlassian.bamboo.repository.RepositoryException: Unable to retrieve source code to '40253' for 'CCD-CEPALL': svn: can't open file '/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/xml-data/build-dir/CCD-CEPALL/eclipse/workspace/com.cenqua.clover.core/.svn/text-base/src.svn-base'
      	at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCode(SvnRepository.java:377)
      	at com.atlassian.bamboo.v2.build.task.CheckoutUpdateForBuild.call(CheckoutUpdateForBuild.java:100)
      	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:188)
      	at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:90)
      	at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:101)
      	at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:34)
      	at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34)
      	at java.lang.Thread.run(Thread.java:619)
      Caused by: org.tmatesoft.svn.core.SVNException: svn: can't open file '/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/xml-data/build-dir/CCD-CEPALL/eclipse/workspace/com.cenqua.clover.core/.svn/text-base/src.svn-base'
      	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:82)
      	at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.createSymlink(SVNFileUtil.java:633)
      	at org.tmatesoft.svn.core.internal.wc.admin.SVNTranslator.translate(SVNTranslator.java:143)
      	at org.tmatesoft.svn.core.internal.wc.admin.SVNTranslator.translate(SVNTranslator.java:123)
      	at org.tmatesoft.svn.core.internal.wc.admin.SVNTranslator.translate(SVNTranslator.java:62)
      	at org.tmatesoft.svn.core.internal.wc.admin.SVNTranslator.translate(SVNTranslator.java:57)
      	at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminArea.restoreFile(SVNAdminArea.java:360)
      	at org.tmatesoft.svn.core.internal.wc.admin.SVNReporter.restoreFile(SVNReporter.java:291)
      	at org.tmatesoft.svn.core.internal.wc.admin.SVNReporter.reportEntries(SVNReporter.java:196)
      	at org.tmatesoft.svn.core.internal.wc.admin.SVNReporter.reportEntries(SVNReporter.java:277)
      	at org.tmatesoft.svn.core.internal.wc.admin.SVNReporter.reportEntries(SVNReporter.java:277)
      	at org.tmatesoft.svn.core.internal.wc.admin.SVNReporter.reportEntries(SVNReporter.java:277)
      	at org.tmatesoft.svn.core.internal.wc.admin.SVNReporter.report(SVNReporter.java:121)
      	at org.tmatesoft.svn.core.internal.io.dav.handlers.DAVEditorHandler.generateEditorRequest(DAVEditorHandler.java:105)
      	at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1196)
      	at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:1076)
      	at org.tmatesoft.svn.core.wc.SVNUpdateClient.update(SVNUpdateClient.java:449)
      	at org.tmatesoft.svn.core.wc.SVNUpdateClient.doUpdate(SVNUpdateClient.java:394)
      	at com.atlassian.bamboo.repository.svn.SvnRepository.update(SvnRepository.java:860)
      	at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCodeWithException(SvnRepository.java:417)
      	at com.atlassian.bamboo.repository.svn.SvnRepository.retrieveSourceCode(SvnRepository.java:338)
      	... 7 more
      Caused by: java.io.IOException: can't open file '/opt/bamboo-agents/bamboo-agent-4/bamboo-agent-home/xml-data/build-dir/CCD-CEPALL/eclipse/workspace/com.cenqua.clover.core/.svn/text-base/src.svn-base'
      	at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.readSingleLine(SVNFileUtil.java:880)
      	at org.tmatesoft.svn.core.internal.wc.SVNFileUtil.createSymlink(SVNFileUtil.java:630)
      	... 26 more
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mark@atlassian.com MarkC
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: