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

DCS_MyPersonSurrogate_Stress test failed #34962

Closed
danmoseley opened this issue Apr 14, 2020 · 4 comments
Closed

DCS_MyPersonSurrogate_Stress test failed #34962

danmoseley opened this issue Apr 14, 2020 · 4 comments
Assignees
Labels
area-Serialization runtime-mono specific to the Mono runtime
Milestone

Comments

@danmoseley
Copy link
Member

danmoseley commented Apr 14, 2020

The assert indicates that there are distinct NonSerializablePersonForStress objects, with the same field values.

This comment suggests that the test is intended to verify referential identity:

               // We put the same object at two different slots. Because the DataContract type
                // is marked with [DataContract(IsReference = true)], after serialization-deserialization,
                // the objects at this two places should be the same object to each other.
Error message
Assert.Equal() Failure\nExpected: Person[Name=name,Age=30]\nActual: Person[Name=name,Age=30]


Stack trace
   at DataContractSerializerTests.DCS_MyPersonSurrogate_Stress() in /_/src/libraries/System.Runtime.Serialization.Xml/tests/DataContractSerializerStressTests.cs:line 62
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) in /_/src/mono/netcore/System.Private.CoreLib/src/System/Reflection/RuntimeMethodInfo.cs:line 360

https://dev.azure.com/dnceng/public/_build/results?buildId=598762&view=ms.vss-test-web.build-test-results-tab&runId=18856272&resultId=101137&paneView=debug

netcoreapp5.0-Linux-Debug-arm64-Mono_release-(Ubuntu.1804.ArmArch.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-16.04-h

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this issue. Please help me learn by adding exactly one area label.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Apr 14, 2020
@safern safern changed the title DCS_MyPersonSurrogate_Stress failed in preview 3 branch DCS_MyPersonSurrogate_Stress test failed May 4, 2020
@safern
Copy link
Member

safern commented May 4, 2020

This failed in rolling build as well in master. Updated the title, to remove "preview3".

@safern safern added the runtime-mono specific to the Mono runtime label May 4, 2020
@safern
Copy link
Member

safern commented May 4, 2020

Builds

Build Pull Request Test Failure Count
#628369 Rolling 1
#628656 Rolling 1

Configurations

  • netcoreapp5.0-OSX-Release-x64-Mono_release-OSX.1013.Amd64.Open
  • netcoreapp5.0-Windows_NT-Release-x64-Mono_release-Windows.10.Amd64.Server19H1.Open

Helix Logs

Build Pull Request Console Core Test Results Run Client
#628369 Rolling console.log testResults.xml run_client.py
#628656 Rolling console.log testResults.xml run_client.py

@HongGit HongGit removed the untriaged New issue has not been triaged by the area owner label Jun 25, 2020
@HongGit HongGit added this to the 5.0.0 milestone Jun 25, 2020
@HongGit
Copy link
Contributor

HongGit commented Jul 15, 2020

Duplicate #35066

@HongGit HongGit closed this as completed Jul 15, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Serialization runtime-mono specific to the Mono runtime
Projects
None yet
Development

No branches or pull requests

5 participants