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

DaaLoadTest_all_special_5m_9_FAILED testLessThanOrEqualsPackedDecimal(net.openj9.test.arithmetics.TestArithmeticInline):ClassCastException #19884

Closed
JasonFengJ9 opened this issue Jul 19, 2024 · 11 comments

Comments

@JasonFengJ9
Copy link
Member

JasonFengJ9 commented Jul 19, 2024

Failure link

From an internal build(ubu22lert-3):

java version "11.0.24-beta" 2024-07-16
IBM Semeru Runtime Certified Edition 11.0.24+7-202407130107 (build 11.0.24-beta+7-202407130107)
Eclipse OpenJ9 VM 11.0.24+7-202407130107 (build master-d2b02cf3c7, JRE 11 Linux ppc64le-64-Bit Compressed References 20240713_896 (JIT enabled, AOT enabled)
OpenJ9   - d2b02cf3c7
OMR      - de311dd2b
JCL      - 10dcb53639 based on jdk-11.0.24+7)

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

Optional info

Failure output (captured from console output)

[2024-07-13T03:09:48.962Z] variation: Mode187
[2024-07-13T03:09:48.962Z] JVM_OPTIONS:  -Xaggressive -Xgcpolicy:gencon -Xjit -Xnocompressedrefs 

[2024-07-13T03:11:05.803Z] DLT 03:11:04.541 - suite.isCreateDump() : false
[2024-07-13T03:11:05.803Z] DLT 03:11:04.600 - Test failed
[2024-07-13T03:11:05.803Z] DLT   Failure num.  = 1
[2024-07-13T03:11:05.803Z] DLT   Test number   = 3
[2024-07-13T03:11:05.803Z] DLT   Test details  = 'JUnit[net.openj9.test.arithmetics.TestArithmeticInline]'
[2024-07-13T03:11:05.803Z] DLT   Suite number  = 0
[2024-07-13T03:11:05.803Z] DLT   Thread number = 20
[2024-07-13T03:11:05.803Z] DLT >>> Captured test output >>>

[2024-07-13T03:11:05.803Z] DLT testFailure: testLessThanOrEqualsPackedDecimal(net.openj9.test.arithmetics.TestArithmeticInline): java.lang.ClassCastException@7b912d0c
[2024-07-13T03:11:05.803Z] DLT java.lang.IllegalArgumentException: java.lang.ClassCastException@7b912d0c
[2024-07-13T03:11:05.803Z] DLT 	at jdk.internal.reflect.GeneratedMethodAccessor3153.invoke(Unknown Source)
[2024-07-13T03:11:05.803Z] DLT 	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[2024-07-13T03:11:05.803Z] DLT 	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[2024-07-13T03:11:05.803Z] DLT 	at org.junit.runners.BlockJUnit4ClassRunner.createTest(BlockJUnit4ClassRunner.java:217)
[2024-07-13T03:11:05.803Z] DLT 	at org.junit.runners.BlockJUnit4ClassRunner$1.runReflectiveCall(BlockJUnit4ClassRunner.java:266)
[2024-07-13T03:11:05.803Z] DLT 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
[2024-07-13T03:11:05.803Z] DLT 	at org.junit.runners.BlockJUnit4ClassRunner.methodBlock(BlockJUnit4ClassRunner.java:263)
[2024-07-13T03:11:05.803Z] DLT 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
[2024-07-13T03:11:05.803Z] DLT 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
[2024-07-13T03:11:05.803Z] DLT 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[2024-07-13T03:11:05.803Z] DLT 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[2024-07-13T03:11:05.803Z] DLT 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[2024-07-13T03:11:05.803Z] DLT 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[2024-07-13T03:11:05.803Z] DLT 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[2024-07-13T03:11:05.804Z] DLT 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
[2024-07-13T03:11:05.804Z] DLT 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
[2024-07-13T03:11:05.804Z] DLT 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[2024-07-13T03:11:05.804Z] DLT 	at org.junit.runners.Suite.runChild(Suite.java:128)
[2024-07-13T03:11:05.804Z] DLT 	at org.junit.runners.Suite.runChild(Suite.java:27)
[2024-07-13T03:11:05.804Z] DLT 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
[2024-07-13T03:11:05.804Z] DLT 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
[2024-07-13T03:11:05.804Z] DLT 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
[2024-07-13T03:11:05.804Z] DLT 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
[2024-07-13T03:11:05.804Z] DLT 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
[2024-07-13T03:11:05.804Z] DLT 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
[2024-07-13T03:11:05.804Z] DLT 	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
[2024-07-13T03:11:05.804Z] DLT 	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
[2024-07-13T03:11:05.804Z] DLT 	at net.adoptopenjdk.loadTest.adaptors.JUnitAdaptor.executeTest(JUnitAdaptor.java:130)
[2024-07-13T03:11:05.804Z] DLT 	at net.adoptopenjdk.loadTest.LoadTestRunner$2.run(LoadTestRunner.java:182)
[2024-07-13T03:11:05.804Z] DLT 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[2024-07-13T03:11:05.804Z] DLT 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[2024-07-13T03:11:05.804Z] DLT 	at java.base/java.lang.Thread.run(Thread.java:839)

[2024-07-13T03:11:07.319Z] DaaLoadTest_all_special_5m_9_FAILED

50x internal grinder - 2 failures reproduced at the same machine ubu22lert-3

17:45:33  DLT java.lang.IllegalArgumentException: object is not an instance of declaring class
17:45:33  DLT 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:45:33  DLT 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
17:45:33  DLT 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:45:33  DLT 	at java.base/java.lang.reflect.Method.invoke(Method.java:572)
17:45:33  DLT 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
17:45:33  DLT 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
17:45:33  DLT 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
17:45:33  DLT 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
17:45:33  DLT 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
17:45:33  DLT 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
17:45:33  DLT 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
17:45:33  DLT 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
17:45:33  DLT 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
17:45:33  DLT 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
17:45:33  DLT 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
17:45:33  DLT 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
17:45:33  DLT 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
17:45:33  DLT 	at org.junit.runners.Suite.runChild(Suite.java:128)
17:45:33  DLT 	at org.junit.runners.Suite.runChild(Suite.java:27)
17:45:33  DLT 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
17:45:33  DLT 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
17:45:33  DLT 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
17:45:33  DLT 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
17:45:33  DLT 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
17:45:33  DLT 	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
17:45:33  DLT 	at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
17:45:33  DLT 	at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
17:45:33  DLT 	at net.adoptopenjdk.loadTest.adaptors.JUnitAdaptor.executeTest(JUnitAdaptor.java:130)
17:45:33  DLT 	at net.adoptopenjdk.loadTest.LoadTestRunner$2.run(LoadTestRunner.java:182)
17:45:33  DLT 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
17:45:33  DLT 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
17:45:33  DLT 	at java.base/java.lang.Thread.run(Thread.java:839)
17:45:33  DLT testFinished: testConvert1234Unsigned(net.openj9.test.decimals.TestPD2UD)
17:45:33  DLT 
17:45:33  DLT JUnit Test Results for: net.openj9.test.decimals.TestPD2UD
17:45:33  DLT   Ran    : 9
17:45:33  DLT   Passed : 0
17:45:33  DLT   Failed : 9
17:45:33  DLT   Ignored: 0
17:45:33  DLT   Result : FAILED
17:45:33  DLT <<<
@pshipton
Copy link
Member

If investigating this, see also #19882

@vij-singh
Copy link

@zl-wang FYI

@zl-wang
Copy link
Contributor

zl-wang commented Sep 19, 2024

@ishitaR88 please investigate

@vij-singh
Copy link

Any new updates for this issue?

@ishitaR88
Copy link
Contributor

I am still investigating this.

@ishitaR88
Copy link
Contributor

This intermittent test failure is so far reproducible only on ubu22lert-3 machine. Errors are different for each failure. But they all are related to invalid pointer. To look more into this issue I will run this test physically on ubu22lert-3.

@pshipton
Copy link
Member

FYI #20261

@rmnattas
Copy link
Contributor

rmnattas commented Oct 11, 2024

Suggesting moving to 0.49 or closing.
Couldn't confirm if this is a duplicate of #20263 or a separate issue. Running a 20x Grinder with the fix on ubu22lert-3.
#20263 fixed patching ConstantSnippets. Although this is not in P10 (where ConstantSnippets is used mainly instead of pTOC), previous POWER HW uses ConstantSnippets when the pTOC is filled.
If duplicate then solved, if separate then its low frequency and risk failure by itself and can be moved to 0.49 as no time before deadline.

@pshipton
Copy link
Member

pshipton commented Oct 11, 2024

Trying a grinder https://openj9-jenkins.osuosl.org/view/Test/job/Grinder/3892/ - passed
Given the results #20261 (comment) I expect to close this.

@pshipton
Copy link
Member

Closing as the previous two grinders have passed.

Copy link

Issue Number: 19884
Status: Closed
Actual Components: comp:jit, test failure
Actual Assignees: No one :(
PR Assignees: rmnattas

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

6 participants