Skip to content

fix(ios): limit keychain list to avoid stale keychains#20284

Merged
siddarthkay merged 1 commit intomasterfrom
fix-ios-stale-keychain
Apr 3, 2026
Merged

fix(ios): limit keychain list to avoid stale keychains#20284
siddarthkay merged 1 commit intomasterfrom
fix-ios-stale-keychain

Conversation

@siddarthkay
Copy link
Copy Markdown
Contributor

@siddarthkay siddarthkay commented Mar 27, 2026

Summary

Otherwise fastlane in CI sometimes fails like this :


[2026-03-26T23:16:04.905Z] Apple Distribution: Status Research & Development GmbH 
(8B5X2M6H2Y): ambiguous (matches "Apple Distribution: Status Research & Development GmbH (8B5X2M6H2Y)"
 in /Users/jenkins/Library/Keychains/fastlane.keychain-db and 
 "Apple Distribution: Status Research & Development GmbH (8B5X2M6H2Y)" in
  /Users/jenkins/Library/Keychains/status_ci_222.keychain-db)

[2026-03-26T23:16:04.905Z] Encountered an error, aborting!

@siddarthkay siddarthkay self-assigned this Mar 27, 2026
@siddarthkay siddarthkay requested a review from a team March 27, 2026 06:31
@status-im-auto
Copy link
Copy Markdown
Member

status-im-auto commented Mar 27, 2026

Jenkins Builds

Click to see older builds (44)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 8dfa017 1 2026-03-27 06:40:00 ~8 min tests/nim 📄log
✔️ 8dfa017 1 2026-03-27 06:40:29 ~9 min android/arm64 🤖apk 📲
✔️ 8dfa017 1 2026-03-27 06:43:03 ~11 min ios/aarch64 📱ipa 📲
✔️ 8dfa017 1 2026-03-27 06:44:31 ~12 min tests/ui 📄log
✔️ 8dfa017 1 2026-03-27 06:46:50 ~15 min macos/aarch64 🍎dmg
✔️ 8dfa017 1 2026-03-27 06:48:06 ~16 min linux/x86_64 📦tgz
✔️ 8dfa017 3 2026-03-27 07:03:32 ~7 min tests/nim 📄log
✔️ 8dfa017 3 2026-03-27 07:04:58 ~9 min android/arm64 🤖apk 📲
✖️ 8dfa017 2042 2026-03-27 07:05:07 ~24 min tests/e2e-android 📦pkg
✔️ 8dfa017 3 2026-03-27 07:06:06 ~10 min ios/aarch64 📱ipa 📲
✔️ 8dfa017 3 2026-03-27 07:07:11 ~11 min macos/aarch64 🍎dmg
✔️ 8dfa017 3 2026-03-27 07:07:53 ~12 min tests/ui 📄log
✔️ 8dfa017 3 2026-03-27 07:12:26 ~16 min linux/x86_64 📦tgz
✖️ 8dfa017 2043 2026-03-27 07:14:49 ~9 min tests/e2e-android 📦pkg
✔️ 8dfa017 3 2026-03-27 07:31:39 ~35 min windows/x86_64 💿exe
✔️ 8dfa017 10475 2026-03-27 07:40:39 ~28 min tests/e2e 📊rpt
✔️ 8dfa017 2559 2026-03-27 07:49:11 ~17 min tests/e2e-windows 📊rpt
✖️ 8dfa017 2058 2026-03-28 07:04:59 ~1 hr 34 min tests/e2e-android 📦pkg
✔️ 4c7b54f 2 2026-03-27 06:54:39 ~7 min tests/nim 📄log
✔️ 4c7b54f 10474 2026-03-27 07:05:21 ~17 min tests/e2e 📊rpt
✔️ b3554776 4 2026-03-28 05:30:41 ~12 min android/arm64 🤖apk 📲
✔️ 8b1854b 5 2026-03-30 16:10:49 ~10 min android/arm64 🤖apk 📲
✔️ 8b1854b 4 2026-03-30 16:13:42 ~13 min tests/ui 📄log
✔️ 8b1854b 4 2026-03-30 16:18:13 ~17 min linux/x86_64 📦tgz
✔️ 8b1854b 10503 2026-03-30 16:35:18 ~16 min tests/e2e 📊rpt
✖️ 8b1854b 2085 2026-03-30 16:48:36 ~37 min tests/e2e-android 📦pkg
✔️ 8b1854b 4 2026-03-30 20:16:22 ~10 min ios/aarch64 📱ipa 📲
✔️ 8b1854b 4 2026-03-31 03:10:42 ~34 min windows/x86_64 💿exe
✔️ 8b1854b 2585 2026-03-31 03:27:44 ~16 min tests/e2e-windows 📊rpt
✔️ 49e09bd 4 2026-03-31 04:04:21 ~7 min tests/nim 📄log
49e09bd 5 2026-03-31 04:07:56 ~11 min ios/aarch64 📄log
✔️ 49e09bd 5 2026-03-31 04:08:44 ~12 min tests/ui 📄log
✔️ 49e09bd 5 2026-03-31 04:11:18 ~14 min macos/aarch64 🍎dmg
✔️ 49e09bd 6 2026-03-31 04:11:49 ~15 min android/arm64 🤖apk 📲
✔️ 49e09bd 5 2026-03-31 04:20:32 ~24 min linux/x86_64 📦tgz
✔️ 49e09bd 2086 2026-03-31 04:25:13 ~13 min tests/e2e-android 📦pkg
✔️ 49e09bd 5 2026-03-31 04:30:41 ~34 min windows/x86_64 💿exe
✔️ 49e09bd 10504 2026-03-31 04:37:27 ~16 min tests/e2e 📊rpt
✔️ 49e09bd 2586 2026-03-31 04:48:33 ~17 min tests/e2e-windows 📊rpt
✔️ 49e09bd 2146 2026-04-02 07:19:00 ~1 hr 47 min tests/e2e-android 📦pkg
✖️ 49e09bd 2189 2026-04-03 07:06:57 ~1 hr 36 min tests/e2e-android 📦pkg
✔️ 49e09bd 6 2026-04-03 10:37:49 ~13 min ios/aarch64 📱ipa 📲
✔️ 98f0e858 7 2026-04-01 05:30:19 ~11 min android/arm64 🤖apk 📲
✔️ d9c9dcfd 8 2026-04-02 05:31:30 ~13 min android/arm64 🤖apk 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 1c9cf03d 9 2026-04-03 05:30:47 ~12 min android/arm64 🤖apk 📲
✔️ bb2cfe1 5 2026-04-03 13:55:49 ~8 min tests/nim 📄log
✔️ bb2cfe1 10 2026-04-03 13:57:09 ~10 min android/arm64 🤖apk 📲
✔️ bb2cfe1 6 2026-04-03 13:58:48 ~11 min tests/ui 📄log
✔️ bb2cfe1 7 2026-04-03 14:01:21 ~14 min ios/aarch64 📱ipa 📲
✔️ bb2cfe1 6 2026-04-03 14:04:01 ~17 min linux/x86_64 📦tgz
✔️ bb2cfe1 6 2026-04-03 14:09:41 ~22 min windows/x86_64 💿exe
✔️ bb2cfe1 2208 2026-04-03 14:09:56 ~12 min tests/e2e-android 📦pkg
✔️ bb2cfe1 6 2026-04-03 14:13:00 ~26 min macos/aarch64 🍎dmg
✔️ bb2cfe1 10551 2026-04-03 14:20:53 ~16 min tests/e2e 📊rpt
✔️ bb2cfe1 2626 2026-04-03 14:29:14 ~19 min tests/e2e-windows 📊rpt

@siddarthkay siddarthkay force-pushed the fix-ios-stale-keychain branch from 4c7b54f to 8dfa017 Compare March 27, 2026 06:55
Copy link
Copy Markdown
Member

@jakubgs jakubgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine, but I wonder if it wouldn't be cleaner if we used my wrapper from mobile-legacy which I proposed in this issue:

Which created a keychain per-build and uses teardown to remove it afterwards.
Not a big deal, just a suggestion.

@siddarthkay siddarthkay force-pushed the fix-ios-stale-keychain branch 2 times, most recently from 8b1854b to 49e09bd Compare March 31, 2026 03:56
Otherwise `fastlane` in CI sometimes fails like this :

```

[2026-03-26T23:16:04.905Z] Apple Distribution: Status Research &
Development GmbH (8B5X2M6H2Y): ambiguous (matches "Apple Distribution:
Status Research & Development GmbH (8B5X2M6H2Y)" in
/Users/jenkins/Library/Keychains/fastlane.keychain-db and "Apple
Distribution: Status Research & Development GmbH (8B5X2M6H2Y)" in
/Users/jenkins/Library/Keychains/status_ci_222.keychain-db)

[2026-03-26T23:16:04.905Z] Encountered an error, aborting!
```
@siddarthkay siddarthkay force-pushed the fix-ios-stale-keychain branch from 49e09bd to bb2cfe1 Compare April 3, 2026 13:46
@siddarthkay siddarthkay merged commit bb2cfe1 into master Apr 3, 2026
12 checks passed
@siddarthkay siddarthkay deleted the fix-ios-stale-keychain branch April 3, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants