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

Flaky Test: CoordinatorGrpcTest.rpcMetricsTest #244

Closed
2 of 3 tasks
zuston opened this issue Sep 27, 2022 · 2 comments · Fixed by #1251
Closed
2 of 3 tasks

Flaky Test: CoordinatorGrpcTest.rpcMetricsTest #244

zuston opened this issue Sep 27, 2022 · 2 comments · Fixed by #1251

Comments

@zuston
Copy link
Member

zuston commented Sep 27, 2022

Code of Conduct

Search before asking

  • I have searched in the issues and found no similar issues.

Describe the flaky test

CoordinatorGrpcTest.rpcMetricsTest

Actions URL

https://github.com/apache/incubator-uniffle/actions/runs/3126470728/attempts/1

Parent issue

Are you willing to submit PR?

  • Yes I am willing to submit a PR!
@zuston
Copy link
Member Author

zuston commented Oct 11, 2022

Closed. Solved in #256

@zuston zuston closed this as completed Oct 11, 2022
jerqi pushed a commit that referenced this issue Dec 13, 2022
…uge` (#404)

### What changes were proposed in this pull request?
Fix incorrect usage of `GRPCMetrics#setGauge`

### Why are the changes needed?
It is a bug #244 #388 

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
No need
@zhengchenyu
Copy link
Collaborator

zhengchenyu commented Oct 20, 2023

There is another test error related to CoordinatorGrpcTest.(https://github.com/apache/incubator-uniffle/actions/runs/6584732533/job/17889841948?pr=1250) I don’t think it is necessary to open another issue. Let’s discuss it here.

[INFO] Running org.apache.uniffle.test.CoordinatorGrpcTest
Error:  Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 23.078 s <<< FAILURE! - in org.apache.uniffle.test.CoordinatorGrpcTest
Error:  rpcMetricsTest  Time elapsed: 1.07 s  <<< FAILURE!
org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:40)
	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:35)
	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:179)
	at org.apache.uniffle.test.CoordinatorGrpcTest.rpcMetricsTest(CoordinatorGrpcTest.java:344)
	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 org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
	...

I reproduce this problem when increase "rss.server.heartbeat.interval" and sleep before assign oldValue.
We can not guarantee that two more heartbeat. I can only guarantee that two or more heartbeat after wait two shuffle server register.

zhengchenyu added a commit to zhengchenyu/incubator-uniffle that referenced this issue Oct 20, 2023
jerqi pushed a commit that referenced this issue Oct 20, 2023
### What changes were proposed in this pull request?

Fix test

### Why are the changes needed?

Fix: #244 

### Does this PR introduce _any_ user-facing change?


No.

### How was this patch tested?

unit test
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

Successfully merging a pull request may close this issue.

2 participants