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

dacapo-h2_0 FAILED Caused by: java.lang.IllegalArgumentException: bound must be positive #20858

Open
JasonFengJ9 opened this issue Dec 19, 2024 · 0 comments

Comments

@JasonFengJ9
Copy link
Member

JasonFengJ9 commented Dec 19, 2024

Failure link

From internal Test_openjdk21_j9_sanity.perf_aarch64_linux (ubu22-aarch64-14)

openjdk version "21.0.6" 2025-01-21 LTS
IBM Semeru Runtime Open Edition 21.0.6.0-m2 (build 21.0.6+6-LTS)
Eclipse OpenJ9 VM 21.0.6.0-m2 (build v0.49.0-release-f4d977c71b, JRE 21 Linux aarch64-64-Bit Compressed References 20250121_328 (JIT enabled, AOT enabled)
OpenJ9   - f4d977c71b
OMR      - e49875871
JCL      - fadf18bf93f based on jdk-21.0.6+6)

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

Optional info

Failure output (captured from console output)

[2024-12-17T16:36:36.778Z] variation: NoOptions
[2024-12-17T16:36:36.778Z] JVM_OPTIONS:  

[2024-12-17T16:36:36.789Z] TESTING:
[2024-12-17T16:36:36.789Z] Using scaled threading model. 8 processors detected, 8 threads used to drive the workload, in a possible range of [1,4000]
[2024-12-17T16:36:54.278Z] java.lang.reflect.InvocationTargetException
[2024-12-17T16:36:54.278Z] java.lang.reflect.InvocationTargetException
[2024-12-17T16:36:54.278Z] 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
[2024-12-17T16:36:54.278Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:586)
[2024-12-17T16:36:54.278Z] 	at org.dacapo.harness.H2.preIteration(H2.java:88)
[2024-12-17T16:36:54.278Z] 	at org.dacapo.harness.Benchmark.run(Benchmark.java:171)
[2024-12-17T16:36:54.278Z] 	at org.dacapo.harness.TestHarness.runBenchmark(TestHarness.java:199)
[2024-12-17T16:36:54.278Z] 	at org.dacapo.harness.TestHarness.main(TestHarness.java:152)
[2024-12-17T16:36:54.278Z] 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[2024-12-17T16:36:54.278Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:586)
[2024-12-17T16:36:54.278Z] 	at Harness.main(Unknown Source)
[2024-12-17T16:36:54.278Z] Caused by: org.h2.jdbc.JdbcSQLException: General error: "java.lang.IllegalArgumentException: bound must be positive"; SQL statement:
[2024-12-17T16:36:54.278Z] 
[2024-12-17T16:36:54.278Z] ALTER TABLE ORDERLINE ADD CONSTRAINT
[2024-12-17T16:36:54.278Z]     OL_S_FK FOREIGN KEY (OL_SUPPLY_W_ID, OL_I_ID) REFERENCES STOCK [50000-123]
[2024-12-17T16:36:54.278Z] 	at org.h2.message.Message.getSQLException(Message.java:111)
[2024-12-17T16:36:54.278Z] 	at org.h2.message.Message.convert(Message.java:288)
[2024-12-17T16:36:54.278Z] 	at org.h2.table.TableData.addRowsToIndex(TableData.java:334)
[2024-12-17T16:36:54.278Z] 	at org.h2.table.TableData.addIndex(TableData.java:245)
[2024-12-17T16:36:54.278Z] 	at org.h2.command.ddl.AlterTableAddConstraint.createIndex(AlterTableAddConstraint.java:275)
[2024-12-17T16:36:54.279Z] 	at org.h2.command.ddl.AlterTableAddConstraint.tryUpdate(AlterTableAddConstraint.java:203)
[2024-12-17T16:36:54.279Z] 	at org.h2.command.ddl.AlterTableAddConstraint.update(AlterTableAddConstraint.java:89)
[2024-12-17T16:36:54.279Z] 	at org.h2.command.CommandContainer.update(CommandContainer.java:72)
[2024-12-17T16:36:54.279Z] 	at org.h2.command.Command.executeUpdate(Command.java:209)
[2024-12-17T16:36:54.279Z] 	at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:162)
[2024-12-17T16:36:54.279Z] 	at org.h2.tools.RunScript.process(RunScript.java:166)
[2024-12-17T16:36:54.279Z] 	at org.h2.tools.RunScript.execute(RunScript.java:154)
[2024-12-17T16:36:54.279Z] 	at org.dacapo.h2.TPCC.runScript(Unknown Source)
[2024-12-17T16:36:54.279Z] 	at org.dacapo.h2.TPCC.runScript(Unknown Source)
[2024-12-17T16:36:54.279Z] 	at org.dacapo.h2.TPCC.runScript(Unknown Source)
[2024-12-17T16:36:54.279Z] 	at org.dacapo.h2.TPCC.createConstraints(Unknown Source)
[2024-12-17T16:36:54.279Z] 	at org.dacapo.h2.TPCC.preIterationMemoryDB(Unknown Source)
[2024-12-17T16:36:54.279Z] 	at org.dacapo.h2.TPCC.preIteration(Unknown Source)
[2024-12-17T16:36:54.279Z] 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[2024-12-17T16:36:54.279Z] 	... 8 more
[2024-12-17T16:36:54.279Z] Caused by: java.lang.IllegalArgumentException: bound must be positive
[2024-12-17T16:36:54.279Z] 	at java.base/java.util.Random.nextInt(Random.java:557)
[2024-12-17T16:36:54.279Z] 	at org.h2.util.RandomUtils.nextInt(RandomUtils.java:206)
[2024-12-17T16:36:54.279Z] 	at org.h2.util.ObjectArray.sort(ObjectArray.java:300)
[2024-12-17T16:36:54.279Z] 	at org.h2.util.ObjectArray.sort(ObjectArray.java:327)
[2024-12-17T16:36:54.279Z] 	at org.h2.util.ObjectArray.sort(ObjectArray.java:327)
[2024-12-17T16:36:54.279Z] 	at org.h2.util.ObjectArray.sort(ObjectArray.java:327)
[2024-12-17T16:36:54.280Z] 	at org.h2.util.ObjectArray.sort(ObjectArray.java:327)
[2024-12-17T16:36:54.280Z] 	at org.h2.util.ObjectArray.sort(ObjectArray.java:327)
[2024-12-17T16:36:54.280Z] 	at org.h2.util.ObjectArray.sort(ObjectArray.java:327)
[2024-12-17T16:36:54.280Z] 	at org.h2.util.ObjectArray.sort(ObjectArray.java:327)
[2024-12-17T16:36:54.280Z] 	at org.h2.util.ObjectArray.sort(ObjectArray.java:327)
[2024-12-17T16:36:54.280Z] 	at org.h2.util.ObjectArray.sort(ObjectArray.java:286)
[2024-12-17T16:36:54.280Z] 	at org.h2.table.TableData.addRowsToIndex(TableData.java:324)
[2024-12-17T16:36:54.280Z] 	... 24 more
[2024-12-17T16:36:54.280Z] -----------------------------------
[2024-12-17T16:36:54.280Z] dacapo-h2_0_FAILED

50x internal Grinder - 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