JDK-8267296 : vmTestbase/vm/mlvm/indy/func/jdi/breakpointOtherStratum/Test.java timed out
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 17
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2021-05-18
  • Updated: 2023-08-16
  • Resolved: 2023-08-16
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
tbdResolved
Related Reports
Relates :  
Description
The following test timed out in the JDK17 CI:

vmTestbase/vm/mlvm/indy/func/jdi/breakpointOtherStratum/Test.java

Here's a snippet from the log file:

#section:driver
----------messages:(8/385)----------
command: driver vm.mlvm.share.StratumClassesBuilder vmTestbase/vm/mlvm/share/jpda/INDIFY_SDE_DebuggeeBase.java
reason: User specified action: run driver vm.mlvm.share.StratumClassesBuilder vmTestbase/vm/mlvm/share/jpda/INDIFY_SDE_DebuggeeBase.java 
Mode: agentvm
Agent id: 14
Timeout refired 480 times
Timeout information:
--- Timeout information end.
elapsed time (seconds): 5627.658
----------configuration:(15/2361)----------
Boot Layer
  class path: /System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/javatest.jar 
              /System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/jtreg.jar 
              /System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/junit.jar 
              /System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/5.1/b01/bundles/jtreg_bin-5.1.zip/jtreg/lib/testng.jar 
  patch:      java.base /System/Volumes/Data/mesos/work_dir/slaves/40f4774a-f408-4e28-8432-1004a7782450-S10979/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/747022cd-a4e4-47ec-9e81-9e7eecb409ab/runs/37b9cdcd-2f9d-4670-ae63-0f681c73ac2f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_mlvm/patches/java.base

Test Layer
  class path: /System/Volumes/Data/mesos/work_dir/slaves/40f4774a-f408-4e28-8432-1004a7782450-S10979/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/747022cd-a4e4-47ec-9e81-9e7eecb409ab/runs/37b9cdcd-2f9d-4670-ae63-0f681c73ac2f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_mlvm/classes/5/vmTestbase/vm/mlvm/indy/func/jdi/breakpointOtherStratum/Test.d
              /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+23-2024/src.full/open/test/hotspot/jtreg/vmTestbase/vm/mlvm/indy/func/jdi/breakpointOtherStratum
              /System/Volumes/Data/mesos/work_dir/slaves/40f4774a-f408-4e28-8432-1004a7782450-S10979/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/747022cd-a4e4-47ec-9e81-9e7eecb409ab/runs/37b9cdcd-2f9d-4670-ae63-0f681c73ac2f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_mlvm/classes/5/vmTestbase
              /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+23-2024/src.full/open/test/hotspot/jtreg/vmTestbase
              /System/Volumes/Data/mesos/work_dir/slaves/40f4774a-f408-4e28-8432-1004a7782450-S10979/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/747022cd-a4e4-47ec-9e81-9e7eecb409ab/runs/37b9cdcd-2f9d-4670-ae63-0f681c73ac2f/testoutput/test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_mlvm/classes/5/test/lib
              /System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-17+23-2024/src.full/open/test/lib

----------rerun:(29/7926)*----------

<snip>

class attrCount: 4
attr len: 2
attr len: 16
attr len: 18
attr len: 10
class attrCount incremented
----------System.err:(4/76)----------
warning: attribute size changed 14 to 18

JavaTest Message: Test complete.

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

Please note that the test timed out at 8 minutes/480 seconds, but
the test didn't finish executing for 5627 seconds/93 minutes.

This is another in the recent raft of strange failures on macOS.
Comments
Closing as CNR. Only reproduced once and hasn't reproduce again since then in the past 2+ years.
16-08-2023

Found a clue in test-support/jtreg_open_test_hotspot_jtreg_vmTestbase_vm_mlvm/vmTestbase/vm/mlvm/indy/func/jdi/breakpointOtherStratum/Test/processes.log: jdk.test.failurehandler.jtreg.GatherProcessInfoTimeoutHandler --- jdk.test.failurehandler.jtreg.GatherProcessInfoTimeoutHandler took 4838 s --- jdk.test.failurehandler.jtreg.GatherProcessInfoTimeoutHandler So GatherProcessInfoTimeoutHandler reports that it took 4828 seconds == 80 minutes to gather the process artifacts which includes a core file: core.31247.zip This last clue makes me think that this bug is related: JDK-8267433 Core dumps on OSX sometimes take a very long time
20-05-2021

I've grabbed the test task's stdout log from the test that preceded vmTestbase/vm/mlvm/indy/func/jdi/breakpointOtherStratum/Test.java until after the test that followed vmTestbase/vm/mlvm/indy/func/jdi/breakpointOtherStratum/Test.java . See 8267296.stdout.
20-05-2021