JDK-8297433 : misc java/util/concurrent tests crash during compilation
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 20
  • Priority: P3
  • Status: New
  • Resolution: Unresolved
  • OS: linux
  • CPU: x86_64
  • Submitted: 2022-11-22
  • Updated: 2022-11-23
Related Reports
Relates :  
Description
The following test failed in the JDK20 CI:

java/util/concurrent/ConcurrentQueues/OfferRemoveLoops.java

Here's a snippet from the log file:

#section:main
----------messages:(7/230)----------
command: main OfferRemoveLoops 100
reason: User specified action: run main OfferRemoveLoops 100 
started: Tue Nov 22 00:36:42 UTC 2022
Mode: agentvm
Agent id: 9
finished: Tue Nov 22 00:36:50 UTC 2022
elapsed time (seconds): 8.134
----------configuration:(14/1857)----------

<snip>

----------stdout:(7/461)----------
#
# Compiler replay data is saved as:
# /opt/mach5/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S137574/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/81e0643e-8b2a-45ee-b729-fe729204b5a6/runs/cf1e3133-b0cd-4339-8e7c-8ed7027a0c4f/testoutput/test-support/jtreg_open_test_jdk_tier1_part2/scratch/3/replay_pid2002869.log
#
# If you would like to submit a bug report, please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
#
result: Error. Agent communication error: java.io.EOFException; check console log for any additional details

So we have a partial crash report in the stdout log and
a link to the replay_pid file. I'm going to start this bug in
hotspot/compiler for initial triage.

This is a Tier1 failure so it would normally start as a P2, but
it did not reproduce so I'm starting it as a P3.
Comments
Here's a log file snippet for the jdk-20+25-1894-tier1 sighting: java/util/concurrent/ConcurrentQueues/RemovePollRace.java #section:main ----------messages:(7/229)---------- command: main RemovePollRace 1234 reason: User specified action: run main RemovePollRace 1234 started: Tue Nov 22 18:44:27 UTC 2022 Mode: agentvm Agent id: 10 finished: Tue Nov 22 18:44:36 UTC 2022 elapsed time (seconds): 9.393 ----------configuration:(12/1449)---------- <snip> ----------stdout:(18/822)---------- [thread 32041 also had an error] [thread 32056 also had an error] [thread 32042 also had an error][thread 32043 also had an error] [thread 32045 also had an error] [thread 32048 also had an error] [thread 32050 also had an error] [thread 32040 also had an error] [thread 32052 also had an error] [thread 32046 also had an error] [thread 32055 also had an error] # # Compiler replay data is saved as: # /opt/mach5/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S137544/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/7d5b2a0c-5fd3-43af-be25-0279a2cd41d7/runs/227bdb26-c85d-49fd-9868-335268dd31c2/testoutput/test-support/jtreg_open_test_jdk_tier1_part2/scratch/5/replay_pid28761.log # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp # result: Error. Agent communication error: java.io.EOFException; check console log for any additional details
22-11-2022

I found much older unresolved bug for the same test: JDK-8172015 ConcurrentQueues/OfferRemoveLoops.java fails but the failure modes described in it don't match the failure mode in this bug.
22-11-2022