-
Bug
-
Resolution: Fixed
-
P3
-
11, 20, 21, 23
-
b07
-
x86_64, aarch64
-
linux, os_x, solaris
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8344291 | 21.0.6 | Sendao Yan | P3 | Resolved | Fixed | b04 |
JDK-8344417 | 17.0.14 | Sendao Yan | P3 | Resolved | Fixed | b04 |
slowdebug configs using jdk11+19 bits:
sun/management/jmxremote/startstop/JMXStatusTest.java
The test did not fail in the fastdebug config at all and did not
fail in all 'release' or 'slowdebug' runs so I'm tagging this bug
as intermittent.
Here's a snippet from the stdout part of one of the 'release'
bits failures:
test JMXStatusTest.testAgentDefault(): failure
java.lang.AssertionError: expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:496)
at org.testng.Assert.assertTrue(Assert.java:42)
at JMXStatusTest.assertStatusMatches(JMXStatusTest.java:155)
at JMXStatusTest.assertStatusMatches(JMXStatusTest.java:148)
at JMXStatusTest.testAgentDefault(JMXStatusTest.java:144)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
at org.testng.TestRunner.privateRun(TestRunner.java:773)
at org.testng.TestRunner.run(TestRunner.java:623)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
at org.testng.SuiteRunner.run(SuiteRunner.java:259)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
at org.testng.TestNG.run(TestNG.java:1018)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:832)
[TestApp] read: 1
[TestApp] main exit
Here's the stderr part of the same log:
----------System.err:(15/936)----------
[jcmd] java.lang.RuntimeException: Invalid agent state: Agent already started
java.lang.Exception: failures: 1
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:832)
JavaTest Message: Test threw exception: java.lang.Exception: failures: 1
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 1
The two 'release' bits logs are similar. The 'slowdebug' failures
are more verbose.
- backported by
-
JDK-8344291 JMXStatusTest.java fails assertion intermittently
- Resolved
-
JDK-8344417 JMXStatusTest.java fails assertion intermittently
- Resolved
- relates to
-
JDK-8336257 Additional tests in jmxremote/startstop to match on PID not app name
- Resolved
-
JDK-8221364 JMXStatusTest.java fails a test assertion intermittently in JDK CI
- Closed
- links to
-
Commit(master) openjdk/jdk17u-dev/6d7a6e13
-
Commit(master) openjdk/jdk21u-dev/d0abff2f
-
Commit(master) openjdk/jdk/b7d0eff5
-
Review(master) openjdk/jdk17u-dev/3042
-
Review(master) openjdk/jdk21u-dev/1126
-
Review(master) openjdk/jdk23u/215
-
Review(master) openjdk/jdk/20037