Skip to content

Test failure: System.ServiceProcess.Tests.ServiceBaseTests.TestOnStartWithArgsThenStop #37540

Closed

Description

@MihaZupan

runtime-libraries outerloop failed on: #37515, #37487

Pipeline build

Failed configurations:

  • net5.0-Windows_NT-Debug-x64-CoreCLR_release-Windows.81.Amd64.Open
  • net5.0-Windows_NT-Debug-x64-CoreCLR_release-Windows.10.Amd64.Server19H1.ES.Open
  • net5.0-Windows_NT-Debug-x64-CoreCLR_release-(Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open

Error message

System.ServiceProcess.Tests.ServiceBaseTests.TestOnStartWithArgsThenStop [FAIL]
  Assert.Equal() Failure
  Expected: 6
  Actual:   0
  Stack Trace:
    /_/src/libraries/System.ServiceProcess.ServiceController/tests/ServiceBaseTests.cs(96,0): at System.ServiceProcess.Tests.ServiceBaseTests.TestOnStartWithArgsThenStop()

OR

System.ServiceProcess.Tests.ServiceBaseTests.TestOnStartWithArgsThenStop [FAIL]
  System.AggregateException : One or more errors occurred. (Assert.Equal() Failure
  Expected: 6
  Actual:   0) (The operation requested for service '27daeee4-966a-4f33-81b8-dce85a14f3f3' has not been completed within the specified time interval.)
  ---- Assert.Equal() Failure
  Expected: 6
  Actual:   0
  ---- System.ServiceProcess.TimeoutException : The operation requested for service '27daeee4-966a-4f33-81b8-dce85a14f3f3' has not been completed within the specified time interval.
  Stack Trace:
    
    ----- Inner Stack Trace #1 (Xunit.Sdk.EqualException) -----
    /_/src/libraries/System.ServiceProcess.ServiceController/tests/ServiceBaseTests.cs(96,0): at System.ServiceProcess.Tests.ServiceBaseTests.TestOnStartWithArgsThenStop()
    ----- Inner Stack Trace #2 (System.ServiceProcess.TimeoutException) -----
    /_/src/libraries/System.ServiceProcess.ServiceController/src/System/ServiceProcess/ServiceController.cs(903,0): at System.ServiceProcess.ServiceController.WaitForStatus(ServiceControllerStatus desiredStatus, TimeSpan timeout)
    /_/src/libraries/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/TestServiceInstaller.cs(154,0): at System.ServiceProcess.Tests.TestServiceInstaller.StopService()
    /_/src/libraries/System.ServiceProcess.ServiceController/tests/System.ServiceProcess.ServiceController.TestService/TestServiceInstaller.cs(119,0): at System.ServiceProcess.Tests.TestServiceInstaller.RemoveService()
    /_/src/libraries/System.ServiceProcess.ServiceController/tests/TestServiceProvider.cs(135,0): at System.ServiceProcess.Tests.TestServiceProvider.DeleteTestServices()
    /_/src/libraries/System.ServiceProcess.ServiceController/tests/ServiceBaseTests.cs(218,0): at System.ServiceProcess.Tests.ServiceBaseTests.Dispose()
    C:\Dev\xunit\xunit\src\xunit.execution\Extensions\ReflectionAbstractionExtensions.cs(79,0): at ReflectionAbstractionExtensions.DisposeTestClass(ITest test, Object testClass, IMessageBus messageBus, ExecutionTimer timer, CancellationTokenSource cancellationTokenSource)

Activity

  1. added
    blocking-outerloopBlocking the 'runtime-coreclr outerloop' and 'runtime-libraries-coreclr outerloop' runs
    on Jun 16, 2020
  2. added this to the 5.0.0 milestone on Jun 24, 2020
  3. removed
    untriagedNew issue has not been triaged by the area owner
    on Jul 9, 2020
  4. ericstj commented on Jul 9, 2020

    @ericstj
    Member

    Dup of #38945

  5. ghost locked as resolved and limited conversation to collaborators on Dec 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions