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

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

Closed
steveharter opened this issue Aug 22, 2023 · 3 comments · Fixed by #90954
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 runtime-mono specific to the Mono runtime

Comments

@steveharter
Copy link
Member

steveharter commented Aug 22, 2023

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
@steveharter steveharter added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' runtime-mono specific to the Mono runtime Known Build Error Use this to report build issues in the .NET Helix tab labels Aug 22, 2023
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Aug 22, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Aug 22, 2023
@ghost
Copy link

ghost commented Aug 22, 2023

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

Issue Details

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": ""
}
Author: steveharter
Assignees: -
Labels:

area-System.Memory, blocking-clean-ci, untriaged, runtime-mono, Known Build Error, needs-area-label

Milestone: -

@steveharter steveharter removed the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Aug 22, 2023
@jkotas
Copy link
Member

jkotas commented Aug 22, 2023

cc @MihaZupan

Related to #88394

@MihaZupan
Copy link
Member

MihaZupan commented Aug 22, 2023

All failures in Kusto are on ubuntu.1804.amd64.android.29.open.rt with the same "RemoteExecutionException : Exit code was 1 but it should have been 42" error.

Seems related to #66147, which already disabled similar RemoteExecutor tests on that platform, e.g.

https://github.com/dotnet/runtime/blob/6b67caaedfbfeaf7707478e50ccc9e8bc929e591/src/libraries/System.Globalization/tests/CultureInfo/GetCultureInfo.cs#L160C9-L160C100

@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 22, 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 Aug 24, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 23, 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 runtime-mono specific to the Mono runtime
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants