-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Test: TestIssue3699 times out #5452
Comments
@heyitsanthony @AkihiroSuda Can you try to reproduce this? I cannot... :( |
I can easily hit this failure without doing anything special
Is this identical to the timeout you mentioned here? |
@AkihiroSuda Can you try to reproduce this withe logging enabled? (set https://github.com/coreos/etcd/blob/master/integration/v2_http_kv_test.go#L35 to debug) |
Attached the log: test1.txt Interestingly I could not reproduce the failure (tested 1k times) when I enabled logging, perhaps due to the affect of logging or something else to scheduling. So I used Namazu testing tool (recently @mitake talked about this at CoreOS Fest) for increasing reproducibility by setting random scheduling attributes to Linux LWPs. I think the result is still reliable because it just calls |
@AkihiroSuda From the log you provided, I think the failure is just a false-alarm. The timeout in the test is bad, which is 10 seconds. If there is even one election happened during the last part of the test, the test will fail. There is a 5 seconds per request timeout in the last part. So if the test misses one request, then it might not be able to try again. I verified that from the log you provided. I do not think there is anything we can do except to either make the election timeout longer (which we do if we test it on slow CI) or make the timeout of this test longer (from 10 seconds to 20 seconds at https://github.com/coreos/etcd/blob/master/integration/cluster_test.go#L330?) Can you give a try to either make the election timeout longer or test timeout longer on your env? However this is different than the one in my original comment. |
OK... After some debugging, this test failure only happens in #5468. And the new commits are the root cause. Closing this one since master branch is OK. |
The text was updated successfully, but these errors were encountered: