shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

Flaky Test: org.dromara.soul.metrics.prometheus.collector.JmxScraperTest

Open dengliming opened this issue 5 years ago • 3 comments

This test fails occasionally


[INFO] Running org.dromara.soul.metrics.prometheus.collector.JmxScraperTest
Error:  Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 393.186 s <<< FAILURE! - in org.dromara.soul.metrics.prometheus.collector.JmxScraperTest
Error:  org.dromara.soul.metrics.prometheus.collector.JmxScraperTest.testJmxScraperWithNonEmptyJmxUrlThenReceivedByReceiverDefaultExport  Time elapsed: 131.086 s  <<< ERROR!
java.rmi.ConnectException: 
Connection refused to host: 10.1.1.166; nested exception is: 
	java.net.ConnectException: Connection timed out (Connection timed out)
	at org.dromara.soul.metrics.prometheus.collector.JmxScraperTest.testJmxScraperWithNonEmptyJmxUrlThenReceivedByReceiverDefaultExport(JmxScraperTest.java:187)
Caused by: java.net.ConnectException: Connection timed out (Connection timed out)
	at org.dromara.soul.metrics.prometheus.collector.JmxScraperTest.testJmxScraperWithNonEmptyJmxUrlThenReceivedByReceiverDefaultExport(JmxScraperTest.java:187)

Error:  org.dromara.soul.metrics.prometheus.collector.JmxScraperTest.testJmxScraperWithNonEmptyJmxUrl  Time elapsed: 131.05 s  <<< ERROR!
java.rmi.ConnectException: 
Connection refused to host: 10.1.1.166; nested exception is: 
	java.net.ConnectException: Connection timed out (Connection timed out)
	at org.dromara.soul.metrics.prometheus.collector.JmxScraperTest.testJmxScraperWithNonEmptyJmxUrl(JmxScraperTest.java:140)
Caused by: java.net.ConnectException: Connection timed out (Connection timed out)
	at org.dromara.soul.metrics.prometheus.collector.JmxScraperTest.testJmxScraperWithNonEmptyJmxUrl(JmxScraperTest.java:140)

you can see full log detail https://github.com/dromara/soul/runs/2312656102?check_suite_focus=true

https://github.com/dromara/soul/pull/1225/checks?check_run_id=2310595614

dengliming avatar Apr 10 '21 12:04 dengliming

I'm willing to accept the task

zhaiweij avatar Apr 12 '21 03:04 zhaiweij

good luck to you!

yu199195 avatar Apr 12 '21 03:04 yu199195

can not test it , i will close it

yu199195 avatar Apr 13 '21 06:04 yu199195