Skip to content

"Spurious network error" when building on GitHub Actions with Nightly 2021-09-18 #9919

@lambda-fairy

Description

@lambda-fairy

Problem

On my GitHub Actions build, one of the jobs (cd doctest && cargo test) fails with the following:

    Updating crates.io index
 Downloading crates ...
  Downloaded actix-codec v0.3.0
  Downloaded hyper v0.10.16
  Downloaded hashbrown v0.11.2
  Downloaded aes v0.6.0
  Downloaded mac v0.1.1
  Downloaded version_check v0.1.5
  Downloaded idna v0.2.3
  Downloaded atty v0.2.14
warning: spurious network error (2 tries remaining): [18] Transferred a partial file (transfer closed with 4382 bytes remaining to read)
warning: spurious network error (2 tries remaining): [18] Transferred a partial file (transfer closed with 4586 bytes remaining to read)
  Downloaded atomic-waker v1.0.0
  Downloaded async-task v4.0.3
  Downloaded async-global-executor v2.0.2
  Downloaded adler32 v1.2.0
  Downloaded kv-log-macro v1.0.7
warning: spurious network error (2 tries remaining): [18] Transferred a partial file (transfer closed with 97406 bytes remaining to read)
warning: spurious network error (2 tries remaining): [18] Transferred a partial file (transfer closed with 11302 bytes remaining to read)
  Downloaded arrayvec v0.5.2
warning: spurious network error (2 tries remaining): [28] Timeout was reached (download of `ascii v1.0.0` failed to transfer more than 10 bytes in 30s)
warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for `arrayref v0.3.6` within 30s)
warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 201 was not closed cleanly before end of the underlying stream)
warning: spurious network error (2 tries remaining): [92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 147 was not closed cleanly before end of the underlying stream)
... many more similar errors ...

https://github.com/lambda-fairy/maud/runs/3639098684?check_suite_focus=true

This is a daily build, and only started failing today.

Steps

  1. Trigger a CI build on https://github.com/lambda-fairy/maud (e.g. by opening a pull request)
  2. Wait for the "Examples" job to complete

Possible Solution(s)
I notice a curl update landed yesterday (#9917). Could that be related?

Notes

Output of cargo version: cargo 1.57.0-nightly (33ee5f82e 2021-09-17)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-gitArea: anything dealing with gitC-bugCategory: bugP-highPriority: HighS-blocked-externalStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fix

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions