[ARVADOS] created: 2.1.0-130-gb8c4792cd

Git user git at public.arvados.org
Fri May 21 01:19:35 UTC 2021


        at  b8c4792cd8f020cf489bb4e58410b76eb9f4fa2c (commit)


commit b8c4792cd8f020cf489bb4e58410b76eb9f4fa2c
Author: Ward Vandewege <ward at curii.com>
Date:   Thu May 20 21:17:57 2021 -0400

    17708: when crunch-run encounters an unsupported file type while copying
           the output of a job, do not error out, just print a warning and
           skip the offending file.
    
    Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>

diff --git a/lib/crunchrun/copier.go b/lib/crunchrun/copier.go
index 1b0f168b8..ef102f644 100644
--- a/lib/crunchrun/copier.go
+++ b/lib/crunchrun/copier.go
@@ -331,8 +331,8 @@ func (cp *copier) walkHostFS(dest, src string, maxSymlinks int, includeMounts bo
 		})
 		return nil
 	}
-
-	return fmt.Errorf("Unsupported file type (mode %o) in output dir: %q", fi.Mode(), src)
+	cp.logger.Printf("Unsupported file type (mode %o) in output dir: %q", fi.Mode(), src)
+	return nil
 }
 
 // Return the host path that was mounted at the given path in the

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list