Skip to content

fix(l1): fix hive daily workflow #3804

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

Closed
wants to merge 6 commits into from
Closed

Conversation

santiago-MV
Copy link
Contributor

Motivation

Some weeks ago the hive daily report stopped running

Description

The problem was that the Ethereum Execution Spec Test Repo wasn't pinned in the workflow, now it's pinned to the release v4.5.0. Also the docker.nocache flag was set for the eest tests, without this flag there was a problem with the fixtures needed for the tests

With this changes the daily report work, but there amount of test that are being ran in the Consume Engine test has increase and there are failing tests, some test that used to work are no longer working. Link

Closes #3674

Copy link

Lines of code report

Total lines added: 87
Total lines removed: 61
Total lines changed: 148

Detailed view
+--------------------------------------------------------+-------+------+
| File                                                   | Lines | Diff |
+--------------------------------------------------------+-------+------+
| ethrex/crates/l2/based/block_fetcher.rs                | 507   | +17  |
+--------------------------------------------------------+-------+------+
| ethrex/crates/l2/based/state_updater.rs                | 268   | +9   |
+--------------------------------------------------------+-------+------+
| ethrex/crates/l2/monitor/app.rs                        | 424   | +15  |
+--------------------------------------------------------+-------+------+
| ethrex/crates/l2/sequencer/block_producer.rs           | 195   | +10  |
+--------------------------------------------------------+-------+------+
| ethrex/crates/l2/sequencer/l1_committer.rs             | 551   | +12  |
+--------------------------------------------------------+-------+------+
| ethrex/crates/l2/sequencer/l1_proof_sender.rs          | 315   | +7   |
+--------------------------------------------------------+-------+------+
| ethrex/crates/l2/sequencer/l1_watcher.rs               | 345   | +8   |
+--------------------------------------------------------+-------+------+
| ethrex/crates/l2/sequencer/metrics.rs                  | 152   | +9   |
+--------------------------------------------------------+-------+------+
| ethrex/crates/l2/sequencer/proof_coordinator.rs        | 534   | -6   |
+--------------------------------------------------------+-------+------+
| ethrex/crates/networking/p2p/rlpx/connection/codec.rs  | 201   | -11  |
+--------------------------------------------------------+-------+------+
| ethrex/crates/networking/p2p/rlpx/connection/server.rs | 742   | -2   |
+--------------------------------------------------------+-------+------+
| ethrex/crates/vm/levm/runner/src/main.rs               | 239   | -29  |
+--------------------------------------------------------+-------+------+
| ethrex/crates/vm/levm/src/precompiles.rs               | 1007  | -13  |
+--------------------------------------------------------+-------+------+

@santiago-MV santiago-MV marked this pull request as ready for review July 24, 2025 12:56
@santiago-MV santiago-MV requested a review from a team as a code owner July 24, 2025 12:56
@@ -85,7 +87,7 @@ jobs:
fi

- name: Run Hive Simulation
run: cd hive && ./hive --client-file ../fixtures/network/hive_clients/ethrex.yml --client ethrex --sim ${{ matrix.test.simulation }} --sim.parallelism 16 ${{ env.HIVE_FLAGS }} --sim.loglevel 1
run: cd hive && ./hive --client-file ../fixtures/network/hive_clients/ethrex.yml --client ethrex --sim ${{ matrix.test.simulation }} --sim.buildarg branch=${{ env.ETHEREUM_EXECUTION_SPEC_TEST_VERSION }} --sim.parallelism 16 ${{ env.HIVE_FLAGS }} --sim.loglevel 1 --docker.nocache "ethereum/eest/*"
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is --docker.nocache "ethereum/eest/*" needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The eest tests were failing to read from cache the fixtures (Dockerfile) and the docker image for those simulators couldn't be built
This flag avoids that read, the image was built and the test finished running

@@ -85,7 +87,7 @@ jobs:
fi

- name: Run Hive Simulation
run: cd hive && ./hive --client-file ../fixtures/network/hive_clients/ethrex.yml --client ethrex --sim ${{ matrix.test.simulation }} --sim.parallelism 16 ${{ env.HIVE_FLAGS }} --sim.loglevel 1
run: cd hive && ./hive --client-file ../fixtures/network/hive_clients/ethrex.yml --client ethrex --sim ${{ matrix.test.simulation }} --sim.buildarg branch=${{ env.ETHEREUM_EXECUTION_SPEC_TEST_VERSION }} --sim.parallelism 16 ${{ env.HIVE_FLAGS }} --sim.loglevel 1 --docker.nocache "ethereum/eest/*"
Copy link
Collaborator

Choose a reason for hiding this comment

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

This seems to overwrite @JereSalo HIVE_FLAGS

@mpaulucci
Copy link
Collaborator

Closing in favor of #3833

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L1 Ethereum client
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Fix daily Hive tests job
2 participants