-
Notifications
You must be signed in to change notification settings - Fork 94
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
cat-log: fix file listing errors #5514
Conversation
651b3c4
to
df4a6af
Compare
@@ -261,18 +261,18 @@ def view_log( | |||
# Print location even if the workflow does not exist yet. | |||
print(logpath) | |||
return 0 | |||
if not os.path.exists(logpath) and batchview_cmd is None: |
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.
The logpath
contains the filename (defaults to job.out
) even if it was not specified, even if we are listing a directory.
Consequently this caused failures when listing remote directories where the job.out
file was not present.
df4a6af
to
373b76a
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.
- Read and understood
- Tried (to break) it locally
Checked with GUI - I don't know what was wrong with my GUI locally, but I'm now satisfied that problems I was having are unrelated to this PR> |
* Include job-activity.log file if present even if listing is remote. * List local files for submission-failed tasks.
373b76a
to
87457b7
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.
Awaiting tests
One functional test failure: tests/f/platforms/10-platform-gone-on-restart.t (known to be flaky) |
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).CHANGES.md
entry included if this is a change that can affect users?.?.x
branch.