JDK-8204868 : java/util/zip/ZipFile/TestCleaner.java still fails with "cleaner failed to clean zipfile."
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 11,14,17,23
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2018-06-12
  • Updated: 2024-08-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Duplicate :  
Relates :  
Description
The test failed again in the submit branch for JDK-8202772:

----------System.out:(10/170)----------
waiting gc ... 9
waiting gc ... 8
waiting gc ... 7
waiting gc ... 6
waiting gc ... 5
waiting gc ... 4
waiting gc ... 3
waiting gc ... 2
waiting gc ... 1
waiting gc ... 0
----------System.err:(13/765)----------
java.lang.RuntimeException: cleaner failed to clean zipfile.
	at TestCleaner.testZipFile(TestCleaner.java:241)
	at TestCleaner.main(TestCleaner.java:44)
	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.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
	at java.base/java.lang.Thread.run(Thread.java:832)

JDK-8197989 claims to have fixed this but it doesn't seem like that fix was enough.
Comments
I just encountered this failure mode in a personal mach5 test run for JDK 15.
13-05-2020

We recently observed the mentioned failure in test java/util/zip/ZipFile/TestCleaner.java on one of our Linux PowerPC64LE SLES 12 SP3 machines . Exceptions we got (both test runs are from JDK11 ) : Sat Sep 21 03:31:31 CEST 2019 java.lang.RuntimeException: cleaner failed to clean zipfile. at TestCleaner.testZipFile(TestCleaner.java:241) at TestCleaner.main(TestCleaner.java:44) 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) Thu Sep 19 03:49:59 CEST 2019 java.lang.RuntimeException: cleaner failed to clean zipfile. at TestCleaner.testZipFile(TestCleaner.java:241) at TestCleaner.main(TestCleaner.java:44) 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)
27-09-2019

Please take a look or reassign.
21-11-2018

This issue does not seem to have repeated itself in any build except this submit job. The source bundle does include the fix to TestCleaner from 8197989. Though the exact state of the submit sources is not precisely known. If it does no recur, please close as not reproducible.
20-06-2018

If this test failure is causing a problem, perhaps it needs to be on the problem list. Also, perhaps the 'intermittent' keyword should be added to this test if it doesn't settle down.
13-06-2018