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

[mono] Vector shuffle failures in Mono LLVM scenario #105537

Closed
matouskozak opened this issue Jul 26, 2024 · 5 comments · Fixed by #105538
Closed

[mono] Vector shuffle failures in Mono LLVM scenario #105537

matouskozak opened this issue Jul 26, 2024 · 5 comments · Fixed by #105538
Assignees
Labels
arch-arm64 area-Codegen-Intrinsics-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-tvos Apple tvOS
Milestone

Comments

@matouskozak
Copy link
Member

matouskozak commented Jul 26, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=755747
Build error leg or test failing: Microsoft.Bcl.Memory.Tests, System.Runtime.Intrinsics.Tests , System.Security.Cryptography.Tests
Affected CI: tvos_arm64_release_allsubsets_mono (runtime-extra-platforms). Note: x64 LLVM coverage is not working currently due to #105319
Range of commits: d73e625...7134e1e

Full logs:
net.dot.System.Security.Cryptography.Tests.log
net.dot.System.Runtime.Intrinsics.Tests.log
net.dot.Microsoft.Bcl.Memory.Tests.log

Stack trace example for System.Runtime.Intrinsics.Tests:

[17:54:10.7789630] 2024-07-25 14:54:10.805 System.Runtime.Intrinsics.Tests[3591:104610303] 1) 	[FAIL] System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64SByteShuffleOneInputWithDirectVectorTest   Test name: System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64SByteShuffleOneInputWithDirectVectorTest
[17:54:10.7789730] 2024-07-25 14:54:10.806 System.Runtime.Intrinsics.Tests[3591:104610303]    Assembly:  [System.Runtime.Intrinsics.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[17:54:10.7789800]    Exception messages: Assert.Equal() Failure: Values differ
[17:54:10.7789860] Expected: 8
[17:54:10.7789940] 2024-07-25 14:54:10.806 System.Runtime.Intrinsics.Tests[3591:104610303] Actual:   0   Exception stack traces:    at System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64SByteShuffleOneInputWithDirectVectorTest()
[17:54:10.7790010]    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[17:54:10.7790120]    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
[17:54:10.7790190] 2024-07-25 14:54:10.806 System.Runtime.Intrinsics.Tests[3591:104610303]    Execution time: 0.0073298
[17:54:10.7790280] 2024-07-25 14:54:10.806 System.Runtime.Intrinsics.Tests[3591:104610303] 2) 	[FAIL] System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64SingleCreateFromArrayTest   Test name: System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64SingleCreateFromArrayTest
[17:54:10.7806070] 2024-07-25 14:54:10.808 System.Runtime.Intrinsics.Tests[3591:104610303]    Assembly:  [System.Runtime.Intrinsics.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[17:54:10.7806290]    Exception messages: Assert.Equal() Failure: Values differ
[17:54:10.7806370] Expected: <0, 0>
[17:54:10.7826440] 2024-07-25 14:54:10.809 System.Runtime.Intrinsics.Tests[3591:104610303] Actual:   <1, 2>   Exception stack traces:    at System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64SingleCreateFromArrayTest()
[17:54:10.7826640]    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[17:54:10.7826730]    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
[17:54:10.7826790]    Execution time: 0.0058828
[17:54:10.7827190] 2024-07-25 14:54:10.810 System.Runtime.Intrinsics.Tests[3591:104610303] 3) 	[FAIL] System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64UInt32ShuffleOneInputWithDirectVectorTest   Test name: System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64UInt32ShuffleOneInputWithDirectVectorTest
[17:54:10.7827320] 2024-07-25 14:54:10.810 System.Runtime.Intrinsics.Tests[3591:104610303]    Assembly:  [System.Runtime.Intrinsics.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[17:54:10.7827390]    Exception messages: Assert.Equal() Failure: Values differ
[17:54:10.7827440] Expected: 2
[17:54:10.7827520] 2024-07-25 14:54:10.810 System.Runtime.Intrinsics.Tests[3591:104610303] Actual:   0   Exception stack traces:    at System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64UInt32ShuffleOneInputWithDirectVectorTest()
[17:54:10.7827590]    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[17:54:10.7827650]    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
[17:54:10.7828010] 2024-07-25 14:54:10.810 System.Runtime.Intrinsics.Tests[3591:104610303]    Execution time: 0.0033379
[17:54:10.7828650] 2024-07-25 14:54:10.810 System.Runtime.Intrinsics.Tests[3591:104610303] 4) 	[FAIL] System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64Int16ShuffleOneInputTest   Test name: System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64Int16ShuffleOneInputTest
[17:54:10.7828830] 2024-07-25 14:54:10.810 System.Runtime.Intrinsics.Tests[3591:104610303]    Assembly:  [System.Runtime.Intrinsics.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[17:54:10.7828900]    Exception messages: Assert.Equal() Failure: Values differ
[17:54:10.7828950] Expected: 4
[17:54:10.7838870] 2024-07-25 14:54:10.811 System.Runtime.Intrinsics.Tests[3591:104610303] Actual:   0   Exception stack traces:    at System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64Int16ShuffleOneInputTest()
[17:54:10.7839030]    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[17:54:10.7839100]    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
[17:54:10.7839150]    Execution time: 0.0020901
[17:54:10.7854900] 2024-07-25 14:54:10.813 System.Runtime.Intrinsics.Tests[3591:104610303] 5) 	[FAIL] System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64ByteShuffleOneInputWithZeroIndicesTest   Test name: System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64ByteShuffleOneInputWithZeroIndicesTest
[17:54:10.7855200] 2024-07-25 14:54:10.813 System.Runtime.Intrinsics.Tests[3591:104610303]    Assembly:  [System.Runtime.Intrinsics.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[17:54:10.7855260]    Exception messages: Assert.Equal() Failure: Values differ
[17:54:10.7855300] Expected: 1
[17:54:10.7868500] 2024-07-25 14:54:10.814 System.Runtime.Intrinsics.Tests[3591:104610303] Actual:   0   Exception stack traces:    at System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64ByteShuffleOneInputWithZeroIndicesTest()
[17:54:10.7868640]    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[17:54:10.7868700]    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
[17:54:10.7868980] 2024-07-25 14:54:10.814 System.Runtime.Intrinsics.Tests[3591:104610303]    Execution time: 0.0036366
[17:54:10.7869600] 2024-07-25 14:54:10.814 System.Runtime.Intrinsics.Tests[3591:104610303] 6) 	[FAIL] System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64SByteShuffleOneInputWithZeroIndicesTest   Test name: System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64SByteShuffleOneInputWithZeroIndicesTest
[17:54:10.7870160] 2024-07-25 14:54:10.814 System.Runtime.Intrinsics.Tests[3591:104610303]    Assembly:  [System.Runtime.Intrinsics.Tests, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[17:54:10.7870310]    Exception messages: Assert.Equal() Failure: Values differ
[17:54:10.7870370] Expected: 1
[17:54:10.7870440] 2024-07-25 14:54:10.815 System.Runtime.Intrinsics.Tests[3591:104610303] Actual:   0   Exception stack traces:    at System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64SByteShuffleOneInputWithZeroIndicesTest()
[17:54:10.7870520]    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[17:54:10.7870580]    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
[17:54:10.7870810] 2024-07-25 14:54:10.815 System.Runtime.Intrinsics.Tests[3591:104610303]    Execution time: 0.0019761

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "[FAIL] System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64SByteShuffleOneInputWithDirectVectorTest   Test name: System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64SByteShuffleOneInputWithDirectVectorTest",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=755747
Error message validated: [[FAIL] System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64SByteShuffleOneInputWithDirectVectorTest Test name: System.Runtime.Intrinsics.Tests.Vectors.Vector64Tests.Vector64SByteShuffleOneInputWithDirectVectorTest]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 7/26/2024 4:35:54 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@matouskozak matouskozak added arch-arm64 blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner os-tvos Apple tvOS Known Build Error Use this to report build issues in the .NET Helix tab area-Codegen-Intrinsics-mono labels Jul 26, 2024
Copy link
Contributor

Tagging subscribers to 'os-tvos': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

Copy link
Contributor

Tagging subscribers to this area: @fanyang-mono, @steveisok
See info in area-owners.md if you want to be subscribed.

@matouskozak
Copy link
Member Author

Possibly caused by #105299 @tannergooding @fanyang-mono

@tannergooding
Copy link
Member

Taking a look, this is interesting because each new path is actually supposed to be explicitly filtering on vector_size == 16

@tannergooding
Copy link
Member

Found the issue, there was a path that was incorrectly creating a constant for vector_size == 8.

@matouskozak matouskozak removed the untriaged New issue has not been triaged by the area owner label Jul 26, 2024
@vitek-karas vitek-karas added this to the 9.0.0 milestone Jul 26, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-Codegen-Intrinsics-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab os-tvos Apple tvOS
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants