dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.21k stars 497 forks source link

-Xcomp -XX:TieredStopAtLevel=1选项自研用例com/alibaba/wisp2/RcmWispControlGroupPreemptTest.java随机失败 #535

Open Accelerator1996 opened 1 year ago

Accelerator1996 commented 1 year ago

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

STDERR:

ACTION: main -- Failed. Execution failed: `main' threw exception: java.util.concurrent.ExecutionException: java.lang.RuntimeException: preempt doesn't happen in the wispTask container!!!
REASON: User specified action: run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseWisp2 -XX:ActiveProcessorCount=4 RcmWispControlGroupPreemptTest 
TIME:   5.96 seconds
messages:
command: main -XX:+UnlockExperimentalVMOptions -XX:+UseWisp2 -XX:ActiveProcessorCount=4 RcmWispControlGroupPreemptTest
reason: User specified action: run main/othervm -XX:+UnlockExperimentalVMOptions -XX:+UseWisp2 -XX:ActiveProcessorCount=4 RcmWispControlGroupPreemptTest 
Mode: othervm [/othervm specified]
elapsed time (seconds): 5.96
configuration:
STDOUT:
STDERR:
java.util.concurrent.ExecutionException: java.lang.RuntimeException: preempt doesn't happen in the wispTask container!!!
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    at RcmWispControlGroupPreemptTest.main(RcmWispControlGroupPreemptTest.java:61)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
    at java.lang.Thread.run(Thread.java:855)
    at com.alibaba.wisp.engine.WispTask.runOutsideWisp(WispTask.java:299)
    at com.alibaba.wisp.engine.WispTask.runCommand(WispTask.java:274)
    at com.alibaba.wisp.engine.WispTask.access$100(WispTask.java:53)
    at com.alibaba.wisp.engine.WispTask$CacheableCoroutine.run(WispTask.java:241)
    at java.dyn.CoroutineBase.startInternal(CoroutineBase.java:62)
Caused by: java.lang.RuntimeException: preempt doesn't happen in the wispTask container!!!
    at jdk.testlibrary.Asserts.error(Asserts.java:438)
    at jdk.testlibrary.Asserts.assertTrue(Asserts.java:407)
    at RcmWispControlGroupPreemptTest.lambda$getFutureTask$0(RcmWispControlGroupPreemptTest.java:40)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.lang.Thread.run(Thread.java:855)
    at com.alibaba.wisp.engine.WispTask.runOutsideWisp(WispTask.java:299)
    at com.alibaba.wisp.engine.WispTask.lambda$wrapRunOutsideWisp$0(WispTask.java:303)
    at com.alibaba.rcm.internal.AbstractResourceContainer.run(AbstractResourceContainer.java:99)
    at com.alibaba.wisp.engine.WispTask.runCommand(WispTask.java:272)
    ... 3 more

JavaTest Message: Test threw exception: java.util.concurrent.ExecutionException: java.lang.RuntimeException: preempt doesn't happen in the wispTask container!!!
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.util.concurrent.ExecutionException: java.lang.RuntimeException: preempt doesn't happen in the wispTask container!!!
rerun:
cd /tmp/tone/run/jtreg/jt-work/jdk_test/com/alibaba/wisp2/RcmWispControlGroupPreemptTest && \
DISPLAY=:7 \
HOME=/home/testUserForTone \
LANG=C \
LC_CTYPE=C.UTF-8 \
PATH=/bin:/usr/bin:/usr/sbin \
CLASSPATH=/tmp/tone/run/jtreg/jt-work/jdk_test/classes/76/com/alibaba/wisp2:/tmp/tone/run/jtreg/jdk-repo/jdk/test/com/alibaba/wisp2:/tmp/tone/run/jtreg/jt-work/jdk_test/classes/76/lib/testlibrary:/tmp/tone/run/jtreg/jdk-repo/jdk/test/lib/testlibrary:/tmp/tone/run/jtreg/binary-download/dragonwell-8.14.15/lib/tools.jar:/tmp/tone/run/jtreg/jtreg/lib/javatest.jar:/tmp/tone/run/jtreg/jtreg/lib/jtreg.jar \
    /tmp/tone/run/jtreg/binary-download/dragonwell-8.14.15/bin/java \
        -Dtest.vm.opts='-Djdk.lang.processReaperUseDefaultStackSize=true -Xcomp -XX:TieredStopAtLevel=1 -ea -esa' \
        -Dtest.tool.vm.opts='-J-Djdk.lang.processReaperUseDefaultStackSize=true -J-Xcomp -J-XX:TieredStopAtLevel=1 -J-ea -J-esa' \
        -Dtest.compiler.opts= \
        -Dtest.java.opts= \
        -Dtest.jdk=/tmp/tone/run/jtreg/binary-download/dragonwell-8.14.15 \
        -Dcompile.jdk=/tmp/tone/run/jtreg/binary-download/dragonwell-8.14.15 \
        -Dtest.timeout.factor=4.0 \
        -Dtest.root=/tmp/tone/run/jtreg/jdk-repo/jdk/test \
        -Dtest.name=com/alibaba/wisp2/RcmWispControlGroupPreemptTest.java \
        -Dtest.file=/tmp/tone/run/jtreg/jdk-repo/jdk/test/com/alibaba/wisp2/RcmWispControlGroupPreemptTest.java \
        -Dtest.src=/tmp/tone/run/jtreg/jdk-repo/jdk/test/com/alibaba/wisp2 \
        -Dtest.src.path=/tmp/tone/run/jtreg/jdk-repo/jdk/test/com/alibaba/wisp2:/tmp/tone/run/jtreg/jdk-repo/jdk/test/lib/testlibrary \
        -Dtest.classes=/tmp/tone/run/jtreg/jt-work/jdk_test/classes/76/com/alibaba/wisp2 \
        -Dtest.class.path=/tmp/tone/run/jtreg/jt-work/jdk_test/classes/76/com/alibaba/wisp2:/tmp/tone/run/jtreg/jt-work/jdk_test/classes/76/lib/testlibrary \
        -Djdk.lang.processReaperUseDefaultStackSize=true \
        -Xcomp \
        -XX:TieredStopAtLevel=1 \
        -ea \
        -esa \
        -XX:+UnlockExperimentalVMOptions \
        -XX:+UseWisp2 \
        -XX:ActiveProcessorCount=4 \
        com.sun.javatest.regtest.agent.MainWrapper /tmp/tone/run/jtreg/jt-work/jdk_test/com/alibaba/wisp2/RcmWispControlGroupPreemptTest.d/main.0.jta

TEST RESULT: Failed. Execution failed: `main' threw exception: java.util.concurrent.ExecutionException: java.lang.RuntimeException: preempt doesn't happen in the wispTask container!!!

重跑未复现

cmdline: ./dragonwell-8.14.15/bin/java -jar jtreg/lib/jtreg.jar -vmoptions:"-Djdk.lang.processReaperUseDefaultStackSize=true -Xcomp -XX:TieredStopAtLevel=1 "  -a -ea -esa -retain:fail,error,*.dmp,javacore.*,heapdump.*,*.trc -ignore:quiet -xml:verify -v:fail,error  -timeoutFactor:4 jdk/test/com/alibaba/wisp2/RcmWispControlGroupPreemptTest.java