Skip to content

Test failure System.Net.Quic.Tests.MsQuicTests.SetListenerTimeoutWorksWithSmallTimeout #72238

Closed

Description

@VincentBu

Run: runtime-libraries-coreclr outerloop 20220714.2

Failed test:

net7.0-windows-Release-x64-CoreCLR_release-Windows.Amd64.Server2022.Open

- System.Net.Quic.Tests.MsQuicTests.SetListenerTimeoutWorksWithSmallTimeout

net7.0-windows-Release-x64-CoreCLR_release-Windows.10.Amd64.Server2022.ES.Open

- System.Net.Quic.Tests.MsQuicTests.SetListenerTimeoutWorksWithSmallTimeout

net7.0-windows-Release-x64-CoreCLR_release-Windows.11.Amd64.Client.Open

- System.Net.Quic.Tests.MsQuicTests.SetListenerTimeoutWorksWithSmallTimeout

net7.0-windows-Release-x86-CoreCLR_release-Windows.10.Amd64.Server2022.ES.Open

- System.Net.Quic.Tests.MsQuicTests.SetListenerTimeoutWorksWithSmallTimeout

Error message:

Assert.Equal() Failure
Expected: ConnectionAborted
Actual:   ConnectionIdle


Stack trace
   at System.Net.Quic.Tests.QuicTestBase.AssertThrowsQuicExceptionAsync(QuicError expectedError, Func`1 testCode) in /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs:line 53
   at System.Net.Quic.Tests.MsQuicTests.SetListenerTimeoutWorksWithSmallTimeout() in /_/src/libraries/System.Net.Quic/tests/FunctionalTests/MsQuicTests.cs:line 584
--- End of stack trace from previous location ---

Activity

  1. added
    blocking-outerloop
    on Jul 15, 2022
  2. ghost added
    untriaged
    on Jul 15, 2022
  3. self-assigned this
    on Jul 15, 2022
  4. removed
    untriaged
    on Jul 15, 2022
  5. added this to the 7.0.0 milestone on Jul 15, 2022
  6. removed
    blocking-outerloop
    on Jul 21, 2022
  7. karelz commented on Jul 21, 2022

    @karelz
    Member

    Failures on both x86 and x64, Windows only

    Failures only 7/14-7/18 (always in last retry, no PassedOnRerun). It seems to be gone (no failures 7/19-7/21) - removing 'blocking-outerloop'.
    @ManickaP @CarnaViire @rzikm any idea what might have addressed it? Perhaps we should close it and wait for other occurrences?

    let failedTests = (methodName : string, includePR : bool, messageSubstr: string, includePassedOnRerun : bool) {
    cluster('engsrvprod.kusto.windows.net').database('engineeringdata').AzureDevOpsTests
        | where TestName startswith "System.Net" 
            and includePassedOnRerun or (Outcome == 'Failed')
        | extend startOfTestName = indexof_regex(TestName, @"[^.]+$")
        | extend Method = substring(TestName, startOfTestName)
        | extend Type = substring(TestName, 0, startOfTestName - 1)
        | project-away startOfTestName
        | where Method == methodName
        | where Message contains messageSubstr
        | distinct JobId, WorkItemId, Message, StackTrace, Method, Type, Arguments, Outcome
        | join kind=inner (cluster('engsrvprod.kusto.windows.net').database('engineeringdata').Jobs
            | where ((Branch == 'refs/heads/main') or (Branch == 'refs/heads/master') or (includePR and (Source startswith "pr/")))
            | where Type startswith "test/functional/cli/"
                and not(Properties contains "runtime-staging")
            | summarize arg_max(Finished, Properties, Type, Branch, Source, Started, QueueName) by JobId
            | project-rename JobType = Type) on JobId
        | extend PropertiesJson = parse_json(Properties)
        | extend OS = replace_regex(tostring(PropertiesJson.operatingSystem), @'\((.*)\).*|([^\(].*)', @'\1\2')
        | extend Runtime = iif(PropertiesJson.runtimeFlavor == "mono", "Mono", iif(PropertiesJson.DefinitionName contains "coreclr", "CoreCLR", ""))
        | extend TargetBranch = extractjson("$.['System.PullRequest.TargetBranch']", Properties)
        | extend Architecture = PropertiesJson.architecture
        | extend Scenario = iif(isempty(PropertiesJson.scenario), "--", PropertiesJson.scenario)
        //| extend DefinitionName = PropertiesJson.DefinitionName
        | project-away PropertiesJson
    };
    failedTests('SetListenerTimeoutWorksWithSmallTimeout', true, '', true);
  8. ManickaP commented on Jul 21, 2022

    @ManickaP
    Member

    It's still happening on main, I have a fix ready, PR will be up today.

  9. self-assigned this
    on Jul 21, 2022
  10. ghost added
    in-pr
    on Jul 21, 2022
  11. VincentBu commented on Jul 25, 2022

    @VincentBu
    ContributorAuthor

    Failed again in : runtime-libraries-coreclr outerloop 20220724.3

    Failed test:

    net7.0-windows-Release-x64-CoreCLR_release-Windows.10.Amd64.Server2022.ES.Open
    
    - System.Net.Quic.Tests.MsQuicTests.SetListenerTimeoutWorksWithSmallTimeout
    
    net7.0-windows-Release-x64-CoreCLR_release-Windows.11.Amd64.Client.Open
    
    - System.Net.Quic.Tests.MsQuicTests.SetListenerTimeoutWorksWithSmallTimeout
    
    net7.0-windows-Release-x86-CoreCLR_release-Windows.11.Amd64.Client.Open
    
    - System.Net.Quic.Tests.MsQuicTests.SetListenerTimeoutWorksWithSmallTimeout
    
    net7.0-windows-Release-x86-CoreCLR_release-Windows.Amd64.Server2022.Open
    
    - System.Net.Quic.Tests.MsQuicTests.SetListenerTimeoutWorksWithSmallTimeout
    
    net7.0-windows-Release-x86-CoreCLR_release-Windows.10.Amd64.Server2022.ES.Open
    
    - System.Net.Quic.Tests.MsQuicTests.SetListenerTimeoutWorksWithSmallTimeout
    

    Error message:

    Assert.Equal() Failure
    Expected: ConnectionAborted
    Actual:   ConnectionIdle
    
    
    Stack trace
       at System.Net.Quic.Tests.QuicTestBase.AssertThrowsQuicExceptionAsync(QuicError expectedError, Func`1 testCode) in /_/src/libraries/System.Net.Quic/tests/FunctionalTests/QuicTestBase.cs:line 60
       at System.Net.Quic.Tests.MsQuicTests.SetListenerTimeoutWorksWithSmallTimeout() in /_/src/libraries/System.Net.Quic/tests/FunctionalTests/MsQuicTests.cs:line 628
    --- End of stack trace from previous location ---
    
  12. ghost removed
    in-pr
    on Jul 26, 2022
  13. ghost locked as resolved and limited conversation to collaborators on Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions