Skip to content

feat(plugins/consume): Check port 8551 on Engine API tests#1095

Merged
danceratopz merged 3 commits intomainfrom
consume-check-engine-api-port
Jan 21, 2025
Merged

feat(plugins/consume): Check port 8551 on Engine API tests#1095
danceratopz merged 3 commits intomainfrom
consume-check-engine-api-port

Conversation

@marioevz
Copy link
Copy Markdown
Member

@marioevz marioevz commented Jan 20, 2025

🗒️ Description

Use the "HIVE_CHECK_LIVE_PORT" client environment value when starting a client for an Engine API test in the consume command.

This seems to be a recurrent issue when instantiating parallel client containers for hive runs, as it can be seen in https://hive.pectra-devnet-5.ethpandaops.io/suite.html?suiteid=1737336360-cdc9f3b55f2e828c17ab8b6c364934e8.json&suitename=eest%2Fconsume-engine#

The solution suggested by this PR is to signal hive to wait for the Engine API port (8551) instead of the RPC port (8545) before returning the client to the simulator (consume).

🔗 Related Issues

None

✅ Checklist

  • All: Set appropriate labels for the changes.
  • All: Considered squashing commits to improve commit history.
  • All: Added an entry to CHANGELOG.md.
  • All: Considered updating the online docs in the ./docs/ directory.
  • Tests: All converted JSON/YML tests from ethereum/tests have been added to converted-ethereum-tests.txt.
  • Tests: A PR with removal of converted JSON/YML tests from ethereum/tests have been opened.
  • Tests: Included the type and version of evm t8n tool used to locally execute test cases: e.g., ref with commit hash or geth 1.13.1-stable-3f40e65.
  • Tests: Ran mkdocs serve locally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.

@marioevz marioevz added type:bug Something isn't working scope:consume Scope: Consume command suite labels Jan 20, 2025
Copy link
Copy Markdown
Member

@danceratopz danceratopz left a comment

Choose a reason for hiding this comment

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

Great catch! ❤️

Excuse me being pedantic, but I'd prefer not to shadow an existing fixture and keep the client startup config in one place. Made a suggestion in #1098.

* Revert "feat(plugins/consume): Check 8551 port on Engine tests"

This reverts commit e248a3b.

* style(consume): string formatting auto-fixes from ruff

* style(consume): use one-liner docstrings.

* fix(consume): configure HIVE_CHECK_LIVE_PORT via dedicated fixture
Copy link
Copy Markdown
Member

@danceratopz danceratopz left a comment

Choose a reason for hiding this comment

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

LGTM!

@danceratopz danceratopz merged commit 2600598 into main Jan 21, 2025
@danceratopz danceratopz deleted the consume-check-engine-api-port branch January 21, 2025 16:09
fselmo pushed a commit to fselmo/execution-spec-tests that referenced this pull request Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:consume Scope: Consume command suite type:bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants