Issue Summary

      On Bitbucket Pipelines, when you have a duplicated cache on the YAML configuration, the build setup is stuck at "Downloading caches".

      Steps to Reproduce

      1. Create a YAML configuration with duplicated step configuration. Example:
            - step:
                caches:
                  - docker
                  - maven
                  - docker
        ...
        
      2. Run the build.

      Expected Results

      It's expected to run the build normally.

      Actual Results

      The build is stuck at the "Downloading caches" and will fail at 120 minutes.

      Workaround

      Don't duplicate your cache on the step definition.

            [BCLOUD-22731] Build setup stuck with duplicated cache.

            This bug has now been resolved.

            Builds with duplicate cache entries will no longer hang until timeout and will include warning logs in build setup and teardown.

            WARNING: Cache "maven" has been defined twice in your bitbucket-pipelines.yml. 

            Sung-Soo Hong (Inactive) added a comment - This bug has now been resolved. Builds with duplicate cache entries will no longer hang until timeout and will include warning logs in build setup and teardown. WARNING: Cache "maven" has been defined twice in your bitbucket-pipelines.yml.

              a45bfcf8d290 Sung-Soo Hong (Inactive)
              d5ac2d7527d5 Bruno
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: