From 14c53160d7477813839f6996cf340004ebe335c5 Mon Sep 17 00:00:00 2001 From: John Howard Date: Tue, 2 Feb 2016 13:15:35 -0800 Subject: [PATCH] Windows CI: One more reliability hack Signed-off-by: John Howard --- daemon/execdriver/windows/run.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/execdriver/windows/run.go b/daemon/execdriver/windows/run.go index 8586ca5ecf..195f6e6acd 100644 --- a/daemon/execdriver/windows/run.go +++ b/daemon/execdriver/windows/run.go @@ -240,7 +240,8 @@ func (d *Driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, hooks execd if !strings.Contains(err.Error(), `Win32 API call returned error r1=0x800401f3`) && // Invalid class string !strings.Contains(err.Error(), `Win32 API call returned error r1=0x80070490`) && // Element not found !strings.Contains(err.Error(), `Win32 API call returned error r1=0x80070002`) && // The system cannot find the file specified - !strings.Contains(err.Error(), `Win32 API call returned error r1=0x800704c6`) { // The network is not present or not started + !strings.Contains(err.Error(), `Win32 API call returned error r1=0x800704c6`) && // The network is not present or not started + !strings.Contains(err.Error(), `Win32 API call returned error r1=0x800700a1`) { // The specified path is invalid logrus.Debugln("Failed to create temporary container ", err) return execdriver.ExitStatus{ExitCode: -1}, err }