Skip to content

[mono][tests] CustomGeneratedAttributes test fails on linux-bionic #93723

Closed

Description

@kotlarmilos

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=443717&view=logs&j=f29299c2-76db-5d02-ce4e-182614f08c53&t=432a9214-fb3e-532e-a18b-a74d735bc83e
Build error leg or test failing: linux_bionic-x64 Release AllSubsets_Mono

info: An error occurred running Microsoft.Extensions.Options.SourceGeneration.Unit.Tests.sh
dbug: Exit code: 1
      Std out:
        Discovering: Microsoft.Extensions.Options.SourceGeneration.Unit.Tests (method display = ClassAndMethod, method display options = None)
        Discovered:  Microsoft.Extensions.Options.SourceGeneration.Unit.Tests (found 56 test cases)
        Starting:    Microsoft.Extensions.Options.SourceGeneration.Unit.Tests (parallel test collections = on, max threads = 8)
            Assert.Equal() Failure: Collections differ
                                                                                             ↓ (pos 1)
            Expected: string[]     ["P0: The field OptionsUsingGeneratedAttributes.P0 m"···, "P11: The field OptionsUsingGeneratedAttributes.P11"···, "P12: The field OptionsUsingGeneratedAttributes.P12"···, "P13: The field OptionsUsingGeneratedAttributes.P13"···, "P14: The field OptionsUsingGeneratedAttributes.P14"···, ···]
            Actual:   List<string> ["P0: The field OptionsUsingGeneratedAttributes.P0 m"···, "P11: The field OptionsUsingGeneratedAttributes.P11"···, "P12: The field OptionsUsingGeneratedAttributes.P12"···, "P13: The field OptionsUsingGeneratedAttributes.P13"···, "P14: The field OptionsUsingGeneratedAttributes.P14"···, ···]
                                                                                             ↑ (pos 1)
            Stack Trace:
              /_/src/libraries/Microsoft.Extensions.Options/tests/SourceGeneration.Unit.Tests/OptionsRuntimeTests.cs(361,0): at Microsoft.Gen.OptionsValidation.Unit.Test.OptionsRuntimeTests.TestCustomGeneratedAttributes()
              /_/src/mono/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.Mono.cs(22,0): at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
              /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs(57,0): at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
        Finished:    Microsoft.Extensions.Options.SourceGeneration.Unit.Tests
      === TEST EXECUTION SUMMARY ===
         Microsoft.Extensions.Options.SourceGeneration.Unit.Tests  Total: 67, Errors: 0, Failed: 1, Skipped: 0, Time: 45.770s
      
      
      Std err:
          Microsoft.Gen.OptionsValidation.Unit.Test.OptionsRuntimeTests.TestCustomGeneratedAttributes [FAIL]

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "Microsoft.Gen.OptionsValidation.Unit.Test.OptionsRuntimeTests.TestCustomGeneratedAttributes [FAIL]",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
444074 dotnet/runtime Microsoft.Extensions.Options.SourceGeneration.Unit.Tests.WorkItemExecution #93594
443974 dotnet/runtime Microsoft.Gen.OptionsValidation.Unit.Test.OptionsRuntimeTests.TestCustomGeneratedAttributes #93724
443717 dotnet/runtime Microsoft.Extensions.Options.SourceGeneration.Unit.Tests.WorkItemExecution
443533 dotnet/runtime Microsoft.Extensions.Options.SourceGeneration.Unit.Tests.WorkItemExecution
443348 dotnet/runtime Microsoft.Gen.OptionsValidation.Unit.Test.OptionsRuntimeTests.TestCustomGeneratedAttributes
443125 dotnet/runtime Microsoft.Extensions.Options.SourceGeneration.Unit.Tests.WorkItemExecution
442968 dotnet/runtime Microsoft.Gen.OptionsValidation.Unit.Test.OptionsRuntimeTests.TestCustomGeneratedAttributes
442747 dotnet/runtime Microsoft.Gen.OptionsValidation.Unit.Test.OptionsRuntimeTests.TestCustomGeneratedAttributes

Summary

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

Activity

  1. added this to the 9.0.0 milestone on Oct 19, 2023
  2. akoeplinger commented on Oct 19, 2023

    @akoeplinger
    Member

    this is a duplicate of #93592

  3. ghost locked as resolved and limited conversation to collaborators on Nov 18, 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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions