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

JDK jdk_lang_0_FAILED java/lang/ScopedValue/StressStackOverflow.java StressStackOverflow$TestFailureException: Unexpected value for ScopedValue #18065

Closed
JasonFengJ9 opened this issue Sep 1, 2023 · 6 comments

Comments

@JasonFengJ9
Copy link
Member

Failure link

From https://openj9-jenkins.osuosl.org/job/Grinder_testList_0/262/consoleFull(`cent8-aarch64-3`):

10:23:03  openjdk version "22-internal" 2024-03-19
10:23:03  OpenJDK Runtime Environment (build 22-internal-adhoc.****.BuildJDKnextaarch64linuxPersonal)
10:23:03  Eclipse OpenJ9 VM (build master-080f0db8115, JRE 22 Linux aarch64-64-Bit Compressed References 20230831_72 (JIT enabled, AOT enabled)
10:23:03  OpenJ9   - 080f0db8115
10:23:03  OMR      - 75d233597f4
10:23:03  JCL      - b999c60c064 based on jdk-22+12)

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

Optional info

Failure output (captured from console output)

10:24:44  ===============================================
10:24:44  Running test jdk_lang_0 ...
10:24:44  ===============================================
10:24:44  jdk_lang_0 Start Time: Fri Sep  1 10:24:44 2023 Epoch Time (ms): 1693578284203
10:24:44  variation: -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:-JITServerTechPreviewMessage Mode150
10:24:44  JVM_OPTIONS:  -Xdump:system:none -Xdump:heap:none -Xdump:system:events=gpf+abort+traceassert+corruptcache -XX:-JITServerTechPreviewMessage -XX:+UseCompressedOops 

10:33:11  TEST: java/lang/ScopedValue/StressStackOverflow.java#default
10:33:11  STDERR:
10:33:11  StressStackOverflow$TestFailureException: Unexpected value for ScopedValue
10:33:11  	at StressStackOverflow.<clinit>(StressStackOverflow.java:62)
10:33:11  	at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
10:33:11  	at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1522)
10:33:11  	at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:300)
10:33:11  	at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.newMethodAccessor(MethodHandleAccessorFactory.java:71)
10:33:11  	at java.base/jdk.internal.reflect.ReflectionFactory.newMethodAccessor(ReflectionFactory.java:154)
10:33:11  	at java.base/java.lang.reflect.Method.acquireMethodAccessor(Method.java:726)
10:33:11  	at java.base/java.lang.reflect.Method.invoke(Method.java:577)
10:33:11  	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
10:33:11  	at java.base/java.lang.Thread.run(Thread.java:1582)
10:33:11  	Suppressed: java.util.concurrent.StructureViolationException
10:33:11  		at java.base/jdk.internal.vm.ScopedValueContainer.throwIfFailed(ScopedValueContainer.java:203)
10:33:11  		at java.base/jdk.internal.vm.ScopedValueContainer.doCall(ScopedValueContainer.java:192)
10:33:11  		at java.base/jdk.internal.vm.ScopedValueContainer.call(ScopedValueContainer.java:149)
10:33:11  		at java.base/java.lang.Class$ReflectRef.<init>(Class.java:4064)
10:33:11  		at StressStackOverflow$DeepRecursion.run(StressStackOverflow.java:100)
10:33:11  		at StressStackOverflow.fibonacci_pad1(StressStackOverflow.java:146)
...
10:33:11  	Suppressed: java.util.concurrent.StructureViolationException
10:33:11  		at java.base/jdk.internal.vm.ScopedValueContainer.throwIfFailed(ScopedValueContainer.java:203)
10:33:11  		at java.base/jdk.internal.vm.ScopedValueContainer.runWithoutScope(ScopedValueContainer.java:120)
10:33:11  		at java.base/jdk.internal.vm.ScopedValueContainer.run(ScopedValueContainer.java:98)
10:33:11  		at java.base/java.lang.ScopedValue$Carrier.run(ScopedValue.java:510)
10:33:11  		at StressStackOverflow.run(StressStackOverflow.java:189)
10:33:11  		at StressStackOverflow.main(StressStackOverflow.java:248)
10:33:11  		at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
10:33:11  		at java.base/java.lang.reflect.Method.invoke(Method.java:580)
10:33:11  		... 2 more

10:33:11  TEST: java/lang/ScopedValue/StressStackOverflow.java#no-TieredCompilation
10:33:11  STDERR:
10:33:11  StressStackOverflow$TestFailureException: Unexpected value for ScopedValue
10:33:11  	at StressStackOverflow.<clinit>(StressStackOverflow.java:62)
10:33:11  	at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
10:33:11  	at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1522)
10:33:11  	at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:300)
10:33:11  	at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.newMethodAccessor(MethodHandleAccessorFactory.java:71)
10:33:11  	at java.base/jdk.internal.reflect.ReflectionFactory.newMethodAccessor(ReflectionFactory.java:154)
10:33:11  	at java.base/java.lang.reflect.Method.acquireMethodAccessor(Method.java:726)
10:33:11  	at java.base/java.lang.reflect.Method.invoke(Method.java:577)
10:33:11  	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
10:33:11  	at java.base/java.lang.Thread.run(Thread.java:1582)
10:33:11  	Suppressed: java.util.concurrent.StructureViolationException

10:40:43  TEST: java/lang/ScopedValue/StressStackOverflow.java#no-vmcontinuations
10:40:43  STDERR:
10:40:43  StressStackOverflow$TestFailureException: Unexpected value for ScopedValue
10:40:43  	at StressStackOverflow.<clinit>(StressStackOverflow.java:62)
10:40:43  	at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
10:40:43  	at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1522)
10:40:43  	at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:300)
10:40:43  	at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.newMethodAccessor(MethodHandleAccessorFactory.java:71)
10:40:43  	at java.base/jdk.internal.reflect.ReflectionFactory.newMethodAccessor(ReflectionFactory.java:154)
10:40:43  	at java.base/java.lang.reflect.Method.acquireMethodAccessor(Method.java:726)
10:40:43  	at java.base/java.lang.reflect.Method.invoke(Method.java:577)
10:40:43  	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
10:40:43  	at java.base/java.lang.Thread.run(Thread.java:1582)
10:40:43  	Suppressed: java.util.concurrent.StructureViolationException

10:46:14  TEST: java/lang/ScopedValue/StressStackOverflow.java#TieredStopAtLevel1
10:46:14  STDERR:
10:46:14  StressStackOverflow$TestFailureException: Unexpected value for ScopedValue
10:46:14  	at StressStackOverflow.<clinit>(StressStackOverflow.java:62)
10:46:14  	at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized0(Native Method)
10:46:14  	at java.base/jdk.internal.misc.Unsafe.ensureClassInitialized(Unsafe.java:1522)
10:46:14  	at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.ensureClassInitialized(MethodHandleAccessorFactory.java:300)
10:46:14  	at java.base/jdk.internal.reflect.MethodHandleAccessorFactory.newMethodAccessor(MethodHandleAccessorFactory.java:71)
10:46:14  	at java.base/jdk.internal.reflect.ReflectionFactory.newMethodAccessor(ReflectionFactory.java:154)
10:46:14  	at java.base/java.lang.reflect.Method.acquireMethodAccessor(Method.java:726)
10:46:14  	at java.base/java.lang.reflect.Method.invoke(Method.java:577)
10:46:14  	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
10:46:14  	at java.base/java.lang.Thread.run(Thread.java:1582)
10:46:14  	Suppressed: java.util.concurrent.StructureViolationException

10:46:14  TEST RESULT: Failed. Unexpected exit from test [exit code: 1]
10:46:14  --------------------------------------------------
10:46:14  Test results: passed: 924; failed: 8
10:46:21  Report written to /home/jenkins/workspace/Grinder_testList_0/aqa-tests/TKG/output_16935782835648/jdk_lang_0/report/html/report.html
10:46:21  Results written to /home/jenkins/workspace/Grinder_testList_0/aqa-tests/TKG/output_16935782835648/jdk_lang_0/work
10:46:21  Error: Some tests failed or other problems occurred.
10:46:21  -----------------------------------
10:46:21  jdk_lang_0_FAILED
@pshipton
Copy link
Member

These failures are now occurring with the 21.0.1 build.

https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.openjdk_aarch64_linux_OpenJDK21_testList_1/10/
https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.openjdk_aarch64_linux_OpenJDK21_testList_0/10/
java/lang/ScopedValue/StressStackOverflow.java#TieredStopAtLevel1
java/lang/ScopedValue/StressStackOverflow.java#default
java/lang/ScopedValue/StressStackOverflow.java#no-TieredCompilation
java/lang/ScopedValue/StressStackOverflow.java#no-vmcontinuations

They may occur on other platforms when they run these tests.
https://openj9-jenkins.osuosl.org/job/Pipeline-OpenJDK21-Acceptance/12/

We can hold off accepting 21.0.1 for a short time, but it's better to accept the level asap so it's used in all the testing. We can exclude these tests until they can be fixed.

@babsingh

@babsingh
Copy link
Contributor

This is a duplicate of #16965. @nbhuiyan and @fengxue-IS are working on it. Currently, @nbhuiyan is waiting on feedback from @fengxue-IS.

@pshipton
Copy link
Member

Can you pls update the exclude for jdk21 so we can accept the level.

@pshipton
Copy link
Member

We can close this as a dup.

@pshipton
Copy link
Member

pshipton commented Oct 19, 2023

Can you pls update the exclude for jdk21 so we can accept the level.

and jdk22 should be updated as well.

babsingh added a commit to babsingh/aqa-tests that referenced this issue Oct 19, 2023
Now, the test has four sub-variants, which need to be individually
excluded.

Related: eclipse-openj9/openj9#18065
Related: eclipse-openj9/openj9#16965

Signed-off-by: Babneet Singh <[email protected]>
@babsingh
Copy link
Contributor

Can you pls update the exclude for jdk21 so we can accept the level.

Opened adoptium/aqa-tests#4828 to update the JDK21/22 excludes.

llxia pushed a commit to adoptium/aqa-tests that referenced this issue Oct 19, 2023
Now, the test has four sub-variants, which need to be individually
excluded.

Related: eclipse-openj9/openj9#18065
Related: eclipse-openj9/openj9#16965

Signed-off-by: Babneet Singh <[email protected]>
llxia pushed a commit to llxia/aqa-tests that referenced this issue Nov 22, 2023
Now, the test has four sub-variants, which need to be individually
excluded.

Related: eclipse-openj9/openj9#18065
Related: eclipse-openj9/openj9#16965

Signed-off-by: Babneet Singh <[email protected]>
llxia pushed a commit to llxia/aqa-tests that referenced this issue Nov 22, 2023
Now, the test has four sub-variants, which need to be individually
excluded.

Related: eclipse-openj9/openj9#18065
Related: eclipse-openj9/openj9#16965

Signed-off-by: Babneet Singh <[email protected]>
pshipton pushed a commit to adoptium/aqa-tests that referenced this issue Nov 22, 2023
Now, the test has four sub-variants, which need to be individually
excluded.

Related: eclipse-openj9/openj9#18065
Related: eclipse-openj9/openj9#16965

Signed-off-by: Babneet Singh <[email protected]>
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

3 participants