Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8289759

com/sun/jdi/ProcessAttachTest.java failed with "IOException: Premature EOF"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P4
    • None
    • 20
    • core-svc
    • aarch64
    • os_x

    Description

      The following test failed in the JDK20 CI:

      com/sun/jdi/ProcessAttachTest.java

      Here's a snippet from the log file:

      #section:driver
      ----------messages:(8/232)----------
      command: driver ProcessAttachTest
      reason: User specified action: run driver ProcessAttachTest
      Mode: agentvm
      Agent id: 22
      Timeout refired 1200 times
      Timeout information:
      --- Timeout information end.
      elapsed time (seconds): 1281.208
      ----------configuration:(16/2111)----------

      <snip>

      ----------System.out:(3/2136)----------
      Test 1: Debuggee start with suspend=n
      Command line: [/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+5-202/macosx-aarch64-debug.jdk/jdk-20/fastdebug/bin/java -cp /System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S4070/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ca3dcbe9-368f-4c3d-a9ff-51ef1cf3d727/runs/e3d085ed-8000-4bee-b282-a8098a75f088/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/com/sun/jdi/ProcessAttachTest.d:/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-20+5-202/src.full/open/test/jdk/com/sun/jdi:/System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S4070/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ca3dcbe9-368f-4c3d-a9ff-51ef1cf3d727/runs/e3d085ed-8000-4bee-b282-a8098a75f088/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/test/lib:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/javatest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jtreg.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/junit.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/hamcrest.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/testng.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/jcommander.jar:/System/Volumes/Data/mesos/work_dir/jib-master/install/jtreg/6.1/1/bundles/jtreg-6.1+1.zip/jtreg/lib/guice.jar -agentlib:jdwp=transport=dt_socket,server=y,suspend=n -classpath /System/Volumes/Data/mesos/work_dir/slaves/0c72054a-24ab-4dbb-944f-97f9341a1b96-S4070/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/ca3dcbe9-368f-4c3d-a9ff-51ef1cf3d727/runs/e3d085ed-8000-4bee-b282-a8098a75f088/testoutput/test-support/jtreg_open_test_jdk_jdk_jdi/classes/1/com/sun/jdi/ProcessAttachTest.d ProcessAttachTestTarg ]
      Debugger is attaching to: 15991 ...
      ----------System.err:(13/724)----------
      java.io.IOException: Premature EOF
      at jdk.jdi/com.sun.tools.jdi.ProcessAttachingConnector.attach(ProcessAttachingConnector.java:106)
      at ProcessAttachTest.tryDebug(ProcessAttachTest.java:107)
      at ProcessAttachTest.runTest(ProcessAttachTest.java:87)
      at ProcessAttachTest.main(ProcessAttachTest.java:66)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
      at java.base/java.lang.Thread.run(Thread.java:1589)

      JavaTest Message: Test threw exception: java.io.IOException
      JavaTest Message: shutting down test

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

      Attachments

        Issue Links

          Activity

            People

              cjplummer Chris Plummer
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: