-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[windows] XFAIL crash-in-user-code test in MSVC 2017 #34143
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
[windows] XFAIL crash-in-user-code test in MSVC 2017 #34143
Conversation
See also swiftlang#33383 where this problem is better explained. MSVC doesn't seem to trigger the exception code when no frame pointers are generated. The only thing missing would be for interpreted code to have a more informative crash message. Add a new LLVM Lit feature with the value of the VisualStudioVersion environment variable (it seems to not change even for minor versions, so it is an easy way to figure out the 2017/2019 difference, even if updates are applied). Use the new feature in a XFAIL check in the test.
@swift-ci please test |
Windows is failing because the LLDB problem (swiftlang/llvm-project#1887 haven't made it yet to |
Build failed |
Build failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thank you!
@swift-ci please smoke test |
1 similar comment
@swift-ci please smoke test |
The test started working in the last week, for unknown reasons. Remove the XFAIL line, but keep the infra for detecting the MSVC version for the tests. It might be useful later. If the test starts failing again, and nobody has any idea why, the best path forward might be marking it as UNSUPPORTED.
…test [windows] Partial revert #34143. Remove XFAIL.
* 'main' of github.com:apple/swift: [windows] Partial revert swiftlang#34143. Remove XFAIL.
The test is very flaky. It works and stops working randomly for no apparent reason. To avoid future problems, and since VS2019 keeps working without these problems, mark the tests as unsupported to avoid the noise. See also swiftlang#34143 and swiftlang#34625.
See also #33383 where this problem is better explained.
MSVC doesn't seem to trigger the exception code when no frame pointers are generated. The only thing missing would be for interpreted code to have a more informative crash message.
Add a new LLVM Lit feature with the value of the VisualStudioVersion environment variable (it seems to not change even for minor versions, so it is an easy way to figure out the 2017/2019 difference, even if updates are applied).
Use the new feature in a XFAIL check in the test.