Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-22533

Network interruption to cache uploads prevent retries from succeeding

      Issue Summary

      When uploading a pipeline cache to api.media.atlassian.com fails due to a network issue, the upload is retried. This retry also fails due to a lock being held from the previous upload attempt, and prevents the cache from being uploaded.

       

      Steps to Reproduce

      1. Run a pipeline that uses caches
      2. Trigger a network interruption whilst the upload is in progress.

      Expected Results

      The first upload attempt should fail, and the cloud runner should retry until the upload succeeds.

      Actual Results

      On the retry, the upload fails due to file-service returning a http 423 when we attempt to re-acquire the lock.

      Workaround

      No work around available, you need to wait for the lock to expire.

            [BCLOUD-22533] Network interruption to cache uploads prevent retries from succeeding

            SET Analytics Bot made changes -
            UIS Original: 19 New: 21
            SET Analytics Bot made changes -
            Support reference count Original: 1 New: 2
            SET Analytics Bot made changes -
            UIS Original: 10 New: 19
            Zach Saw (Inactive) made changes -
            Status Original: Needs Triage [ 10030 ] New: Long Term Backlog [ 12073 ]
            SET Analytics Bot made changes -
            Support reference count New: 1
            SET Analytics Bot made changes -
            UIS New: 10
            Graham Gatus made changes -
            Description Original: h3. Issue Summary

            When uploading a pipeline cache to api.media.atlassian.com fails due to a network issue, the upload is retried. This fails due to a lock being held from the previous upload attempt, and prevents the cache from being uploaded.

             
            h3. Steps to Reproduce
             # Run a pipeline that uses caches
             # Trigger a network interruption whilst the upload is in progress.

            h3. Expected Results

            The first upload attempt should fail, and the cloud runner should retry until the upload succeeds.
            h3. Actual Results

            On the retry, the upload fails due to file-service returning a http 423 when we attempt to re-acquire the lock.
            h3. Workaround

            No work around available, you need to wait for the lock to expire.
            New: h3. Issue Summary

            When uploading a pipeline cache to api.media.atlassian.com fails due to a network issue, the upload is retried. This retry also fails due to a lock being held from the previous upload attempt, and prevents the cache from being uploaded.

             
            h3. Steps to Reproduce
             # Run a pipeline that uses caches
             # Trigger a network interruption whilst the upload is in progress.

            h3. Expected Results

            The first upload attempt should fail, and the cloud runner should retry until the upload succeeds.
            h3. Actual Results

            On the retry, the upload fails due to file-service returning a http 423 when we attempt to re-acquire the lock.
            h3. Workaround

            No work around available, you need to wait for the lock to expire.
            Graham Gatus created issue -

              Unassigned Unassigned
              ggatus Graham Gatus
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated: