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

Diagnostics for listener conflict CI failures #1766

Merged
merged 1 commit into from
Feb 18, 2021

Conversation

teor2345
Copy link
Contributor

@teor2345 teor2345 commented Feb 17, 2021

Motivation

The zebrad listener conflict tests are failing occasionally, and we're not quite sure why.

See #1765 for details.

Solution

  • Add a "Trying" log before every listener bind, to see if the bind is delayed
  • Log the configured and actual address where possible

Review

These CI diagnostics are important, it will be hard to diagnose #1765 without them.

Related Issues

This PR adds diagnostics for #1765, but it doesn't fix it.

This is a follow up to #1736, which did not fix the CI failures. But it might have made them less frequent.

Follow Up Work

Actually fix the bug in #1765.

@teor2345 teor2345 added C-bug Category: This is a bug 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 17, 2021
@teor2345 teor2345 added this to the 2021 Sprint 3 milestone Feb 17, 2021
@teor2345 teor2345 requested a review from a team February 17, 2021 02:52
@teor2345 teor2345 self-assigned this Feb 17, 2021
dconnolly
dconnolly previously approved these changes Feb 17, 2021
@teor2345
Copy link
Contributor Author

The test failure is now #1769, with a diagnostics PR #1770

Log a "Trying..." message before each listener opens, to see if the
delay is inside Zebra, or in the test harness or OS.

Also report the configured and actual ports where possible, for better
diagnostics.
@teor2345
Copy link
Contributor Author

I rebased to drop unrelated commits.

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.

I think this is good to have.

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-bug Category: This is a bug 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.

3 participants