mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Improve docker build cleanup on s390x runners (#149316)
Currently it sometimes still leaves a couple of processess running. Pull Request resolved: https://github.com/pytorch/pytorch/pull/149316 Approved by: https://github.com/seemethere
This commit is contained in:
parent
466d5295c1
commit
cfbeaf7b7e
|
|
@ -62,7 +62,12 @@ jobs:
|
||||||
if: cancelled()
|
if: cancelled()
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
# if podman build command is interrupted,
|
# If podman build command is interrupted,
|
||||||
# it can leave a couple of processes still running.
|
# it can leave a couple of processes still running.
|
||||||
# order them to stop for clean shutdown.
|
# Order them to stop for clean shutdown.
|
||||||
|
# It looks like sometimes some processes remain
|
||||||
|
# after first cleanup.
|
||||||
|
# Wait a bit and do cleanup again. It looks like it helps.
|
||||||
|
docker system prune --build -f || true
|
||||||
|
sleep 60
|
||||||
docker system prune --build -f || true
|
docker system prune --build -f || true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user