-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Automated cherry pick of #11652 #11670 #11710 #11752
Automated cherry pick of #11652 #11670 #11710 #11752
Conversation
Could you help take a look at the failed e2e test?
|
semaphoreci is flaky. travis ci seems ok. can it be retested? local test is ok. |
semaphore ci and travis ci are actually testing different sets of tests. I have not noticed this particular test been flaky in the past. Plus, the test is auth related. Therefore I asked, just want to make sure. |
got it thanks. semaphore ci failed to pass due to test timeout. I checked again without changing the auth role logic. I can't trigger it to retest. |
34aa9bf
to
9bb4d5a
Compare
I do not know how to trigger retest neither. Did you try with the same test command as semaphore ci? e.g. |
thanks. i will take a try. It seems that this PR merge 3.4 will sometimes cause auth operation timeout, and it looks weird, I need to investigate further. |
f8df6b6
to
2bc5116
Compare
@jingyih zap logger may be nil in release-3.4 so it will cause etcd crash and command timeout. fixed it. your judgment is accurate, thanks. |
Good catch! Thanks! I am thinking if there is a way to auto check for this kind of bug in the future when we backport. Do you have any suggestion? Basically 3.5+ eliminated nil checking on logger, but 3.4 still needs it. |
2bc5116
to
b733b22
Compare
it needs a tool such as error check. can we modify cherry-pick script to add some tips? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -0,0 +1,42 @@ | |||
// Copyright 2015 The etcd Authors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit, this is a new file, we should have used year 2020 here (instead of 2015) for an easy future reference of when the file was created. Considering this is cherry pick, doing a separate PR in the master and then cherry pick it would be nice. Thanks!
@jingyih awesome job, as usual :), reviewing the original changes and @tangcong great job with the PR. I had a quick look and a small inline comment that can be addressed separately. The build failure seems not related. From cherry pick perspective it looks good to me. Thanks both! |
Cherry pick of #11652 #11670 #11710 on release-3.4.
#11652: *: fix auth revision corruption bug
#11670: optimize auth/etcdserver logs to facilitate troubleshooting data inconsistency
#11710: auth: ensure RoleGrantPermission is compatible with older