-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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 in robustness test history patching #19303
Comments
The panic is caused by a patched The root cause comes from adjusting put return time when there are multiple wal entries having same put requests (same key and value). The put request for this specific case is etcd/tests/robustness/validate/patch_history.go Lines 207 to 229 in ad33010
|
Makes sense, thanks for looking into @joshuazh-x ! |
Bug report criteria
What happened?
Test https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/ci-etcd-robustness-release35-amd64/1883794260398968832 failed with panic
panic: interface conversion: interface {} is nil, not model.EtcdRequest
Issue is reproducible locally from the report showing failed linearizaiton.
However, when I disabled history patching I got linearization success, implying that there is a bug in history patching.
What did you expect to happen?
Robustness test validation should not panic
How can we reproduce it (as minimally and precisely as possible)?
Follow instructions https://github.com/etcd-io/etcd/tree/main/tests/robustness#re-evaluate-existing-report on artifact from https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/ci-etcd-robustness-release35-amd64/1883794260398968832
Anything else we need to know?
No response
Etcd version (please run commands below)
Etcd configuration (command line flags or environment variables)
paste your configuration here
Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)
Relevant log output
The text was updated successfully, but these errors were encountered: