openj9 icon indicating copy to clipboard operation
openj9 copied to clipboard

JDK19 j9vm.226 * ** ASSERTION FAILED ** at openj9/runtime/vm/ContinuationHelpers.cpp:155: ((currentThread->currentContinuation) != NULL)

Open JasonFengJ9 opened this issue 2 years ago • 4 comments

Failure link

From an internal build(ub18s390xrt-1-1):

openjdk version "19" 2022-09-20
IBM Semeru Runtime Open Edition 19+31 (build 19+31)
Eclipse OpenJ9 VM 19+31 (build master-e70b78378, JRE 19 Linux s390x-64-Bit Compressed References 20220919_19 (JIT enabled, AOT enabled)
OpenJ9   - e70b78378
OMR      - 6061e7ce4
JCL      - 5da3ac5d21 based on jdk-19+31)

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

Optional info

Failure output (captured from console output)

[2022-07-23T18:15:18.144Z] variation: Mode150
[2022-07-23T18:15:18.144Z] JVM_OPTIONS:  -XX:+UseCompressedOops 

[2022-07-23T18:22:24.877Z] TEST: jdk/incubator/concurrent/StructuredTaskScope/StructuredTaskScopeTest.java

[2022-07-23T18:22:24.878Z] STDERR:
[2022-07-23T18:22:24.878Z] WARNING: Using incubator modules: jdk.incubator.concurrent
[2022-07-23T18:22:24.879Z] 18:22:20.728 0x18bc900    j9vm.226    *   ** ASSERTION FAILED ** at /home/jenkins/workspace/build-scripts/jobs/jdk19/jdk19-linux-s390x-openj9/workspace/build/src/openj9/runtime/vm/ContinuationHelpers.cpp:155: ((currentThread->currentContinuation) != NULL)
[2022-07-23T18:22:24.879Z] JVMDUMP039I Processing dump event "traceassert", detail "" at 2022/07/23 11:22:20 - please wait.

[2022-07-23T18:22:24.879Z] TEST RESULT: Failed. Unexpected exit from test [exit code: 255]
[2022-07-23T18:22:24.879Z] --------------------------------------------------
[2022-07-23T18:22:24.879Z] Test results: passed: 264; failed: 1
[2022-07-23T18:22:31.375Z] Report written to /home/jenkins/workspace/Test_openjdk19_j9_extended.openjdk_s390x_linux/jvmtest/openjdk/report/html/report.html
[2022-07-23T18:22:31.375Z] Results written to /home/jenkins/workspace/Test_openjdk19_j9_extended.openjdk_s390x_linux/aqa-tests/TKG/output_16585995717451/jdk_other_0/work
[2022-07-23T18:22:31.376Z] Error: Some tests failed or other problems occurred.
[2022-07-23T18:22:31.376Z] 
[2022-07-23T18:22:31.376Z] jdk_other_0_FAILED

fyi @tajila @fengxue-IS

JasonFengJ9 avatar Jul 26 '22 19:07 JasonFengJ9

@JasonFengJ9 Is that a new test?

tajila avatar Jul 26 '22 19:07 tajila

It was added on June 4th - https://github.com/ibmruntimes/openj9-openjdk-jdk19/commit/2929abf7287053519d37c7b5a6ccebd1f1eb8ffa, so it probably missed first round of excludes.

Edit: it was green at previous weekly run July 16th

JasonFengJ9 avatar Jul 26 '22 19:07 JasonFengJ9

Edit: it was green at previous weekly run July 16th

Was that before we merged the continuation changes? If so it was use the os thread fallback solution and we should add it to the excludes

tajila avatar Jul 26 '22 20:07 tajila

Was that before we merged the continuation changes? If so it was use the os thread fallback solution and we should add it to the excludes

The code in question is part of https://github.com/eclipse-openj9/openj9/pull/15434 merged on July 18th, so green run was before the continuation changes. Will create an exclude PR.

JasonFengJ9 avatar Jul 26 '22 21:07 JasonFengJ9

@fengxue-IS can you take a look at this?

tajila avatar Oct 18 '22 14:10 tajila

Moving this out of Java 19 milestone as test is targeting structured concurrency which is still in incubator. Not required for Java 19

fengxue-IS avatar Oct 21 '22 21:10 fengxue-IS

Closing. StructuredTaskScopeTest passes now. No failures seen in https://openj9-jenkins.osuosl.org/job/Grinder/2348/ (100x grinder). It has been re-enabled for JDK20; see https://github.com/adoptium/aqa-tests/blob/master/openjdk/excludes/ProblemList_openjdk20-openj9.txt; the exclude has been removed.

babsingh avatar May 15 '23 16:05 babsingh