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

JDK19 AIX serviceability_jvmti_j9_0_FAILED serviceability/jvmti/vthread/VThreadNotifyFramePopTest/VThreadNotifyFramePopTest.java java.lang.UnsupportedOperationException: Unimplemented on AIX #16279

Closed
JasonFengJ9 opened this issue Nov 7, 2022 · 4 comments
Labels
comp:jvmti jdk19 os:aix perm excluded The test is unsuitable and permanently excluded. test failure
Milestone

Comments

@JasonFengJ9
Copy link
Member

Failure link

From an internal build(paix820):

openjdk version "19.0.1" 2022-10-18
IBM Semeru Runtime Open Edition 19.0.1+10 (build 19.0.1+10)
Eclipse OpenJ9 VM 19.0.1+10 (build master-f6c7bee4b, JRE 19 AIX ppc64-64-Bit Compressed References 20221018_70 (JIT enabled, AOT enabled)
OpenJ9   - f6c7bee4b
OMR      - 357df2f80
JCL      - 110e1e7808 based on jdk-19.0.1+10)

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

Optional info

Failure output (captured from console output)

[2022-11-05T18:35:13.316Z] TEST: serviceability/jvmti/vthread/VThreadNotifyFramePopTest/VThreadNotifyFramePopTest.java

[2022-11-05T18:35:13.318Z] STDERR:
[2022-11-05T18:35:13.318Z] java.lang.UnsupportedOperationException: Unimplemented on AIX
[2022-11-05T18:35:13.318Z] java.lang.UnsupportedOperationException: Unimplemented on AIX
[2022-11-05T18:35:13.318Z] 	at java.base/sun.nio.ch.PollsetPoller.poll(PollsetPoller.java:60)
[2022-11-05T18:35:13.318Z] 	at java.base/sun.nio.ch.Poller.poll(Poller.java:363)
[2022-11-05T18:35:13.318Z] 	at java.base/sun.nio.ch.Poller.pollLoop(Poller.java:270)
[2022-11-05T18:35:13.318Z] 	at java.base/java.lang.Thread.run(Thread.java:1573)
[2022-11-05T18:35:13.318Z] 	at java.base/sun.nio.ch.PollsetPoller.poll(PollsetPoller.java:60)
[2022-11-05T18:35:13.318Z] java.lang.UnsupportedOperationException: Unimplemented on AIX
[2022-11-05T18:35:13.318Z] 	at java.base/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:186)
[2022-11-05T18:35:13.318Z] 	at java.base/sun.nio.ch.Poller.poll(Poller.java:363)
[2022-11-05T18:35:13.318Z] 	at java.base/sun.nio.ch.Poller.pollLoop(Poller.java:270)
[2022-11-05T18:35:13.318Z] 	at java.base/sun.nio.ch.PollsetPoller.implRegister(PollsetPoller.java:48)
[2022-11-05T18:35:13.318Z] 	at java.base/sun.nio.ch.Poller.updateLoop(Poller.java:289)
[2022-11-05T18:35:13.318Z] 	at java.base/java.lang.Thread.run(Thread.java:1573)
[2022-11-05T18:35:13.318Z] 	at java.base/java.lang.Thread.run(Thread.java:1573)
[2022-11-05T18:35:13.318Z] 	at java.base/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:186)
[2022-11-05T18:35:13.318Z] 	at java.base/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:186)

[2022-11-05T18:35:13.318Z] Test results: passed: 110; failed: 2; error: 1
[2022-11-05T18:35:19.424Z] Report written to /home/jenkins/workspace/Test_openjdk19_j9_extended.openjdk_ppc64_aix/jvmtest/openjdk/report/html/report.html
[2022-11-05T18:35:19.425Z] Results written to /home/jenkins/workspace/Test_openjdk19_j9_extended.openjdk_ppc64_aix/aqa-tests/TKG/output_1667671703655/serviceability_jvmti_j9_0/work
[2022-11-05T18:35:19.425Z] Error: Some tests failed or other problems occurred.
[2022-11-05T18:35:19.425Z] 
[2022-11-05T18:35:19.425Z] serviceability_jvmti_j9_0_FAILED

Not supported by OpenJ9 yet, will exclude it.

@fengxue-IS
Copy link
Contributor

This exception is thrown from OpenJDK JCL code (src/java.base/aix/classes/sun/nio/ch/PollsetPoller.java), I suppose RI should have identical behaviour. This can be ignored for now unless we would like to implement OpenJ9's own version of this class

@babsingh
Copy link
Contributor

Yes, OpenJ9 has the same behaviour as the RI since they share the same class file. Also, sun.nio.ch.PollsetPoller is not covered by the Javadoc. So, we are not obliged to support it. Moving this issue to backlog.

