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] RcmCpuTest.java随机失败 #364

Closed
sendaoYan opened this issue Jul 26, 2022 · 0 comments
Closed

[Bug] RcmCpuTest.java随机失败 #364

sendaoYan opened this issue Jul 26, 2022 · 0 comments

Comments

@sendaoYan
Copy link
Collaborator

Description
RcmCpuTest.java随机失败

Steps to Reproduce
Steps to reproduce the behavior:

test=jdk/test/com/alibaba/rcm/RcmCpuTest.java
rm -rf tmp-jtreg ; mkdir -p tmp-jtreg ; seq 100 | xargs -i -n 1 -P `nproc` bash -c "jtreg -timeoutFactor:1 -v:fail,error,time,nopass -nr -w tmp-jtreg/index-{} $test &> tmp-jtreg/{}.log ; grep 'Test results: passed: 1' -L tmp-jtreg/{}.log"

result
https://github.com/alibaba/dragonwell8/runs/7519169876?check_suite_focus=true

STDOUT:
start-0
start-1
done-1
done-0
STDERR:
java.lang.RuntimeException: deviation is out of reasonable scope
	at jdk.testlibrary.Asserts.error(Asserts.java:438)
	at jdk.testlibrary.Asserts.assertTrue(Asserts.java:407)
	at jdk.testlibrary.Asserts.assertLessThan(Asserts.java:86)
	at jdk.testlibrary.Asserts.assertLT(Asserts.java:64)
	at RcmCpuTest.main(RcmCpuTest.java:67)
	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:4[98](https://github.com/alibaba/dragonwell8/runs/7519169876?check_suite_focus=true#step:6:99))
	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:2[99](https://github.com/alibaba/dragonwell8/runs/7519169876?check_suite_focus=true#step:6:100))
	at com.alibaba.wisp.engine.WispTask.runCommand(WispTask.java:274)
	at com.alibaba.wisp.engine.WispTask.access$[100](https://github.com/alibaba/dragonwell8/runs/7519169876?check_suite_focus=true#step:6:101)(WispTask.java:53)
	at com.alibaba.wisp.engine.WispTask$CacheableCoroutine.run(WispTask.java:241)
	at java.dyn.CoroutineBase.startInternal(CoroutineBase.java:62)

Expected behavior
run pass everytime

JDK version

openjdk version "1.8.0_332"
OpenJDK Runtime Environment (Alibaba Dragonwell 8.11.12) (build 1.8.0_332-b01)
OpenJDK 64-Bit Server VM (Alibaba Dragonwell 8.11.12) (build 25.332-b01, mixed mode)

Execution environment
image

sendaoYan added a commit that referenced this issue Jul 28, 2022
Summary: fix testcase bug com/alibaba/rcm/RcmCpuTest.java, which run fail intermittently

Test Plan: CI pipeline

Reviewed-by: lei.yul, lvfei.lv

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