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

Enable OverflowOnFluentCall_ExtensionMethods test #75357

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Adjust limits

1db23ed
Select commit
Loading
Failed to load commit list.
Draft

Enable OverflowOnFluentCall_ExtensionMethods test #75357

Adjust limits
1db23ed
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis failed Oct 4, 2024 in 0s

.NET Result Analysis

Details

Tip

To unconditionally bypass the build analysis check (turn it green), you can use the escape mechanism feature. The completion time may vary, potentially taking several minutes, depending on the build analysis workload at the moment.

Test Failures (2 tests failed)

🔹 [All failing tests from roslyn-CI]

    Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests_0.WorkItemExecution [Console] [Details] [Artifacts] [1.59% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
    This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]

    Failing Configuration

    Microsoft.CodeAnalysis.CSharp.UnitTests.EndToEnd.EndToEndTests.OverflowOnFluentCall_ExtensionMethods [Console] [Details] [Artifacts] [0.42% failure rate]
    [ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

    Failing Configuration

    Exception Message
    System.Exception : Depth: 3210, Bytes: 8, Config: Release, Desktop: False
    ---- System.AggregateException : One or more errors occurred. (Xunit.Sdk.TrueException: 
    Expected:
    Actual:
                    // (10,9): error CS8078: An expression is too long or complex to compile
                    //         GetC()
                    Diagnostic(ErrorCode.ERR_InsufficientStack, "GetC").WithLocation(10, 9)
    Diff:
    ++>                 Diagnostic(ErrorCode.ERR_InsufficientStack, "GetC").WithLocation(10, 9)
       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/xunit.assert/Asserts/BooleanAsserts.cs:line 146
       at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(IEnumerable`1 actual, DiagnosticDescription[] expected, Boolean errorCodeOnly) in /_/src/Compilers/Test/Core/Diagnostics/DiagnosticExtensions.cs:line 99
       at Microsoft.CodeAnalysis.CSharp.UnitTests.EndToEnd.EndToEndTests.<>c__DisplayClass0_0.<RunInThread>b__0() in /_/src/Compilers/CSharp/Test/EndToEnd/EndToEndTests.cs:line 42) (Xunit.Sdk.TrueException: 
    Expected:
    Actual:
                    // (10,9): error CS8078: An expression is too long or complex to compile
                    //         GetC()
                    Diagnostic(ErrorCode.ERR_InsufficientStack, "GetC").WithLocation(10, 9),
                    // (10,9): error CS8078: An expression is too long or complex to compile
                    //         GetC()
                    Diagnostic(ErrorCode.ERR_InsufficientStack, "GetC").WithLocation(10, 9)
    Diff:
    ++>                 Diagnostic(ErrorCode.ERR_InsufficientStack, "GetC").WithLocation(10, 9)
    ++>                 Diagnostic(ErrorCode.ERR_InsufficientStack, "GetC").WithLocation(10, 9)
       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/xunit.assert/Asserts/BooleanAsserts.cs:line 146
       at Xunit.Assert.True(Boolean condition, String userMessage) in /_/src/xunit.assert/Asserts/BooleanAsserts.cs:line 128
       at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(IEnumerable`1 actual, DiagnosticDescription[] expected, Boolean errorCodeOnly) in /_/src/Compilers/Test/Core/Diagnostics/DiagnosticExtensions.cs:line 99
       at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(IEnumerable`1 actual, DiagnosticDescription[] expected) in /_/src/Compilers/Test/Core/Diagnostics/DiagnosticExtensions.cs:line 48
       at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(ImmutableArray`1 actual, DiagnosticDescription[] expected) in /_/src/Compilers/Test/Core/Diagnostics/DiagnosticExtensions.cs:line 63
       at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics[TCompilation](TCompilation c, EmitOptions options, DiagnosticDescription[] expected) in /_/src/Compilers/Test/Core/Diagnostics/DiagnosticExtensions.cs:line 356
       at Microsoft.CodeAnalysis.DiagnosticExtensions.VerifyEmitDiagnostics[TCompilation](TCompilation c, DiagnosticDescription[] expected) in /_/src/Compilers/Test/Core/Diagnostics/DiagnosticExtensions.cs:line 373
       at Microsoft.CodeAnalysis.CSharp.UnitTests.EndToEnd.EndToEndTests.<>c__DisplayClass3_0.<OverflowOnFluentCall_ExtensionMethods>b__2() in /_/src/Compilers/CSharp/Test/EndToEnd/EndToEndTests.cs:line 250
       at Microsoft.CodeAnalysis.CSharp.UnitTests.EndToEnd.EndToEndTests.<>c__DisplayClass0_0.<RunInThread>b__0() in /_/src/Compilers/CSharp/Test/EndToEnd/EndToEndTests.cs:line 42)
    -------- Xunit.Sdk.TrueException: 
    Expected:
    Actual:
                    // (10,9): error CS8078: An expression is too long or complex to compile
                    //         GetC()
                    Diagnostic(ErrorCode.ERR_InsufficientStack, "GetC").WithLocation(10, 9)
    Diff:
    ++>                 Diagnostic(ErrorCode.ERR_InsufficientStack, "GetC").WithLocation(10, 9)
       at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/xunit.assert/Asserts/BooleanAsserts.cs:line 146
       at Microsoft.CodeAnalysis.DiagnosticExtensions.Verify(IEnumerable`1 actual, DiagnosticDescription[] expected, Boolean errorCodeOnly) in /_/src/Compilers/Test/Core/Diagnostics/DiagnosticExtensions.c
    CallStack
       at Microsoft.CodeAnalysis.CSharp.UnitTests.EndToEnd.EndToEndTests.<OverflowOnFluentCall_ExtensionMethods>g__testLimits|3_0(Exception innerException) in /_/src/Compilers/CSharp/Test/EndToEnd/EndToEndTests.cs:line 219
       at Microsoft.CodeAnalysis.CSharp.UnitTests.EndToEnd.EndToEndTests.OverflowOnFluentCall_ExtensionMethods() in /_/src/Compilers/CSharp/Test/EndToEnd/EndToEndTests.cs:line 201
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
    ----- Inner Stack Trace -----
    

    ----- Inner Stack Trace #1 (Xunit.Sdk.FalseException) -----
    at Microsoft.CodeAnalysis.CSharp.UnitTests.EndToEnd.EndToEndTests.<OverflowOnFluentCall_ExtensionMethods>g__tryCompileDeepFluentCalls|3_1(Int32 depth)
    at Microsoft.CodeAnalysis.CSharp.UnitTests.EndToEnd.EndToEndTests.<OverflowOnFluentCall_ExtensionMethods>g__testLimits|3_0(Exception innerException) in /_/src/Compilers/CSharp/Test/EndToEnd/EndToEndTests.cs:line 210
    ----- Inner Stack Trace #2 (Xunit.Sdk.FalseException) -----
    at Microsoft.CodeAnalysis.CSharp.UnitTests.EndToEnd.EndToEndTests.RunInThread(Action action, Nullable`1 timeout) in /_/src/Compilers/CSharp/Test/EndToEnd/EndToEndTests.cs:line 65
    at Microsoft.CodeAnalysis.CSharp.UnitTests.EndToEnd.EndToEndTests.<OverflowOnFluentCall_ExtensionMethods>g__tryCompileDeepFluentCalls|3_1(Int32 depth) in /_/src/Compilers/CSharp/Test/EndToEnd/EndToEndTests.cs:line 246
    at Microsoft.CodeAnalysis.CSharp.UnitTests.EndToEnd.EndToEndTests.OverflowOnFluentCall_ExtensionMethods() in /_/src/Compilers/CSharp/Test/EndToEnd/EndToEndTests.cs:line 197

Was this helpful? Yes No