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

BasicObjectsRoundTripAndMatch fails #107629

Closed
lewing opened this issue Sep 10, 2024 · 10 comments
Closed

BasicObjectsRoundTripAndMatch fails #107629

lewing opened this issue Sep 10, 2024 · 10 comments
Assignees
Labels
area-System.Resources binaryformatter-migration Issues related to the removal of BinaryFormatter and migrations away from it blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@lewing
Copy link
Member

lewing commented Sep 10, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=803627
Build error leg or test failing: System.Resources.Extensions.Tests.FormattedObject.BasicObjectTests.BasicObjectsRoundTripAndMatch
Pull request: https://github.com/dotnet/runtime.git/pull/107610

Error Message

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

{
  "ErrorMessage": "BasicObjectsRoundTripAndMatch",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=803627
Error message validated: [BasicObjectsRoundTripAndMatch]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/10/2024 4:55:27 PM UTC

Report

Build Definition Test Pull Request
806061 dotnet/runtime System.Resources.Extensions.BinaryFormat.Tests.WorkItemExecution #107617
805378 dotnet/runtime System.Resources.Extensions.BinaryFormat.Tests.WorkItemExecution #107617
803627 dotnet/runtime System.Resources.Extensions.Tests.FormattedObject.BasicObjectTests.BasicObjectsRoundTripAndMatch #107610

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 2 3
@lewing lewing added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Sep 10, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Sep 10, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Sep 10, 2024
Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-resources
See info in area-owners.md if you want to be subscribed.

@ericstj ericstj added binaryformatter-migration Issues related to the removal of BinaryFormatter and migrations away from it and removed untriaged New issue has not been triaged by the area owner labels Sep 13, 2024
@ericstj ericstj added this to the 9.0.0 milestone Sep 13, 2024
Copy link
Contributor

Tagging subscribers to 'binaryformatter-migration': @adamsitnik, @bartonjs, @jeffhandley, @terrajobst

@ericstj ericstj added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI and removed area-System.Resources needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Sep 13, 2024
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@ericstj ericstj added the untriaged New issue has not been triaged by the area owner label Sep 13, 2024
@ericstj ericstj removed this from the 9.0.0 milestone Sep 13, 2024
@JulieLeeMSFT
Copy link
Member

@AndyAyersMS, PTAL.

@JulieLeeMSFT JulieLeeMSFT removed the untriaged New issue has not been triaged by the area owner label Sep 16, 2024
@JulieLeeMSFT JulieLeeMSFT added this to the 9.0.0 milestone Sep 16, 2024
@AndyAyersMS
Copy link
Member

AndyAyersMS commented Sep 16, 2024

The first two failures with the jit assert (806061 and 805378) are from a post-9.0 PR #107766 and quite likely related to the change the PR is making.

The third failure is something different and (at least at this stage) is not manifestly a codegen issue.

    System.Resources.Extensions.Tests.FormattedObject.BasicObjectTests.BasicObjectsRoundTripAndMatch(value: WeakReference`1 { }, _: [BinaryFormatTests.TypeSerializableValue, BinaryFormatTests.TypeSerializableValue]) [FAIL]
      Assert.Equal() Failure: Values differ
      Expected: 479
      Actual:   407
      Stack Trace:
        /_/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/FormattedObject/BasicObjectTests.cs(40,0): at System.Resources.Extensions.Tests.FormattedObject.BasicObjectTests.BasicObjectsRoundTripAndMatch(Object value, TypeSerializableValue[] _)
           at InvokeStub_BasicObjectTests.BasicObjectsRoundTripAndMatch(Object, Span`1)
        /_/src/libraries/System.Private.CoreLib/

@ericstj can you suggest new area and owner?

@JulieLeeMSFT JulieLeeMSFT assigned ericstj and unassigned AndyAyersMS Sep 16, 2024
@JulieLeeMSFT JulieLeeMSFT added area-System.Resources and removed area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI labels Sep 16, 2024
@JulieLeeMSFT
Copy link
Member

Moving to @ericstj.

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-system-resources
See info in area-owners.md if you want to be subscribed.

@ericstj ericstj assigned adamsitnik and unassigned ericstj Sep 16, 2024
@ericstj
Copy link
Member

ericstj commented Sep 16, 2024

@adamsitnik Seems like a single hit of BasicObjectsRoundTripAndMatch failing.

The input data is

value: WeakReference`1 { }, _: [BinaryFormatTests.TypeSerializableValue, BinaryFormatTests.TypeSerializableValue]

I noticed you made this change: #104905 in main, and are backporting it to release/9.0 in #107540.

I think that PR would fix this issue.

@ericstj
Copy link
Member

ericstj commented Sep 17, 2024

Resolving as the fix was backported in #107540

@ericstj ericstj closed this as completed Sep 17, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Resources binaryformatter-migration Issues related to the removal of BinaryFormatter and migrations away from it blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

6 participants