@pshipton Can we permanently exclude this test, and close this issue?

@babsingh babsingh modified the milestones: Java 19, Backlog Nov 10, 2022
@pshipton pshipton added perm excluded The test is unsuitable and permanently excluded. and removed test excluded labels Nov 10, 2022
@pshipton
Copy link
Member

Sure.

@JasonFengJ9
Copy link
Member Author

[2022-11-10T19:52:10.652Z] TEST: java/nio/channels/vthread/BlockingChannelOps.java#id0

[2022-11-10T20:32:03.992Z] TEST: java/nio/channels/vthread/BlockingChannelOps.java#id1

[2022-11-10T20:32:04.003Z] STDERR:
[2022-11-10T20:32:04.003Z] java.lang.UnsupportedOperationException: Unimplemented on AIX
[2022-11-10T20:32:04.003Z] java.lang.UnsupportedOperationException: Unimplemented on AIX
[2022-11-10T20:32:04.003Z] java.lang.UnsupportedOperationException: Unimplemented on AIX
[2022-11-10T20:32:04.003Z] 	at java.base/sun.nio.ch.PollsetPoller.implRegister(PollsetPoller.java:48)
[2022-11-10T20:32:04.003Z] 	at java.base/sun.nio.ch.Poller.updateLoop(Poller.java:289)
[2022-11-10T20:32:04.003Z] 	at java.base/java.lang.Thread.run(Thread.java:1573)
[2022-11-10T20:32:04.003Z] 	at java.base/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:186)
[2022-11-10T20:32:04.003Z] 	at java.base/sun.nio.ch.PollsetPoller.poll(PollsetPoller.java:60)
[2022-11-10T20:32:04.003Z] 	at java.base/sun.nio.ch.Poller.poll(Poller.java:363)
[2022-11-10T20:32:04.003Z] 	at java.base/sun.nio.ch.Poller.pollLoop(Poller.java:270)
[2022-11-10T20:32:04.003Z] 	at java.base/java.lang.Thread.run(Thread.java:1573)
[2022-11-10T20:32:04.003Z] 	at java.base/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:186)
[2022-11-10T20:32:04.003Z] 	at java.base/sun.nio.ch.PollsetPoller.poll(PollsetPoller.java:60)
[2022-11-10T20:32:04.003Z] 	at java.base/sun.nio.ch.Poller.poll(Poller.java:363)
[2022-11-10T20:32:04.003Z] 	at java.base/sun.nio.ch.Poller.pollLoop(Poller.java:270)
[2022-11-10T20:32:04.003Z] 	at java.base/java.lang.Thread.run(Thread.java:1573)
[2022-11-10T20:32:04.003Z] 	at java.base/jdk.internal.misc.InnocuousThread.run(InnocuousThread.java:186)

Excluding via adoptium/aqa-tests#4151

babsingh added a commit to babsingh/aqa-tests that referenced this issue May 2, 2023
- NotSuspended/GetStackTraceNotSuspendedStressTest has been fixed.
- SuspendThread/suspendthrd03 has been removed in JDK20.
- Now, VThreadTest fails because of eclipse-openj9/openj9#15920.
- eclipse-openj9/openj9#16185 and eclipse-openj9/openj9#16279 are
permanently excluded. Changed their reason to adoptium#1297 to support
the test tool, which automatically enables tests after the related
issues are closed.

Related:
- eclipse-openj9/openj9#16688
- eclipse-openj9/openj9#16242
- eclipse-openj9/openj9#17307

Depends on eclipse-openj9/openj9#17318

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
llxia added a commit to adoptium/aqa-tests that referenced this issue May 2, 2023
- NotSuspended/GetStackTraceNotSuspendedStressTest has been fixed.
- SuspendThread/suspendthrd03 has been removed in JDK20.
- Now, VThreadTest fails because of eclipse-openj9/openj9#15920.
- eclipse-openj9/openj9#16185 and eclipse-openj9/openj9#16279 are
permanently excluded. Changed their reason to #1297 to support
the test tool, which automatically enables tests after the related
issues are closed.

Related:
- eclipse-openj9/openj9#16688
- eclipse-openj9/openj9#16242
- eclipse-openj9/openj9#17307

Depends on eclipse-openj9/openj9#17318

Signed-off-by: Babneet Singh <sbabneet@ca.ibm.com>
Co-authored-by: Martijn Verburg <martijnverburg@gmail.com>
Co-authored-by: Lan Xia <19273206+llxia@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:jvmti jdk19 os:aix perm excluded The test is unsuitable and permanently excluded. test failure
Projects
None yet
Development

No branches or pull requests

4 participants