dragonwell-project / dragonwell11

Alibaba Dragonwell11 JDK
https://www.aliyun.com/product/dragonwell
GNU General Public License v2.0
561 stars 115 forks source link

[regress]vmTestbase/……/ownedMonitorsAndFrames002.java fails #423

Open sendaoYan opened 1 year ago

sendaoYan commented 1 year ago

https://tone.aliyun-inc.com/ws/xesljfzh/test_result/147355?tab=1

EventHandler> finished
Debugger nsk.share.jdi.EventTestTemplates$ThreadFilterTest@465416d5 finished successfully
debugee.stderr> Debuggee: received the command: quit
debugee.stderr> Debuggee: exiting
debugee.stderr> Debuggee nsk.share.jdi.MonitorEventsDebuggee@1f554b06 finished successfully
debugee.stderr> Debuggee nsk.share.jdi.SerialExecutionDebuggee : sending the command: ready
debugee.stderr> Debuggee: received the command: COMMAND_CLEAR_DEBUGGEE
debugee.stderr> Debuggee nsk.share.jdi.SerialExecutionDebuggee : sending the command: ready
debugee.stderr> Debuggee: received the command: quit
debugee.stderr> Debuggee: exiting
Debuggee's process finished with status: 95
TEST FAILED

#>  
#>  SUMMARY: Following errors occured
#>      during test execution:
#>  
# ERROR: Expected and actual monitor(instance of java.lang.Class(reflected class=nsk.share.locks.ClassWithSynchronizedMethods, id=879)) stack depth differs, expected: 5 actual: 6
# ERROR: Expected and actual monitor(instance of java.lang.Object(id=883)) stack depth differs, expected: 9 actual: 10
# ERROR: Expected and actual monitor(instance of nsk.share.locks.LockingThread(name='ownedMonitorsAndFrames002_LockingThread1', id=878)) stack depth differs, expected: 11 actual: 12
# ERROR: Expected and actual monitor(instance of java.lang.Object(id=882)) stack depth differs, expected: 7 actual: 8
# ERROR: Expected and actual monitor(instance of nsk.share.locks.ClassWithSynchronizedMethods(id=884)) stack depth differs, expected: 19 actual: 20
# ERROR: Expected and actual monitor(instance of java.lang.Class(reflected class=nsk.share.locks.LockingThread, id=876)) stack depth differs, expected: 13 actual: 14
# ERROR: Expected and actual monitor(instance of java.lang.Class(reflected class=nsk.share.locks.ClassWithSynchronizedMethods, id=879)) stack depth differs, expected: 3 actual: 4
# ERROR: Expected and actual monitor(instance of java.lang.Object(id=883)) stack depth differs, expected: 7 actual: 8
# ERROR: Expected and actual monitor(instance of nsk.share.locks.LockingThread(name='ownedMonitorsAndFrames002_LockingThread1', id=878)) stack depth differs, expected: 9 actual: 10
# ERROR: Expected and actual monitor(instance of java.lang.Object(id=882)) stack depth differs, expected: 5 actual: 6
# ERROR: Expected and actual monitor(instance of nsk.share.locks.ClassWithSynchronizedMethods(id=884)) stack depth differs, expected: 17 actual: 18
# ERROR: Expected and actual monitor(instance of java.lang.Class(reflected class=nsk.share.locks.LockingThread, id=876)) stack depth differs, expected: 11 actual: 12
# ERROR: Expected and actual monitor(instance of java.lang.Object(id=883)) stack depth differs, expected: 5 actual: 6
# ERROR: Expected and actual monitor(instance of nsk.share.locks.LockingThread(name='ownedMonitorsAndFrames002_LockingThread1', id=878)) stack depth differs, expected: 7 actual: 8
# ERROR: Expected and actual monitor(instance of java.lang.Object(id=882)) stack depth differs, expected: 3 actual: 4
# ERROR: Expected and actual monitor(instance of nsk.share.locks.ClassWithSynchronizedMethods(id=884)) stack depth differs, expected: 15 actual: 16
# ERROR: Expected and actual monitor(instance of java.lang.Class(reflected class=nsk.share.locks.LockingThread, id=876)) stack depth differs, expected: 9 actual: 10
# ERROR: Expected and actual monitor(instance of java.lang.Object(id=883)) stack depth differs, expected: 3 actual: 4
# ERROR: Expected and actual monitor(instance of nsk.share.locks.LockingThread(name='ownedMonitorsAndFrames002_LockingThread1', id=878)) stack depth differs, expected: 5 actual: 6
# ERROR: Expected and actual monitor(instance of nsk.share.locks.ClassWithSynchronizedMethods(id=884)) stack depth differs, expected: 13 actual: 14
# ERROR: Expected and actual monitor(instance of java.lang.Class(reflected class=nsk.share.locks.LockingThread, id=876)) stack depth differs, expected: 7 actual: 8
# ERROR: Expected and actual monitor(instance of nsk.share.locks.LockingThread(name='ownedMonitorsAndFrames002_LockingThread1', id=878)) stack depth differs, expected: 3 actual: 4
# ERROR: Expected and actual monitor(instance of nsk.share.locks.ClassWithSynchronizedMethods(id=884)) stack depth differs, expected: 11 actual: 12
# ERROR: Expected and actual monitor(instance of java.lang.Class(reflected class=nsk.share.locks.LockingThread, id=876)) stack depth differs, expected: 5 actual: 6
# ERROR: Expected and actual monitor(instance of nsk.share.locks.LockingThread(name='ownedMonitorsAndFrames002_LockingThread1', id=878)) stack depth differs, expected: 5 actual: 6
# ERROR: Expected and actual monitor(instance of nsk.share.locks.ClassWithSynchronizedMethods(id=884)) stack depth differs, expected: 9 actual: 10
# ERROR: Expected and actual monitor(instance of java.lang.Class(reflected class=nsk.share.locks.LockingThread, id=876)) stack depth differs, expected: 3 actual: 4
# ERROR: Expected and actual monitor(instance of nsk.share.locks.LockingThread(name='ownedMonitorsAndFrames002_LockingThread1', id=878)) stack depth differs, expected: 3 actual: 4
# ERROR: Expected and actual monitor(instance of nsk.share.locks.ClassWithSynchronizedMethods(id=884)) stack depth differs, expected: 7 actual: 8
# ERROR: Expected and actual monitor(instance of nsk.share.locks.LockingThread(name='ownedMonitorsAndFrames002_LockingThread1', id=878)) stack depth differs, expected: 3 actual: 4
# ERROR: Expected and actual monitor(instance of nsk.share.locks.ClassWithSynchronizedMethods(id=884)) stack depth differs, expected: 5 actual: 6
# ERROR: Expected and actual monitor(instance of nsk.share.locks.ClassWithSynchronizedMethods(id=884)) stack depth differs, expected: 3 actual: 4
# ERROR: Debugger nsk.jdi.ThreadReference.ownedMonitorsAndFrames.ownedMonitorsAndFrames002.ownedMonitorsAndFrames002@408ba793 finished with errors
STDERR:
rerun:
cd /tmp/tone/run/jtreg/jt-work/hotspot_jtreg/vmTestbase/nsk/jdi/stress/serial/mixed002/TestDescription && \
DISPLAY=:7 \
HOME=/root \
LANG=en_US.UTF-8 \
PATH=/bin:/usr/bin:/usr/sbin \
TEST_IMAGE_DIR=/tmp/tone/run/jtreg/test-images \
LD_LIBRARY_PATH=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \
CLASSPATH=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/mixed002:/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/classes/0/vmTestbase:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/vmTestbase:/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/classes/0/test/lib:/tmp/tone/run/jtreg/jdk-repo/test/lib:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \
    /opt/java/openjdk/bin/java \
        -Dtest.vm.opts='-Xmixed -ea -esa' \
        -Dtest.tool.vm.opts='-J-Xmixed -J-ea -J-esa' \
        -Dtest.compiler.opts= \
        -Dtest.java.opts= \
        -Dtest.jdk=/opt/java/openjdk \
        -Dcompile.jdk=/opt/java/openjdk \
        -Dtest.timeout.factor=4.0 \
        -Dtest.nativepath=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \
        -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg \
        -Dtest.name=vmTestbase/nsk/jdi/stress/serial/mixed002/TestDescription.java \
        -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/mixed002/TestDescription.java \
        -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/mixed002 \
        -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/vmTestbase/nsk/jdi/stress/serial/mixed002:/tmp/tone/run/jtreg/jdk-repo/test/hotspot/jtreg/vmTestbase:/tmp/tone/run/jtreg/jdk-repo/test/lib \
        -Dtest.classes=/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/classes/0/vmTestbase/nsk/jdi/stress/serial/mixed002/TestDescription.d \
        -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/classes/0/vmTestbase/nsk/jdi/stress/serial/mixed002/TestDescription.d:/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/classes/0/vmTestbase:/tmp/tone/run/jtreg/jt-work/hotspot_jtreg/classes/0/test/lib \
        -Dtest.modules=jdk.jdi/com.sun.tools.jdi:+open \
        --add-modules jdk.jdi \
        --add-exports jdk.jdi/com.sun.tools.jdi=ALL-UNNAMED \
        --add-opens jdk.jdi/com.sun.tools.jdi=ALL-UNNAMED \
        -Xmixed \
        -ea \
        -esa \
        -Djava.library.path=/tmp/tone/run/jtreg/test-images/hotspot/jtreg/native \
        com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/hotspot_jtreg/vmTestbase/nsk/jdi/stress/serial/mixed002/TestDescription.d/main.2.jta nsk.share.jdi.SerialExecutionDebugger -verbose '-arch=${os.family}-${os.simpleArch}' -waittime=5 -debugee.vmkind=java -transport.address=dynamic "-debugee.vmkeys=-Xmx256M '${test.vm.opts}' '${test.java.opts}"' -testClassPath '${test.class.path}' -configFile ./mixed002.tests -testWorkDir .

TEST RESULT: Failed. Execution failed: Execution failed

temurin11运行pass:

image

sendaoYan commented 1 year ago

如下失败43个用例先暂时归类为同一类问题:

vmTestbase/nsk/jdi/ThreadReference/ownedMonitorsAndFrames/ownedMonitorsAndFrames002/ownedMonitorsAndFrames002.java
vmTestbase/nsk/jdi/ThreadReference/ownedMonitorsAndFrames/ownedMonitorsAndFrames003/ownedMonitorsAndFrames003.java
vmTestbase/nsk/jdi/ThreadReference/ownedMonitorsAndFrames/ownedMonitorsAndFrames005/ownedMonitorsAndFrames005.java
vmTestbase/nsk/jdi/ThreadReference/ownedMonitorsAndFrames/ownedMonitorsAndFrames006/ownedMonitorsAndFrames006.java
vmTestbase/nsk/jdi/ThreadReference/ownedMonitorsAndFrames/ownedMonitorsAndFrames007/ownedMonitorsAndFrames007.java
vmTestbase/nsk/jdi/ThreadReference/ownedMonitorsAndFrames/ownedMonitorsAndFrames008/TestDescription.java
vmTestbase/nsk/jdi/stress/serial/mixed001/TestDescription.java
vmTestbase/nsk/jdi/stress/serial/mixed002/TestDescription.java
vmTestbase/nsk/jdi/stress/serial/ownedMonitorsAndFrames001/TestDescription.java
vmTestbase/nsk/jdi/stress/serial/ownedMonitorsAndFrames002/TestDescription.java
vmTestbase/nsk/jdwp/ThreadReference/OwnedMonitorsStackDepthInfo/ownedMonitorsStackDepthInfo001/ownedMonitorsStackDepthInfo001.java
vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Multi/Multi001/Multi001.java
vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Multi/Multi002/TestDescription.java
vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Multi/Multi003/TestDescription.java
vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Multi/Multi004/TestDescription.java
vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/Multi/Multi005/TestDescription.java
vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/SleepingThread/SleepingThread001/TestDescription.java
vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/SleepingThread/SleepingThread002/TestDescription.java
vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/SleepingThread/SleepingThread003/TestDescription.java
vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/SleepingThread/SleepingThread004/TestDescription.java
vmTestbase/nsk/monitoring/ThreadMXBean/ThreadInfo/SleepingThread/SleepingThread005/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace001/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace002/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace003/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace004/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace005/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace006/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace007/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace008/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace009/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace010/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace011/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace012/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace013/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace014/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace015/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace016/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace017/TestDescription.java
vmTestbase/nsk/monitoring/stress/thread/strace018/TestDescription.java
vmTestbase/nsk/stress/strace/strace003.java
vmTestbase/nsk/stress/strace/strace004.java
vmTestbase/nsk/stress/strace/strace005.java
vmTestbase/nsk/stress/strace/strace006.java