Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jdk_math_j9_0 fails with jdk11, openj9 on windows #60

Open
sophia-guo opened this issue Dec 16, 2020 · 6 comments
Open

jdk_math_j9_0 fails with jdk11, openj9 on windows #60

sophia-guo opened this issue Dec 16, 2020 · 6 comments
Labels
bug Something isn't working

Comments

@sophia-guo
Copy link
Contributor

sophia-guo commented Dec 16, 2020

#24 (comment)
TEST: java/math/BigInteger/DivisionOverflow.java

Eclipse OpenJ9 VM AdoptOpenJDK (build master-8b5b57b56, JRE 11 Windows Server 2016 amd64-64-Bit Compressed References 20201212_857 (JIT enabled, AOT enabled)
OpenJ9   - 8b5b57b56
OMR      - 4c466e642
JCL      - c47c5c113f based on jdk-11.0.10+6)
...
Running jstack on process 1164
2020-12-15T21:36:47.488911100
Timeout refired 300 times
Error getting data from 1164: Exception connecting to 1164
Timeout handler interrupted: 
java.lang.InterruptedException
	at java.base/java.lang.ProcessImpl.waitFor(ProcessImpl.java:547)
	at jtreg.openj9.CoreDumpTimeoutHandler.runJstack(CoreDumpTimeoutHandler.java:83)
	at jtreg.openj9.CoreDumpTimeoutHandler.runActions(CoreDumpTimeoutHandler.java:56)
	at com.sun.javatest.regtest.TimeoutHandler.handleTimeout(TimeoutHandler.java:120)
	at com.sun.javatest.regtest.exec.ProcessCommand$2.run(ProcessCommand.java:317)
--- Timeout information end.
elapsed time (seconds): 1554.27
configuration:
STDOUT:

https://github.com/AdoptOpenJDK/run-aqa/runs/1552959308?check_suite_focus=true

@karianna karianna added the bug Something isn't working label Dec 16, 2020
@sophia-guo
Copy link
Contributor Author

Looks like it's intermittent or it's fixed in latest build:
https://github.com/AdoptOpenJDK/run-aqa/runs/1572889397?check_suite_focus=true

@sophia-guo
Copy link
Contributor Author

Continually passed. Close it.

@karianna karianna added this to the December 2020 milestone Dec 22, 2020
@sophia-guo
Copy link
Contributor Author

@sophia-guo sophia-guo reopened this Dec 23, 2020
@sophia-guo
Copy link
Contributor Author

Also happened to openj9 15 windows: https://github.com/AdoptOpenJDK/run-aqa/runs/1597080093?check_suite_focus=true

Test is TEST: java/util/regex/NegativeArraySize.java under jdk_util_j9. Same error:

ACTION: main -- Error. Program `C:\hostedtoolcache\windows\jdk-15-openj9\1.0.0\x64\bin\java' timed out (timeout set to 960000ms, elapsed time including timeout handling was 1556820ms).
REASON: User specified action: run main/othervm NegativeArraySize -Xms5G -Xmx5G 
TIME:   1556.823 seconds
messages:
command: main NegativeArraySize -Xms5G -Xmx5G
reason: User specified action: run main/othervm NegativeArraySize -Xms5G -Xmx5G 
Mode: othervm [/othervm specified]
Timeout information:
Running jcmd on process 4904
Error getting data from 4904: Exception connecting to 4904
Usage : jcmd <vmid> <arguments>

   -J : supply arguments to the Java VM running jcmd
   -l : list JVM processes on the local machine
   -h : print this help message

   <vmid> : Attach API VM ID as shown in jps or other Attach API-based tools

   arguments:
      help : print the list of diagnostic commands
      help <command> : print help for the specific command
      <command> [command arguments] : command from the list returned by "help"

list JVM processes on the local machine. Default behavior when no options are specified.

NOTE: this utility might significantly affect the performance of the target JVM.
    The available diagnostic commands are determined by
    the target VM and may vary between VMs.
Running jstack on process 4904
2020-12-22T22:00:31.123360700
Timeout refired 300 times
Error getting data from 4904: Exception connecting to 4904
Timeout handler interrupted: 
java.lang.InterruptedException
	at java.base/java.lang.ProcessImpl.waitFor(ProcessImpl.java:552)
	at jtreg.openj9.CoreDumpTimeoutHandler.runJstack(CoreDumpTimeoutHandler.java:83)
	at jtreg.openj9.CoreDumpTimeoutHandler.runActions(CoreDumpTimeoutHandler.java:56)
	at com.sun.javatest.regtest.TimeoutHandler.handleTimeout(TimeoutHandler.java:120)
	at com.sun.javatest.regtest.exec.ProcessCommand$2.run(ProcessCommand.java:317)
--- Timeout information end.
elapsed time (seconds): 1556.823
configuration:
STDOUT:
Timeout refired 960 times
STDERR:
JVMDUMP039I Processing dump event "systhrow", detail "java/lang/OutOfMemoryError" at 2020/12/22 21:39:32 - please wait.
JVMDUMP032I JVM requested Java dump using 'D:\a\run-aqa\run-aqa\openjdk-tests\TKG\test_output_16086708803492\jdk_util_j9_0\work\scratch\javacore.20201222.213932.4904.0001.txt' in response to an event

@sophia-guo
Copy link
Contributor Author

Rerun in AdoptOpenJDK looks fine. https://ci.adoptopenjdk.net/view/work-in-progress/job/grinder_sandbox/179/

@karianna karianna modified the milestones: December 2020, January 2021 Jan 7, 2021
@sophia-guo sophia-guo changed the title jdk_math_j9_0 fails with jdk11, openj9 on window jdk_math_j9_0 fails with jdk11, openj9 on windows Jan 12, 2021
@sophia-guo
Copy link
Contributor Author

Looks like both failures are intermittent and only happens to github runner environment. Consistent to test case :
java/util/regex/NegativeArraySize.java
java/math/BigInteger/DivisionOverflow.java

@karianna karianna modified the milestones: January 2021, February 2021 Feb 10, 2021
@karianna karianna modified the milestones: February 2021, March 2021 Mar 9, 2021
@karianna karianna modified the milestones: March 2021, April 2021 Apr 1, 2021
@karianna karianna modified the milestones: April 2021, May 2021 May 4, 2021
@smlambert smlambert removed this from the May 2021 milestone Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants