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

rwlock: disable 'frob' test in Miri on macOS #128640

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Aug 4, 2024

Due to #121950, Miri will sometimes complain about this test on macOS. Better disable the test, as otherwise it can fail for unrelated PRs.

r? @joboet

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Aug 4, 2024
@joboet
Copy link
Member

joboet commented Aug 8, 2024

I'm split on this: On the one hand, I don't want people wasting time chasing down a known bug. But on the other hand, if there were another bug in the RwLock implementation, this test is probably the one that will catch it, and it occurs so rarely that it doesn't really affect CI times.

I'm leaving this up to you, r=me if you still think this is worth it. Otherwise, just the comment on the frob test linking to #121950 is definitely a good idea.

@RalfJung RalfJung force-pushed the rwlock-macos-miri branch from 8f070fd to a120fb7 Compare August 8, 2024 09:15
@RalfJung
Copy link
Member Author

RalfJung commented Aug 8, 2024

Each time it fails it will cause confusion and whoever runs into it will lose a bunch of time figuring out what happens. It's not about CI times, it's about not wasting people's time with known issues. If another bug is introduced and it doesn't have such an insanely low rate of actually surfacing, we have other tests that will likely catch it.

So yeah I think this is still worth it.

@RalfJung
Copy link
Member Author

RalfJung commented Aug 8, 2024

@bors r=joboet

@bors
Copy link
Collaborator

bors commented Aug 8, 2024

📌 Commit a120fb7 has been approved by joboet

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Aug 8, 2024
@rust-log-analyzer
Copy link
Collaborator

A job failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)

COPY host-x86_64/mingw-check/validate-toolstate.sh /scripts/
COPY host-x86_64/mingw-check/validate-error-codes.sh /scripts/

# NOTE: intentionally uses python2 for x.py so we can test it still works.
# validate-toolstate only runs in our CI, so it's ok for it to only support python3.
ENV SCRIPT TIDY_PRINT_DIFF=1 python2.7 ../x.py test \
           --stage 0 src/tools/tidy tidyselftest --extra-checks=py:lint,cpp:fmt
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
#    pip-compile --allow-unsafe --generate-hashes reuse-requirements.in

@jieyouxu
Copy link
Member

jieyouxu commented Aug 8, 2024

Seems like another docker-related issue: https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/CI.20failures.20from.20networking

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Aug 8, 2024
rwlock: disable 'frob' test in Miri on macOS

Due to rust-lang#121950, Miri will sometimes complain about this test on macOS. Better disable the test, as otherwise it can fail for unrelated PRs.

r? `@joboet`
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 9, 2024
…iaskrgr

Rollup of 8 pull requests

Successful merges:

 - rust-lang#128640 (rwlock: disable 'frob' test in Miri on macOS)
 - rust-lang#128791 (Don't implement `AsyncFn` for `FnDef`/`FnPtr` that wouldnt implement `Fn`)
 - rust-lang#128806 (Split `ColorConfig` off of `HumanReadableErrorType`)
 - rust-lang#128818 (std float tests: special-case Miri in feature detection)
 - rust-lang#128834 (rustdoc: strip unreachable modules)
 - rust-lang#128836 (rustdoc-json: add a test for impls on private & hidden types)
 - rust-lang#128837 (Clippy subtree update)
 - rust-lang#128851 (Add comment that bors did not see pushed before it merged)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 95b4072 into rust-lang:master Aug 9, 2024
5 of 6 checks passed
@rustbot rustbot added this to the 1.82.0 milestone Aug 9, 2024
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Aug 9, 2024
Rollup merge of rust-lang#128640 - RalfJung:rwlock-macos-miri, r=joboet

rwlock: disable 'frob' test in Miri on macOS

Due to rust-lang#121950, Miri will sometimes complain about this test on macOS. Better disable the test, as otherwise it can fail for unrelated PRs.

r? ``@joboet``
@RalfJung RalfJung deleted the rwlock-macos-miri branch August 10, 2024 18:17
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Nov 19, 2024
ignore an occasionally-failing test in Miri

This is like rust-lang#128640, the test [sometimes](rust-lang#133189) fails due to rust-lang#121950.
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Nov 19, 2024
Rollup merge of rust-lang#133200 - RalfJung:miri-rwlock-test, r=tgross35

ignore an occasionally-failing test in Miri

This is like rust-lang#128640, the test [sometimes](rust-lang#133189) fails due to rust-lang#121950.
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Nov 20, 2024
ignore an occasionally-failing test in Miri

This is like rust-lang/rust#128640, the test [sometimes](rust-lang/rust#133189) fails due to rust-lang/rust#121950.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants