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

jvm_compiler_1 FAILED in Test_openjdk17_hs_extended.openjdk_ppc64le_linux_testList_2 #5273

Open
smlambert opened this issue May 1, 2024 · 0 comments

Comments

@smlambert
Copy link
Contributor

smlambert commented May 1, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant