-
Notifications
You must be signed in to change notification settings - Fork 811
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
[Merged by Bors] - Fix broken Nethermind integration tests #4836
Conversation
Thanks @macladson! I hijacked your branch and pushed some changes to get the latest version of Nethermind working. Enabling Shapella from genesis seems to have done the trick. I nicked some Nethermind config JSON from |
@@ -68,7 +68,8 @@ impl NethermindEngine { | |||
.join("bin") | |||
.join("Release") | |||
.join("net7.0") | |||
.join("Nethermind.Runner") | |||
.join("linux-x64") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this part of the path didn't exist on my machine, lets see if it exists on CI 🤞
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It no longer runs on macos though :(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
path on my machine: testing/execution_engine_integration/execution_clients/nethermind/src/Nethermind/Nethermind.Runner/bin/Release/net7.0/nethermind
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm deleting it. I think maybe this was why the job was failing
I ran into a panic locally due to "would clobber existing tag", and seems like I was running into this issue Adding the lighthouse/testing/execution_engine_integration/src/build_utils.rs Lines 65 to 68 in 726d1b0
|
Ah, the CI issue is due to us being out of disk space:
From: https://github.com/sigp/lighthouse/actions/runs/6514115416 |
Pushed a new commit to run the tests on the self-hosted runners. |
let tests_dir = execution_clients_dir.join("nethermind/src/tests"); | ||
if let Err(e) = fs::remove_dir_all(tests_dir) { | ||
eprintln!("Error while deleting folder: {}", e); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow just realized these are 2.44 GB on my machine, perhaps we don't even need to clone them in the first place? I think we can optionally exclude submodule during checkout:
lighthouse/testing/execution_engine_integration/src/build_utils.rs
Lines 44 to 49 in aee58b0
output_to_result( | |
Command::new("git") | |
.arg("submodule") | |
.arg("update") | |
.arg("--init") | |
.arg("--recursive") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good! I only have a small comment above wrt excluding the submodule checkout, but happy to address it in a separate PR, as this is already better than what we had
bors+ |
Oops missed an r! |
## Issue Addressed CI is currently blocked by persistently failing integration tests. ## Proposed Changes Use latest Nethermind release and apply the appropriate fixes as there have been breaking changes. Also increase the timeout since I had some local timeouts. Co-authored-by: Michael Sproul <[email protected]> Co-authored-by: antondlr <[email protected]> Co-authored-by: Jimmy Chen <[email protected]>
Build failed: |
bors retry |
bors r+ |
Already running a review |
## Issue Addressed CI is currently blocked by persistently failing integration tests. ## Proposed Changes Use latest Nethermind release and apply the appropriate fixes as there have been breaking changes. Also increase the timeout since I had some local timeouts. Co-authored-by: Michael Sproul <[email protected]> Co-authored-by: antondlr <[email protected]> Co-authored-by: Jimmy Chen <[email protected]>
Build failed (retrying...): |
## Issue Addressed CI is currently blocked by persistently failing integration tests. ## Proposed Changes Use latest Nethermind release and apply the appropriate fixes as there have been breaking changes. Also increase the timeout since I had some local timeouts. Co-authored-by: Michael Sproul <[email protected]> Co-authored-by: antondlr <[email protected]> Co-authored-by: Jimmy Chen <[email protected]>
@@ -317,17 +317,21 @@ jobs: | |||
./doppelganger_protection.sh success genesis.json | |||
execution-engine-integration-ubuntu: | |||
name: execution-engine-integration-ubuntu | |||
runs-on: ubuntu-latest | |||
runs-on: ${{ github.repository == 'sigp/lighthouse' && fromJson('["self-hosted", "linux", "CI", "small"]') || 'ubuntu-latest' }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've just realized that we're one runner short of running the entire workflow in parallel after adding this one, it may be worth considering adding one more runner instance.
Build failed (retrying...): |
## Issue Addressed CI is currently blocked by persistently failing integration tests. ## Proposed Changes Use latest Nethermind release and apply the appropriate fixes as there have been breaking changes. Also increase the timeout since I had some local timeouts. Co-authored-by: Michael Sproul <[email protected]> Co-authored-by: antondlr <[email protected]> Co-authored-by: Jimmy Chen <[email protected]>
Pull request successfully merged into unstable. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page.
|
## Issue Addressed CI is currently blocked by persistently failing integration tests. ## Proposed Changes Use latest Nethermind release and apply the appropriate fixes as there have been breaking changes. Also increase the timeout since I had some local timeouts. Co-authored-by: Michael Sproul <[email protected]> Co-authored-by: antondlr <[email protected]> Co-authored-by: Jimmy Chen <[email protected]>
Issue Addressed
CI is currently blocked by persistently failing integration tests.
Proposed Changes
Use latest Nethermind release and apply the appropriate fixes as there have been breaking changes.
Also increase the timeout since I had some local timeouts.