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

TestOnStartWithArgsThenStop Times out #34801

Closed
Anipik opened this issue Apr 10, 2020 · 1 comment · Fixed by #34911
Closed

TestOnStartWithArgsThenStop Times out #34801

Anipik opened this issue Apr 10, 2020 · 1 comment · Fixed by #34911
Assignees
Labels
area-System.ServiceProcess untriaged New issue has not been triaged by the area owner

Comments

@Anipik
Copy link
Contributor

Anipik commented Apr 10, 2020

      System.ServiceProcess.Tests.ServiceBaseTests.TestOnStartWithArgsThenStop [FAIL]
        System.AggregateException : One or more errors occurred. (Task timed out after 00:01:00)
        ---- System.TimeoutException : Task timed out after 00:01:00
        Stack Trace:
          C:\git\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(1851,0): at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
          C:\git\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(471,0): at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
          C:\git\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Future.cs(440,0): at System.Threading.Tasks.Task`1.get_Result()
          C:\git\runtime\src\libraries\System.ServiceProcess.ServiceController\tests\TestServiceProvider.cs(89,0): at System.ServiceProcess.Tests.TestServiceProvider.GetByte()
          C:\git\runtime\src\libraries\System.ServiceProcess.ServiceController\tests\ServiceBaseTests.cs(99,0): at System.ServiceProcess.Tests.ServiceBaseTests.TestOnStartWithArgsThenStop()
          ----- Inner Stack Trace -----
          C:\git\runtime\src\libraries\Common\tests\System\Threading\Tasks\TaskTimeoutExtensions.cs(42,0): at System.Threading.Tasks.TaskTimeoutExtensions.TimeoutAfter(Task task, TimeSpan timeout)
          C:\git\runtime\src\libraries\System.ServiceProcess.ServiceController\tests\TestServiceProvider.cs(85,0): at System.ServiceProcess.Tests.TestServiceProvider.ReadPipeAsync()
    Finished:    System.ServiceProcess.ServiceController.Tests
  === TEST EXECUTION SUMMARY ===

The start signal is not being send to the named pipe and reading side is keep on waiting in it. Tested it with removing the wait.

cc @danmosemsft @ericstj

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Apr 10, 2020
@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this issue. Please help me learn by adding exactly one area label.

@Anipik Anipik self-assigned this Apr 10, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.ServiceProcess untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants