Skip to content

[llvm-objcopy] Explain that strip-preserve-atime.test fails with Crowdstrike #145783

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rkirsling
Copy link
Contributor

Related to #82372.
Not a fix per se, but an acknowledgment and a workaround.

…dstrike

Related to llvm#82372.
Not a fix per se, but an acknowledgment and a workaround.
@llvmbot
Copy link
Member

llvmbot commented Jun 25, 2025

@llvm/pr-subscribers-llvm-binary-utilities

Author: Ross Kirsling (rkirsling)

Changes

Related to #82372.
Not a fix per se, but an acknowledgment and a workaround.


Full diff: https://github.com/llvm/llvm-project/pull/145783.diff

1 Files Affected:

  • (modified) llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test (+2)
diff --git a/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test b/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
index b145599d9ff33..c08580f32ecfd 100644
--- a/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
+++ b/llvm/test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
@@ -1,6 +1,8 @@
 # Note: ls -lu prints the accessed timestamp
 # NetBSD: noatime mounts currently inhibit 'touch -a' updates
 # Windows: the last access time is disabled by default in the OS
+# This test is also known to fail on Mac (and possibly elsewhere) when Crowdstrike is installed;
+# please make use of the LIT_XFAIL environment variable on such machines.
 # UNSUPPORTED: system-netbsd, system-windows
 
 # Preserve dates when stripping to an output file.

Copy link
Collaborator

@jh7370 jh7370 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it a 100% failure rate on machines with this setup? If not, should this test be retried and will LIT_XFAIL do the job or just result in occasional XPASSes instead?

@rkirsling
Copy link
Contributor Author

It consistently fails on my machine; not sure if @hiraditya had experienced intermittent passes.

Copy link
Collaborator

@jh7370 jh7370 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@rkirsling
Copy link
Contributor Author

(I'd ask for this to be merged, but I figure it'll be a good way to test out my ability to do so myself once my commit access invite arrives.)

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

Successfully merging this pull request may close these issues.

3 participants