Skip to content

Conversation

@jayeshkrishna
Copy link
Contributor

@jayeshkrishna jayeshkrishna commented Nov 6, 2025

When doing short term archiving of model output allow sanity checks for files to support dangling symlinks.

Also see PR #4870

When doing short term archiving of model output allow sanity checks
for files to support dangling symlinks.

When archiving directories with symlinks (e.g. ADIOS BP files with
symlinks to it) the directories can get archived before the
symlinks. Allow sanity checks to pass even when the script
finds these dangling symlinks.
@codecov
Copy link

codecov bot commented Nov 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 31.43%. Comparing base (f81f6ed) to head (dbaff8d).
⚠️ Report is 23 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #4893       +/-   ##
===========================================
+ Coverage   20.23%   31.43%   +11.20%     
===========================================
  Files         260      264        +4     
  Lines       37894    38683      +789     
  Branches     8042     8386      +344     
===========================================
+ Hits         7666    12161     +4495     
+ Misses      29354    25281     -4073     
- Partials      874     1241      +367     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jayeshkrishna
Copy link
Contributor Author

Archiving ADIOS BP output files failed after PR #4870 with message about missing output files.

The python function to check if a file exists (os.path.exists()) requires that the symbolic links are not dangling. However when we do short term archiving some ADIOS output files get moved/archived before the associated symbolic links. So the simplest solution is to allow CIME checks in the short term archiver to allow dangling symlinks.

@jayeshkrishna jayeshkrishna marked this pull request as ready for review November 6, 2025 17:47
@jgfouca jgfouca merged commit 99b9ec9 into ESMCI:master Nov 6, 2025
9 checks passed
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.

2 participants