[Bcl][Tests] Ignore the ssl related bcl tests that block.#6228
[Bcl][Tests] Ignore the ssl related bcl tests that block.#6228mandel-macaque wants to merge 1 commit intodotnet:mono-2019-06from
Conversation
There are a number of tests that block in the BCL relatd to ssl, mono issue mono/mono#14938 was added to track them.
|
Closing since we can push to the monthly branch directly. |
|
Build failure Test results43 tests failed, 112 tests passed.Failed tests
|
Context: mono/mono#14938 Context: dotnet/macios#6228
Bump to mono/2019-06 branch and set mono required versions. [cecil] Fix the cecil build by reverting "Add a solution file for remap-assembly-ref (#3248)" Using the solution instead of csproj broke the cecil build. I didn't traced all the details, but we ended up with compiling `Mono.Cecil.dll` without any references. Use 7z when downloading Mono Archives [xaprepare] Drop llvm32 cross compilers Mono has just dropped the llvm32 cross compilers because it is now possible to cross compile to 32-bit using the 64-bit compiler. Remove requirement for 32-bit llvm runtime in preparation stage. [tests] Updated Xamarin.Android.Net tests Update Properties_Invalid test to reflect current implementation This was testing part of our old HttpClientHandler implementation introduced here: mono/mono@f97e03f The current corefx implementation doesn't throw when `UseProxy` is false. The documentation doesn't specify such behavior, so I assume it was specific for our old implementaion. Context: https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclienthandler.proxy?view=netframework-4.8 https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclienthandler.useproxy?view=netframework-4.8 https://github.com/mono/corefx/blob/9354dfd8d3cd4af62592bee9d8fe434e5694788a/src/System.Net.Http/src/System/Net/Http/HttpClientHandler.Unix.cs#L242 https://github.com/mono/corefx/blob/9354dfd8d3cd4af62592bee9d8fe434e5694788a/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/SocketsHttpHandler.cs#L75 https://github.com/mono/corefx/blob/9354dfd8d3cd4af62592bee9d8fe434e5694788a/src/System.Net.Http/src/System/Net/Http/CurlHandler/CurlHandler.cs#L234 Remove broken HttpClient test Context: #3155 (comment) [linker] Disable linker's UnreachableBodies optimization Disable it for now til we find out a fix. Context: #3202 [jnimarshalmethod-gen] Introduce MonoAndroidLibDirectory property As we have switched to dynamically linker mono recently, we need to have libmonosgen in dyld path. So we set `DYLD_LIBRARY_PATH` for `mono` when running `jnimarshalmethod-gen` [tests] Exclude network tests which hang. Context: mono/mono#14938 Context: dotnet/macios#6228 [xamarin-android-api-compatibility] API changes System.IO.Enumeration.FileSystemName and System.Security.Cryptography.CryptographicOperations classes were removed from System.xml as they were duplicates of mscorlib ones. They were removed as part of NS2.1 work in mono. They were added by mistake and removed later. Because they were already present in 16.1 and 16.2 respectively, mono team added type forwarders to `System.dll` to avoid/lessen API breakage. System.dll now contains: .class extern forwarder System.IO.Enumeration.FileSystemName { .assembly extern mscorlib } .class extern forwarder System.Security.Cryptography.CryptographicOperations { .assembly extern mscorlib } Context: mono/mono@ba719ac #3155 (comment) 3 extension methods extracted from `System.Threading.Tasks.TaskExtensions` to a new `System.Threading.Tasks.TaskAsyncEnumerableExtensions` class. They stay in the same namespace and being extension methods, they should not break anything. public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait<T> (this System.Collections.Generic.IAsyncEnumerable<T>, bool); public static System.Runtime.CompilerServices.ConfiguredAsyncDisposable ConfigureAwait (this System.IAsyncDisposable, bool); public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<T> WithCancellation<T> (this System.Collections.Generic.IAsyncEnumerable<T>, System.Threading.CancellationToken); Context: dotnet/standard@ebeec50#diff-93ef3714cd10edf17d6d8045cf3406b8 #3155 (comment)
Bump to mono/2019-06 branch and set mono required versions. [cecil] Fix the cecil build by reverting "Add a solution file for remap-assembly-ref (#3248)" Using the solution instead of csproj broke the cecil build. I didn't traced all the details, but we ended up with compiling `Mono.Cecil.dll` without any references. Use 7z when downloading Mono Archives [xaprepare] Drop llvm32 cross compilers Mono has just dropped the llvm32 cross compilers because it is now possible to cross compile to 32-bit using the 64-bit compiler. Remove requirement for 32-bit llvm runtime in preparation stage. [tests] Updated Xamarin.Android.Net tests Update Properties_Invalid test to reflect current implementation This was testing part of our old HttpClientHandler implementation introduced here: mono/mono@f97e03f The current corefx implementation doesn't throw when `UseProxy` is false. The documentation doesn't specify such behavior, so I assume it was specific for our old implementaion. Context: https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclienthandler.proxy?view=netframework-4.8 https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclienthandler.useproxy?view=netframework-4.8 https://github.com/mono/corefx/blob/9354dfd8d3cd4af62592bee9d8fe434e5694788a/src/System.Net.Http/src/System/Net/Http/HttpClientHandler.Unix.cs#L242 https://github.com/mono/corefx/blob/9354dfd8d3cd4af62592bee9d8fe434e5694788a/src/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/SocketsHttpHandler.cs#L75 https://github.com/mono/corefx/blob/9354dfd8d3cd4af62592bee9d8fe434e5694788a/src/System.Net.Http/src/System/Net/Http/CurlHandler/CurlHandler.cs#L234 Remove broken HttpClient test Context: #3155 (comment) [linker] Disable linker's UnreachableBodies optimization Disable it for now til we find out a fix. Context: #3202 [jnimarshalmethod-gen] Introduce MonoAndroidLibDirectory property As we have switched to dynamically linker mono recently, we need to have libmonosgen in dyld path. So we set `DYLD_LIBRARY_PATH` for `mono` when running `jnimarshalmethod-gen` [tests] Exclude network tests which hang. Context: mono/mono#14938 Context: dotnet/macios#6228 [xamarin-android-api-compatibility] API changes System.IO.Enumeration.FileSystemName and System.Security.Cryptography.CryptographicOperations classes were removed from System.xml as they were duplicates of mscorlib ones. They were removed as part of NS2.1 work in mono. They were added by mistake and removed later. Because they were already present in 16.1 and 16.2 respectively, mono team added type forwarders to `System.dll` to avoid/lessen API breakage. System.dll now contains: .class extern forwarder System.IO.Enumeration.FileSystemName { .assembly extern mscorlib } .class extern forwarder System.Security.Cryptography.CryptographicOperations { .assembly extern mscorlib } Context: mono/mono@ba719ac #3155 (comment) 3 extension methods extracted from `System.Threading.Tasks.TaskExtensions` to a new `System.Threading.Tasks.TaskAsyncEnumerableExtensions` class. They stay in the same namespace and being extension methods, they should not break anything. public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<T> ConfigureAwait<T> (this System.Collections.Generic.IAsyncEnumerable<T>, bool); public static System.Runtime.CompilerServices.ConfiguredAsyncDisposable ConfigureAwait (this System.IAsyncDisposable, bool); public static System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable<T> WithCancellation<T> (this System.Collections.Generic.IAsyncEnumerable<T>, System.Threading.CancellationToken); Context: dotnet/standard@ebeec50#diff-93ef3714cd10edf17d6d8045cf3406b8 #3155 (comment)
There are a number of tests that block in the BCL relatd to ssl, mono
issue mono/mono#14938 was added to track them.