Skip to content

[CI Postmortem] Flaky: MonoTouchFixtures.Security.RecordTest.DeskCase_83099_InmutableDictionary #25222

@rolfbjarne

Description

@rolfbjarne

Summary

MonoTouchFixtures.Security.RecordTest.DeskCase_83099_InmutableDictionary is failing intermittently across 4 unrelated PRs in the last week.

Failure Details

Test: MonoTouchFixtures.Security.RecordTest.DeskCase_83099_InmutableDictionary
Suite: monotouch-test (macOS)
Error message:

Password could not be saved to keychain. queryCode: InvalidRecord addCode: -1 updateCode: -1
Expected: True
But was:  False

Source: tests/monotouch-test/Security/RecordTest.cs:line 336

Classification

  • Type: Flaky test
  • Impact: 4 PRs, 4 builds
  • Confidence: High — the failing PRs are unrelated, indicating an environment-dependent issue (macOS keychain state)

Affected Builds

PR Build Pipeline
#25105 13882756 sim-pr-tests
#25151 13883447 sim-pr-tests
#25195 13896502 sim-pr-tests
#25202 13893722 sim-pr-tests

Root Cause Hypothesis

The test interacts with the macOS keychain, and the failure depends on the agent machine's keychain state. The error InvalidRecord suggests the keychain entry doesn't exist or was left in an inconsistent state by a previous test run on the same agent.


Filed automatically by CI postmortem analysis. Individual test failures extracted from HtmlReport artifacts and NUnit XML results.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ci-postmortemCI post-mortem analysis: flaky tests, infrastructure failures, shared regressions

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions