projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ce4019
)
18027: Kill arv-mount directly if arv-mount --unmount cannot run.
author
Tom Clegg <tom@curii.com>
Fri, 3 Sep 2021 14:29:05 +0000
(10:29 -0400)
committer
Tom Clegg <tom@curii.com>
Fri, 3 Sep 2021 14:29:05 +0000
(10:29 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
lib/crunchrun/crunchrun.go
patch
|
blob
|
history
diff --git
a/lib/crunchrun/crunchrun.go
b/lib/crunchrun/crunchrun.go
index e15303a3155afe81d72e8ce61e881ce76d5282d7..01141674a6b329fc6ef4f0cb2feb6b60628e96e8 100644
(file)
--- a/
lib/crunchrun/crunchrun.go
+++ b/
lib/crunchrun/crunchrun.go
@@
-1170,6
+1170,7
@@
func (runner *ContainerRunner) CleanupDirs() {
if umnterr != nil {
runner.CrunchLog.Printf("Error unmounting: %v", umnterr)
+ runner.ArvMount.Process.Kill()
} else {
// If arv-mount --unmount gets stuck for any reason, we
// don't want to wait for it forever. Do Wait() in a goroutine