Skip to content

[mono] System.Memory.Tests failing on Apple mobile #110266

@kotlarmilos

Description

@kotlarmilos

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=881982&view=logs&j=acac6bf3-3edd-5022-4e45-3362a02520b1&t=1de8bf71-8fe5-5d5c-4360-8c2eb159d012
Build error leg or test failing: System.Memory.Tests

Error Message

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

{
  "ErrorMessage": "Exception messages: Expected -1, got 0 for impl='AsciiStringSearchValuesTeddyBucketizedN3'",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Error log:

[16:43:37.7505850] 2024-11-28 13:43:37.773 System.Memory.Tests[67106:120054126] System.SpanTests.IndexOfAnyExceptTests_String 0.0150799 ms
[16:43:37.7602070] 2024-11-28 13:43:37.782 System.Memory.Tests[67106:120054126] Failed tests:
[16:43:37.7602670] 2024-11-28 13:43:37.782 System.Memory.Tests[67106:120054126] 1) 	[FAIL] System.Memory.Tests.Span.StringSearchValuesTests.TestIndexOfAny_RandomInputs   Test name: System.Memory.Tests.Span.StringSearchValuesTests.TestIndexOfAny_RandomInputs
[16:43:37.7604040] 2024-11-28 13:43:37.782 System.Memory.Tests[67106:120054126]    Assembly:  [System.Memory.Tests, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]
[16:43:37.7604710] 2024-11-28 13:43:37.782 System.Memory.Tests[67106:120054126]    Exception messages: Expected -1, got 0 for impl='AsciiStringSearchValuesTeddyBucketizedN3`2 [CaseSensitive, CaseSensitive]' comparison=Ordinal needle='[ 0, 2, 67, 76, 113, 96 ], [ 28, 56, 73, 31, 106, 13 ], [ 4, 25, 98, 77, 96 ], [ 87, 47, 77, 27, 70, 81, 58, 110 ], [ 102, 123, 97, 102 ], [ 35, 60, 24, 47 ], [ 76, 73, 48, 43, 97, 94, 37, 110 ], [ 13, 103, 103 ], [ 30, 121, 1 ], [ 74, 50, 46 ], [ 14, 113, 3, 99, 38, 32 ], [ 84, 66, 96 ]', haystack='[ 22, 114, 48, 31, 47, 101, 40, 44, 68, 38, 119, 41, 16, 63, 50, 92, 64, 50, 58, 124, 105, 109, 125, 5, 62, 112, 43, 125, 83, 60, 110, 103, 68, 123, 50, 58, 16, 54, 39, 40, 107, 59, 121, 61, 122, 109, 64, 0, 70, 126, 99, 125, 43, 122, 71, 40 ]'   Exception stack traces:    at System.Memory.Tests.Span.StringSearchValuesTests.StringSearchValuesTestHelper.AssertionFailed(ReadOnlySpan`1 haystack, String[] needle, SearchValues`1 searchValues, StringComparison comparisonType, Int32 expected, Int32 actual)
[16:43:37.7604960] 2024-11-28 13:43:37.783 System.Memory.Tests[67106:120054126]    at System.Memory.Tests.Span.StringSearchValuesTests.StringSearchValuesTestHelper.Test(Random rng, StringComparison comparisonType, ReadOnlySpan`1 haystackRandom, String[] needle, SearchValues`1 searchValuesInstance)
[16:43:37.7605200] 2024-11-28 13:43:37.783 System.Memory.Tests[67106:120054126]    at System.Memory.Tests.Span.StringSearchValuesTests.StringSearchValuesTestHelper.Test(Random rng, ReadOnlySpan`1 haystackRandom, ReadOnlySpan`1 needleRandom)
[16:43:37.7605380]    at System.Memory.Tests.Span.StringSearchValuesTests.StringSearchValuesTestHelper.TestRandomInputs(Int32 iterationCount, Random rng)
[16:43:37.7626790] 2024-11-28 13:43:37.785 System.Memory.Tests[67106:120054126]    at System.Memory.Tests.Span.StringSearchValuesTests.TestIndexOfAny_RandomInputs()
[16:43:37.7627140]    at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[16:43:37.7627300]    at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
[16:43:37.7627670] 2024-11-28 13:43:37.786 System.Memory.Tests[67106:120054126]    Execution time: 0.8238408
[16:43:38.9879060] 2024-11-28 13:43:39.010 System.Memory.Tests[67106:120054126] Xml file was written to the provided writer.
[16:43:38.9879600] 2024-11-28 13:43:39.011 System.Memory.Tests[67106:120054126] 
[16:43:38.9879700] === TEST EXECUTION SUMMARY ===

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=881982
Error message validated: [Exception messages: Expected -1, got 0 for impl='AsciiStringSearchValuesTeddyBucketizedN3']
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 11/29/2024 9:47:19 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions