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

java/util/zip/EntryCount64k.java failing with java.lang.RuntimeException: '\\A\\Z' missing from stderr

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • 23
    • hotspot
    • gc
    • b24
    • generic
    • generic

      The following test is failing in the JDK23 CI:

      java/util/zip/EntryCount64k.java

      Here's a snippet from the linux-x64 log file:

      #section:main
      ----------messages:(6/233)----------
      command: main EntryCount64k
      reason: User specified action: run main/othervm EntryCount64k
      started: Fri May 17 19:44:18 UTC 2024
      Mode: othervm [/othervm specified]
      finished: Fri May 17 19:44:21 UTC 2024
      elapsed time (seconds): 2.774
      ----------configuration:(0/0)----------
      ----------System.out:(5/1855)----------
      Command line: [/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+23-1890/linux-x64-debug.jdk/jdk-23/fastdebug/bin/java -cp /opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S15509/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ce0e5d10-174f-45de-bc3d-8c5debd321ac/runs/44ca1ee7-8959-4d3e-8707-f1edafdc0b1a/testoutput/test-support/jtreg_open_test_jdk_jdk_util/classes/3/java/util/zip/EntryCount64k.d:/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+23-1890/src.full/open/test/jdk/java/util/zip:/opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S15509/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ce0e5d10-174f-45de-bc3d-8c5debd321ac/runs/44ca1ee7-8959-4d3e-8707-f1edafdc0b1a/testoutput/test-support/jtreg_open_test_jdk_jdk_util/classes/3/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jdk-23+23-1890/src.full/open/test/lib:/opt/mach5/mesos/work_dir/jib-master/install/jtreg/7.3.1/1/bundles/jtreg-7.3.1+1.zip/jtreg/lib/jtreg.jar -Xmx768m -XX:MaxRAMPercentage=4.16667 -Dtest.boot.jdk=/opt/mach5/mesos/work_dir/jib-master/install/jdk/22/36/bundles/linux-x64/jdk-22_linux-x64_bin.tar.gz/jdk-22 -Djava.io.tmpdir=/opt/mach5/mesos/work_dir/slaves/a4a7850a-7c35-410a-b879-d77fbb2f6087-S15509/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ce0e5d10-174f-45de-bc3d-8c5debd321ac/runs/44ca1ee7-8959-4d3e-8707-f1edafdc0b1a/testoutput/test-support/jtreg_open_test_jdk_jdk_util/tmp -ea -esa -XX:+UseZGC -XX:-ZGenerational -jar EntryCount64k-tmp.zip ]
      [2024-05-17T19:44:21.103006907Z] Gathering output for process 1234778
      [2024-05-17T19:44:21.256628108Z] Waiting for completion for process 1234778
      [2024-05-17T19:44:21.396841417Z] Waiting for completion finished for process 1234778
      Output and diagnostic info for process 1234778 was saved into 'pid-1234778-output.log'
      ----------System.err:(24/1383)*----------
      Java HotSpot(TM) 64-Bit Server VM warning: Option ZGenerational was deprecated in version 23.0 and will likely be removed in a future release.
      Java HotSpot(TM) 64-Bit Server VM warning: Non-generational ZGC is deprecated.
      entryCount=65533 shouldUseZip64=false usesZip64=false zipSize=6797033

       stdout: [Main];
       stderr: [Java HotSpot(TM) 64-Bit Server VM warning: Option ZGenerational was deprecated in version 23.0 and will likely be removed in a future release.
      Java HotSpot(TM) 64-Bit Server VM warning: Non-generational ZGC is deprecated.
      ]
       exitValue = 0

      java.lang.RuntimeException: '\\A\\Z' missing from stderr
      at jdk.test.lib.process.OutputAnalyzer.stderrShouldMatch(OutputAnalyzer.java:407)
      at EntryCount64k.checkCanRead(EntryCount64k.java:166)
      at EntryCount64k.test(EntryCount64k.java:108)
      at EntryCount64k.main(EntryCount64k.java:64)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: '\\A\\Z' missing from stderr
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: '\\A\\Z' missing from stderr
      ----------rerun:(39/6874)*----------


      The following output on stderr might be the root cause here:

       stderr: [Java HotSpot(TM) 64-Bit Server VM warning: Option ZGenerational was deprecated in version 23.0 and will likely be removed in a future release.
      Java HotSpot(TM) 64-Bit Server VM warning: Non-generational ZGC is deprecated.
      ]

      This test failure has happened on macosx-x64, windows-x64
      and linux-x64 in jdk-23+23-1890-tier8 and that build-ID includes
      the fix for:

      JDK-8326957 Implement JEP 474: ZGC: Generational Mode by Default

      The test task's JVM args are: -XX:+UseZGC -XX:-ZGenerational

      Should these task definitions have been modified by JDK-8326957?

            aboldtch Axel Boldt-Christmas
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: