Skip to content

Add references to xunit.*.dll to CLRTest.Crossgen.targets#83413

Merged
trylek merged 1 commit into
dotnet:mainfrom
trylek:Crossgen2XUnitReferenceFix
Mar 14, 2023
Merged

Add references to xunit.*.dll to CLRTest.Crossgen.targets#83413
trylek merged 1 commit into
dotnet:mainfrom
trylek:Crossgen2XUnitReferenceFix

Conversation

@trylek

@trylek trylek commented Mar 14, 2023

Copy link
Copy Markdown
Member

This change fixes the exceptions thrown from Crossgen2 JIT interface when JIT tries to resolve tokens from xunit.assert. As a secondary effect the frequent exception throws ended up hitting the race condition

#81884

triggering non-deterministic native CoreCLR runtime failures on arm64. I was reluctant to fix this primary issue until the native runtime bug is understood as otherwise this fix would just cause the issue to stop manifesting without being actually fixed. As the runtime bug has been fixed by now, I am fixing Crossgen2 executions to stop hitting these resolution exceptions.

Thanks

Tomas

Mitigates: #81120, #77820, #81109

/cc @dotnet/crossgen-contrib

This change fixes the exceptions thrown from Crossgen2 JIT
interface when JIT tries to resolve tokens from xunit.assert.
As a secondary effect the frequent exception throws triggered
the race condition

dotnet#81884

triggering non-deterministic native CoreCLR runtime failures on
arm64. I was originally reluctant to fix this primary issue until
the native runtime bug is understood as otherwise this fix would
just cause the issue to stop manifesting without being actually
fixed. As the runtime bug has been fixed by now, I am fixing
Crossgen2 executions to stop hitting these resolution exceptions.

Thanks

Tomas
@trylek trylek added the area-Infrastructure-coreclr Only use for closed issues label Mar 14, 2023
@ghost ghost assigned trylek Mar 14, 2023
@ghost

ghost commented Mar 14, 2023

Copy link
Copy Markdown

Tagging subscribers to this area: @hoyosjs
See info in area-owners.md if you want to be subscribed.

Issue Details

This change fixes the exceptions thrown from Crossgen2 JIT interface when JIT tries to resolve tokens from xunit.assert. As a secondary effect the frequent exception throws ended up hitting the race condition

#81884

triggering non-deterministic native CoreCLR runtime failures on arm64. I was reluctant to fix this primary issue until the native runtime bug is understood as otherwise this fix would just cause the issue to stop manifesting without being actually fixed. As the runtime bug has been fixed by now, I am fixing Crossgen2 executions to stop hitting these resolution exceptions.

Thanks

Tomas

Mitigates: #81120, #77820, #81109

/cc @dotnet/crossgen-contrib

Author: trylek
Assignees: -
Labels:

area-Infrastructure-coreclr

Milestone: -

@trylek

trylek commented Mar 14, 2023

Copy link
Copy Markdown
Member Author

/azp run runtime-coreclr outerloop

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@trylek

trylek commented Mar 14, 2023

Copy link
Copy Markdown
Member Author

The only failures in the outerloop runs are the known HardwareIntrinsics_ro timeouts, merging in.

@JulieLeeMSFT

Copy link
Copy Markdown
Member

Thanks @trylek for the fix!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Infrastructure-coreclr Only use for closed issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants