-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
accesstime (atime) does not work reliably on MacOs #64908
Comments
I guess the fix here is to disable this test on darwin? |
@llvm/issue-subscribers-tools-llvm-objcopy-strip |
Disabling the test for darwin: https://reviews.llvm.org/D158560 |
This test is largely unchanged since it's introduction in 2018 and I've never seen it fail, so I'm not really convinced that the claim that atime doesn't work reliably on macOS is accurate. Is there maybe something more specific about your setup that could explain this? |
I'm using Mac M1 machine and it fails during local testing. |
Okay... I am also on a Mac M1 machine and it doesn't fail. I've been running LLVM tests frequently on various different macs since before these tests were introduced and I've never seen these tests fail. I don't think it makes sense to disable this test for darwin unless the issue you're running into is understood (or if there's evidence that it's widespread) |
can't reproduce it reliably. closing it. |
ninja check-llvm-tools-llvm-objcopy
sometimes passes and sometimes fails onllvm-project/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
I ran the test manually and it behaves weird many times. Even if
touch -at
works correctly, by the time next command runs the access time changes under the hood.The text was updated successfully, but these errors were encountered: