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

RemoteExecutor long running test with dump: ExitDetectionNotBlockedByHandler #54033

Closed
ViktorHofer opened this issue Jun 10, 2021 · 3 comments
Closed

Comments

@ViktorHofer
Copy link
Member

  Discovering: System.Console.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Console.Tests (found 102 of 136 test cases)
  Starting:    System.Console.Tests (parallel test collections = on, max threads = 4)
Assertion failed: (g_hasTty), function UninitializeTerminal, file /Users/runner/work/1/s/src/libraries/Native/Unix/System.Native/pal_console.c, line 208.
    CancelKeyPressTests.ExitDetectionNotBlockedByHandler [FAIL]
      Half-way through waiting for remote process.
      Timed out at 6/10/2021 2:24:51 PM after 60000ms waiting for remote process.
      	Process ID: 22082
      	Handle: 876
      	Name: dotnet
      	MainModule: /private/tmp/helix/working/AA2F08AC/p/dotnet
      	StartTime: 6/10/2021 2:23:50 PM
      	TotalProcessorTime: 00:00:05.6924935
      
      Stack Trace:
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(224,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing)
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(57,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose()
        /_/src/libraries/System.Console/tests/CancelKeyPress.Unix.cs(54,0): at CancelKeyPressTests.ExitDetectionNotBlockedByHandler()

Assert failure(PID 22095 [0x0000564f], Thread: 1208526 [0x1270ce]): waitResult == WAIT_TIMEOUT
    File: /Users/runner/work/1/s/src/coreclr/vm/tieredcompilation.cpp Line: 507
    Image: /private/tmp/helix/working/AA2F08AC/p/dotnet

0
0
  Finished:    System.Console.Tests
=== TEST EXECUTION SUMMARY ===
   System.Console.Tests  Total: 143, Errors: 0, Failed: 1, Skipped: 0, Time: 95.678s
/private/tmp/helix/working/AA2F08AC/w/9A5908FD/e
----- end Thu Jun 10 14:25:24 PDT 2021 ----- exit code 1 ----------------------------------------------------------

Build: https://dev.azure.com/dnceng/public/_build/results?buildId=1181877&view=ms.vss-test-web.build-test-results-tab&runId=35560014&resultId=156974&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab

Configuration: net6.0-OSX-Debug-x64-CoreCLR_checked-OSX.1013.Amd64.Open

Dump: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-53023-merge-0a8ba24ab0a547739b/System.Console.Tests/core.22082?sv=2019-07-07&se=2021-06-30T21%3A23%3A21Z&sr=c&sp=rl&sig=rSJZdjuyYy2YH%2FxljCutt21WDwauAW0yqahAhUJnr08%3D

cc @jkotas @stephentoub

@ghost
Copy link

ghost commented Jun 10, 2021

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

Issue Details
  Discovering: System.Console.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Console.Tests (found 102 of 136 test cases)
  Starting:    System.Console.Tests (parallel test collections = on, max threads = 4)
Assertion failed: (g_hasTty), function UninitializeTerminal, file /Users/runner/work/1/s/src/libraries/Native/Unix/System.Native/pal_console.c, line 208.
    CancelKeyPressTests.ExitDetectionNotBlockedByHandler [FAIL]
      Half-way through waiting for remote process.
      Timed out at 6/10/2021 2:24:51 PM after 60000ms waiting for remote process.
      	Process ID: 22082
      	Handle: 876
      	Name: dotnet
      	MainModule: /private/tmp/helix/working/AA2F08AC/p/dotnet
      	StartTime: 6/10/2021 2:23:50 PM
      	TotalProcessorTime: 00:00:05.6924935
      
      Stack Trace:
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(224,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing)
        /_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(57,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose()
        /_/src/libraries/System.Console/tests/CancelKeyPress.Unix.cs(54,0): at CancelKeyPressTests.ExitDetectionNotBlockedByHandler()

Assert failure(PID 22095 [0x0000564f], Thread: 1208526 [0x1270ce]): waitResult == WAIT_TIMEOUT
    File: /Users/runner/work/1/s/src/coreclr/vm/tieredcompilation.cpp Line: 507
    Image: /private/tmp/helix/working/AA2F08AC/p/dotnet

0
0
  Finished:    System.Console.Tests
=== TEST EXECUTION SUMMARY ===
   System.Console.Tests  Total: 143, Errors: 0, Failed: 1, Skipped: 0, Time: 95.678s
/private/tmp/helix/working/AA2F08AC/w/9A5908FD/e
----- end Thu Jun 10 14:25:24 PDT 2021 ----- exit code 1 ----------------------------------------------------------

Build: https://dev.azure.com/dnceng/public/_build/results?buildId=1181877&view=ms.vss-test-web.build-test-results-tab&runId=35560014&resultId=156974&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tab

Configuration: net6.0-OSX-Debug-x64-CoreCLR_checked-OSX.1013.Amd64.Open

Dump: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-53023-merge-0a8ba24ab0a547739b/System.Console.Tests/core.22082?sv=2019-07-07&se=2021-06-30T21%3A23%3A21Z&sr=c&sp=rl&sig=rSJZdjuyYy2YH%2FxljCutt21WDwauAW0yqahAhUJnr08%3D

cc @jkotas @stephentoub

Author: ViktorHofer
Assignees: -
Labels:

area-System.Console

Milestone: -

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Jun 10, 2021
@jkotas
Copy link
Member

jkotas commented Jun 11, 2021

Assert failure(PID 22095 [0x0000564f], Thread: 1208526 [0x1270ce]): waitResult == WAIT_TIMEOUT
    File: /Users/runner/work/1/s/src/coreclr/vm/tieredcompilation.cpp Line: 507

@mangod9 mangod9 removed the untriaged New issue has not been triaged by the area owner label Jul 6, 2021
@mangod9 mangod9 added this to the 6.0.0 milestone Jul 6, 2021
@kouvel kouvel removed this from the 6.0.0 milestone Jul 27, 2021
@kouvel
Copy link
Member

kouvel commented Jul 27, 2021

The only other result that seems possible is WAIT_FAILED if the event handle value is corrupted. Wasn't able to repro the issue, going to see if it happens again.

@kouvel kouvel closed this as completed Jul 27, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Aug 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants