Skip to content

Commit 8ff1fd0

Browse files
kuanyilimr-c
authored andcommitted
fix fast container job hangs
Starting from Podman 4.4.0, cidfile is removed along with the container. Always return if container is terminated so we don't stuck in the loop waiting for a file which has already been removed.
1 parent 9b5a6ea commit 8ff1fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwltool/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ def docker_monitor(
869869
os.remove(cidfile)
870870
except OSError as exc:
871871
_logger.warning("Ignored error cleaning up %s cidfile: %s", docker_exe, exc)
872-
return
872+
return
873873
try:
874874
with open(cidfile) as cidhandle:
875875
cid = cidhandle.readline().strip()

0 commit comments

Comments
 (0)