dotnet / dotnet/aspnetcore

Quarantine Microsoft.AspNetCore.DataProtection.DataProtectionProviderTests.System_UsesProvidedCertificateNotFromStore

Open
#66,637 5 comments 0 reactions 0 assignees View on GitHub
area-dataprotection test-failure
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 10h
Merged PRs (30d)
281

Description

## Failing Test(s)

`Microsoft.AspNetCore.DataProtection.DataProtectionProviderTests.System_UsesProvidedCertificateNotFromStore`

## Error Message

```text
Interop+AppleCrypto+AppleCommonCryptoCryptographicException : The specified keychain could not be found.
```

## Stacktrace

```text
at Interop.AppleCrypto.X509StoreAddCertificate(SafeKeychainItemHandle certOrIdentity, SafeKeychainHandle keychain)
at Microsoft.AspNetCore.DataProtection.DataProtectionProviderTests.System_UsesProvidedCertificateNotFromStore() in /_/src/DataProtection/Extensions/test/DataProtectionProviderTests.cs:line 178
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
```

## Logs

```text
[xUnit.net 00:00:00.75] Microsoft.AspNetCore.DataProtection.DataProtectionProviderTests.System_UsesProvidedCertificateNotFromStore [FAIL]
[xUnit.net 00:00:00.75] Interop+AppleCrypto+AppleCommonCryptoCryptographicException : The specified keychain could not be found.
[xUnit.net 00:00:00.75] Stack Trace:
[xUnit.net 00:00:00.75] at Interop.AppleCrypto.X509StoreAddCertificate(SafeKeychainItemHandle certOrIdentity, SafeKeychainHandle keychain)
[xUnit.net 00:00:00.75] /_/src/DataProtection/Extensions/test/DataProtectionProviderTests.cs(178,0): at Microsoft.AspNetCore.DataProtection.DataProtectionProviderTests.System_UsesProvidedCertificateNotFromStore()
[xUnit.net 00:00:00.75] at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
[xUnit.net 00:00:00.75] at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

Failed Microsoft.AspNetCore.DataProtection.DataProtectionProviderTests.System_UsesProvidedCertificateNotFromStore [36 ms]
Error Message:
Interop+AppleCrypto+AppleCommonCryptoCryptographicException : The specified keychain could not be found.
Stack Trace:
at Interop.AppleCrypto.X509StoreAddCertificate(SafeKeychainItemHandle certOrIdentity, SafeKeychainHandle keychain)
at Microsoft.AspNetCore.DataProtection.DataProtectionProviderTests.System_UsesProvidedCertificateNotFromStore() in /_/src/DataProtection/Extensions/test/DataProtectionProviderTests.cs:line 178
at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
```

## Build

https://dev.azure.com/dnceng-public/public/_build/results?buildId=1414721

> [!NOTE]
>
> 🔒 Integrity filter blocked 12 items
>
> The following items were blocked because they don't meet the GitHub integrity level.
>
> - [#66624](https://github.com/dotnet/aspnetcore/pull/66624) `pull_request_read`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#66625](https://github.com/dotnet/aspnetcore/pull/66625) `pull_request_read`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#66613](https://github.com/dotnet/aspnetcore/pull/66613) `pull_request_read`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#66583](https://github.com/dotnet/aspnetcore/pull/66583) `pull_request_read`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#66584](https://github.com/dotnet/aspnetcore/pull/66584) `pull_request_read`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#66586](https://github.com/dotnet/aspnetcore/pull/66586) `pull_request_read`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#66577](https://github.com/dotnet/aspnetcore/pull/66577) `pull_request_read`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#66578](https://github.com/dotnet/aspnetcore/pull/66578) `pull_request_read`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#66532](https://github.com/dotnet/aspnetcore/pull/66532) `search_pull_requests`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#66531](https://github.com/dotnet/aspnetcore/pull/66531) `search_pull_requests`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#65815](https://github.com/dotnet/aspnetcore/pull/65815) `search_pull_requests`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
> - [#65817](https://github.com/dotnet/aspnetcore/pull/65817) `search_pull_requests`: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".
>
> To allow these resources, lower `min-integrity` in your GitHub frontmatter:
>
> ```yaml
> tools:
> github:
> min-integrity: approved # merged | approved | unapproved | none
> ```
>
>

> Generated by [Daily Test Quarantine Management](https://github.com/dotnet/aspnetcore/actions/runs/25626339296/agentic_workflow) · ● 5.8M · [◷](https://github.com/search?q=repo%3Adotnet%2Faspnetcore+is%3Aissue+%22gh-aw-workflow-call-id%3A+dotnet%2Faspnetcore%2Ftest-quarantine%22&type=issues)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.