Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
lambda-fairy opened this issue Sep 18, 2021 · 4 comments · Fixed by #9920
Closed
Labels
A-git Area: anything dealing with git C-bug Category: bug P-high Priority: High S-blocked-external Status: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fix

Comments

@lambda-fairy
Copy link
Contributor

lambda-fairy commented Sep 18, 2021

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)

@lambda-fairy lambda-fairy added the C-bug Category: bug label Sep 18, 2021
lambda-fairy added a commit to lambda-fairy/maud that referenced this issue Sep 18, 2021
lambda-fairy added a commit to lambda-fairy/maud that referenced this issue Sep 18, 2021
@lambda-fairy
Copy link
Contributor Author

Ooh, I've just reproduced this on my Arch Linux laptop. Using cargo 1.57.0-nightly (33ee5f82e 2021-09-17) as well. So it's not just the GitHub Actions runner.

@Emilgardis
Copy link
Contributor

@Emilgardis
Copy link
Contributor

Emilgardis commented Sep 18, 2021

This could be the bump in curl-sys to curl 7.79. e.g this

curl/curl#7730 (comment)

@Emilgardis
Copy link
Contributor

cc rust-lang/rust#88956

@ehuss ehuss added A-git Area: anything dealing with git P-high Priority: High S-blocked-external Status: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fix labels Sep 18, 2021
bors added a commit that referenced this issue Sep 18, 2021
Temporarily revert curl-sys update.

This reverts curl-sys to the previously working version, with the intent to get nightly working again until 7.79.1 is published next week.

Fixes #9919
qryxip added a commit to qryxip/cargo-compete that referenced this issue Sep 20, 2021
jrose-signal added a commit to signalapp/libsignal that referenced this issue Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-git Area: anything dealing with git C-bug Category: bug P-high Priority: High S-blocked-external Status: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants