-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[iOS][libraries] Skip failing iOS tests with ActiveIssues and proj level skips #51491
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
Merged
Merged
Changes from all commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
af145aa
[iOS][tvOS][libraries] Add Microsoft.Extensions.Hosting.Unit.Tests cl…
40e7e09
[iOS][tvOS][libraries] Add Microsoft.Extensions.Logging.Console.Tests…
4d73eef
[iOS][tvOS][libraries] Add Microsoft.VisualBasic.Core.Tests ActiveIss…
ef1b757
[iOS][tvOS][libraries] Add System.Collections.Immutable.Tests ActiveI…
2aa718e
[iOS][tvOS][libraries] Add System.Console.Tests PNSE ActiveIssues 36878
21e9d29
[iOS][tvOS][libraries] Add System.Data.Common.Tests ActiveIssues 36879
0246404
[iOS][tvOS][libraries] Add System.Diagnostics.Debug.Tests ActiveIssue…
19f342a
[iOS][tvOS][libraries] Add System.Diagnostics.Process.Tests ActiveIss…
9d880b6
[iOS][tvOS][libraries] Add System.Diagnostics.StackTrace.Tests Active…
0818061
[iOS][tvOS][libraries] Add System.Diagnostics.Tracing.Tests ActiveIss…
9ec775f
[iOS][tvOS][libraries] Add System.IO.Compression.Brotli.Tests ActiveI…
6e95dc4
[iOS][tvOS][libraries] Add System.IO.Compression.Tests test project skip
520dee3
[iOS][tvOS][libraries] Add System.IO.Compression.Tests ActiveIssue 51376
b75b57b
[iOS][tvOS][libraries] Add System.IO.FileSystem.Watcher.Tests ActiveI…
3355723
[iOS][tvOS][libraries] Add System.IO.MemoryMappedFiles.Tests ActiveIs…
0f72ebc
[iOS][tvOS][libraries] Add System.IO.Tests ActiveIssue 51390
e9e55eb
[iOS][tvOS][libraries] Add System.Net.NameResolution.Functional.Tests…
4a798e9
[iOS][tvOS][libraries] Add System.Net.NetworkInformation.Functional.T…
bf8d939
[iOS][tvOS][libraries] Add System.Reflection.Tests ActiveIssues 36892
e87df9b
[iOS][tvOS][libraries] Add System.Resources.ResourceManager.Tests Act…
bb2894b
[iOS][tvOS][libraries] Add System.Runtime.Extensions.Tests ActiveIssu…
300f063
[iOS][tvOS][libraries] Add System.Security.Cryptography.Encoding.Test…
0c7f4e1
[iOS][libraries] Add System.Security.Cryptograph.OpenSsl.Tests test p…
0040180
[iOS][tvOS][libraries] Add System.Text.Encoding.Tests ActiveIssue 51394
2b332e3
[iOs][tvOS][libraries] Add System.Text.RegularExpressions.Tests Activ…
476be16
[iOS][tvOS][libraries] Add System.Threading.Tests ActiveIssue 51400
b8bdc81
[iOS][tvOS][libraries] Remove dated test exclusions
4bce18f
[iOS][tvOS][libraries] Skip test suites that crash or hang in iOS/tvOS
ba9614e
[tvOS] Add System.Linq.Expressions.Tests hangs ActiveIssue
a22fc0b
[tvOS] Add System.Memory.Tests hangs ActiveIssue
aee8f62
[iOS][tvOS] Add System.Net.Sockets.Tests hangs ActiveIssue
aa69c73
[iOS][libraries] Remove ios target from System.IO.Ports
09be804
[iOS][tvOS] Add System.Runtime.Tests ActiveIssue 52072
757023e
[iOS][tvOS] Add System.Threading.Thread.Tests PNSE ActiveIssue
263f836
[iOS][tvOS] Refactor test suite skips
754d6fc
[iOS][tvOS] Add System.Net.Quic.Functional.Tests test proj skip
77692f2
[iOS][tvOS] Add issues for hanging and crashed test suites
23bf1c2
[iOS][tvOS] Add System.Net.Sockets.Tests ActiveIssue 52124
854b0b1
[iOS][tvOS] Update System.Security.Cryptography.Csp.Tests ActiveIssue
4c1bace
[iOS][tvOS] Update System.Cryptography.Algorithms ActiveIssue
c73da54
[iOS][tvOS] Add System.Console PNSE tests to SkipPlatform
tqiu8 e023e03
[iOS][tvOS] Add System.Security.Cryptography RountripEmptyArray flake…
fa253f8
[iOS][tvOS] Add Microsoft.Extensions.Hosting remaining ActiveIssue
88e4012
[iOS][tvOS] Add Microsoft.Extensions.Hosting.Unit.Tests SkipOnPlatform
a55f286
[iOS][tvOS] Update System.Diagnostics.Process ActiveIssue to SkipOnPl…
tqiu8 efadd89
[iOS][tvOS] Convert ActiveIssue to SkipOnPlatform for PNSE related te…
tqiu8 72e5e27
[iOS][tvOS] Move SkipOnPlatform attribute for System.Console SyncText…
tqiu8 af9677e
[iOS][tvOS] Add System.Net.Sockets.Tests PNSE SkipOnPlatform
610058d
[iOS][tvOS] Add System.Threading.Thread.Tests PNSE SkipOnPlatform
660a03f
[iOS][tvOS] Add System.Runtime.Extensions.Tests PNSE SkipOnPlatform
d3fdbe9
[iOS][tvOS] Add System.Security.Cryptography.Xml.Tests PNSE SkipOnPla…
5bb9c58
[iOS][tvOS] Add System.Security.Cryptography.Xml.Tests ActiveIssue 51370
9eb7e60
[iOS][tvOS] System.IO.FileSystem.Tests crashes with process terminated
1d422e9
[iOS][tvOS] Add System.IO.FileSystem.Tests SkipOnPlatform
a0ff63e
[iOS][tvOS] Add System.IO.FileSystem.Tests ActiveIssue
580308d
[iOS][tvOS] Update test suites skipped due to PNSE
e7a4d5d
[iOS][tvOS] Remove Microsoft.Extensions.HostFactoryResolver and Syste…
5f65e18
[iOS][tvOS] Reenable System.Diagnostics.Process.Tests ActiveIssue and…
5c48370
[tvOS] Skip tvOS.Simulator.Aot.Test due to linking issue
3f044b9
[iOS][tvOS] Skip ipv6 System.Net.Sockets.Tests PNSE
9a3155a
[iOS][tvOS] Update System.Threading.Thread.Tests PNSE SkipOnPlatform
662e4cd
[iOS][tvOS] Add System.Runtime.Extensions.Tests UserName_Valid Active…
093db84
[iOS][tvOS][Catalyst] Update System.IO.FileSystem SkipOnPlatform
80fcf69
[iOS][tvOS] Remove System.Xml.XmlSchemaSet.Tests test proj skip
acac640
[iOS][tvOS] Remove System.IO.Compression.Tests test proj skip
efe09f4
[MacCatalyst] Amend all iOS tvOS ActiveIssues to include MacCatalyst
b0b1a8c
[iOS][tvOS] Remove System.Xml.RW.XmlReader.Tests ActiveIssue 49187
e5d9708
[libraries] Undo incorrect SkipOnPlatform change
287b6aa
Temporarily skip iOS Simulator AOT functional test
755f1f9
[iOS][tvOS][libraries] Add System.Threading.Tasks.Tests ActiveIssue 5…
0dbecd9
[iOS][tvOS] Skip suites crashing on CI that pass locally
ccd9398
[iOS][tvOS] Add System.IO.Compression.ZipFile.Tests ActiveIssue faili…
e28bbde
[iOS][tvOS] Add System.Net.Ping.Functional.Tests ActiveIssue failing …
2aa52ed
Fix typo
f01f3cf
[iOS][tvOS][macCatalyst] Temporary test suite skips to get checks pas…
31ac47c
[iOS][tvOS] Add System.IO.Packaging and System.Security.Cryptography.…
488a6f7
Fix typo in SkipOnPlatform in System.Runtime.Extensions
fe031a4
[iOS][tvOS] Add GitHub issue to System.Linq.Expressions.Tests tvOS Ac…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be necessary anymore, fixed by AppleAppBuilder change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@filipnavara I just ran the test suite locally (based on 835f7c9) and it seems to still fail with what I think are the same failures and messages.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest CI run also saw consistent crashes of System.Security.Cryptography.Algorithms.Tests across iOSSimulator/tvOSSimulator and MacCatalyst, we should probably disable it for now too so we can get this PR in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akoeplinger Are they the crashes from the AesGcm, AesCcm and ChaCha20Poly1305 tests that fail to load OpenSSL? I'd very much prefer to disable just the three test classes. #52598
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
AesGcm
,AesCcm
,ChaChaPoly1305
shouldn't even by trying to load the "real" implementation on non-macOS platforms since they are backed by OpenSSL. If these are indeed the cause then we should fix the project file so that we end up comingAesGcm.NotSupported.cs
instead ofAesGcm.Unix.cs
for these platforms.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vcsjones Yes, it should totally be done. At the moment iOS/tvOS/MacCatalyst consume the same implemention as macOS. I didn't want to touch it since the code was still very much in flux for the past weeks due to introduction of ChaChaPoly.
Until that is done properly I would still prefer not to disable the whole test suite but just the three affected classes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@filipnavara https://gist.github.com/mdh1418/7ad77945032249078a8d438fe9321c25 I've been seeing problems with ChaCha20Poly1305 issues when running
System.Security.Cryptography.Algorithms.Tests
locallyThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mdh1418 The AesCcm, AesGcm and ChaCha20Poly1305 classes are supposed to throw PNSE on iOS-like platforms. The main reason why I didn't submit PR for it is that ChaChaPoly is new code and the same PR introduced
AesCcm.IsSupported
andAesGcm.IsSupported
properties. The tests are now guarded by the new properties but the implementation still incorrectly returnstrue
on iOS and/or attempts to load the OpenSSL library. In some cases it results in loading the native OpenSSL shim library which in turnassert
s in native code because real OpenSSL is not available. Theassert
causes the whole test suite to crash.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Obviously the correct fix is to fix all the
.IsSupported
methods to returnfalse
but since there are still open issues with the new code and @vcsjones attacks the same API surface I didn't want to interfere with the in-flight PRs.We can do surgical workaround by disabling just the three test classes and re-enabling it once the dust settles and the implementation is fixed properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup sounds good, but we'll still go ahead and merge this PR for now to get to a green state in runtime-staging :)