dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.05k stars 4.69k forks source link

DataContractSerializerTests.DCS_MyPersonSurrogate_Stress failing in CI #35066

Open jaredpar opened 4 years ago

jaredpar commented 4 years ago

Console Log Summary

~/work/A7D90984/w/A7A60959/e ~/work/A7D90984/w/A7A60959/e
  Discovering: System.Runtime.Serialization.Xml.ReflectionOnly.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Runtime.Serialization.Xml.ReflectionOnly.Tests (found 238 test cases)
  Starting:    System.Runtime.Serialization.Xml.ReflectionOnly.Tests (parallel test collections = on, max threads = 2)
    DataContractSerializerTests.DCS_MyPersonSurrogate_Stress [FAIL]
      Assert.Equal() Failure
      Expected: Person[Name=name,Age=30]
      Actual:   Person[Name=name,Age=30]
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Xml/tests/DataContractSerializerStressTests.cs(62,0): at DataContractSerializerTests.DCS_MyPersonSurrogate_Stress()
        /_/src/mono/netcore/System.Private.CoreLib/src/

Error Message

Fill the error message using known issues guidance.

{
  "ErrorMessage": "DCS_MyPersonSurrogate_Stress",
  "BuildRetry": false
}

Report

Build Definition Test Pull Request
818510 dotnet/runtime DataContractSerializerTests.DCS_MyPersonSurrogate_Stress dotnet/runtime#108258
798951 dotnet/runtime DataContractSerializerTests.DCS_MyPersonSurrogate_Stress

Summary

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

Known issue validation

Build: :mag_right: Result validation: :warning: Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: :mag_right:" line.

ViktorHofer commented 4 years ago

cc @StephenMolloy @HongGit

jaredpar commented 3 years ago

Closing as no recent failures in last 14 days.

jkotas commented 1 year ago

This seems to be failing intermittently like once a month.

Failed in #80613 on checked coreclr linux_musl arm Release.

Log https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-80613-merge-5a2bc06253a74de28b/System.Runtime.Serialization.Xml.Tests/1/console.1737b439.log?helixlogtype=result

  DataContractSerializerTests.DCS_MyPersonSurrogate_Stress [FAIL]
      Assert.Equal() Failure
      Expected: Person[Name=name,Age=30]
      Actual:   Person[Name=name,Age=30]
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Xml/tests/DataContractSerializerStressTests.cs(62,0): at DataContractSerializerTests.DCS_MyPersonSurrogate_Stress()
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
        /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodInvoker.cs(59,0): at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
carlossanlop commented 1 year ago

Hit this again today in this 7.0 PR: https://github.com/dotnet/runtime/pull/90247

carlossanlop commented 12 months ago

Here's a fresh failure in the 8.0 branch:

Console log: 'System.Runtime.Serialization.Xml.Tests' from job 506395e5-1b93-4df2-970c-465117997444 workitem 759d9f47-9ee8-4a02-9910-a10d16659da4 (windows.10.amd64.open.svc) executed on machine a003VO1 running Windows-10-10.0.14393-SP0

C:\h\w\9B15083A\w\A64908F7\e>taskkill.exe /f /im corerun.exe 
ERROR: The process "corerun.exe" not found.

C:\h\w\9B15083A\w\A64908F7\e>call RunTests.cmd --runtime-path C:\h\w\9B15083A\p 
----- start Thu 10/05/2023  1:29:02.56 ===============  To repro directly: =====================================================
pushd C:\h\w\9B15083A\w\A64908F7\e\
"C:\h\w\9B15083A\p\dotnet.exe" exec --runtimeconfig System.Runtime.Serialization.Xml.Tests.runtimeconfig.json --depsfile System.Runtime.Serialization.Xml.Tests.deps.json xunit.console.dll System.Runtime.Serialization.Xml.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing 
popd
===========================================================================================================

C:\h\w\9B15083A\w\A64908F7\e>"C:\h\w\9B15083A\p\dotnet.exe" exec --runtimeconfig System.Runtime.Serialization.Xml.Tests.runtimeconfig.json --depsfile System.Runtime.Serialization.Xml.Tests.deps.json xunit.console.dll System.Runtime.Serialization.Xml.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing  
  Discovering: System.Runtime.Serialization.Xml.Tests (method display = ClassAndMethod, method display options = None)
  Discovered:  System.Runtime.Serialization.Xml.Tests (found 281 of 282 test cases)
  Starting:    System.Runtime.Serialization.Xml.Tests (parallel test collections = on, max threads = 4)
    DataContractSerializerTests.DCS_MyPersonSurrogate_Stress [FAIL]
      Assert.Equal() Failure
      Expected: Person[Name=name,Age=30]
      Actual:   Person[Name=name,Age=30]
      Stack Trace:
        /_/src/libraries/System.Runtime.Serialization.Xml/tests/DataContractSerializerStressTests.cs(62,0): at DataContractSerializerTests.DCS_MyPersonSurrogate_Stress()
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
        /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs(36,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:    System.Runtime.Serialization.Xml.Tests
=== TEST EXECUTION SUMMARY ===
   System.Runtime.Serialization.Xml.Tests  Total: 343, Errors: 0, Failed: 1, Skipped: 0, Time: 34.110s
----- end Thu 10/05/2023  1:29:52.67 ----- exit code 1 ----------------------------------------------------------
2023-10-05T01:29:54.239Z    INFO    run.py  run(48) main    Beginning reading of test results.
2023-10-05T01:29:54.239Z    INFO    run.py  __init__(42)    read_results    Searching 'C:\h\w\9B15083A\w\A64908F7\e' for test results files
2023-10-05T01:29:54.239Z    INFO    run.py  __init__(48)    read_results    Found results file C:\h\w\9B15083A\w\A64908F7\e\testResults.xml with format xunit
2023-10-05T01:29:54.254Z    INFO    run.py  __init__(42)    read_results    Searching 'C:\h\w\9B15083A\w\A64908F7\uploads' for test results files
2023-10-05T01:29:54.254Z    INFO    run.py  packing_test_reporter(30)   report_results  Packing 343 test reports to 'C:\h\w\9B15083A\w\A64908F7\e\__test_report.json'
2023-10-05T01:29:54.254Z    INFO    run.py  packing_test_reporter(33)   report_results  Packed 92186 bytes
ERROR: The process "corerun.exe" not found.
Did not find dumps, skipping dump docs generation.
['System.Runtime.Serialization.Xml.Tests' END OF WORK ITEM LOG: Command exited with 0]