Skip to content

regression in SimpleConstructors test inside System.Xml.Linq.TreeManipulation.Tests  #44489

@wfurt

Description

@wfurt

I can reproduce it locally - the caveat is that this is outer loop test so I guess it got missed by CI.
I was suspecting #44414 but I can reproduce it even when syncing prior to that.

I started to fail 11/10 .e.g. today.
Binary search points to #44300

cc: @krwq and @stephentoub who touch the area recently.

There is not much aside from:

   Discovering: System.Xml.Linq.TreeManipulation.Tests (method display = ClassAndMethod, method display options = None)
    Discovered:  System.Xml.Linq.TreeManipulation.Tests (found 74 test cases)
    Starting:    System.Xml.Linq.TreeManipulation.Tests (parallel test collections = on, max threads = 16)
  TestCase:XNode.ReplaceWith -
  Pass:10, Fail:0, Skip:0
  TestCase:XNode.ReplaceWith with Events -
  Pass:1, Fail:0, Skip:0
  TestCase:Constructors with params - XElement - node + array -
  Pass:13, Fail:0, Skip:0
  TestCase:Simple constructors -
  	DTD - all nulls
  Expected:  ()
  Actual  :  (System.String)

  Microsoft.Test.ModuleCore.TestFailedException: dtd.InternalSubset, data[3]
     at Microsoft.Test.ModuleCore.TestLog.Compare(Object actual, Object expected, String message) in /Users/furt/github/wfurt-ssl/src/libraries/System.Private.Xml.Linq/tests/XDocument.Test.ModuleCore/testlog.cs:line 207
     at XLinqTests.SimpleObjectsCreation.DTDConstruct() in /Users/furt/github/wfurt-ssl/src/libraries/System.Private.Xml.Linq/tests/TreeManipulation/SimpleObjectsCreation.cs:line 936
     at Microsoft.Test.ModuleCore.TestVariation.Execute() in /Users/furt/github/wfurt-ssl/src/libraries/System.Private.Xml.Linq/tests/XDocument.Test.ModuleCore/testvariation.cs:line 64
     at Microsoft.Test.ModuleCore.TestCase.Execute() in /Users/furt/github/wfurt-ssl/src/libraries/System.Private.Xml.Linq/tests/XDocument.Test.ModuleCore/testcase.cs:line 84
  	 FAILED
  Pass:73, Fail:1, Skip:0
  TestCase:XNode.Remove with Events -
      XLinqTests.TreeManipulationTests.SimpleConstructors [FAIL]
        Assert.Equal() Failure
        Expected: 0
        Actual:   1
        Stack Trace:
          /Users/furt/github/wfurt-ssl/src/libraries/System.Private.Xml.Linq/tests/TreeManipulation/TreeManipulationTests.cs(432,0): at XLinqTests.TreeManipulationTests.RunTestCase(TestItem testCase)
          /Users/furt/github/wfurt-ssl/src/libraries/System.Private.Xml.Linq/tests/TreeManipulation/TreeManipulationTests.cs(92,0): at XLinqTests.TreeManipulationTests.SimpleConstructors()
  Pass:10, Fail:0, Skip:0

Metadata

Metadata

Assignees

Labels

area-System.Xmlblocking-clean-ciBlocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'test-bugProblem in test source code (most likely)test-run-coreTest failures in .NET Core test runsuntriagedNew issue has not been triaged by the area owner

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions