Skip to content

Microsoft.Extensions.Configuration.Binder.Tests.ConfigurationBinderTests.BindCanReadStaticProperty failing intermittently #86532

Description

@jkoritzinsky

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=280353
Build error leg or test failing: Microsoft.Extensions.Configuration.Binder.Tests.ConfigurationBinderTests.BindCanReadStaticProperty
Pull request: #86519

Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "Expected: other stuff",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Report

Build Definition Test Pull Request
436679 dotnet/runtime Microsoft.Extensions.Configuration.Binder.Tests.ConfigurationBinderTests.BindCanReadStaticProperty
431376 dotnet/runtime Microsoft.Extensions.Configuration.Binder.Tests.ConfigurationBinderTests.BindCanReadStaticProperty
430806 dotnet/runtime Microsoft.Extensions.Configuration.Binder.Tests.ConfigurationBinderTests.BindCanReadStaticProperty #93066
429943 dotnet/runtime Microsoft.Extensions.Configuration.Binder.Tests.ConfigurationBinderTests.BindCanReadStaticProperty #92057
425385 dotnet/runtime Microsoft.Extensions.Configuration.Binder.Tests.ConfigurationBinderTests.BindCanReadStaticProperty
418980 dotnet/runtime Microsoft.Extensions.Configuration.Binder.Tests.ConfigurationBinderTests.BindCanReadStaticProperty
417649 dotnet/runtime Microsoft.Extensions.Configuration.Binder.Tests.ConfigurationBinderTests.BindCanReadStaticProperty

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 7

Known issue validation

Build: 🔎
Result validation: ⚠️ Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.
Validation performed at: 6/28/2023 10:04:11 PM UTC

Activity

  1. added
    blocking-clean-ci
    Known Build Error
    on May 19, 2023
  2. ghost added
    untriaged
    on May 19, 2023
  3. tarekgh commented on May 19, 2023

    @tarekgh
    Member

    The failing test is

    The failure is https://dev.azure.com/dnceng-public/public/_build/results?buildId=280353&view=ms.vss-test-web.build-test-results-tab&runId=5559962&resultId=100636&paneView=debug

    Assert.Equal() Failure
    ↓ (pos 0)
    Expected: other stuff
    Actual:   stuff
    ↑ (pos 0)
    
    
     at Microsoft.Extensions.Configuration.Binder.Tests.ConfigurationBinderTests.BindCanReadStaticProperty() in /_/src/libraries/Microsoft.Extensions.Configuration.Binder/tests/Common/ConfigurationBinderTests.cs:line 705
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
       at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs:line 59
    

    This is a very weird issue as it looks like the string somehow gets trimmed from the beginning. No idea how this can happen.

    We may need to look if this issue can occur again.

  4. added this to the Future milestone on May 19, 2023
  5. ghost removed
    untriaged
    on May 19, 2023
  6. steveharter commented on Aug 22, 2023

    @steveharter
    Contributor

    This is likely due to ComplexOptions.StaticProperty being a static property and shared with other tests that could be running at the same time, including another test that sets it to "stuff".

  7. ghost added
    in-pr
    on Oct 19, 2023
  8. ghost removed
    in-pr
    on Oct 19, 2023
  9. reopened this on Oct 20, 2023
  10. ghost added
    in-pr
    on Oct 20, 2023
  11. ghost removed
    in-pr
    on Oct 22, 2023
  12. ghost locked as resolved and limited conversation to collaborators on Nov 21, 2023
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

    Known Build Errorarea-Extensions-Configurationblocking-clean-ci

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions