Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip RC2 encrypted PKCS12 files on Android for iteration counting #88787

Merged
merged 2 commits into from
Jul 13, 2023

Conversation

vcsjones
Copy link
Member

One of the test documents we use for iteration counting need to test with RC2, which is not supported on Android. Let's skip it.

Contributes to #88747.

One accepted we should backport to release/7.0 and release/6.0.

@ghost
Copy link

ghost commented Jul 12, 2023

Tagging subscribers to this area: @dotnet/area-system-security, @bartonjs, @vcsjones
See info in area-owners.md if you want to be subscribed.

Issue Details

One of the test documents we use for iteration counting need to test with RC2, which is not supported on Android. Let's skip it.

Contributes to #88747.

One accepted we should backport to release/7.0 and release/6.0.

Author: vcsjones
Assignees: vcsjones
Labels:

area-System.Security

Milestone: -

@vcsjones
Copy link
Member Author

/azp run runtime-android, runtime-androidemulator

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 88787 in repo dotnet/runtime

@vcsjones
Copy link
Member Author

/azp run runtime-android,runtime-androidemulator

@azure-pipelines
Copy link

No commit pushedDate could be found for PR 88787 in repo dotnet/runtime

@vcsjones
Copy link
Member Author

/azp run runtime-android, runtime-androidemulator

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

Copy link
Member

@carlossanlop carlossanlop left a comment

Choose a reason for hiding this comment

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

Assuming the same CI runs that failed in the test get executed here with the extra azp runs, and they pass, then LGTM.

@vcsjones
Copy link
Member Author

/azp run runtime-android, runtime-androidemulator

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@vcsjones vcsjones added the test-bug Problem in test source code (most likely) label Jul 13, 2023
@vcsjones
Copy link
Member Author

Test failures are unrelated. The tests that were failing are now being skipped.
image

Merging.

@vcsjones vcsjones merged commit dedaf46 into dotnet:main Jul 13, 2023
103 of 112 checks passed
@vcsjones vcsjones deleted the rc2-pkcs12 branch July 13, 2023 14:30
@vcsjones
Copy link
Member Author

/backport to release/7.0-staging
/backport to release/6.0-staging

@github-actions
Copy link
Contributor

Started backporting to release/7.0-staging: https://github.com/dotnet/runtime/actions/runs/5545249733

@github-actions
Copy link
Contributor

@vcsjones backporting to release/7.0-staging failed, the patch most likely resulted in conflicts:

$ git am --3way --ignore-whitespace --keep-non-patch changes.patch

Applying: Skip iteration count tests on RC2 PKCS12 documents on platforms that do not support RC2 (Android)
Using index info to reconstruct a base tree...
A	src/libraries/System.Security.Cryptography/tests/X509Certificates/PfxIterationCountTests.CustomAppContextDataLimit.cs
A	src/libraries/System.Security.Cryptography/tests/X509Certificates/PfxIterationCountTests.cs
Falling back to patching base and 3-way merge...
Auto-merging src/libraries/System.Security.Cryptography.X509Certificates/tests/PfxIterationCountTests.cs
CONFLICT (content): Merge conflict in src/libraries/System.Security.Cryptography.X509Certificates/tests/PfxIterationCountTests.cs
Auto-merging src/libraries/System.Security.Cryptography.X509Certificates/tests/PfxIterationCountTests.CustomAppDomainDataLimit.cs
CONFLICT (content): Merge conflict in src/libraries/System.Security.Cryptography.X509Certificates/tests/PfxIterationCountTests.CustomAppDomainDataLimit.cs
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Skip iteration count tests on RC2 PKCS12 documents on platforms that do not support RC2 (Android)
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

@github-actions
Copy link
Contributor

@vcsjones an error occurred while backporting to release/7.0-staging, please check the run log for details!

Error: git am failed, most likely due to a merge conflict.

@ghost ghost locked as resolved and limited conversation to collaborators Aug 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Security test-bug Problem in test source code (most likely)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants