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

Kill running acceptance test nodes on error, and show their output #1770

Merged
merged 1 commit into from
Feb 18, 2021

Conversation

teor2345
Copy link
Contributor

Motivation

When our CI fails some acceptance tests, we don't get enough output to diagnose the error.

Solution

  • Kill running acceptance test nodes on any error
  • Show the output from those nodes.

These changes help us diagnose errors that happen while one or more acceptance test nodes are running.

The code in this pull request has:

  • Documentation Comments

Review

This is pretty important, because it helps diagnose bugs like #1765 and #1769.

Related Issues

Diagnostics for #1765
Diagnostics for #1769

#1766 provides diagnostics in zebrad code, this PR prints them when the test errors.

Follow Up Work

Actually fix the bugs causing the CI failures.

And show the output from those nodes.

These changes help us diagnose errors that happen while one or more
acceptance test nodes are running.
@teor2345 teor2345 added A-rust Area: Updates to Rust code C-enhancement Category: This is an improvement P-High I-integration-fail Continuous integration fails, including build and test failures labels Feb 18, 2021
@teor2345 teor2345 requested a review from a team February 18, 2021 01:10
@teor2345 teor2345 self-assigned this Feb 18, 2021
Copy link
Contributor

@oxarbitrage oxarbitrage left a comment

Choose a reason for hiding this comment

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

Looks good, approving as i will like to see it in action.

@teor2345
Copy link
Contributor Author

The test failure is Testnet, which will be fixed by #1222

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rust Area: Updates to Rust code C-enhancement Category: This is an improvement I-integration-fail Continuous integration fails, including build and test failures
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants