Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-25550

Stronger validation on artifact transfer copy operation(moveArtifactToGlobalStorage) when copying artifacts to globalStorage

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 9.4.2, 9.2.8, 9.3.6
    • 9.2.3, 9.2.4
    • Artifacts
    • None

    Description

      Issue Summary

      Artifacts will be moved to the <Bamboo-Home>/artifacts/globalStorage folder under the following conditions:

      When there are failures while copying artifacts to globalStorage, Bamboo does not throw exceptions or error messages in the server logs about the artifact copy operation failure, and it removes the artifacts from the <Bamboo-Home>/artifacts folder.
       

      This is reproducible on Data Center:

      Steps to Reproduce

      This issue is observed when using AWS S3 as an artifact handler type in Bamboo.

       

      Expected Results

      If there is any failure in artifact transfer from the original artifact folder to the global storage folder, Bamboo should throw exceptions about the artifact transfer failure reason. And also, Bamboo should not remove the artifact from the <Bamboo-Home>/<artifact-folder> if there is any failure of artifact copy to globalStorage.

      There should be stronger validation of the copy operation for artifact transfers to the globalStorage folder.

      Actual Results

      Bamboo doesn't throw any exceptions in the atlassian-bamboo.log file about the artifact transfer failure and also removes the artifact from the <Bamboo-home>/<artifact-folder>, even though the artifact was not copied to the globalStorage path.

      Workaround

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

      Attachments

        Issue Links

          Activity

            People

              mgardias Marcin Gardias
              dac6e1c9d0b2 Jyothi Charupalli
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: