Failure signature
On the M1 - Mac Ventura (13) macOS tests job, the macOS/osx-x64 monotouch-test Security/Keychain tests fail together with SecStatusCode.InvalidHandle, PKCS#12 import failures, and key-generation failures. The matching system log contains repeated Security errors NoSuchKeyChain (-25294) and InvalidHandle (-25304).
Classification: CI infrastructure failure.
Confirmed occurrences
| PR / head |
Azure run / job |
Evidence |
Outcome |
#26232 / e094a26829c95306641819f4d16876738bf0507b |
build 14730280, Ventura macOS tests |
17 Security/Keychain failures; 290 -25294 and 7 -25304 log entries |
Failed-job retry succeeded |
#26414 / 349cd4737d1e7e0b4726779bb4e6ca561619cdae |
build 14889519, attempt 1, Ventura macOS tests |
15 failures including GenerateKeyPairTest, AccessCertificates, identity import, keychain add, and crypto tests; 989 -25294 and 8 -25304 log entries |
Build still active; no retry submitted |
This is 2 confirmed occurrences across 2 monitored PRs.
Reproduction pattern and impact
The Ventura job runs both macOS architectures. The x64 monotouch-test process fails a cluster of otherwise unrelated Security APIs because the Keychain is unavailable or returns invalid handles. This causes the complete Ventura stage and PR simulator check to fail even though the PR changes are unrelated.
The #26414 job also has an independent arm64 600-second HTTP-suite timeout; that separate signature is tracked in #25687 and is not part of this issue.
Investigation performed
Observation window
- First observed:
2026-07-22T10:41:16Z
- Latest observed:
2026-08-06T07:01:41Z
Workaround
A failed-job rerun cleared the #26232 occurrence. For #26414, no retry is permitted until build 14889519 is terminal and the normal merge, head, budget, and equivalent-run gates are refreshed.
Azure diagnostic artifacts are retention-limited; links and only the minimal stable diagnostic lines are recorded here.
Failure signature
On the M1 - Mac Ventura (13) macOS tests job, the
macOS/osx-x64 monotouch-testSecurity/Keychain tests fail together withSecStatusCode.InvalidHandle, PKCS#12 import failures, and key-generation failures. The matching system log contains repeated Security errorsNoSuchKeyChain(-25294) andInvalidHandle(-25304).Classification: CI infrastructure failure.
Confirmed occurrences
e094a26829c95306641819f4d16876738bf0507b-25294and 7-25304log entries349cd4737d1e7e0b4726779bb4e6ca561619cdaeGenerateKeyPairTest,AccessCertificates, identity import, keychain add, and crypto tests; 989-25294and 8-25304log entriesThis is 2 confirmed occurrences across 2 monitored PRs.
Reproduction pattern and impact
The Ventura job runs both macOS architectures. The x64
monotouch-testprocess fails a cluster of otherwise unrelated Security APIs because the Keychain is unavailable or returns invalid handles. This causes the complete Ventura stage and PR simulator check to fail even though the PR changes are unrelated.The #26414 job also has an independent arm64 600-second HTTP-suite timeout; that separate signature is tracked in #25687 and is not part of this issue.
Investigation performed
Run teststask.InvalidHandleresults, and Security error codes with the retained [tests] Stabilize NSPasteboard metadata detection Fixes #25446 #26232 occurrence.InvalidHandle,NoSuchKeyChain,-25294, and Security/Keychain terms. No matching issue was found; [CI Postmortem] Widespread LaunchTimedOut failures on iOS/tvOS simulator tests #25299 appeared only through an unrelated PR-number text match.Observation window
2026-07-22T10:41:16Z2026-08-06T07:01:41ZWorkaround
A failed-job rerun cleared the #26232 occurrence. For #26414, no retry is permitted until build 14889519 is terminal and the normal merge, head, budget, and equivalent-run gates are refreshed.
Azure diagnostic artifacts are retention-limited; links and only the minimal stable diagnostic lines are recorded here.