Signed-off-by: John Howard <jhoward@microsoft.com>
| ... | ... |
@@ -237,10 +237,10 @@ func (d *Driver) Run(c *execdriver.Command, pipes *execdriver.Pipes, hooks execd |
| 237 | 237 |
err = hcsshim.CreateComputeSystem(c.ID, configuration) |
| 238 | 238 |
if err != nil {
|
| 239 | 239 |
if TP4RetryHack {
|
| 240 |
- if !strings.Contains(err.Error(), `Win32 API call returned error r1=2147746291`) && // Invalid class string |
|
| 241 |
- !strings.Contains(err.Error(), `Win32 API call returned error r1=2147943568`) && // Element not found |
|
| 242 |
- !strings.Contains(err.Error(), `Win32 API call returned error r1=2147942402`) && // The system cannot find the file specified |
|
| 243 |
- !strings.Contains(err.Error(), `Win32 API call returned error r1=2147943622`) { // The network is not present or not started
|
|
| 240 |
+ if !strings.Contains(err.Error(), `Win32 API call returned error r1=0x800401f3`) && // Invalid class string |
|
| 241 |
+ !strings.Contains(err.Error(), `Win32 API call returned error r1=0x80070490`) && // Element not found |
|
| 242 |
+ !strings.Contains(err.Error(), `Win32 API call returned error r1=0x80070002`) && // The system cannot find the file specified |
|
| 243 |
+ !strings.Contains(err.Error(), `Win32 API call returned error r1=0x800704c6`) { // The network is not present or not started
|
|
| 244 | 244 |
logrus.Debugln("Failed to create temporary container ", err)
|
| 245 | 245 |
return execdriver.ExitStatus{ExitCode: -1}, err
|
| 246 | 246 |
} |