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

Some System.Buffers.Binary.Tests.ReverseEndiannessUnitTests tests broken on main #82868

Closed
radical opened this issue Mar 2, 2023 · 3 comments · Fixed by #82890
Closed

Some System.Buffers.Binary.Tests.ReverseEndiannessUnitTests tests broken on main #82868

radical opened this issue Mar 2, 2023 · 3 comments · Fixed by #82890
Labels
area-System.Memory 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

Comments

@radical
Copy link
Member

radical commented Mar 2, 2023

Rolling build failure, and log:

    System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed<UInt16>(original: [12954, 18803, 35105, 6236, 7667, ...]) [FAIL]
      Assert.Equal() Failure
                 ↓ (pos 0)
      Expected: [39474, 29513, 8585, 23576, 62237, ...]
      Actual:   [12986, 18811, 35241, 6236, 7679, ...]
                 ↑ (pos 0)
      Stack Trace:
        /_/src/libraries/System.Memory/tests/Binary/ReverseEndiannessUnitTests.cs(117,0): at System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed[UInt16](UInt16[] original)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(35,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, IntPtr* args)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(59,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
    System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed<Int16>(original: [-26927, 26518, -2457, -966, 24035, ...]) [FAIL]
      Assert.Equal() Failure
                 ↓ (pos 0)
      Expected: [-11882, -27033, 26614, 15100, -7331, ...]
      Actual:   [-26921, 26615, -2313, -770, 24063, ...]
                 ↑ (pos 0)
      Stack Trace:
        /_/src/libraries/System.Memory/tests/Binary/ReverseEndiannessUnitTests.cs(117,0): at System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed[Int16](Int16[] original)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(35,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, IntPtr* args)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(59,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
    System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed<UInt16>(original: [45029, 13075, 51127, 61380, 18590, ...]) [FAIL]
      Assert.Equal() Failure
                 ↓ (pos 0)
      Expected: [58799, 4915, 47047, 50415, 40520, ...]
      Actual:   [45039, 13107, 51191, 61423, 18654, ...]
                 ↑ (pos 0)
      Stack Trace:
        /_/src/libraries/System.Memory/tests/Binary/ReverseEndiannessUnitTests.cs(117,0): at System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed[UInt16](UInt16[] original)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(35,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, IntPtr* args)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(59,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

....

This was building 0a15c3b .

Known Issue Error Message

Fill the error message using known issues guidance.

{
  "ErrorPattern": "System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed",
  "BuildRetry": false,
"ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
190733 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82711
190709 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82809
190701 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #78769
190692 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82748
190687 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed
188725 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82470
189431 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82833
190235 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82866
190622 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82284
190612 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82782
190616 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #80297
190245 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82836
190568 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82861
190562 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82877
190475 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82662
190402 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82874
189831 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82600
189912 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82744
188500 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82794
190323 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82045
190260 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82867
190265 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #74623
190143 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #80297
190085 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82864
189837 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82751
190071 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82811
190015 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82861
189717 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82749
189986 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82814
188659 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82800
189824 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #78742
189819 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed
189779 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #81919
188591 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82797
189691 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82832
189532 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #81215
189305 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82764
189516 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82711
189505 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82839
189500 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82809
189206 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82744
189485 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82785
189466 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82420
189427 dotnet/runtime System.Memory.Tests.SequenceReader.SingleSegmentChar.TryReadReturnsValueAndAdvances #82765
189396 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #78769
189269 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82827
189183 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #79243
187634 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82707
189135 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82817
189125 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82619
188870 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82809
189044 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed
189037 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82250
189029 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82816
188013 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82767
189017 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82578
188651 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82744
188963 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82813
188949 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82812
188928 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #81973
188886 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82810
188843 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #81919
188757 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #74623
188763 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82806
188685 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82803
188690 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82804
188247 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82749
188587 dotnet/runtime normal-System.Memory.Tests.WorkItemExecution #82773
188485 dotnet/runtime System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed #82660

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
46 69 69
@radical radical added area-System.Memory 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 labels Mar 2, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Mar 2, 2023
@ghost
Copy link

ghost commented Mar 2, 2023

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

Issue Details

Rolling build failure, and log:

    System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed<UInt16>(original: [12954, 18803, 35105, 6236, 7667, ...]) [FAIL]
      Assert.Equal() Failure
                 ↓ (pos 0)
      Expected: [39474, 29513, 8585, 23576, 62237, ...]
      Actual:   [12986, 18811, 35241, 6236, 7679, ...]
                 ↑ (pos 0)
      Stack Trace:
        /_/src/libraries/System.Memory/tests/Binary/ReverseEndiannessUnitTests.cs(117,0): at System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed[UInt16](UInt16[] original)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(35,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, IntPtr* args)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(59,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
    System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed<Int16>(original: [-26927, 26518, -2457, -966, 24035, ...]) [FAIL]
      Assert.Equal() Failure
                 ↓ (pos 0)
      Expected: [-11882, -27033, 26614, 15100, -7331, ...]
      Actual:   [-26921, 26615, -2313, -770, 24063, ...]
                 ↑ (pos 0)
      Stack Trace:
        /_/src/libraries/System.Memory/tests/Binary/ReverseEndiannessUnitTests.cs(117,0): at System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed[Int16](Int16[] original)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(35,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, IntPtr* args)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(59,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
    System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed<UInt16>(original: [45029, 13075, 51127, 61380, 18590, ...]) [FAIL]
      Assert.Equal() Failure
                 ↓ (pos 0)
      Expected: [58799, 4915, 47047, 50415, 40520, ...]
      Actual:   [45039, 13107, 51191, 61423, 18654, ...]
                 ↑ (pos 0)
      Stack Trace:
        /_/src/libraries/System.Memory/tests/Binary/ReverseEndiannessUnitTests.cs(117,0): at System.Buffers.Binary.Tests.ReverseEndiannessUnitTests.ReverseEndianness_Span_AllElementsReversed[UInt16](UInt16[] original)
        /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodInvoker.Mono.cs(35,0): at System.Reflection.MethodInvoker.InterpretedInvoke(Object obj, IntPtr* args)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(59,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)

....

This was building 0a15c3b .

Author: radical
Assignees: -
Labels:

area-System.Memory, blocking-clean-ci, Known Build Error

Milestone: -

@stephentoub
Copy link
Member

Looks like this is only happening with mono and the interpreter?

@BrzVlad
Copy link
Member

BrzVlad commented Mar 2, 2023

#82890

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Mar 2, 2023
@ghost ghost removed in-pr There is an active PR which will close this issue when it is merged untriaged New issue has not been triaged by the area owner labels Mar 2, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Memory 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants