From c8a52b977d4203de4dee67dbcb21b5671fdbd756 Mon Sep 17 00:00:00 2001 From: John Howard Date: Wed, 10 Feb 2016 11:07:29 -0800 Subject: [PATCH] Windows CI: Another reliability fix Signed-off-by: John Howard Upstream-commit: 7853193edbd55ea5596c4df54895132ee88dc8fe Component: engine --- components/engine/daemon/execdriver/windows/run.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/engine/daemon/execdriver/windows/run.go b/components/engine/daemon/execdriver/windows/run.go index 0837ba85ee..1d720e4661 100644 --- a/components/engine/daemon/execdriver/windows/run.go +++ b/components/engine/daemon/execdriver/windows/run.go @@ -241,7 +241,8 @@ func (d *Driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, hooks execd !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=0x800700a1`) { // The specified path is invalid + !strings.Contains(err.Error(), `Win32 API call returned error r1=0x800700a1`) && // The specified path is invalid + !strings.Contains(err.Error(), `Win32 API call returned error r1=0x800710d8`) { // The object identifier does not represent a valid object logrus.Debugln("Failed to create temporary container ", err) return execdriver.ExitStatus{ExitCode: -1}, err }