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

Have ensemble fail early when problems on initial connection to ensemble evaluator #9139

Merged
merged 1 commit into from
Nov 27, 2024

Conversation

jonathan-eq
Copy link
Contributor

@jonathan-eq jonathan-eq commented Nov 4, 2024

This commit fixes the issue where monitor would be hanging for 120 seconds until timeout even if wait_for_evaluator already failed in the receiver task.

Before this commit, the tests would also be hanging if firewall issues, now they all fail instead which is the desired behavior.
image

Issue
Resolves #9124

Approach
⛵ 🌊
(Screenshot of new behavior in GUI if applicable)

Screen.Recording.2024-11-04.at.13.49.41.mov
  • PR title captures the intent of the changes, and is fitting for release notes.
  • Added appropriate release note label
  • Commit history is consistent and clean, in line with the contribution guidelines.
  • Make sure unit tests pass locally after every commit (git rebase -i main --exec 'pytest tests/ert/unit_tests -n logical -m "not integration_test"')

When applicable

  • When there are user facing changes: Updated documentation
  • New behavior or changes to existing untested code: Ensured that unit tests are added (See Ground Rules).
  • Large PR: Prepare changes in small commits for more convenient review
  • Bug fix: Add regression test for the bug
  • Bug fix: Create Backport PR to latest release

@jonathan-eq jonathan-eq added the release-notes:bug-fix Automatically categorise as bug fix in release notes label Nov 4, 2024
@jonathan-eq jonathan-eq self-assigned this Nov 4, 2024
@jonathan-eq jonathan-eq force-pushed the fix-firewall-issue-reporting branch 3 times, most recently from 6d89bdb to 5de2c3b Compare November 4, 2024 13:05
@codecov-commenter
Copy link

codecov-commenter commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.77%. Comparing base (a7559fd) to head (dc328e3).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9139      +/-   ##
==========================================
+ Coverage   90.75%   90.77%   +0.01%     
==========================================
  Files         352      352              
  Lines       21934    21938       +4     
==========================================
+ Hits        19906    19914       +8     
+ Misses       2028     2024       -4     
Flag Coverage Δ
cli-tests 39.23% <55.55%> (-0.01%) ⬇️
gui-tests 71.74% <55.55%> (-0.01%) ⬇️
performance-tests 49.37% <55.55%> (-0.01%) ⬇️
unit-tests 79.68% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jonathan-eq jonathan-eq force-pushed the fix-firewall-issue-reporting branch 2 times, most recently from 76beae0 to 31f3f0c Compare November 11, 2024 11:09
This commit fixes the issue where monitor would be hanging for 120 seconds until timeout even if `wait_for_evaluator` already failed in the receiver task.
@jonathan-eq jonathan-eq force-pushed the fix-firewall-issue-reporting branch from 31f3f0c to dc328e3 Compare November 11, 2024 14:46
Copy link
Contributor

@dafeda dafeda left a comment

Choose a reason for hiding this comment

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

Tested and works. Good work 👍

@jonathan-eq jonathan-eq merged commit 98ed2ae into equinor:main Nov 27, 2024
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-notes:bug-fix Automatically categorise as bug fix in release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ERT hangs on mac when not given firewall permissions
3 participants