You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c0d94c0
Browse filesBrowse the repository at this point in the historyBrowse files
CI: retry and then fail the Windows probe's endpoint check on network errors
A timeout means the probe did not see the certificate rejected, so it cannot claim the runner is safe. Retry once, then fail instead of reporting INCONCLUSIVE.
Record-Check $checkName'PASS'"Rejected with certificate validation error ($cleanMsg)"
116
+
break
117
+
} elseif ($hostnameMismatchOnly) {
118
+
Record-Check $checkName'FAIL'"Certificate chain was trusted; failed only hostname check ($cleanMsg)"
119
+
$GatingFailures++
120
+
break
121
+
} elseif ($attempt-lt2) {
122
+
Write-Output"[INFO] ${checkName}: attempt $attempt failed with a non-certificate or network error ($cleanMsg); retrying"
123
+
Start-Sleep-Seconds 5
124
+
} else {
125
+
Record-Check $checkName'FAIL'"Could not determine whether the certificate is rejected after $attempt attempts: non-certificate or network error ($cleanMsg)"
0 commit comments