Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8210720

javax/xml/jaxp/unittest/catalog/CatalogSupport2.java and CatalogSupport3.java are failing in JDK12 CI

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 12
    • Fix Version/s: None
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The following tests are failing in the jdk12-jdk-406-tier2 CI job set:

      javax/xml/jaxp/unittest/catalog/CatalogSupport2.java
      javax/xml/jaxp/unittest/catalog/CatalogSupport3.java

      Here's a snippet of the CatalogSupport2.java log file:

      ----------System.out:(201/21152)----------
      [TestNG] Running:
        javax/xml/jaxp/unittest/catalog/CatalogSupport2.java

      config catalog.CatalogSupport2.setUpClass(): success
      test catalog.CatalogSupport2.testDOMC(false, true, "file:///C:/ade/mesos/work_dir/jib-master/install/jdk12-jdk.406/src.full/open/test/jaxp/javax/xml/jaxp/unittest/catalog/CatalogSupport.xml", "C:/ade/mesos/work_dir/jib-master/install/jdk12-jdk.406/src.full/open/test/jaxp/javax/xml/jaxp/unittest/catalog/system.xml", catalog.CatalogSupportBase$MyHandler@7ce3e5a6, "Test system entry"): failure
      java.lang.AssertionError: expected [Test system entry] but found [Test entry]
      at org.testng.Assert.fail(Assert.java:94)
      at org.testng.Assert.failNotEquals(Assert.java:496)
      at org.testng.Assert.assertEquals(Assert.java:125)
      at org.testng.Assert.assertEquals(Assert.java:178)
      at org.testng.Assert.assertEquals(Assert.java:188)
      at catalog.CatalogSupportBase.testDOM(CatalogSupportBase.java:325)
      at catalog.CatalogSupport2.testDOMC(CatalogSupport2.java:130)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      at org.testng.TestRunner.privateRun(TestRunner.java:773)
      at org.testng.TestRunner.run(TestRunner.java:623)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      at org.testng.SuiteRunner.run(SuiteRunner.java:259)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
      at org.testng.TestNG.run(TestNG.java:1018)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:834)

      Here's a snippet of the CatalogSupport3.java log file:

      ----------System.out:(265/27823)----------
      [TestNG] Running:
        javax/xml/jaxp/unittest/catalog/CatalogSupport3.java

      config catalog.CatalogSupport3.setUpClass(): success
      test catalog.CatalogSupport3.testDOMC(true, false, "file:///C:/ade/mesos/work_dir/jib-master/install/jdk12-jdk.406/src.full/open/test/jaxp/javax/xml/jaxp/unittest/catalog/CatalogSupport.xml", "C:/ade/mesos/work_dir/jib-master/install/jdk12-jdk.406/src.full/open/test/jaxp/javax/xml/jaxp/unittest/catalog/system.xml", catalog.CatalogSupportBase$MyHandler@4d0970c6, "Test system entry"): failure
      java.lang.AssertionError: expected [Test system entry] but found [Test entry]
      at org.testng.Assert.fail(Assert.java:94)
      at org.testng.Assert.failNotEquals(Assert.java:496)
      at org.testng.Assert.assertEquals(Assert.java:125)
      at org.testng.Assert.assertEquals(Assert.java:178)
      at org.testng.Assert.assertEquals(Assert.java:188)
      at catalog.CatalogSupportBase.testDOM(CatalogSupportBase.java:325)
      at catalog.CatalogSupport3.testDOMC(CatalogSupport3.java:126)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
      at org.testng.TestRunner.privateRun(TestRunner.java:773)
      at org.testng.TestRunner.run(TestRunner.java:623)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
      at org.testng.SuiteRunner.run(SuiteRunner.java:259)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
      at org.testng.TestNG.run(TestNG.java:1018)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:834)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                joehw Joe Wang
                Reporter:
                dcubed Daniel Daugherty
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: