Repository: firebase/firebase-ios-sdk (language: cpp)

Issue:
Nightly Testing Report
# Nightly Testing Report
This issue([log](https://github.com/firebase/firebase-ios-sdk/actions/runs/1085138041)) is generated at 07/31/2021 06:05 AM, fetching workflow runs triggered in the last 24 hrs.
| Workflow |07/30|
| -------- | -------- |
| [release](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/release.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1084590361) |
| [prerelease](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/prerelease.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1084590699) |



Discussion / hints:
# Nightly Testing Report
This issue([log](https://github.com/firebase/firebase-ios-sdk/actions/runs/1087363657)) is generated at 08/01/2021 06:05 AM, fetching workflow runs triggered in the last 24 hrs.
| Workflow |07/31|
| -------- | -------- |
| [zip](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/zip.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1086870166) |
| [messaging](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/messaging.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1086683038) |
| [database](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/database.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1087071601) |
| [release](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/release.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1086780830) |
| [combine](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/combine.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1086783868) |

# Nightly Testing Report
This issue([log](https://github.com/firebase/firebase-ios-sdk/actions/runs/1090318868)) is generated at 08/02/2021 06:11 AM, fetching workflow runs triggered in the last 24 hrs.
| Workflow |08/01|
| -------- | -------- |
| [zip](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/zip.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1089434834) |
| [messaging](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/messaging.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1089131182) |
| [auth](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/auth.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1089625339) |
| [database](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/database.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1089796402) |
| [release](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/release.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1089277013) |
| [prerelease](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/prerelease.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1089277337) |
| [core-diagnostics](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/core-diagnostics.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1089806096) |

Looks like some failures due to Database qs UI tests and some flaky network connections (i.e. could not download nanopb). Kicking off reruns and and will investigate results.
# Nightly Testing Report
This issue([log](https://github.com/firebase/firebase-ios-sdk/actions/runs/1094022550)) is generated at 08/03/2021 06:07 AM, fetching workflow runs triggered in the last 24 hrs.
| Workflow |08/02|
| -------- | -------- |
| [zip](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/zip.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1093153588) |
| [messaging](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/messaging.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1092851010) |
| [database](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/database.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1093509153) |
| [release](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/release.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1092995387) |
| [prerelease](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/prerelease.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1092995652) |

The database quickstart failure is causing multiple test failures. It should be investigated or disabled:

```
DatabaseExampleUITests
  testCreateNewValidPost, Failed to get matching snapshot: Multiple matching elements found for <XCUIElementQuery: 0x600003f09c70>.
  /Users/runner/work/firebase-ios-sdk/firebase-ios-sdk/quickstart-ios/database/DatabaseExampleUITests/DatabaseExampleUITests.m:257
  ```
  // Perform left swipe in order to remove this item.
  [[_app staticTexts][label] swipeLeft];
  XCUIElement *deleteButton = [_app buttons][@"Delete"];
  ```
```
# Nightly Testing Report
This issue([log](https://github.com/firebase/firebase-ios-sdk/actions/runs/1097780865)) is generated at 08/04/2021 06:12 AM, fetching workflow runs triggered in the last 24 hrs.
| Workflow |08/03|
| -------- | -------- |
| [zip](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/zip.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1096902380) |
| [messaging](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/messaging.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1096597418) |
| [auth](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/auth.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1097086364) |
| [database](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/database.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1097258234) |
| [spm](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/spm.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1096915058) |
| [release](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/release.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1096744887) |
| [prerelease](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/prerelease.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1096744795) |
| [mlmodeldownloader](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/mlmodeldownloader.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1096748681) |
| [app_check](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/app_check.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1096750855) |

There are several failures in Keychain dependent tests on macOS. I triggered re-run for some to check for flakes. If they keep failing I'll investigate further.
# Nightly Testing Report
This issue([log](https://github.com/firebase/firebase-ios-sdk/actions/runs/1101553324)) is generated at 08/05/2021 06:13 AM, fetching workflow runs triggered in the last 24 hrs.
| Workflow |08/04|
| -------- | -------- |
| [zip](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/zip.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1100658850) |
| [auth](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/auth.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1100847274) |
| [spm](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/spm.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1100673272) |
| [mlmodeldownloader](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/mlmodeldownloader.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1100505001) |

Auth failure is expected to be fixed by #8496.
zip and SPM failures seems to be related to a FIAM tvOS issue with UIKit availability. I'm investigating it.
And the auth qs in the `zip` workflow looks to have a [Facebook related issue](https://github.com/firebase/firebase-ios-sdk/runs/3251416294?check_suite_focus=true#step:8:319).
# Nightly Testing Report
This issue([log](https://github.com/firebase/firebase-ios-sdk/actions/runs/1105171431)) is generated at 08/06/2021 06:13 AM, fetching workflow runs triggered in the last 24 hrs.
| Workflow |08/05|
| -------- | -------- |
| [zip](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/zip.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1104348312) |
| [spm](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/spm.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1104361791) |

`zip` had an auth qs failure that has been fixed with the merging of #8500 
`spm` jobs were cancelled and did not run– kicked off a rerun.
spm jobs should be fixed by #8497 merged recently. It looks like I cannot trigger the workflow for the lates commit (a manual trigger is not defined for it), so we will have to wait for the next nightly to validate the fix.
# Nightly Testing Report
This issue([log](https://github.com/firebase/firebase-ios-sdk/actions/runs/1107976468)) is generated at 08/07/2021 06:05 AM, fetching workflow runs triggered in the last 24 hrs.
| Workflow |08/06|
| -------- | -------- |
| [messaging](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/messaging.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1107339106) |
| [installations](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/installations.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1107343253) |
| [mlmodeldownloader](https://github.com/firebase/firebase-ios-sdk/blob/master/.github/workflows/mlmodeldownloader.yml) | [failure](https://github.com/firebase/firebase-ios-sdk/actions/runs/1107436890) |


Fix patch:
diff --git a/.github/workflows/auth.yml b/.github/workflows/auth.yml
index b4b6380d539..168a07ca48b 100644
--- a/.github/workflows/auth.yml
+++ b/.github/workflows/auth.yml
@@ -131,6 +131,8 @@ jobs:
     - uses: actions/checkout@v2
     - name: Setup Bundler
       run: scripts/setup_bundler.sh
+    - name: Configure test keychain
+      run: scripts/configure_test_keychain.sh
     - name: PodLibLint Auth Cron
       run: scripts/third_party/travis/retry.sh scripts/pod_lib_lint.rb FirebaseAuth.podspec --platforms=${{ matrix.target }} ${{ matrix.flags }}
 
diff --git a/.github/workflows/installations.yml b/.github/workflows/installations.yml
index 7a3729e55e7..d1b7f653df5 100644
--- a/.github/workflows/installations.yml
+++ b/.github/workflows/installations.yml
@@ -110,6 +110,8 @@ jobs:
     - uses: actions/checkout@v2
     - name: Setup Bundler
       run: scripts/setup_bundler.sh
+    - name: Configure test keychain
+      run: scripts/configure_test_keychain.sh
     - name: Install GoogleService-Info.plist
       run: |
         mkdir -p FirebaseInstallations/Source/Tests/Resources
diff --git a/.github/workflows/mlmodeldownloader.yml b/.github/workflows/mlmodeldownloader.yml
index b20b0794d00..05af809959a 100644
--- a/.github/workflows/mlmodeldownloader.yml
+++ b/.github/workflows/mlmodeldownloader.yml
@@ -47,6 +47,8 @@ jobs:
     - uses: actions/checkout@v2
     - name: Setup Bundler
       run: scripts/setup_bundler.sh
+    - name: Configure test keychain
+      run: scripts/configure_test_keychain.sh
     - name: Install GoogleService-Info.plist
       run: |
         mkdir FirebaseMLModelDownloader/Tests/Integration/Resources


Test patch: