Skip to content

Commit

Permalink
fix flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Oct 27, 2024
1 parent b2a0b2e commit 18feefa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions iceprod/server/plugins/condor.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,35 +79,35 @@ def from_condor_status(num):


RESET_CONDOR_REASONS = [
# condor file transfer plugin failed
# condor file transfer plugin failed
'_condor_stdout: (errno 2) No such file',
'transfer input files failure',
'transfer output files failure',
# resource limits
# resource limits
'cpu consumption limit exceeded',
'memory limit exceeded',
'cgroup memory limit',
'local storage limit on worker node exceeded',
'execution time limit exceeded',
# general retries
# general retries
'exceeded max iceprod queue time',
'job has failed',
'python-initiated action (by user ice3simusr)',
]


RESET_STDERR_REASONS = [
# glidein died
# glidein died
'sigterm',
'killed',
# hopefully transient errors
# hopefully transient errors
'bus error (core dumped)',
'segmentation fault (core dumped)',
'operation timed out',
'connection timed out',
# GPU errors
# GPU errors
'opencl error: could not set up context',
# CVMFS errors
# CVMFS errors
'python: command not found',
'cannot read file data: Stale file handle',
]
Expand Down

0 comments on commit 18feefa

Please sign in to comment.