JDK-8234696 : tools/jlink/plugins/VendorInfoPluginsTest.java times out
  • Type: Bug
  • Component: tools
  • Sub-Component: jlink
  • Affected Version: 11,14
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2019-11-23
  • Updated: 2020-06-01
  • Resolved: 2019-12-04
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 JDK 13 JDK 14
11.0.7-oracleFixed 13.0.4Fixed 14 b26Fixed
Related Reports
Duplicate :  
Relates :  
Description
The following test times out in the JDK14 CI:

tools/jlink/plugins/VendorInfoPluginsTest.java

Here's a snippet from the log file:

#section:main
----------messages:(9/438)----------
command: main VendorInfoPluginsTest
reason: User specified action: run main VendorInfoPluginsTest 
Mode: agentvm
Agent id: 15
Additional exports to unnamed modules from @modules: java.base/jdk.internal.jimage jdk.jdeps/com.sun.tools.classfile jdk.jlink/jdk.tools.jlink.internal jdk.jlink/jdk.tools.jmod jdk.jlink/jdk.tools.jimage
Timeout refired 480 times
Timeout information:
--- Timeout information end.
elapsed time (seconds): 573.446
----------configuration:(18/2130)----------
Boot Layer
  class path: /scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b14/bundles/jtreg_bin-4.2.zip/jtreg/lib/javatest.jar 
              /scratch/mesos/jib-master/install/java/re/jtreg/4.2/promoted/all/b14/bundles/jtreg_bin-4.2.zip/jtreg/lib/jtreg.jar 
  patch:      java.base /scratch/mesos/slaves/601ba65f-769d-4a91-8a1e-d3fc5817582d-S27468/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e5d03236-c7df-49ff-89f4-75af3eb7998f/runs/20655765-c219-444b-89f5-b0d60e79917e/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/patches/java.base

Test Layer
  add exports: java.base/jdk.internal.jimage      ALL-UNNAMED
               jdk.jdeps/com.sun.tools.classfile  ALL-UNNAMED
               jdk.jlink/jdk.tools.jimage         ALL-UNNAMED
               jdk.jlink/jdk.tools.jlink.internal ALL-UNNAMED
               jdk.jlink/jdk.tools.jmod           ALL-UNNAMED
  class path:  /scratch/mesos/slaves/601ba65f-769d-4a91-8a1e-d3fc5817582d-S27468/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e5d03236-c7df-49ff-89f4-75af3eb7998f/runs/20655765-c219-444b-89f5-b0d60e79917e/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/3/tools/jlink/plugins/VendorInfoPluginsTest.d 
               /scratch/mesos/jib-master/install/jdk-14+25-1139/src.full/open/test/jdk/tools/jlink/plugins 
               /scratch/mesos/slaves/601ba65f-769d-4a91-8a1e-d3fc5817582d-S27468/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e5d03236-c7df-49ff-89f4-75af3eb7998f/runs/20655765-c219-444b-89f5-b0d60e79917e/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/3/test/lib 
               /scratch/mesos/jib-master/install/jdk-14+25-1139/src.full/open/test/lib 
               /scratch/mesos/slaves/601ba65f-769d-4a91-8a1e-d3fc5817582d-S27468/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/e5d03236-c7df-49ff-89f4-75af3eb7998f/runs/20655765-c219-444b-89f5-b0d60e79917e/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/classes/3/tools/lib 
               /scratch/mesos/jib-master/install/jdk-14+25-1139/src.full/open/test/jdk/tools/lib 

----------rerun:(29/6051)*----------
<snip>
result: Error. Agent error: java.lang.Exception: Agent 15 timed out with a timeout of 480 seconds; check console log for any additional details


test result: Error. Agent error: java.lang.Exception: Agent 15 timed out with a timeout of 480 seconds; check console log for any additional details

Starting this bug out at P3 since this is a Tier2 failure.
Comments
Fix request (13u) Follow-up to JDK-8232080. Patch applies cleanly.
29-05-2020

Fix request (11u) This is a follow-up regression fix to JDK-8232080. As I'm planning to get this into jdk11u, I'll push this one right after it. Patch applies cleanly.
05-04-2020

URL: https://hg.openjdk.java.net/jdk/jdk/rev/354025d0427d User: clanger Date: 2019-12-04 12:59:36 +0000
04-12-2019

There is an hs_err_pid file associated with this failure: https://mach5.us.oracle.com:10060/api/v1/results/mach5-one-jdk-14+25-1139-tier2-20191123-0124-6937362-open_test_jdk_tier2_part2-macosx-x64-79-1468/artifacts/hs_err_pid5237.log However, this is an intentional crash intended to test the crash portion of the vendor plug in. If an hs_err_pid file is sufficient for this test, i.e., a core file is not needed, then please add the following option to the test invocation: -XX:-CreateCoredumpOnCrash and this will allow the test to execute in less time. If a core file is needed, then specifying a smaller heap would help the test generate the core file faster.
23-11-2019