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

test tests/ui/entry.rs failing on nightly-2021-10-10 #299

Closed
timrobertsdev opened this issue Oct 11, 2021 · 2 comments · Fixed by #305
Closed

test tests/ui/entry.rs failing on nightly-2021-10-10 #299

timrobertsdev opened this issue Oct 11, 2021 · 2 comments · Fixed by #305

Comments

@timrobertsdev
Copy link
Contributor

timrobertsdev commented Oct 11, 2021

On Linux, the ui test for the entry attribute are failing due to a warning being emitted before the expected output.

Output:
WARN rustc_metadata::locator no metadata found: failed to mmap rmeta metadata: '$WORKSPACE/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/libuefi_macros_tests-ec1cf1694a730703.rmeta'

I have confirmed that $WORKSPACE/target/tests/target/x86_64-unknown-linux-gnu/debug/deps/libuefi_macros_tests-ec1cf1694a730703.rmeta exists, but it is an empty file. Not quite sure what's going on yet, as I'm not too familiar with the inner workings of cargo and rustc.

This is also failing on Windows using the MSVC toolchain, but with a different error.

Output:
ERROR: failed to execute cargo: %1 is not a valid Win32 application. (os error 193)

There doesn't appear to be anything in the last few commits that would cause this; I'm leaning towards it being a bug in rustc/cargo. It's getting late here now, I'll try some different nightly versions tomorrow to figure out what's going on.

Steps to reproduce:

  1. clone master
  2. cd uefi-rs/uefi-test-runner
  3. ./build.py test

Environment (Linux):

  • WSL2 (Ubuntu 20.04, 5.10.60.1-microsoft-standard-WSL2), Fedora 34 (5.14.9-200.fc34.x86_64)
  • rustc --version: rustc 1.57.0-nightly (41dfaaa3c 2021-10-10)

Environment (Windows):

  • Windows 11 (build 22000.194)
  • rustc --version: rustc 1.57.0-nightly (41dfaaa3c 2021-10-10)
@timrobertsdev timrobertsdev changed the title test tests/ui/entry.rs failing test tests/ui/entry.rs failing on nightly-2021-10-10 Oct 11, 2021
@nicholasbishop
Copy link
Member

Looks like rust-lang/rust#89795

nicholasbishop added a commit to nicholasbishop/uefi-rs that referenced this issue Oct 15, 2021
This test is failing in nightly due to:
rust-lang/rust#89795

Disabling the test for now to get the CI happy again. Will keep
rust-osdev#299 open as a reminder to
re-enable the test once the underlying issue has been fixed.
nicholasbishop added a commit that referenced this issue Oct 15, 2021
This test is failing in nightly due to:
rust-lang/rust#89795

Disabling the test for now to get the CI happy again. Will keep
#299 open as a reminder to
re-enable the test once the underlying issue has been fixed.
@nicholasbishop
Copy link
Member

nicholasbishop commented Oct 15, 2021

I've temporarily disabled the test with #300. Will keep this bug open as a reminder to re-enable the test once the underlying issue is fixed.

nicholasbishop added a commit to nicholasbishop/uefi-rs that referenced this issue Oct 27, 2021
This reverts commit a4f4fd2. The
upstream issue that was causing these tests to fail has been fixed:
rust-lang/rust#89795

Fixes rust-osdev#299
nicholasbishop added a commit that referenced this issue Oct 27, 2021
This reverts commit a4f4fd2. The
upstream issue that was causing these tests to fail has been fixed:
rust-lang/rust#89795

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

Successfully merging a pull request may close this issue.

2 participants