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

build-cache
android
#1

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
Done
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:

Bitrise.io, Android & Docker, on Ubuntu 16.04 - LTS Stack

Cache:Pull version 2.1.1 (always latest)

Reproducibility

  • 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

0 Likes