openj9
openj9 copied to clipboard
testSoftMxDisclaimMemory [ERROR] FAIL: Heap can't shrink to the reset max heap size within 5 minutes!
Failure link
From an internal build(rhel7s390x-3-1):
java version "11.0.16" 2022-07-19
IBM Semeru Runtime Certified Edition 11.0.16.0 (build 11.0.16+8)
Eclipse OpenJ9 VM 11.0.16.0 (build openj9-0.33.0, JRE 11 Linux s390x-64-Bit Compressed References 20220804_350 (JIT enabled, AOT enabled)
OpenJ9 - 04a55b45b
OMR - b58aa2708
JCL - 072c5dcdb7 based on jdk-11.0.16+8)
Rerun in Grinder - Change TARGET to run only the failed test targets.
Optional info
Failure output (captured from console output)
[2022-08-05T00:26:55.823Z] variation: Mode501
[2022-08-05T00:26:55.823Z] JVM_OPTIONS: -Xjit -Xgcpolicy:balanced -Xnocompressedrefs
[2022-08-05T00:32:10.705Z] [SoftmxAdvanceTest] [ERROR] FAIL: Heap can't shrink to the reset max heap size within 5 minutes!
[2022-08-05T00:37:10.215Z] [SoftmxAdvanceTest] [ERROR] FAIL: Heap can't shrink to the reset max heap size within 5 minutes!
[2022-08-05T00:37:11.793Z] [SoftmxAdvanceTest] [ERROR] FAIL: Memory shouldn't release back to OS! Post memory size 123891712 is greater than previous memory size 76189696
[2022-08-05T00:37:18.971Z] [SoftmxAdvanceTest] [ERROR] FAIL: Memory shouldn't release back to OS! Post memory size 128049152 is greater than previous memory size 120745984
[2022-08-05T00:42:22.344Z] [SoftmxAdvanceTest] [ERROR] FAIL: Heap can't shrink to the reset max heap size within 5 minutes!
[2022-08-05T00:42:22.807Z] FAILED: testDisclaimMemoryEffects(5)
[2022-08-05T00:42:22.807Z] java.lang.AssertionError: Test has failed after 5 attempts
[2022-08-05T00:42:22.807Z] at org.testng.AssertJUnit.fail(AssertJUnit.java:59)
[2022-08-05T00:42:22.807Z] at org.testng.AssertJUnit.assertTrue(AssertJUnit.java:24)
[2022-08-05T00:42:22.807Z] at j9vm.test.softmx.SoftmxAdvanceTest.testDisclaimMemoryEffects(SoftmxAdvanceTest.java:70)
[2022-08-05T00:42:22.807Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2022-08-05T00:42:22.807Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[2022-08-05T00:42:22.807Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2022-08-05T00:42:22.807Z] at java.base/java.lang.reflect.Method.invoke(Method.java:566)
[2022-08-05T00:42:22.807Z] at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
[2022-08-05T00:42:22.807Z] at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
[2022-08-05T00:42:22.807Z] at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
[2022-08-05T00:42:22.807Z] at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
[2022-08-05T00:42:22.807Z] at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
[2022-08-05T00:42:22.807Z] at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
[2022-08-05T00:42:22.807Z] at org.testng.TestRunner.privateRun(TestRunner.java:648)
[2022-08-05T00:42:22.807Z] at org.testng.TestRunner.run(TestRunner.java:505)
[2022-08-05T00:42:22.807Z] at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
[2022-08-05T00:42:22.807Z] at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
[2022-08-05T00:42:22.807Z] at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
[2022-08-05T00:42:22.807Z] at org.testng.SuiteRunner.run(SuiteRunner.java:364)
[2022-08-05T00:42:22.807Z] at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
[2022-08-05T00:42:22.807Z] at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
[2022-08-05T00:42:22.807Z] at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
[2022-08-05T00:42:22.807Z] at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
[2022-08-05T00:42:22.807Z] at org.testng.TestNG.runSuites(TestNG.java:1049)
[2022-08-05T00:42:22.807Z] at org.testng.TestNG.run(TestNG.java:1017)
[2022-08-05T00:42:22.807Z] at org.testng.TestNG.privateMain(TestNG.java:1354)
[2022-08-05T00:42:22.807Z] at org.testng.TestNG.main(TestNG.java:1323)
[2022-08-05T00:42:22.807Z]
[2022-08-05T00:42:22.807Z]
[2022-08-05T00:42:22.807Z] ===============================================
[2022-08-05T00:42:22.807Z] testSoftMxDisclaimMemory
[2022-08-05T00:42:22.807Z] Tests run: 1, Failures: 1, Skips: 0
[2022-08-05T00:42:22.807Z] ===============================================
[2022-08-05T00:42:22.807Z]
[2022-08-05T00:42:22.807Z]
[2022-08-05T00:42:22.807Z] ===============================================
[2022-08-05T00:42:22.807Z] JLM_Tests_Suite
[2022-08-05T00:42:22.807Z] Total tests run: 1, Failures: 1, Skips: 0
[2022-08-05T00:42:22.807Z] ===============================================
[2022-08-05T00:42:22.807Z]
[2022-08-05T00:42:22.807Z]
[2022-08-05T00:42:22.807Z] testSoftMxNotDisclaimMemory_zlinux_64_3_FAILED
Related to https://github.com/eclipse-openj9/openj9/issues/4475