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

Remove overriding of tempfile.tempdir #9459

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

oyvindeide
Copy link
Collaborator

@oyvindeide oyvindeide commented Dec 5, 2024

Issue
When the jobs are executed on the cluster, /user/run/ is not set up, though XDG_RUNTIME_DIR points to it. This is not a problem for ert as it runs the main application locally, but is a problem for Everest where the main application runs on the cluster. So the way lsf logs in to the node is the reason.

Resolves: #9447

Approach
Short description of the approach

(Screenshot of new behavior in GUI if applicable)

  • 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

@codecov-commenter
Copy link

codecov-commenter commented Dec 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.87%. Comparing base (a144f88) to head (a24b6f0).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9459   +/-   ##
=======================================
  Coverage   91.87%   91.87%           
=======================================
  Files         433      433           
  Lines       26656    26652    -4     
=======================================
- Hits        24489    24487    -2     
+ Misses       2167     2165    -2     
Flag Coverage Δ
cli-tests 39.42% <0.00%> (+<0.01%) ⬆️
everest-models-test 34.81% <100.00%> (-0.01%) ⬇️
gui-tests 72.34% <100.00%> (-0.01%) ⬇️
integration-test 37.07% <100.00%> (-0.01%) ⬇️
performance-tests 52.06% <100.00%> (-0.01%) ⬇️
test 40.77% <100.00%> (+0.01%) ⬆️
unit-tests 74.03% <100.00%> (+<0.01%) ⬆️

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.

When the jobs are executed on the cluster, /user/run/<userid> is not set up,
though XDG_RUNTIME_DIR points to it. This is not a problem for ert as it
runs the main application locally, but is a problem for Everest where the
main application runs on the cluster. So the way lsf logs in to the node is the reason.
Copy link
Contributor

@DanSava DanSava left a comment

Choose a reason for hiding this comment

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

Looks good!

@oyvindeide oyvindeide merged commit b903bb0 into equinor:main Dec 5, 2024
39 checks passed
@oyvindeide oyvindeide deleted the remove_tmp_file_override branch December 5, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Everest not running on compute cluster
3 participants