JDK-8230294 : runtime/cds/appcds/ClassPathAttr.java failed with jar operation failed
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 14
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2019-08-28
  • Updated: 2019-11-05
  • Resolved: 2019-08-28
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 14
14 b12Fixed
Related Reports
Relates :  
Description
----------System.err:(33/2219)----------
java.io.FileNotFoundException: /scratch/opt/mach5/mesos/work_dir/jib-master/install/jdk-14+12-401/src.full/open/test/hotspot/jtreg/runtime/cds/appcds/test-classes/cpattr6.mf (No such file or directory)
	at java.base/java.io.FileInputStream.open0(Native Method)
	at java.base/java.io.FileInputStream.open(FileInputStream.java:213)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:155)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:110)
	at jdk.jartool/sun.tools.jar.Main.run(Main.java:267)
	at JarBuilder.createJar(JarBuilder.java:169)
	at JarBuilder.buildWithManifest(JarBuilder.java:106)
	at ClassPathAttr.buildCpAttr(ClassPathAttr.java:138)
	at ClassPathAttr.testNonExistentJars(ClassPathAttr.java:102)
	at ClassPathAttr.main(ClassPathAttr.java:46)
	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$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.base/java.lang.Thread.run(Thread.java:830)
java.lang.RuntimeException: jar operation failed
	at JarBuilder.createJar(JarBuilder.java:170)
	at JarBuilder.buildWithManifest(JarBuilder.java:106)
	at ClassPathAttr.buildCpAttr(ClassPathAttr.java:138)
	at ClassPathAttr.testNonExistentJars(ClassPathAttr.java:102)
	at ClassPathAttr.main(ClassPathAttr.java:46)
	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$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.base/java.lang.Thread.run(Thread.java:830)

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

result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: jar operation failed
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/55723932d06e User: iklam Date: 2019-08-28 14:42:38 +0000
28-08-2019

Looks like this failure is happening in every Tier2 and Tier3 job set since JDK-8227370 was pushed. Bumping this bug from a P3 -> P2.
28-08-2019