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

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

Closed
sendaoYan opened this issue Aug 2, 2022 · 0 comments

Comments

@sendaoYan
Copy link
Collaborator

sendaoYan commented Aug 2, 2022

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 added a commit that referenced this issue Aug 3, 2022
Summary: disable wisp testcase com/alibaba/wisp/thread/PreemptTest.java by problemlist temporarily

Test Plan: CI pipeline

Reviewed-by: lei.yul, lvfei.lv

Issue: #388
Accelerator1996 pushed a commit that referenced this issue Oct 8, 2022
Summary: disable wisp testcase com/alibaba/wisp/thread/PreemptTest.java by problemlist temporarily

Test Plan: CI pipeline

Reviewed-by: lei.yul, lvfei.lv

Issue: #388
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