eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.28k stars 721 forks source link

jdk_io_1_FAILED java/io/IO/IO.java Agent error: java.lang.Exception: Agent 8 timed out #20011

Open JasonFengJ9 opened 2 months ago

JasonFengJ9 commented 2 months ago

Failure link

From an internal build(sles12le-rtp-rt5-1):

openjdk version "23" 2024-09-17
IBM Semeru Runtime Open Edition 23.0.0.0-m1 (build 23+36)
Eclipse OpenJ9 VM 23.0.0.0-m1 (build v0.47.0-release-24752b0cab, JRE 23 Linux ppc64le-64-Bit Compressed References 20240917_11 (JIT enabled, AOT enabled)
OpenJ9   - 24752b0cab
OMR      - 5e425ebfc
JCL      - 7ddc19f4c87 based on jdk-23+36)

Rerun in Grinder - Change TARGET to run only the failed test targets.

Optional info

Failure output (captured from console output)

[2024-08-14T13:43:26.798Z] variation: Mode650
[2024-08-14T13:43:26.798Z] JVM_OPTIONS:  -XX:-UseCompressedOops -Xverbosegclog 

[2024-08-14T14:01:57.456Z] TEST: java/io/IO/IO.java

[2024-08-14T14:01:57.469Z] TEST RESULT: Error. Agent error: java.lang.Exception: Agent 8 timed out with a timeout of 960 seconds; check console log for any additional details
[2024-08-14T14:01:57.469Z] --------------------------------------------------
[2024-08-14T14:01:57.469Z] Test results: passed: 420; error: 1
[2024-08-14T14:02:35.708Z] Report written to /home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/aqa-tests/TKG/output_17236426198688/jdk_io_1/report/html/report.html
[2024-08-14T14:02:35.708Z] Results written to /home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/aqa-tests/TKG/output_17236426198688/jdk_io_1/work
[2024-08-14T14:02:35.708Z] Error: Some tests failed or other problems occurred.
[2024-08-14T14:02:35.708Z] -----------------------------------
[2024-08-14T14:02:35.708Z] jdk_io_1_FAILED

50x internal grinder - failed consistently only on sles12le-svl-rt2-1. sles15, ub20, rhel8, ubu22 all passed. Seems a machine issue with sles12.

pshipton commented 2 months ago
10:01:57  Command line: [/home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/jdkbinary/j2sdk-image/bin/java -cp /home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/aqa-tests/TKG/output_17236426198688/jdk_io_1/work/classes/2/java/io/IO/IO.d:/home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/io/IO:/home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/aqa-tests/TKG/output_17236426198688/jdk_io_1/work/classes/2/test/lib:/home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/jvmtest/openjdk/jtreg/lib/javatest.jar:/home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/jvmtest/openjdk/jtreg/lib/jtreg.jar:/home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/jvmtest/openjdk/jtreg/lib/junit-platform-console-standalone-1.9.2.jar:/home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/jvmtest/openjdk/jtreg/lib/testng-7.3.0.jar:/home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/jvmtest/openjdk/jtreg/lib/guice-5.1.0.jar:/home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/jvmtest/openjdk/jtreg/lib/jcommander-1.82.jar -ea -esa -Xmx512m -XX:-UseCompressedOops -Xverbosegclog -Djdk.console=gibberish --enable-preview /home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/io/IO/Methods.java input ]
10:01:57  [2024-08-14T13:45:59.059098033Z] Gathering output for process 17899
10:01:57  [2024-08-14T13:45:59.059860006Z] Waiting for completion for process 17899
10:01:57  [2024-08-14T13:46:02.101626412Z] Waiting for completion finished for process 17899
10:01:57  Output and diagnostic info for process 17899 was saved into 'pid-17899-output.log'
10:01:57  [2024-08-14T13:46:02.173198223Z] Gathering output for process 17929
10:01:57  [2024-08-14T13:46:02.174299525Z] Waiting for completion for process 17929
10:01:57  [2024-08-14T13:46:02.187436125Z] Waiting for completion finished for process 17929
10:01:57  Output and diagnostic info for process 17929 was saved into 'pid-17929-output.log'
10:01:57  [2024-08-14T13:46:02.239971294Z] Gathering output for process 17932
10:01:57  [2024-08-14T13:46:02.240824604Z] Waiting for completion for process 17932
10:01:57  [2024-08-14T13:46:06.696211194Z] Waiting for completion finished for process 17932
10:01:57  Output and diagnostic info for process 17932 was saved into 'pid-17932-output.log'
10:01:57  [2024-08-14T13:46:06.717447799Z] Gathering output for process 17979
10:01:57  [2024-08-14T13:46:06.718276125Z] Waiting for completion for process 17979
10:01:57  [2024-08-14T13:46:10.877107357Z] Waiting for completion finished for process 17979
10:01:57  Output and diagnostic info for process 17979 was saved into 'pid-17979-output.log'
10:01:57  [2024-08-14T13:46:10.957515406Z] Gathering output for process 18067
10:01:57  [2024-08-14T13:46:10.958485855Z] Waiting for completion for process 18067

It hung because there was no output from the child process, but there are no diagnostics from the child process. Output from the previous completed process (17979)

--- ProcessLog ---
cmd: /usr/bin/expect /home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/io/IO/output.exp /home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/jdkbinary/j2sdk-image/bin/java --enable-preview -Djdk.console=gibberish /home/jenkins/workspace/Test_openjdk23_j9_extended.openjdk_ppc64le_linux_testList_0/aqa-tests/openjdk/openjdk-jdk/test/jdk/java/io/IO/Output.java print
exitvalue: 0
stderr: 
stdout: nullfalse12a345.06.0java.lang.Object@78ad9583%s[C@933ae622nullfalse12a345.06.0java.lang.Object@78ad9583%s[C@933ae622