Repository navigation
Conversation
This comment has been minimized.
This comment has been minimized.
b6ebbf6 to
8b87324
Compare
This comment has been minimized.
This comment has been minimized.
|
Weird, the kernel should be new enough. |
8b87324 to
bd44b22
Compare
This comment has been minimized.
This comment has been minimized.
bd44b22 to
9e75dad
Compare
This comment has been minimized.
This comment has been minimized.
9e75dad to
0d89239
Compare
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #143294) made this pull request unmergeable. Please resolve the merge conflicts. |
0d89239 to
23ca6f2
Compare
This comment has been minimized.
This comment has been minimized.
23ca6f2 to
614bbb8
Compare
This comment has been minimized.
This comment has been minimized.
614bbb8 to
f23f736
Compare
This comment has been minimized.
This comment has been minimized.
f23f736 to
e8c7701
Compare
This comment has been minimized.
This comment has been minimized.
9b85793 to
705d195
Compare
This comment has been minimized.
This comment has been minimized.
|
At this point I'm fairly sure this is a kernel bug in the runner. Tests pass locally, the pwritev2 also happens in CI and doesn't return an error, meaning the flag should be supported. |
eec626f to
db01fe3
Compare
This comment has been minimized.
This comment has been minimized.
db01fe3 to
f7000d4
Compare
|
Any special-casing of Miri in the standard library requires review. cc @rust-lang/miri |
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
GH will close that issue if this PR gets merged. Is that intentional, for a "somewhat" fix? |
| // FIXME: replace with skip_missing_miri_shims once that's landed? | ||
| if cfg!(miri) { | ||
| return None; | ||
| } |
There was a problem hiding this comment.
No, skip_missing_miri_shims is for tests only.
There was a problem hiding this comment.
You can add a SYS_pwritev2 case around here, making it always return ENOSYS to make Miri go through the fallback path.
EDIT: Or we can wait for rust-lang/miri#5602 to sync, then this should just work in Miri. (Miri will probably still be affected by the bug, but that is a separate issue.)
Well it does our part but yeah it specifically mentions GHA so I guess we should leave it open. |
requires a kernel >= 6.9
Co-authored-by: Ralf Jung <post@ralfj.de>
|
We should probably file this as an issue with GHA that the flag does not work. That's a pretty clear violation of the documented behavior.
|
8ba237d to
710de15
Compare
|
Filed one previously but those shifted responsibility to the ubuntu kernel. Canonical has been unresponsive to the bug I filed there. |
miri subtree update Helps with rust-lang#143166 Subtree update of `miri` to rust-lang/miri@ce0d2f2. Created using https://github.com/rust-lang/josh-sync. r? @ghost
miri subtree update Helps with rust-lang#143166 Subtree update of `miri` to rust-lang/miri@ce0d2f2. Created using https://github.com/rust-lang/josh-sync. r? @ghost
miri subtree update Helps with rust-lang#143166 Subtree update of `miri` to rust-lang/miri@ce0d2f2. Created using https://github.com/rust-lang/josh-sync. r? @ghost
miri subtree update Helps with rust-lang#143166 Subtree update of `miri` to rust-lang/miri@ce0d2f2. Created using https://github.com/rust-lang/josh-sync. r? @ghost
Rollup merge of #165740 - RalfJung:miri, r=RalfJung miri subtree update Helps with #143166 Subtree update of `miri` to rust-lang/miri@ce0d2f2. Created using https://github.com/rust-lang/josh-sync. r? @ghost
|
☔ The latest upstream changes (presumably #165793) made this pull request unmergeable. Please resolve the merge conflicts by rebasing. |
| // FIXME: remove once https://github.com/rust-lang/miri/pull/5602 is synced | ||
| if cfg!(miri) { | ||
| return None; | ||
| } |
There was a problem hiding this comment.
It has been synced, so after a rebase this branch can be removed.
miri subtree update Helps with rust-lang/rust#143166 Subtree update of `miri` to rust-lang@ce0d2f2. Created using https://github.com/rust-lang/josh-sync. r? @ghost
miri subtree update Helps with rust-lang/rust#143166 Subtree update of `miri` to rust-lang/miri@ce0d2f2. Created using https://github.com/rust-lang/josh-sync. r? @ghost
|
r=me once the miri fixes are in. |
|
I'll have to update the test conditions again, turns out the the root cause is in overlayfs (used by docker) and not azure-specific. |
View all comments
The workaround applies on kernels >= 6.9 according to the manpage.
It doesn't work on GHA runners, I suspect virtualization issues, maybe a faulty virtio implementation.
But both on my local machine and on the dev-desktop it works.
running
test_append_write_atunder strace:partially addresses #140867