Sfoglia il codice sorgente

Merge pull request #19935 from Microsoft/jjh/onemorereliabilityhack

Windows CI: One more reliability hack
Alexander Morozov 9 anni fa
parent
commit
c2bf90eb59
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      daemon/execdriver/windows/run.go

+ 2 - 1
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
 				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=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=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)
 					logrus.Debugln("Failed to create temporary container ", err)
 					return execdriver.ExitStatus{ExitCode: -1}, err
 					return execdriver.ExitStatus{ExitCode: -1}, err
 				}
 				}