We're updating the issue view to help you get more done. 

Appveyor build failing more frequently

Description

There seems to be a problem around line 147 in .appveyor.yml where the call to Get-Process times out after several attempts. I've seen this before, but it seems to be happening more frequently.

Here is the tail end of the log where the failure occurs:

qdel 3
Retry-Command { qstat -f 2 | grep -E '^ job_state = R$'; $err1 = $LastExitCode; qstat -f 2 | grep -E '^ substate = 42$'; $err2 = $LastExitCode; if ($err1 -ne 0 -or $err2 -ne 0) { qmgr -c "s s scheduling = True"; throw } } -Timeout 5000
qstat -f 2 | grep -E '^ job_state = R$'; $err1 = $LastExitCode; qstat -f 2 | grep -E '^ substate = 42$'; $err2 = $LastExitCode; if ($err1 -ne 0 -or $err2 -ne 0) { qmgr -c "s s scheduling = True"; throw } ... attempt = 1 ... Failed
qstat -f 2 | grep -E '^ job_state = R$'; $err1 = $LastExitCode; qstat -f 2 | grep -E '^ substate = 42$'; $err2 = $LastExitCode; if ($err1 -ne 0 -or $err2 -ne 0) { qmgr -c "s s scheduling = True"; throw } ... attempt = 2 ... Failed
qstat -f 2 | grep -E '^ job_state = R$'; $err1 = $LastExitCode; qstat -f 2 | grep -E '^ substate = 42$'; $err2 = $LastExitCode; if ($err1 -ne 0 -or $err2 -ne 0) { qmgr -c "s s scheduling = True"; throw } ... attempt = 3 ... Failed
qstat -f 2 | grep -E '^ job_state = R$'; $err1 = $LastExitCode; qstat -f 2 | grep -E '^ substate = 42$'; $err2 = $LastExitCode; if ($err1 -ne 0 -or $err2 -ne 0) { qmgr -c "s s scheduling = True"; throw } ... attempt = 4 ... Ok
job_state = R
substate = 42
qsub -J1-2 -f – pbs_sleep 1000
4[].APPVYR-WIN
Retry-Command { if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } } -Timeout 2000
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 1 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 2 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 3 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 4 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 5 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 6 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 7 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 8 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 9 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 10 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 11 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 12 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 13 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 14 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 15 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 16 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 17 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 18 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 19 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 20 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 21 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 22 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 23 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 24 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 25 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 26 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 27 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 28 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 29 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 30 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 31 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 32 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 33 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 34 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 35 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 36 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 37 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 38 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 39 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 40 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 41 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 42 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 43 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 44 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 45 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 46 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 47 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 48 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 49 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 50 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 51 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 52 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 53 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 54 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 55 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 56 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 57 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 58 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 59 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 60 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 61 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 62 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 63 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 64 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 65 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 66 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 67 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 68 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 69 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 70 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 71 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 72 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 73 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 74 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 75 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 76 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 77 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 78 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 79 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 80 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 81 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 82 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 83 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 84 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 85 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 86 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 87 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 88 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 89 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 90 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 91 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 92 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 93 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 94 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 95 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 96 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 97 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 98 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 99 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 100 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 101 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 102 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 103 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 104 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 105 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 106 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 107 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 108 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 109 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 110 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 111 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 112 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 113 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 114 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 115 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 116 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 117 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 118 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 119 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } ... attempt = 120 ... Failed
if ((Get-Process pbs_sleep).Length -ne 2) { qmgr -c "s s scheduling = True"; throw } exited with

Acceptance Criteria

None

Status

Assignee

Hiren Vadalia

Reporter

Michael Karo

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Affects versions

19.1.1

Priority

High