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

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

Closed
kotlarmilos opened this issue Oct 19, 2023 · 1 comment
Closed
Labels
area-Codegen-meta-mono Known Build Error Use this to report build issues in the .NET Helix tab os-linux Linux OS (any supported distro)
Milestone

Comments

@kotlarmilos
Copy link
Member

kotlarmilos commented Oct 19, 2023

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
@kotlarmilos kotlarmilos added os-linux Linux OS (any supported distro) area-Codegen-meta-mono Known Build Error Use this to report build issues in the .NET Helix tab labels Oct 19, 2023
@kotlarmilos kotlarmilos added this to the 9.0.0 milestone Oct 19, 2023
@akoeplinger
Copy link
Member

this is a duplicate of #93592

@ghost ghost locked as resolved and limited conversation to collaborators Nov 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Codegen-meta-mono Known Build Error Use this to report build issues in the .NET Helix tab os-linux Linux OS (any supported distro)
Projects
None yet
Development

No branches or pull requests

2 participants