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

javax/xml/jaxp/unittest/transform/Bug6216226Test.java failed, cannot delete file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 17
    • 17
    • xml
    • b26
    • x86_64
    • windows

      The following test failed in the JDK17 CI:

      javax/xml/jaxp/unittest/transform/Bug6216226Test.java

      Here's a snippet from the log file:

      #section:testng
      ----------messages:(5/874)----------
      command: testng -DrunSecMngr=true -Djava.security.manager=allow transform.Bug6216226Test
      reason: User specified action: run testng/othervm -DrunSecMngr=true -Djava.security.manager=allow transform.Bug6216226Test
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.xml --add-exports java.xml/com.sun.org.apache.xerces.internal.impl=ALL-UNNAMED --add-exports java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED --add-exports java.xml/com.sun.org.apache.xml.internal.serialize=ALL-UNNAMED --add-exports java.xml/com.sun.org.apache.bcel.internal.classfile=ALL-UNNAMED --add-exports java.xml/com.sun.org.apache.bcel.internal.generic=ALL-UNNAMED --add-exports java.xml/com.sun.org.apache.xalan.internal.xsltc.trax=ALL-UNNAMED --add-exports java.xml/com.sun.org.apache.xml.internal.utils=ALL-UNNAMED
      elapsed time (seconds): 1.398
      ----------configuration:(10/659)----------
      Boot Layer
        add modules: java.xml
        add exports: java.xml/com.sun.org.apache.bcel.internal.classfile ALL-UNNAMED
                     java.xml/com.sun.org.apache.bcel.internal.generic ALL-UNNAMED
                     java.xml/com.sun.org.apache.xalan.internal.xsltc.trax ALL-UNNAMED
                     java.xml/com.sun.org.apache.xerces.internal.impl ALL-UNNAMED
                     java.xml/com.sun.org.apache.xerces.internal.jaxp ALL-UNNAMED
                     java.xml/com.sun.org.apache.xml.internal.serialize ALL-UNNAMED
                     java.xml/com.sun.org.apache.xml.internal.utils ALL-UNNAMED

      ----------System.out:(43/2953)*----------
      test transform.Bug6216226Test.test(): failure
      java.lang.AssertionError: cannot delete file: T:\\testoutput\\test-support\\jtreg_open_test_jaxp_tier2\\javax\\xml\\jaxp\\unittest\\transform\\Bug6216226Test\\bug6216226.txt
      at org.testng.Assert.fail(Assert.java:99)
      at transform.Bug6216226Test.test(Bug6216226Test.java:64)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
      at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
      at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
      at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
      at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
      at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
      at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
      at org.testng.TestRunner.privateRun(TestRunner.java:764)
      at org.testng.TestRunner.run(TestRunner.java:585)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
      at org.testng.SuiteRunner.run(SuiteRunner.java:286)
      at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
      at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
      at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
      at org.testng.TestNG.runSuites(TestNG.java:1069)
      at org.testng.TestNG.run(TestNG.java:1037)
      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:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

      ===============================================
      javax/xml/jaxp/unittest/transform/Bug6216226Test.java
      Total tests run: 1, Passes: 0, Failures: 1, Skips: 0
      ===============================================

      ----------System.err:(16/1076)----------
      WARNING: java.lang.System::setSecurityManager is deprecated and will be removed in a future release.
      WARNING: java.lang.System::setSecurityManager is deprecated and will be removed in a future release.
      java.lang.Exception: failures: 1
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
      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:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.lang.Exception: failures: 1
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 1
      ----------rerun:(49/6791)*----------

      Since this is a Tier2 test failure, I'm starting this bug at P3.

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

              Created:
              Updated:
              Resolved: