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

java/text/Format/DateFormat/SimpleDateFormatPatternTest.java fails with jtreg test timeout

XMLWordPrintable

    • x86_64
    • windows

      JDK20 b27 ATR run on legacy windows-x64-8-1

      This is due to the test process being "stuck" in a file close call. .... The test has finished and passed

      test SimpleDateFormatPatternTest.testValidPattern("dd.MM.y. HH.mm.ss", ccp_IN): success
      test SimpleDateFormatPatternTest.testValidPattern("d.M.yy. HH.mm", ccp_IN): success

      ===============================================
      java/text/Format/DateFormat/SimpleDateFormatPatternTest.java
      Total tests run: 119728, Passes: 119728, Failures: 0, Skips: 0
      ===============================================

      Timeout refired 1200 times
      ----------System.err:(0/0)----------
      ----------rerun:(30/2352)*----------

      test result: Error. Program `c:\Corelibs\jdk-20\bin\java' timed out (timeout set to 1200000ms, elapsed time including timeout handling was 1228546ms).

      extract from process capture

      "MainThread" #21 [920] prio=5 os_prio=0 cpu=8843.75ms elapsed=1210.79s allocated=5216M defined_classes=1152 tid=0x000000ea939dcbf0 nid=920 runnable [0x000000ea9407e000]
         java.lang.Thread.State: RUNNABLE
      at java.io.FileDescriptor.close0(java.base@20-ea/Native Method)
      at java.io.FileDescriptor.close(java.base@20-ea/FileDescriptor.java:293)
      - locked <0x00000000fc111870> (a java.io.FileDescriptor)
      at java.io.FileOutputStream$1.close(java.base@20-ea/FileOutputStream.java:420)
      at java.io.FileDescriptor.closeAll(java.base@20-ea/FileDescriptor.java:351)
      - locked <0x00000000fc111870> (a java.io.FileDescriptor)
      at java.io.FileOutputStream.close(java.base@20-ea/FileOutputStream.java:418)
      at sun.nio.cs.StreamEncoder.implClose(java.base@20-ea/StreamEncoder.java:443)
      at sun.nio.cs.StreamEncoder.lockedClose(java.base@20-ea/StreamEncoder.java:241)
      at sun.nio.cs.StreamEncoder.close(java.base@20-ea/StreamEncoder.java:226)
      at java.io.OutputStreamWriter.close(java.base@20-ea/OutputStreamWriter.java:267)
      at org.testng.reporters.FileStringBuffer.flushToFile(FileStringBuffer.java:116)
      at org.testng.reporters.FileStringBuffer.append(FileStringBuffer.java:51)
      at org.testng.reporters.FileStringBuffer.append(FileStringBuffer.java:26)
      at org.testng.reporters.XMLStringBuffer.addCDATA(XMLStringBuffer.java:309)
      at org.testng.reporters.XMLSuiteResultWriter.addTestResultException(XMLSuiteResultWriter.java:304)
      at org.testng.reporters.XMLSuiteResultWriter.addTestResult(XMLSuiteResultWriter.java:159)
      at org.testng.reporters.XMLSuiteResultWriter.addTestResults(XMLSuiteResultWriter.java:135)
      at org.testng.reporters.XMLSuiteResultWriter.writeAllToBuffer(XMLSuiteResultWriter.java:79)
      at org.testng.reporters.XMLSuiteResultWriter.writeSuiteResult(XMLSuiteResultWriter.java:54)
      at org.testng.reporters.XMLReporter.writeSuiteToBuffer(XMLReporter.java:146)
      at org.testng.reporters.XMLReporter.writeSuite(XMLReporter.java:108)
      at org.testng.reporters.XMLReporter.generateReport(XMLReporter.java:76)
      at org.testng.TestNG.generateReports(TestNG.java:1099)
      at org.testng.TestNG.run(TestNG.java:1042)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:93)
      at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:53)
      at java.lang.invoke.LambdaForm$DMH/0x0000000801002000.invokeStatic(java.base@20-ea/LambdaForm$DMH)
      at java.lang.invoke.LambdaForm$MH/0x0000000801003400.invoke(java.base@20-ea/LambdaForm$MH)
      at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@20-ea/Invokers$Holder)
      at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@20-ea/DirectMethodHandleAccessor.java:155)
      at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@20-ea/DirectMethodHandleAccessor.java:104)
      at java.lang.reflect.Method.invoke(java.base@20-ea/Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:125)
      at java.lang.Thread.runWith(java.base@20-ea/Thread.java:1636)
      at java.lang.Thread.run(java.base@20-ea/Thread.java:1623)

            msheppar Mark Sheppard
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: