Proxy tests flaky because of uncoordinated environment access #2468
Labels
E-easy
Effort: Easy! Start here :D
E-pr-welcome
The feature is welcome to be added, instruction should be found in the issue.
I'm working on updating the package for reqwest on Fedora Linux to the latest version. I noticed new test failures in 0.12.9 compared to 0.12.8 in the
proxy
tests, and I see there were some proxy-related changes in 0.12.9, so I thought it worth reporting.I am seeing failures in ~50% of test runs on
aarch64-unknown-linux-gnu
, and only on that architecture. I'm not sure why that might be the case, but our aarch64 builders are the ones that have the most multi-threading capability. The failed builds all had 12 CPU threads available, with tests running in parallel (-j12
). We are running the equivalent ofcargo test --release
, if that matters.I saw failures with various different Rust compiler versions (1.82, 1.81, 1.79, and 1.75) and on different OS versions (Fedora 42, 41, 40, 39, and RHEL 9 and CentOS Stream 10) so I don't think either of these play a role here.
All bad test runs I've seen were caused by one of these two failures:
The text was updated successfully, but these errors were encountered: