jvm_compiler_1 FAILED in Test_openjdk17_hs_extended.openjdk_ppc64le_linux_testList_2
- Dominant language
- HTML
- Stars
- 155
- Forks
- 346
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 36
Description
2 testcases within the 1096 testcases in the jvm_compiler target appear to consistently fail on 2 of the ppc64le machines, test-skytap-ubuntu2004-ppc64le-1 and test-docker-debian11-ppc64le-3 with 2 slightly different failures, but both with TestRTMAbortRatio testcase failing. Appear to be consistently passing on other machines.
```
not ok 2 - jvm_compiler_1
---
output:
|
Failed test cases:
TEST: compiler/rtm/locking/TestRTMAbortRatio.java
TEST: compiler/rtm/locking/TestRTMSpinLoopCount.java
Test results: passed: 1,094; failed: 2
duration_ms: 1377175
...
```
**Console Output** from skytap-ubuntu2004-ppc64le-1
```
[2024-04-17T06:44:34.308Z] [2024-04-17T06:44:32.711069848Z] Gathering output for process 626481
[2024-04-17T06:44:34.308Z] CompileCommand: compileonly compiler/rtm/locking/TestRTMAbortRatio$Test.lock bool compileonly = true
[2024-04-17T06:44:34.308Z] CompileCommand: compileonly *.doAbort bool compileonly = true
[2024-04-17T06:44:34.308Z] compiler/rtm/locking/TestRTMAbortRatio$Test.lock@6
[2024-04-17T06:44:34.308Z] # rtm locks total (estimated): 1002
[2024-04-17T06:44:34.308Z] # rtm lock aborts (total): 2
[2024-04-17T06:44:34.308Z] # rtm lock aborts 0 (abort instruction ): 0
[2024-04-17T06:44:34.308Z] # rtm lock aborts 1 (may succeed on retry): 1
[2024-04-17T06:44:34.308Z] # rtm lock aborts 2 (thread conflict ): 0
[2024-04-17T06:44:34.308Z] # rtm lock aborts 3 (buffer overflow ): 1
[2024-04-17T06:44:34.308Z] # rtm lock aborts 4 (debug or trap hit ): 0
[2024-04-17T06:44:34.308Z] # rtm lock aborts 5 (maximum nested depth): 0
[2024-04-17T06:44:34.308Z]
[2024-04-17T06:44:34.308Z] [2024-04-17T06:44:32.829328463Z] Waiting for completion for process 626481
[2024-04-17T06:44:34.308Z] [2024-04-17T06:44:32.829936011Z] Waiting for completion finished for process 626481
[2024-04-17T06:44:34.308Z] STDERR:
[2024-04-17T06:44:34.308Z] java.lang.RuntimeException: Actual abort ratio (1002) should lower or equal to specified (0).: expected that 1002 <= 0
[2024-04-17T06:44:34.308Z] at jdk.test.lib.Asserts.fail(Asserts.java:594)
[2024-04-17T06:44:34.308Z] at jdk.test.lib.Asserts.assertLessThanOrEqual(Asserts.java:154)
[2024-04-17T06:44:34.308Z] at jdk.test.lib.Asserts.assertLTE(Asserts.java:125)
[2024-04-17T06:44:34.308Z] at compiler.rtm.locking.TestRTMAbortRatio.verifyAbortRatio(TestRTMAbortRatio.java:108)
[2024-04-17T06:44:34.308Z] at compiler.rtm.locking.TestRTMAbortRatio.runTestCases(TestRTMAbortRatio.java:65)
[2024-04-17T06:44:34.308Z] at compiler.rtm.locking.TestRTMAbortRatio.main(TestRTMAbortRatio.java:162)
[2024-04-17T06:44:34.308Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2024-04-17T06:44:34.308Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2024-04-17T06:44:34.308Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2024-04-17T06:44:34.308Z] at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2024-04-17T06:44:34.308Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2024-04-17T06:44:34.308Z] at java.base/java.lang.Thread.run(Thread.java:840)
[2024-04-17T06:44:34.308Z]
[2024-04-17T06:44:34.308Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: Actual abort ratio (1002) should lower or equal to specified (0).: expected that 1002 <= 0
[2024-04-17T06:44:34.308Z] JavaTest Message: shutting down test
[2024-04-17T06:44:34.308Z]
[2024-04-17T06:44:34.308Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Actual abort ratio (1002) should lower or equal to specified (0).: expected that 1002 <= 0
```
**Console output** from test-docker-debian11-ppc64le-3
```
[2024-03-07T01:20:10.697Z] CompileCommand: compileonly compiler/testlibrary/rtm/XAbortProvoker.forceAbort bool compileonly = true
[2024-03-07T01:20:10.697Z] CompileCommand: compileonly compiler/testlibrary/rtm/XAbortProvoker.doAbort bool compileonly = true
[2024-03-07T01:20:10.697Z] compiler/testlibrary/rtm/XAbortProvoker.forceAbort@6
[2024-03-07T01:20:10.697Z] # rtm locks total (estimated): 2
[2024-03-07T01:20:10.697Z] # rtm lock aborts (total): 2
[2024-03-07T01:20:10.697Z] # rtm lock aborts 0 (abort instruction ): 0
[2024-03-07T01:20:10.697Z] # rtm lock aborts 1 (may succeed on retry): 1
[2024-03-07T01:20:10.697Z] # rtm lock aborts 2 (thread conflict ): 0
[2024-03-07T01:20:10.697Z] # rtm lock aborts 3 (buffer overflow ): 1
[2024-03-07T01:20:10.697Z] # rtm lock aborts 4 (debug or trap hit ): 0
[2024-03-07T01:20:10.697Z] # rtm lock aborts 5 (maximum nested depth): 0
[2024-03-07T01:20:10.697Z]
[2024-03-07T01:20:10.697Z] [2024-03-07T01:20:02.037097939Z] Waiting for completion for process 1117982
[2024-03-07T01:20:10.697Z] [2024-03-07T01:20:02.037274727Z] Waiting for completion finished for process 1117982
[2024-03-07T01:20:10.697Z] STDERR:
[2024-03-07T01:20:10.697Z] java.lang.RuntimeException: Expected that method with rtm lock elision was deoptimized after 1 lock attempts: expected 2 to equal 1
[2024-03-07T01:20:10.697Z] at jdk.test.lib.Asserts.fail(Asserts.java:594)
[2024-03-07T01:20:10.697Z] at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
[2024-03-07T01:20:10.697Z] at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
[2024-03-07T01:20:10.697Z] at compiler.rtm.locking.TestRTMAbortThreshold.verifyAbortThreshold(TestRTMAbortThreshold.java:95)
[2024-03-07T01:20:10.697Z] at compiler.rtm.locking.TestRTMAbortThreshold.runTestCases(TestRTMAbortThreshold.java:63)
[2024-03-07T01:20:10.697Z] at compiler.rtm.locking.TestRTMAbortThreshold.main(TestRTMAbortThreshold.java:102)
[2024-03-07T01:20:10.697Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2024-03-07T01:20:10.697Z] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[2024-03-07T01:20:10.697Z] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[2024-03-07T01:20:10.697Z] at java.base/java.lang.reflect.Method.invoke(Method.java:568)
[2024-03-07T01:20:10.697Z] at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2024-03-07T01:20:10.697Z] at java.base/java.lang.Thread.run(Thread.java:840)
[2024-03-07T01:20:10.697Z]
[2024-03-07T01:20:10.697Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected that method with rtm lock elision was deoptimized after 1 lock attempts: expected 2 to equal 1
[2024-03-07T01:20:10.697Z] JavaTest Message: shutting down test
[2024-03-07T01:20:10.697Z]
[2024-03-07T01:20:10.697Z] STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected that method with rtm lock elision was deoptimized after 1 lock attempts: expected 2 to equal 1
```
**Test Info**
Test Name: jvm_compiler_1
Test Duration: 22 min 57 sec
Machine: test-skytap-ubuntu2004-ppc64le-1
TRSS link for the test output: https://trss.adoptium.net/output/test?id=661fad3a879917006e9aabfe
**Build Info**
Build Name: Test_openjdk17_hs_extended.openjdk_ppc64le_linux_testList_2
Jenkins Build start time: Apr 17 2024, 02:04 am
Jenkins Build URL: https://ci.adoptium.net/job/Test_openjdk17_hs_extended.openjdk_ppc64le_linux_testList_2/10/
TRSS link for the build: https://trss.adoptium.net/allTestsInfo?buildId=661fac1e879917006e9aa0c6
**Java Version**
openjdk version "17.0.11" 2024-04-16
OpenJDK Runtime Environment Temurin-17.0.11+9 (build 17.0.11+9)
OpenJDK 64-Bit Server VM Temurin-17.0.11+9 (build 17.0.11+9, mixed mode, sharing)
**This test has been failed 2 times since Feb 15 2024, 01:21 pm**
**Java Version when the issue first seen**
openjdk version "17.0.11-beta" 2024-04-16
OpenJDK Runtime Environment Temurin-17.0.11+3-202402151756 (build 17.0.11-beta+3-ea)
OpenJDK 64-Bit Server VM Temurin-17.0.11+3-202402151756 (build 17.0.11-beta+3-ea, mixed mode, sharing)
Jenkins Build URL: https://ci.adoptium.net/job/Test_openjdk17_hs_extended.openjdk_ppc64le_linux_testList_2/138/
The test failed on machine test-skytap-ubuntu2004-ppc64le-1 1 times
The test failed on machine test-docker-debian11-ppc64le-4 1 times
[Rerun in Grinder](https://ci.adoptium.net/job/Grinder/parambuild/?SDK_RESOURCE=upstream&TARGET=jvm_compiler_1&BASE_DOCKER_REGISTRY_CREDENTIAL_ID=&TEST_FLAG=&UPSTREAM_TEST_JOB_NAME=Test_openjdk17_hs_extended.openjdk_ppc64le_linux&DOCKER_REQUIRED=false&ACTIVE_NODE_TIMEOUT=5&VENDOR_TEST_DIRS=&EXTRA_DOCKER_ARGS=&TKG_OWNER_BRANCH=adoptium%3Amaster&OPENJ9_SYSTEMTEST_OWNER_BRANCH=eclipse%3Amaster&PLATFORM=ppc64le_linux&GENERATE_JOBS=false&KEEP_REPORTDIR=true&PERSONAL_BUILD=false&DOCKER_REGISTRY_DIR=&RERUN_ITERATIONS=0&ADOPTOPENJDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptium%2Faqa-tests.git&SETUP_JCK_RUN=false&DOCKER_REGISTRY_URL_CREDENTIAL_ID=&LABEL=&EXTRA_OPTIONS=&CUSTOMIZED_SDK_URL=&BUILD_IDENTIFIER=&JENKINS_KEY=&ADOPTOPENJDK_BRANCH=v1.0.1-release&LIGHT_WEIGHT_CHECKOUT=false&USE_JRE=false&ARTIFACTORY_SERVER=&KEEP_WORKSPACE=false&USER_CREDENTIALS_ID=&JDK_VERSION=17&DOCKER_REGISTRY_URL=&ITERATIONS=1&VENDOR_TEST_REPOS=&JDK_REPO=https%3A%2F%2Fgithub.com%2Fadoptium%2Fjdk17u&JCK_GIT_BRANCH=master&OPENJ9_BRANCH=master&OPENJ9_SHA=&JCK_GIT_REPO=&VENDOR_TEST_BRANCHES=&UPSTREAM_JOB_NAME=build-scripts%2Fjobs%2Frelease%2Fjobs%2Fjdk17u%2Fjdk17u-release-linux-ppc64le-temurin&OPENJ9_REPO=https%3A%2F%2Fgithub.com%2Feclipse-openj9%2Fopenj9.git&CLOUD_PROVIDER=&CUSTOM_TARGET=&VENDOR_TEST_SHAS=&JDK_BRANCH=jdk-17.0.11%2B9_adopt&LABEL_ADDITION=&ARTIFACTORY_REPO=&ARTIFACTORY_ROOT_DIR=&UPSTREAM_TEST_JOB_NUMBER=166&DOCKERIMAGE_TAG=&JDK_IMPL=hotspot&TEST_TIME=&SSH_AGENT_CREDENTIAL=&AUTO_DETECT=true&SLACK_CHANNEL=&DYNAMIC_COMPILE=false&RELATED_NODES=&ADOPTOPENJDK_SYSTEMTEST_OWNER_BRANCH=adoptium%3Amaster&APPLICATION_OPTIONS=&CUSTOMIZED_SDK_URL_CREDENTIAL_ID=eclipse_temurin_bot_email_and_token&ARCHIVE_TEST_RESULTS=false&NUM_MACHINES=&OPENJDK_SHA=&TRSS_URL=&USE_TESTENV_PROPERTIES=true&BUILD_LIST=openjdk&ADDITIONAL_ARTIFACTS_REQUIRED=&UPSTREAM_JOB_NUMBER=22&STF_OWNER_BRANCH=adoptium%3Amaster&TIME_LIMIT=25&JVM_OPTIONS=&PARALLEL=None)
Contributor guide
Research direction
Start by rerunning jvm_compiler_1 through the linked Grinder job on ppc64le and compare the two reported failures. Read compiler/rtm/locking/TestRTMAbortRatio.java and TestRTMAbortThreshold.java, including the referenced verification methods and the compiler/testlibrary/rtm classes. Done means the affected tests pass consistently on the reported ppc64le machines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100