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

OpenJDK java/foreign/TestByteBuffer IOException: Invalid argument (msync with parameter MS_SYNC failed (address not found)) #20952

Open
pshipton opened this issue Jan 16, 2025 · 1 comment

Comments

@pshipton
Copy link
Member

https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.openjdk_ppc64_aix_Nightly_testList_0/370
jdk_foreign_0
java/foreign/TestByteBuffer.java

21:44:40  test TestByteBuffer.testMappedSegmentAsByteBuffer(): failure
21:44:40  java.io.UncheckedIOException: java.io.IOException: Invalid argument (msync with parameter MS_SYNC failed (address not found))
21:44:40  	at java.base/java.nio.MappedMemoryUtils.force(MappedMemoryUtils.java:105)
21:44:40  	at java.base/java.nio.Buffer$2.force(Buffer.java:890)
21:44:40  	at java.base/jdk.internal.misc.ScopedMemoryAccess.forceInternal(ScopedMemoryAccess.java:317)
21:44:40  	at java.base/jdk.internal.misc.ScopedMemoryAccess.force(ScopedMemoryAccess.java:305)
21:44:40  	at java.base/jdk.internal.foreign.MappedMemorySegmentImpl.force(MappedMemorySegmentImpl.java:92)
21:44:40  	at TestByteBuffer.testMappedSegmentAsByteBuffer(TestByteBuffer.java:321)
21:44:40  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
21:44:40  	at java.base/java.lang.reflect.Method.invoke(Method.java:586)
21:44:40  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
21:44:40  	at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
21:44:40  	at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
21:44:40  	at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
21:44:40  	at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
21:44:40  	at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
21:44:40  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
21:44:40  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
21:44:40  	at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
21:44:40  	at org.testng.TestRunner.privateRun(TestRunner.java:764)
21:44:40  	at org.testng.TestRunner.run(TestRunner.java:585)
21:44:40  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
21:44:40  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
21:44:40  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
21:44:40  	at org.testng.SuiteRunner.run(SuiteRunner.java:286)
21:44:40  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
21:44:40  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
21:44:40  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
21:44:40  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
21:44:40  	at org.testng.TestNG.runSuites(TestNG.java:1069)
21:44:40  	at org.testng.TestNG.run(TestNG.java:1037)
21:44:40  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:102)
21:44:40  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:58)
21:44:40  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
21:44:40  	at java.base/java.lang.reflect.Method.invoke(Method.java:586)
21:44:40  	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
21:44:40  	at java.base/java.lang.Thread.run(Thread.java:1595)
21:44:40  Caused by: java.io.IOException: Invalid argument (msync with parameter MS_SYNC failed (address not found))
21:44:40  	at java.base/java.nio.MappedMemoryUtils.force0(Native Method)
21:44:40  	at java.base/java.nio.MappedMemoryUtils.force(MappedMemoryUtils.java:103)
21:44:40  	... 34 more
@pshipton
Copy link
Member Author

pshipton commented Jan 16, 2025

10x grinder on the single test https://openj9-jenkins.osuosl.org/job/Grinder/4067/ - passed
10x x 5 grinder single test https://openj9-jenkins.osuosl.org/job/Grinder/4069/ - passed
10x x 5 grinder jdk_foreign_0 https://openj9-jenkins.osuosl.org/job/Grinder/4070/ - passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant