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

Fix mkdir failures on hpc #1076

Merged
merged 2 commits into from
May 30, 2024
Merged

Fix mkdir failures on hpc #1076

merged 2 commits into from
May 30, 2024

Conversation

petersilva
Copy link
Contributor

@petersilva petersilva commented May 30, 2024

things that broke on HPC... and noticed a useless message.


[me@host ~]$ sr3 status
statehost
statehost
statehost
statehost
statehost
statehost
statehost
statehost
statehost
statehost
statehost
statehost
statehost
statehost
statehost
statehost
statehost
statehost
statehost
statehost
missing state for winnow/winnow-ss5-04
Traceback (most recent call last):
  File "/home/pas037/.local/bin/sr3", line 11, in <module>
    load_entry_point('metpx-sr3==3.0.53', 'console_scripts', 'sr3')()
  File "/usr/lib/python3.6/site-packages/sarracenia/sr.py", line 2963, in main
    gs = sr_GlobalState(cfg, cfg.configurations)
  File "/usr/lib/python3.6/site-packages/sarracenia/sr.py", line 1212, in __init__
    self._resolve()
  File "/usr/lib/python3.6/site-packages/sarracenia/sr.py", line 909, in _resolve
    os.mkdir(self.user_cache_dir + os.sep + c + os.sep + cfg)
FileExistsError: [Errno 17] File exists: '/home/pas037/.cache/sr3/winnow/winnow-ss5-04'
[me@host ~]$

Copy link

github-actions bot commented May 30, 2024

Test Results

246 tests   238 ✅  18s ⏱️
  1 suites    8 💤
  1 files      0 ❌

Results for commit 4ac239a.

♻️ This comment has been updated with latest results.

@petersilva petersilva marked this pull request as ready for review May 30, 2024 17:45
@petersilva petersilva merged commit 5981d51 into development May 30, 2024
48 of 67 checks passed
@petersilva petersilva added bug Something isn't working Design impacts API, or code structure changes Priority 2 - Critical High Criticality or High Visibility Problem regression Broke something that was working before. HPC related to hich performance computing mirroing use case crasher Crashes entire app. labels May 31, 2024
@petersilva petersilva deleted the fix_mkdir_failures_on_hpc branch June 6, 2024 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crasher Crashes entire app. Design impacts API, or code structure changes HPC related to hich performance computing mirroing use case Priority 2 - Critical High Criticality or High Visibility Problem regression Broke something that was working before.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants