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

fix(ethereum_clis): Retry on connection error in _evaluate_server() for EELS daemon #905

Merged

Conversation

petertdavies
Copy link
Contributor

@petertdavies petertdavies commented Oct 21, 2024

🗒️ Description

There appears to be a brief delay between the Unix socket file being created and connections being accepted on the socket. This may be the cause of sporadic CI failures with the EELS daemon.

This PR adds a check to start_server() to see if the EELS daemon has actually started accepting connections.

🔗 Related Issues

Resolves #852

✅ Checklist

  • All: Set appropriate labels for the changes.
  • All: Added an entry to CHANGELOG.md.

Copy link
Member

@marioevz marioevz left a comment

Choose a reason for hiding this comment

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

Thanks! Just one comment.
And also I think a rebase is necessary due to the conflict with latest main branch.

src/ethereum_clis/clis/execution_specs.py Outdated Show resolved Hide resolved
Copy link
Member

@marioevz marioevz left a comment

Choose a reason for hiding this comment

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

Thanks!

@marioevz marioevz changed the title fix(ethereum_clis): Wait for connections to be accepted in start_server() for EELS daemon fix(ethereum_clis): Retry on connection error in _evaluate_server() for EELS daemon Oct 30, 2024
@marioevz marioevz merged commit c97602d into ethereum:main Oct 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug(ci): debug & fix tox -e tests fails with python 3.10 - reenable 3.10 matrix config in CI
2 participants