dragonwell8 icon indicating copy to clipboard operation
dragonwell8 copied to clipboard

[Bug] jdk/test/com/alibaba/wisp/thread/PreemptTest.java在linux-aarch64平台上随机失败

Open sendaoYan opened this issue 2 years ago • 0 comments

jdk/test/com/alibaba/wisp/thread/PreemptTest.java在linux-aarch64平台上随机失败:

失败概率:21/50

测试命令:

test=jdk/test/com/alibaba/wisp/thread/PreemptTest.java 
nproc=`nproc` ; dir="tmp-jtreg-"`basename $test .java` ; rm -rf $dir ; mkdir -p $dir ; time seq 50 | xargs -i -n 1 -P `expr $nproc / 2` bash -c "jtreg -timeoutFactor:8 -v:fail,error,time,nopass -nr -w $dir/index-{} $test &> $dir/{}.log ; grep 'Test results: passed: 1' -L $dir/{}.log"
java.lang.RuntimeException: Expected value to be true
	at jdk.testlibrary.Asserts.error(Asserts.java:438)
	at jdk.testlibrary.Asserts.assertTrue(Asserts.java:407)
	at jdk.testlibrary.Asserts.assertTrue(Asserts.java:395)
	at PreemptTest.doTest(PreemptTest.java:51)
	at PreemptTest.main(PreemptTest.java:44)
	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)

image

sanity.openjdk.log

sendaoYan avatar Aug 02 '22 11:08 sendaoYan