-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add XUnitLogChecker to log libraries dumps #93906
Add XUnitLogChecker to log libraries dumps #93906
Conversation
The XUnitLogChecker enhancements work is going to be tracked here in issue #93988. |
cb64517
to
aa9e55f
Compare
ae25730
to
7f0fa13
Compare
143dad8
to
7eaf88c
Compare
All the remaining observations I had have already been pointed out in the review. So, it looks good to me now. |
@ViktorHofer I addressed your latest comment (remove unused envvar property defined outside of the condition). I only need a sign-off, and remove the temporary change that causes the crash and skips unrelated CIs, then I can merge if the CI is green in the final run. |
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.
LGTM - minor q's
|
||
<!-- For enabling the use of XUnitLogChecker in coreclr and libraries test runs. --> | ||
<IsXUnitLogCheckerSupported Condition="'$(IsXUnitLogCheckerSupported)' == ''">false</IsXUnitLogCheckerSupported> | ||
<IsXUnitLogCheckerSupported Condition="'$(RuntimeFlavor)' == 'CoreCLR' and '$(TestNativeAot)' != 'true' and '$(TestRunNamePrefixSuffix)' != 'NativeAOT_Release' and '$(TargetOS)' != 'browser' and '$(TargetOS)' != 'wasi' and '$(TargetOS)' != 'ios' and '$(TargetOS)' != 'iossimulator' and '$(TargetOS)' != 'tvos' and '$(TargetOS)' != 'tvossimulator' and '$(TargetOS)' != 'maccatalyst' and '$(TargetOS)' != 'android'">true</IsXUnitLogCheckerSupported> |
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.
Do you need both in that case? Also, runtime flavor should remove a lot of the TargetOS ones.
… special case Darwin
@carlossanlop This broke native AOT outer loop runs. error : Correlation Payload 'D:\a_work\1\s\artifacts\bin\XUnitLogChecker' not found. [D:\a_work\1\s\src\libraries\sendtohelixhelp.proj] Could you please take a look asap? |
This reverts commit d561f39.
Libraries CI failures that generate dumps will now show the dump output in the console log itself.
Libraries CI failures that generate dumps will now show the dump output in the console log itself.
…OT tests (#94868) * Add XUnitLogChecker to log libraries dumps (#93906) Libraries CI failures that generate dumps will now show the dump output in the console log itself. * Change NativeAOT condition * Pass the global property set to false in the post build step. * Address suggestion: - Avoid using yml extraHelixArguments. - Add the new embedded SetCommands optional section in runner scripts. - Set __IsXUnitLogCheckerSupported in tests.targets as SetScriptCommand items instead of directly in sendtohelixhelp.proj. * Only add XUnitLogChecker as HelixPayload if its directory is found. Whether it was built or not has already been decided before, and the runner scripts know when to execute it.
No description provided.