Cache stream tar.gz fails, but download succeeds. Why?

Bitrise Build Issue Report template

This is a minor issue, but I’d like to resolve it. When we get to our Cache::Pull step, we see the following output:

Extracting cache archive
Failed to uncompress cache archive stream: tar "-xPf" "/dev/stdin" failed: gzip: stdin: not in gzip format
tar: Child died with signal 13
tar: Error is not recoverable: exiting now
Downloading the archive file and trying to uncompress using tar tool
Took: 26.497318987s

My question is, why does the tar.gz stream unpacking fail? Is there a way to get that working? It seems to fallback to just downloading and unpacking the tar.

Environment:, Android & Docker, on Ubuntu 16.04 - LTS Stack

Cache:Pull version 2.1.1 (always latest)


  • Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build) : NO
  • Does a rebuild without caches help? (You can remove the Cache:Pull and Cache:Push steps temporarily to not to use the cache, or you can delete all the caches on the Settings tab of the app. : NO
  • Does the issue happen sporadically, or every time? : Every time.
  • Does upgrading the build Step to the latest version help? : NO
  • When did the issue start? : Unsure.

Build log

Hi @eschlenz!

Sorry to hear about this and for the delay. In case it is persistent, can you please allow Support Access for us?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.