Skip to content

Random error "failed to fetch https://github.com/rust-lang/crates.io-index" on CI runs #9187

@xoxys

Description

@xoxys

Problem
I get random errors like this during CI runs:

      Updating crates.io index
  warning: spurious network error (2 tries remaining): error inflating zlib stream; class=Zlib (5)
  warning: spurious network error (1 tries remaining): error inflating zlib stream; class=Zlib (5)
  error: failed to get `pyo3` as a dependency of package `cryptography-rust v0.1.0 (/tmp/pip-install-7e_k98bl/cryptography_9db4bb72c5224efc97549c8e71dbe2f7/src/rust)`
  
  Caused by:
    failed to fetch `https://github.com/rust-lang/crates.io-index`
  
  Caused by:
    error inflating zlib stream; class=Zlib (5)

Restarting the failed pipeline works in most cases and the build finished without issues. Full log:
Failed - https://drone.thegeeklab.de/thegeeklab/git-batch/50/7/2
Worked - https://drone.thegeeklab.de/thegeeklab/git-batch/51/7/2

Any idea where to look or how to fix it? The ARM pipelines are running within arm32v7/python:3.9-alpine containers on AWS EC2 a1.xlarge machines.

Output of cargo version: cargo 1.47.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions