Skip to content
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

Assertion failed 'compIsaSupportedDebugOnly(InstructionSet_AVX2)' in Libraries Test Run checked coreclr OSX x64 Debug #64175

Closed
danmoseley opened this issue Jan 24, 2022 · 6 comments

Comments

@danmoseley
Copy link
Member

#64113

Console log: 'System.Runtime.Intrinsics.Tests' from job 457be290-df2d-46c9-8171-5ffc3baa9c48 workitem 67238b9f-e642-40b8-9e99-22cf99d3593d (osx.1014.amd64.open) executed on machine dci-macpro-05
...
  Starting:    System.Runtime.Intrinsics.Tests (parallel test collections = on, max threads = 8)

Assert failure(PID 60551 [0x0000ec87], Thread: 1904007 [0x1d0d87]): Assertion failed 'compIsaSupportedDebugOnly(InstructionSet_AVX2)' in 'System.Runtime.Intrinsics.Tests.Vectors.Vector256Tests:Vector256UInt32SumTest():this' during 'Importation' (IL size 22)

    File: /Users/runner/work/1/s/src/coreclr/jit/gentree.cpp Line: 20737
    Image: /private/tmp/helix/working/AE0209B1/p/dotnet

./RunTests.sh: line 162: 60551 Abort trap: 6           (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Runtime.Intrinsics.Tests.runtimeconfig.json --depsfile System.Runtime.Intrinsics.Tests.deps.json xunit.console.dll System.Runtime.Intrinsics.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/private/tmp/helix/working/AE0209B1/w/A392090A/e
----- end Fri Jan 21 16:47:47 EST 2022 ----- exit code 134 ----------------------------------------------------------
exit code 134 means SIGABRT Abort. Managed or native assert, or runtime check such as heap corruption, caused call to abort(). Core dumped.
ulimit -c value: unlimited
+ export _commandExitCode=134
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Jan 24, 2022
@ghost
Copy link

ghost commented Jan 24, 2022

Tagging subscribers to this area: @dotnet/area-system-runtime-intrinsics
See info in area-owners.md if you want to be subscribed.

Issue Details

#64113

Console log: 'System.Runtime.Intrinsics.Tests' from job 457be290-df2d-46c9-8171-5ffc3baa9c48 workitem 67238b9f-e642-40b8-9e99-22cf99d3593d (osx.1014.amd64.open) executed on machine dci-macpro-05
...
  Starting:    System.Runtime.Intrinsics.Tests (parallel test collections = on, max threads = 8)

Assert failure(PID 60551 [0x0000ec87], Thread: 1904007 [0x1d0d87]): Assertion failed 'compIsaSupportedDebugOnly(InstructionSet_AVX2)' in 'System.Runtime.Intrinsics.Tests.Vectors.Vector256Tests:Vector256UInt32SumTest():this' during 'Importation' (IL size 22)

    File: /Users/runner/work/1/s/src/coreclr/jit/gentree.cpp Line: 20737
    Image: /private/tmp/helix/working/AE0209B1/p/dotnet

./RunTests.sh: line 162: 60551 Abort trap: 6           (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig System.Runtime.Intrinsics.Tests.runtimeconfig.json --depsfile System.Runtime.Intrinsics.Tests.deps.json xunit.console.dll System.Runtime.Intrinsics.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
/private/tmp/helix/working/AE0209B1/w/A392090A/e
----- end Fri Jan 21 16:47:47 EST 2022 ----- exit code 134 ----------------------------------------------------------
exit code 134 means SIGABRT Abort. Managed or native assert, or runtime check such as heap corruption, caused call to abort(). Core dumped.
ulimit -c value: unlimited
+ export _commandExitCode=134
Author: danmoseley
Assignees: -
Labels:

area-System.Runtime.Intrinsics

Milestone: -

@tannergooding
Copy link
Member

tannergooding commented Jan 24, 2022

This assert seems massively off. It claims the assert is in gentree, but there is no equivalent assert anywhere near there: https://github.com/dotnet/runtime/blob/main/src/coreclr/jit/gentree.cpp#L20737

There is a known issue here, but the assert that catches it is being added here in codegen: #64140 and the assert is being added because nothing else was known to raise the issue

@tannergooding
Copy link
Member

tannergooding commented Jan 24, 2022

Ah, I didn't realize the PR had been run 2 days ago.

This particular assert was already fixed in #63972

@danmoseley
Copy link
Member Author

Ah thanks, I didn't see that in my search.

@am11
Copy link
Member

am11 commented Jan 24, 2022

assert(compIsaSupportedDebugOnly(InstructionSet_AVX2));

This assert is still failing on PRs based off of current main branch, e.g.: https://helix.dot.net/api/2019-06-17/jobs/4ca0619d-cc63-48a1-b0a7-100192c57fd7/workitems/System.Runtime.Intrinsics.Tests/console

@tannergooding
Copy link
Member

This assert is still failing on PRs based off of current main branch

This is a different, but related, assert being handled by #64140.

64140 also notably adds validation to help validate we aren't introducing failures like this in the future given that we only have a very small pool of OSX machines that have AVX but not AVX2.

@ghost ghost locked as resolved and limited conversation to collaborators Feb 23, 2022
@tannergooding tannergooding removed the untriaged New issue has not been triaged by the area owner label Jun 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants