Skip to content

cargo package::reserved_windows_name test seems to be flaky #147321

@jieyouxu

Description

@jieyouxu
---- package::reserved_windows_name stdout ---- running `D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\release\cargo.exe package` thread 'package::reserved_windows_name' (9040) panicked at src\tools\cargo\tests\testsuite\package.rs:2997:10: test failed running `D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\release\cargo.exe package` error: process exited with code 0 (expected 101) --- stdout --- stderr warning: manifest has no documentation, homepage or repository. See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info. Packaging foo v0.0.1 (D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\tmp\cit\t2383\foo) Updating `dummy-registry` index Packaged 4 files, 1.4KiB (877B compressed) Verifying foo v0.0.1 (D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\tmp\cit\t2383\foo) Downloading crates ... Downloaded bar v1.0.0 (registry `dummy-registry`) Compiling bar v1.0.0 Compiling foo v0.0.1 (D:\a\rust\rust\build\x86_64-pc-windows-msvc\stage2-tools\x86_64-pc-windows-msvc\tmp\cit\t2383\foo\target\package\foo-0.0.1) Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.59s stack backtrace: 0: __rustc::rust_begin_unwind 1: core::panicking::panic_fmt 2: cargo_test_support::panic_error::pe 3: <cargo_test_support::Execs>::run 4: Curl_async_global_init 5: test::convert_benchmarks_to_tests 6: test::run_test note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. ---- package::reserved_windows_name stdout end ---- 

Observed recently-ish in

Cargo zulip thread: #t-cargo > reserved_windows_name test failing

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.I-flaky-testIssue: A test is flaky/unreliable/spuriously failsO-windows-msvcToolchain: MSVC, Operating system: WindowsT-cargoRelevant to the cargo team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions