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

pbs: update connection failed error message #6569

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ management and does not bundle Jinja2.

## __cylc-7.8.15 (Upcoming)__

[#6569](https://github.com/cylc/cylc-flow/pull/6569) -
Update PBS job runner to reflect error message change. This change
continues to support older PBS versions.


## __cylc-7.8.14 (2023-01-15)__

Expand Down
2 changes: 1 addition & 1 deletion lib/cylc/batch_sys_handlers/pbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class PBSHandler(object):
# N.B. The "qstat JOB_ID" command returns 1 if JOB_ID is no longer in the
# system, so there is no need to filter its output.
POLL_CMD = "qstat"
POLL_CANT_CONNECT_ERR = "Connection refused"
POLL_CANT_CONNECT_ERR = "cannot connect to server"
REC_ID_FROM_SUBMIT_OUT = re.compile(r"""\A\s*(?P<id>\S+)\s*\Z""")
SUBMIT_CMD_TMPL = "qsub '%(job)s'"

Expand Down