JDK-8197989 : java/util/zip/ZipFile/TestCleaner.java failed with "cleaner failed to clean zipfile"
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.jar
  • Affected Version: 11
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: linux
  • Submitted: 2018-02-15
  • Updated: 2018-06-28
  • Resolved: 2018-06-05
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.
JDK 11
11 b17Fixed
Related Reports
Relates :  
Relates :  
Description
Test:
java/util/zip/ZipFile/TestCleaner.java

Platform: Linux 3.8.13-118.20.2.el7uek.x86_64 (amd64)

Log:
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:215)
	at TestCleaner.main(TestCleaner.java:43)
	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:564)
	at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
	at java.base/java.lang.Thread.run(Thread.java:844)

JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test

result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: cleaner failed to clean zipfile.

test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: cleaner failed to clean zipfile.
Comments
I've also seen this - once.
28-03-2018