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

e2e: more debugging output for lock and elect tests #7881

Merged
merged 3 commits into from
May 12, 2017

Conversation

heyitsanthony
Copy link
Contributor

Dump all console output and SIGQUIT data to debug #6464 and #6934.

Copy link
Contributor

@gyuho gyuho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@fanminshi
Copy link
Member

lgtm


func testElect(cx ctlCtx) {
// debugging for #6934
for _, p := range cx.epc.procs {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create a func to do this so we do not need to repeat ourselves twice?

@xiang90
Copy link
Contributor

xiang90 commented May 8, 2017

LGTM. Thanks!

@heyitsanthony heyitsanthony force-pushed the testctl-logging branch 6 times, most recently from c44cc22 to f0a5057 Compare May 10, 2017 20:22
Lets e2e test cases selectively turn on expect debugging to get
full application output written to stdout.
Anthony Romano added 2 commits May 12, 2017 10:22
Meant to debug etcd-io#6464 and etcd-io#6934

Dumps the output from the etcd/etcdctl servers and SIGQUITs to get a
golang backtrace in case of a hanged process.
@heyitsanthony heyitsanthony merged commit 6ce9aed into etcd-io:master May 12, 2017
@heyitsanthony heyitsanthony deleted the testctl-logging branch May 22, 2017 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants