From 5153aeaffd096514c1f2652c69cd0fc0d298b1d3 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 29 Nov 2017 13:23:42 +0100 Subject: syz-ci: test images before using them Boot and minimally test images before declaring them as good and switching to using them. If image build/boot/test fails, upload report about this to dashboard. --- vm/gce/gce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vm/gce') diff --git a/vm/gce/gce.go b/vm/gce/gce.go index 96cc14e79..792982560 100644 --- a/vm/gce/gce.go +++ b/vm/gce/gce.go @@ -364,7 +364,7 @@ func (pool *Pool) waitInstanceBoot(name, ip, sshKey, sshUser, gceKey string) err if err != nil { output = []byte(fmt.Sprintf("failed to get boot output: %v", err)) } - return fmt.Errorf("can't ssh into the instance\n\n%s", output) + return vmimpl.BootError{"can't ssh into the instance", output} } func (pool *Pool) getSerialPortOutput(name, gceKey string) ([]byte, error) { -- cgit mrf-deployment