Skip to content

System.Memory.Tests.Span.StringSearchValuesTests failing with "Exit code was 1 but it should have been 42" #90945

Closed
@steveharter

Description

@steveharter

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=382187
Build error leg or test failing: GC_API.WorkItemExecution
Pull request: #90796

Error Message

Two tests failing: Exit code was 1 but it should have been 42

info: An error occurred running System.Memory.Tests.sh
dbug: Exit code: 1
      Std out:
        Discovering: System.Memory.Tests (method display = ClassAndMethod, method display options = None)
        Discovered:  System.Memory.Tests (found 2697 of 2728 test cases)
        Starting:    System.Memory.Tests (parallel test collections = on, max threads = 1)
            Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Exit code was 1 but it should have been 42
            Stack Trace:
              /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(242,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing)
              /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(55,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose()
              /_/src/libraries/System.Memory/tests/Span/StringSearchValues.cs(343,0): at System.Memory.Tests.Span.StringSearchValuesTests.RunUsingInvariantCulture(Action action)
              /_/src/libraries/System.Memory/tests/Span/StringSearchValues.cs(258,0): at System.Memory.Tests.Span.StringSearchValuesTests.TestIndexOfAny_RandomInputs_InvariantCulture()
              /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Mono.cs(22,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
              /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
            Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Exit code was 1 but it should have been 42
            Stack Trace:
              /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(242,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing)
              /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(55,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose()
              /_/src/libraries/System.Memory/tests/Span/StringSearchValues.cs(343,0): at System.Memory.Tests.Span.StringSearchValuesTests.RunUsingInvariantCulture(Action action)
              /_/src/libraries/System.Memory/tests/Span/StringSearchValues.cs(204,0): at System.Memory.Tests.Span.StringSearchValuesTests.IndexOfAny_CanProduceDifferentResultsUnderNls()
              /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Mono.cs(22,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
              /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
          System.Memory.Tests.Span.StringSearchValuesTests.TestIndexOfAny_RandomInputs_Nls [SKIP]
            Condition(s) not met: "CanTestNls"
        Finished:    System.Memory.Tests
      === TEST EXECUTION SUMMARY ===
         System.Memory.Tests  Total: 49764, Errors: 0, Failed: 2, Skipped: 1, Time: 69.795s

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

{
  "ErrorMessage": "at System.Memory.Tests.Span.StringSearchValuesTests.",
  "ErrorPattern": ""
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=382187
Error message validated: at System.Memory.Tests.Span.StringSearchValuesTests.
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 8/22/2023 6:40:32 PM UTC

Report

Build Definition Test Pull Request
384588 dotnet/runtime System.Memory.Tests.WorkItemExecution
384505 dotnet/runtime System.Memory.Tests.WorkItemExecution #91019
384350 dotnet/runtime System.Memory.Tests.WorkItemExecution #90518
383982 dotnet/runtime System.Memory.Tests.WorkItemExecution #91008
384031 dotnet/runtime System.Memory.Tests.WorkItemExecution
383327 dotnet/runtime System.Memory.Tests.WorkItemExecution
383261 dotnet/runtime System.Memory.Tests.WorkItemExecution #90875
382733 dotnet/runtime System.Memory.Tests.WorkItemExecution
382301 dotnet/runtime System.Memory.Tests.WorkItemExecution #89554
382187 dotnet/runtime System.Memory.Tests.WorkItemExecution #90796
381930 dotnet/runtime System.Memory.Tests.WorkItemExecution
381785 dotnet/runtime System.Memory.Tests.WorkItemExecution #89550
381403 dotnet/runtime System.Memory.Tests.WorkItemExecution
381327 dotnet/runtime System.Memory.Tests.WorkItemExecution #90836
381296 dotnet/runtime System.Memory.Tests.WorkItemExecution #89696

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
5 15 15

Metadata

Metadata

Assignees

No one assigned

    Labels

    Known Build ErrorUse this to report build issues in the .NET Helix tabarea-System.Memoryblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'runtime-monospecific to the Mono runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions