-
Notifications
You must be signed in to change notification settings - Fork 108
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 flaky kill_before_submit test for lsf #8807
Fix flaky kill_before_submit test for lsf #8807
Conversation
encoding="utf-8", | ||
) | ||
job_path.chmod(job_path.stat().st_mode | stat.S_IEXEC) | ||
|
||
# Allow submit and kill to be interleaved by asyncio by issuing | ||
# submit() in its own asyncio Task: | ||
asyncio.create_task( | ||
driver.submit( | ||
# The sleep is the time window in which we can kill the job before |
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.
comment on sleep is now irrelevant.
dfd04fe
to
f0ed313
Compare
Has this been tested "live" on real compute clusters? |
Not yet :D. I'll try it. |
@berland Just checked and it worked to run this on tgx. |
ccc2012
to
29ae1e6
Compare
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.
Lets roll! 🛼
29ae1e6
to
bbd929a
Compare
@berland Seems like there is actually something wrong with the slurm driver: https://github.com/equinor/ert/actions/runs/11105990094/job/30853371751?pr=8807#step:8:141 The logs seem to indicate that the realization is marked as successful even though it is killed. |
43c2bf4
to
6089acb
Compare
6089acb
to
2b9c6d3
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8807 +/- ##
==========================================
+ Coverage 91.31% 91.37% +0.05%
==========================================
Files 342 342
Lines 21028 21028
==========================================
+ Hits 19202 19214 +12
+ Misses 1826 1814 -12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
git rebase -i main --exec 'pytest tests/ert/unit_tests -n logical -m "not integration_test"'
)When applicable