[ARVADOS] updated: 2.1.0-492-g7f81859d3

Git user git at public.arvados.org
Fri Apr 2 14:58:48 UTC 2021


Summary of changes:
 lib/crunchrun/crunchrun_test.go | 3 +++
 1 file changed, 3 insertions(+)

       via  7f81859d3b1589a2c3d2ad27fe8ebc6d52940cdc (commit)
      from  fccb8a3decaaa33fb9b356b028dad3e257c90fe0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 7f81859d3b1589a2c3d2ad27fe8ebc6d52940cdc
Author: Nico Cesar <nico at nicocesar.com>
Date:   Fri Apr 2 10:57:52 2021 -0400

    a huge amount of panic()'s are triggered.
    
    I'm starting from scratch in 17296-singularity-take2
    
    Arvados-DCO-1.1-Signed-off-by: Nico Cesar <nico at curii.com>

diff --git a/lib/crunchrun/crunchrun_test.go b/lib/crunchrun/crunchrun_test.go
index 891d85482..b46f7a8f9 100644
--- a/lib/crunchrun/crunchrun_test.go
+++ b/lib/crunchrun/crunchrun_test.go
@@ -204,6 +204,9 @@ func (t *TestContainerExecRunnerClient) ImageLoad(ctx context.Context, input io.
 	if t.exitCode == 2 {
 		return ImageLoadResponse{}, fmt.Errorf("Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?")
 	}
+	if input == nil {
+		return ImageLoadResponse{}, fmt.Errorf("input for ImageLoad is nil!")
+	}
 	_, err := io.Copy(ioutil.Discard, input)
 	if err != nil {
 		return ImageLoadResponse{}, err

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list