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

Microsoft.Extensions.Hosting.Internal.HostTests.HostLifetimeOnStartedDelaysStart failed on rolling build #60121

Open
krwq opened this issue Oct 7, 2021 · 3 comments

Comments

@krwq
Copy link
Member

krwq commented Oct 7, 2021

I've found only a single instance of that in the last month. My guess by looking at the test is that timeouts need to by slightly increased. It would be useful to add a tiny bit more diagnostic to this test

Build: https://dev.azure.com/dnceng/public/_build/results?buildId=1383490&view=results

  Starting:    Microsoft.Extensions.Hosting.Unit.Tests (parallel test collections = on, max threads = 2)
�[40m�[32minfo�[39m�[22m�[49m: Microsoft.Extensions.Hosting.Tests.HostTests[0]
      Request starting
    Microsoft.Extensions.Hosting.Internal.HostTests.HostLifetimeOnStartedDelaysStart [FAIL]
      Assert.True() Failure
      Expected: True
      Actual:   False
      Stack Trace:
        /_/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Internal/HostTests.cs(402,0): at Microsoft.Extensions.Hosting.Internal.HostTests.HostLifetimeOnStartedDelaysStart()
        --- End of stack trace from previous location ---

Runfo Tracking Issue: Microsoft.Extensions.Hosting.Internal.HostTests.HostLifetimeOnStartedDelaysStart

Build Definition Kind Run Name

Build Result Summary

Day Hit Count Week Hit Count Month Hit Count
0 0 0
@dotnet-issue-labeler dotnet-issue-labeler bot added area-Extensions-Hosting untriaged New issue has not been triaged by the area owner labels Oct 7, 2021
@ghost
Copy link

ghost commented Oct 7, 2021

Tagging subscribers to this area: @eerhardt, @maryamariyan
See info in area-owners.md if you want to be subscribed.

Issue Details

I've found only a single instance of that in the last month. My guess by looking at the test is that timeouts need to by slightly increased. It would be useful to add a tiny bit more diagnostic to this test

  Starting:    Microsoft.Extensions.Hosting.Unit.Tests (parallel test collections = on, max threads = 2)
�[40m�[32minfo�[39m�[22m�[49m: Microsoft.Extensions.Hosting.Tests.HostTests[0]
      Request starting
    Microsoft.Extensions.Hosting.Internal.HostTests.HostLifetimeOnStartedDelaysStart [FAIL]
      Assert.True() Failure
      Expected: True
      Actual:   False
      Stack Trace:
        /_/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/Internal/HostTests.cs(402,0): at Microsoft.Extensions.Hosting.Internal.HostTests.HostLifetimeOnStartedDelaysStart()
        --- End of stack trace from previous location ---
Author: krwq
Assignees: -
Labels:

untriaged, area-Extensions-Hosting

Milestone: -

@krwq
Copy link
Member Author

krwq commented Oct 7, 2021

I'm not adding blocking-clean-ci here only because of the low frequency

@maryamariyan maryamariyan removed the untriaged New issue has not been triaged by the area owner label Oct 9, 2021
@maryamariyan maryamariyan added this to the Future milestone Oct 9, 2021
@krwq
Copy link
Member Author

krwq commented Oct 11, 2021

@maryamariyan since this is affecting some builds can you please disable the test or at least try increasing the timeouts (to i.e. 30s)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants