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

Investigate sudden --features, --no-default-features, --all-features e2e test failures in CI only #1081

Open
foresterre opened this issue Dec 7, 2024 · 1 comment

Comments

@foresterre
Copy link
Owner

foresterre commented Dec 7, 2024

  • 3 e2e tests started failing suddenly on the CI
  • not able to reproduce locally on both Windows 11 and Ubuntu
  • consistently fails on all pipelines
  • debugging on CI difficult and time consuming
  • skipped these tests for now out of pragmatism, but should be investigated!

image

failures:

---- cargo_all_features_flag stdout ----
thread 'cargo_all_features_flag' panicked at tests/find_msrv.rs:339:68:
called `Result::unwrap()` on an `Err` value: UnableToFindAnyGoodVersion { command: "cargo check --all-features --target x86_64-unknown-linux-gnu" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

---- cargo_features_option stdout ----
thread 'cargo_features_option' panicked at tests/find_msrv.rs:306:68:
called `Result::unwrap()` on an `Err` value: UnableToFindAnyGoodVersion { command: "cargo check --features required_feature --target x86_64-unknown-linux-gnu" }

---- cargo_no_default_features_flag stdout ----
thread 'cargo_no_default_features_flag' panicked at tests/find_msrv.rs:372:68:
called `Result::unwrap()` on an `Err` value: UnableToFindAnyGoodVersion { command: "cargo check --no-default-features --target x86_64-unknown-linux-gnu" }


failures:
    cargo_all_features_flag
    cargo_features_option
    cargo_no_default_features_flag

test result: FAILED. 23 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 189.22s

pipeline: https://github.com/foresterre/cargo-msrv/actions/runs/12098680621/job/33758675881?pr=1072

@foresterre
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant