From 4a45479f31b7dd6812e40d01c278cd63d51b16ad Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 20 Feb 2020 14:45:45 +0300 Subject: [PATCH 01/84] Enable libraries release test execution against a release mono runtime on Windows --- eng/pipelines/runtime.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/pipelines/runtime.yml b/eng/pipelines/runtime.yml index cded9f4807e80d..e48d834b4740b3 100644 --- a/eng/pipelines/runtime.yml +++ b/eng/pipelines/runtime.yml @@ -680,7 +680,7 @@ jobs: runtimeFlavor: mono buildConfig: ${{ variables.debugOnPrReleaseOnRolling }} platforms: - # - Windows_NT_x64 + - Windows_NT_x64 - OSX_x64 - Linux_arm64 - Linux_x64 From e48c22087dada98bf86e4325da5f8a06b0065251 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Tue, 10 Mar 2020 18:14:20 +0300 Subject: [PATCH 02/84] Make library test CI lane green on windows x64 --- src/mono/netcore/CoreFX.issues_windows.rsp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index dd20822c9a1fcb..dac1b5b196519d 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -2,7 +2,7 @@ -nomethod System.Tests.GCTests.LatencyRoundtrips_LowLatency # Type.GetTypeFromCLSID is not implemented --nomethod System.Tests.TypeTestsNetcore.* +-nomethod System.Tests.TypeTests.* # these math functions should be portable, e.g. see HAVE_COMPATIBLE_EXP in coreclr -nomethod System.Tests.MathFTests.Acosh @@ -19,6 +19,7 @@ # TODO: investigate (too many failures or stuck) -nomethod System.Threading.Tests.WaitHandleTests.SignalAndWait -nomethod System.Threading.Tests.WaitHandleTests.WaitAll_SameNames +-nomethod System.Threading.Tests.WaitHandleTests.WaitAny_MaxHandles_STA -nomethod System.Tests.ActivatorTests.TestingCreateInstanceObjectHandleFullSignatureWinRT -nonamespace System.IO.Pipes.Tests -nonamespace System.IO.Tests From 652dfee17cbe7b763311beaca57dbe3ee654a9e5 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 11 Mar 2020 12:40:48 +0300 Subject: [PATCH 03/84] Disable the failing tests --- src/mono/netcore/CoreFX.issues_windows.rsp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index dac1b5b196519d..ce3a630ff18300 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -3,6 +3,10 @@ # Type.GetTypeFromCLSID is not implemented -nomethod System.Tests.TypeTests.* +-nomethod System.Reflection.Tests.MemberInfoTests.HasSameMetadataDefinitionAs_CornerCase_CLSIDConstructor +-nomethod System.Reflection.Tests.MemberInfoTests.HasSameMetadataDefinitionAs_Negative_Null +-nomethod System.Reflection.Tests.MemberInfoTests.HasSameMetadataDefinitionAs_Negative_NonRuntimeType +-nomethod System.Reflection.Tests.AssemblyTests.LoadFile_ValidPEBadIL_ThrowsBadImageFormatExceptionWithPath # these math functions should be portable, e.g. see HAVE_COMPATIBLE_EXP in coreclr -nomethod System.Tests.MathFTests.Acosh @@ -13,6 +17,8 @@ -nomethod System.Tests.MathTests.Asinh -nomethod Microsoft.VisualBasic.Tests.ConversionTests.Val +-nomethod System.Collections.Concurrent.Tests.BlockingCollectionTests.Test_LargeSize_STA + # segfault -nomethod Microsoft.VisualBasic.Tests.FileSystemTests.Input_Object_Write From cc7da1e0b9ec0eefb1c38eff2979f04317507f32 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 12 Mar 2020 13:01:45 +0300 Subject: [PATCH 04/84] Disable more failing tests --- src/mono/netcore/CoreFX.issues_windows.rsp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index ce3a630ff18300..16fd9c43d8737f 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -38,6 +38,7 @@ -nonamespace System.ComponentModel.Composition -nonamespace BasicEventSourceTests -nonamespace System.ComponentModel.TypeConverterTests +-nonamespace System.DirectoryServices.Protocols.Tests -nomethod System.Diagnostics.Tests.CounterSampleTests.* -nomethod Tests.Integration.DiscoveryTests.DiscoverAddinsWithCombinedCustomExportAndMetadataAttribute @@ -45,6 +46,7 @@ -nomethod System.Diagnostics.Tests.ProcessStartInfoTests.StartInfo_BadVerb -nomethod System.Diagnostics.Tests.ProcessStartInfoTests.StartInfo_BadExe -nomethod System.Diagnostics.Tests.ProcessTests.ProcessStart_UseShellExecute_Executes +-nomethod System.Diagnostics.Tests.ProcessTests.ProcessStart_UseShellExecute_ExecuteOrder -nomethod System.Diagnostics.Tests.ProcessTests.ProcessStart_UseShellExecute_WorkingDirectory -nomethod System.Diagnostics.TraceSourceTests.SwitchClassTests.PruneTest -nomethod System.DirectoryServices.AccountManagement.Tests.PrincipalContextTests.Ctor_ContextType From e5b0947bb90a639d8133124a059d35e7d1ee37fe Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 12 Mar 2020 17:23:15 +0300 Subject: [PATCH 05/84] Disable more failing tests --- src/mono/netcore/CoreFX.issues_windows.rsp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 16fd9c43d8737f..3f1061af1b2fcc 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -31,14 +31,25 @@ -nonamespace System.IO.Tests -nonamespace System.Net -nonamespace System.Threading.Tasks.Dataflow.Tests +-nonamespace System.Threading.Tasks.Tests -nonamespace System.Security.Cryptography.Pkcs -nonamespace System.Runtime.InteropServices.WindowsRuntime +-nonamespace System.Runtime.InteropServices.Tests -nonamespace System.Management.Tests -nonamespace System.Threading.Overlapped.Tests -nonamespace System.ComponentModel.Composition -nonamespace BasicEventSourceTests -nonamespace System.ComponentModel.TypeConverterTests -nonamespace System.DirectoryServices.Protocols.Tests +-nonamespace System.Runtime.Serialization.Formatters.Tests + +-nonamespace System.Drawing.Printing.Tests +-nonamespace System.Drawing.Imaging.Tests +-nonamespace System.Drawing.Drawing2D.Tests +-nonamespace System.Drawing.Design.Tests +-nonamespace System.Drawing.Tests +-nonamespace System.Drawing.Text.Tests +-nonamespace MonoTests.System.Drawing -nomethod System.Diagnostics.Tests.CounterSampleTests.* -nomethod Tests.Integration.DiscoveryTests.DiscoverAddinsWithCombinedCustomExportAndMetadataAttribute @@ -70,12 +81,15 @@ -nomethod System.Threading.Tests.EventWaitHandleTests.* -nomethod System.Threading.Tests.MutexTests.* -nomethod System.Threading.Tests.SemaphoreTests.* +-nomethod System.Threading.Tests.SemaphoreAclTests.Semaphore_Create_BeyondMaxPathLength +-nomethod System.Threading.Tests.EventWaitHandleAclTests.EventWaitHandle_Create_BeyondMaxPathLength -nomethod System.Threading.Threads.Tests.ThreadTests.* -nomethod System.ComponentModel.TypeConverterTests -nomethod System.Xml.Tests.CTransformResolverTest.TC_AbsolutePath_Transform -nomethod System.Tests.StringTests.NormalizationTest -nomethod System.Globalization.Tests.StringNormalizationAllTests.Normalize -nomethod System.Globalization.Tests.StringNormalizationTests.IsNormalized +-nomethod System.IO.Ports.Tests.GetPortNames.OpenEveryPortName # * Assertion at method-to-ir.c:12425, condition `var->opcode == OP_REGOFFSET' not met -nomethod System.Runtime.Tests.NullableMetadataTests.ShimsHaveOnlyTypeForwards From 11cf0e80f2b133246388d821b6af091191153c4b Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 16 Mar 2020 09:40:34 +0300 Subject: [PATCH 06/84] Disable more faiing tests --- src/mono/netcore/CoreFX.issues_windows.rsp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 3f1061af1b2fcc..b90e21e5fb7ce8 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -90,6 +90,8 @@ -nomethod System.Globalization.Tests.StringNormalizationAllTests.Normalize -nomethod System.Globalization.Tests.StringNormalizationTests.IsNormalized -nomethod System.IO.Ports.Tests.GetPortNames.OpenEveryPortName +-nomethod System.IO.CreateSafeFileHandleTests.* +-nomethod System.IO.AsWinRTStreamTests.* # * Assertion at method-to-ir.c:12425, condition `var->opcode == OP_REGOFFSET' not met -nomethod System.Runtime.Tests.NullableMetadataTests.ShimsHaveOnlyTypeForwards From a1928c0671b4b344ff0c72dc387f06b72b368c19 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 16 Mar 2020 11:52:23 +0300 Subject: [PATCH 07/84] Disable more failing tests --- src/mono/netcore/CoreFX.issues_windows.rsp | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index b90e21e5fb7ce8..22ae11ecdf25f5 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -95,3 +95,32 @@ # * Assertion at method-to-ir.c:12425, condition `var->opcode == OP_REGOFFSET' not met -nomethod System.Runtime.Tests.NullableMetadataTests.ShimsHaveOnlyTypeForwards + +# System.PlatformNotSupportedException : This API is specific to the way in which Windows handles asynchronous I/O, and is not supported on this platform. +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenCallbackInvokedOnFileChange +-nomethod Microsoft.Extensions.FileProviders.Physical.Tests.PhysicalFilesWatcherTests.HandlesOnRenamedEventsThatMatchRootPath +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenNotAffectedByExceptions +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.FileChangeTokenNotNotifiedAfterExpiry +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensNotFiredForHiddenAndSystemFiles +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenFiredForFilesUnderPathEndingWithSlash +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenFiredOnCreation +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensFiredForAllEntriesOnError +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.WatcherWithPolling_ReturnsTrueForFileRemovedWhenFileSystemWatcherDoesNotRaiseEvents +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.CreateReadStreamSucceedsOnEmptyFile +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensFiredForOldAndNewNamesOnRename +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenForWhitespaceFilters +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.CorrectTokensFiredForMultipleFiles +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensFiredForNewDirectoryContentsOnRename +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensFiredOnFileDeleted +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenFiredForRelativePathStartingWithSlash_Windows +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenNotFiredForFileNameStartingWithPeriod +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.WildCardToken_RaisesEventsForNewFilesAdded +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenFiredForGlobbingPatternsPointingToSubDirectory +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenIsSameForSamePath +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenIsSameForSamePathCaseInsensitive +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.WildCardToken_RaisesEventsWhenFileSystemWatcherDoesNotFire +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenFiredOnDeletion +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensWithForwardAndBackwardSlashesAreSame +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensFiredOnFileChange +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.WatcherWithPolling_ReturnsTrueForFileChangedWhenFileSystemWatcherDoesNotRaiseEvents +-nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenForEmptyFilter From e0e05d78bd322d16401de7c6b232ceee39602eb7 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 16 Mar 2020 14:52:20 +0300 Subject: [PATCH 08/84] Disable more failing tests --- .../System.DirectoryServices/tests/AssemblyInfo.cs | 7 +++++++ .../tests/System.DirectoryServices.Tests.csproj | 1 + .../System.Runtime.Serialization.Xml/tests/AssemblyInfo.cs | 7 +++++++ .../tests/System.Runtime.Serialization.Xml.Tests.csproj | 1 + 4 files changed, 16 insertions(+) create mode 100644 src/libraries/System.DirectoryServices/tests/AssemblyInfo.cs create mode 100644 src/libraries/System.Runtime.Serialization.Xml/tests/AssemblyInfo.cs diff --git a/src/libraries/System.DirectoryServices/tests/AssemblyInfo.cs b/src/libraries/System.DirectoryServices/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..01afae06604dab --- /dev/null +++ b/src/libraries/System.DirectoryServices/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: ActiveIssue("cant resolve internal call to System.DirectoryServices.ActiveDirectory.NativeComInterfaces/Pathname::.ctor", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj b/src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj index c4df6bbeb60f50..21938e402abcb3 100644 --- a/src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj +++ b/src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj @@ -4,6 +4,7 @@ $(NetCoreAppCurrent)-Windows_NT;$(NetFrameworkCurrent) + diff --git a/src/libraries/System.Runtime.Serialization.Xml/tests/AssemblyInfo.cs b/src/libraries/System.Runtime.Serialization.Xml/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..d54e58b476fe57 --- /dev/null +++ b/src/libraries/System.Runtime.Serialization.Xml/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: ActiveIssue("Disabled due to multiple crashes.", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Runtime.Serialization.Xml/tests/System.Runtime.Serialization.Xml.Tests.csproj b/src/libraries/System.Runtime.Serialization.Xml/tests/System.Runtime.Serialization.Xml.Tests.csproj index 6be96a664a5691..cdf4fe029f5fed 100644 --- a/src/libraries/System.Runtime.Serialization.Xml/tests/System.Runtime.Serialization.Xml.Tests.csproj +++ b/src/libraries/System.Runtime.Serialization.Xml/tests/System.Runtime.Serialization.Xml.Tests.csproj @@ -3,6 +3,7 @@ $(NetCoreAppCurrent) + From 53dffc7e606eb74c344d49794962a510768ae791 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 16 Mar 2020 22:42:15 +0300 Subject: [PATCH 09/84] Disable more failing tests --- .../System.Diagnostics.Process/tests/AssemblyInfo.cs | 7 +++++++ .../tests/System.Diagnostics.Process.Tests.csproj | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 5 ----- 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 src/libraries/System.Diagnostics.Process/tests/AssemblyInfo.cs diff --git a/src/libraries/System.Diagnostics.Process/tests/AssemblyInfo.cs b/src/libraries/System.Diagnostics.Process/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..982ecdf51209d3 --- /dev/null +++ b/src/libraries/System.Diagnostics.Process/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: ActiveIssue("Disabled due to a runtime crash.", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj b/src/libraries/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj index e2f3f7ad84f9f2..2dede5322ab646 100644 --- a/src/libraries/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj +++ b/src/libraries/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj @@ -6,6 +6,7 @@ $(NetCoreAppCurrent)-Windows_NT;$(NetCoreAppCurrent)-Unix + System\PasteArguments.cs diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 22ae11ecdf25f5..963ef6effc206f 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -54,11 +54,6 @@ -nomethod System.Diagnostics.Tests.CounterSampleTests.* -nomethod Tests.Integration.DiscoveryTests.DiscoverAddinsWithCombinedCustomExportAndMetadataAttribute -nomethod WindowAndCursorProps.* --nomethod System.Diagnostics.Tests.ProcessStartInfoTests.StartInfo_BadVerb --nomethod System.Diagnostics.Tests.ProcessStartInfoTests.StartInfo_BadExe --nomethod System.Diagnostics.Tests.ProcessTests.ProcessStart_UseShellExecute_Executes --nomethod System.Diagnostics.Tests.ProcessTests.ProcessStart_UseShellExecute_ExecuteOrder --nomethod System.Diagnostics.Tests.ProcessTests.ProcessStart_UseShellExecute_WorkingDirectory -nomethod System.Diagnostics.TraceSourceTests.SwitchClassTests.PruneTest -nomethod System.DirectoryServices.AccountManagement.Tests.PrincipalContextTests.Ctor_ContextType -nomethod System.DirectoryServices.AccountManagement.Tests.PrincipalContextTests.ValidateCredentials_Invoke_ReturnsExpected From a292e186fdb86d802249482af8fce3be4599e740 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 26 Mar 2020 12:35:41 +0300 Subject: [PATCH 10/84] Disbale more Microsoft.Extensions.* tests throwing PNSE --- src/mono/netcore/CoreFX.issues_windows.rsp | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 963ef6effc206f..479b45b61d8ec1 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -119,3 +119,26 @@ -nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensFiredOnFileChange -nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.WatcherWithPolling_ReturnsTrueForFileChangedWhenFileSystemWatcherDoesNotRaiseEvents -nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenForEmptyFilter +-nomethod Microsoft.Extensions.Configuration.FunctionalTests.ArrayTests.DifferentConfigSources_Merged_WithOverwrites +-nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.BindingDoesNotThrowIfReloadedDuringBinding +-nomethod Microsoft.Extensions.Configuration.FunctionalTests.ArrayTests.DifferentConfigSources_Merged_KeysAreSorted +-nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.OnLoadErrorCanIgnoreErrors +-nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.GetDefaultBasePathForSources +-nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.CanEnumerateProviders +-nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.LoadAndCombineKeyValuePairsFromDifferentConfigurationProvidersWithAbsolutePath +-nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.OnLoadErrorWillBeCalledOnJsonParseError +-nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.OnLoadErrorWillBeCalledOnXmlParseError +-nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.LoadIncorrectJsonFile_ThrowException +-nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.OnLoadErrorWillBeCalledOnIniLoadError +-nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.CanOverrideValuesWithNewConfigurationProvider +-nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.SetBasePathCalledMultipleTimesForEachSourceLastOneWins +-nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.LoadAndCombineKeyValuePairsFromDifferentConfigurationProviders +-nomethod Microsoft.Extensions.Configuration.UserSecrets.Test.ConfigurationExtensionTest.AddUserSecrets_With_SecretsId_Passed_Explicitly +-nomethod Microsoft.Extensions.Configuration.UserSecrets.Test.ConfigurationExtensionTest.AddUserSecrets_FindsAssemblyAttribute +-nomethod Microsoft.Extensions.Configuration.UserSecrets.Test.ConfigurationExtensionTest.AddUserSecrets_FindsAssemblyAttributeFromType +-nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_RegistersEventSourceLogger +-nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_IncludesContentRootByDefault +-nomethod Microsoft.Extensions.Hosting.HostBuilderTests.CanConfigureAppConfigurationFromFile +-nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_EnablesValidateOnBuild +-nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_EnablesScopeValidation +-nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_IncludesCommandLineArguments \ No newline at end of file From 772eb911e280a72bce829fd57d16793d0591e68a Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 26 Mar 2020 16:17:48 +0300 Subject: [PATCH 11/84] Disable System.Reflection.Emit.Tests namespace --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 479b45b61d8ec1..88a970061e6a8b 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -50,6 +50,7 @@ -nonamespace System.Drawing.Tests -nonamespace System.Drawing.Text.Tests -nonamespace MonoTests.System.Drawing +-nonamespace System.Reflection.Emit.Tests -nomethod System.Diagnostics.Tests.CounterSampleTests.* -nomethod Tests.Integration.DiscoveryTests.DiscoverAddinsWithCombinedCustomExportAndMetadataAttribute From 9a30ac8db6e603970c4835b9ac129b59d5fa8d3a Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 30 Mar 2020 19:21:53 +0300 Subject: [PATCH 12/84] Disable Windows NanoServer leg in helix queues setup in case of Mono --- eng/pipelines/libraries/helix-queues-setup.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/libraries/helix-queues-setup.yml b/eng/pipelines/libraries/helix-queues-setup.yml index 24bee99a968d0b..63e0db2c96317e 100644 --- a/eng/pipelines/libraries/helix-queues-setup.yml +++ b/eng/pipelines/libraries/helix-queues-setup.yml @@ -90,12 +90,14 @@ jobs: - Windows.81.Amd64.Open - Windows.10.Amd64.ServerRS5.Open - Windows.10.Amd64.Server19H1.Open - - (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 + - ${{ if ne(parameters.runtimeFlavor, 'mono') }}: + - (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 - ${{ if eq(parameters.jobParameters.isFullMatrix, false) }}: - Windows.7.Amd64.Open - Windows.81.Amd64.Open - Windows.10.Amd64.Server19H1.ES.Open - - (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 + - ${{ if ne(parameters.runtimeFlavor, 'mono') }}: + - (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 # NET472 - ${{ if eq(parameters.jobParameters.framework, 'net472') }}: From ce0b8d7c5ea0dbec30a0c69dfc23e8f53c0e72c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Mon, 30 Mar 2020 20:49:25 +0200 Subject: [PATCH 13/84] Try different way of disabling nano server --- eng/pipelines/libraries/helix-queues-setup.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/pipelines/libraries/helix-queues-setup.yml b/eng/pipelines/libraries/helix-queues-setup.yml index 63e0db2c96317e..10b99697d0b734 100644 --- a/eng/pipelines/libraries/helix-queues-setup.yml +++ b/eng/pipelines/libraries/helix-queues-setup.yml @@ -90,13 +90,13 @@ jobs: - Windows.81.Amd64.Open - Windows.10.Amd64.ServerRS5.Open - Windows.10.Amd64.Server19H1.Open - - ${{ if ne(parameters.runtimeFlavor, 'mono') }}: + - ${{ if ne(parameters.jobParameters.runtimeFlavor, 'mono') }}: - (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 - ${{ if eq(parameters.jobParameters.isFullMatrix, false) }}: - Windows.7.Amd64.Open - Windows.81.Amd64.Open - Windows.10.Amd64.Server19H1.ES.Open - - ${{ if ne(parameters.runtimeFlavor, 'mono') }}: + - ${{ if ne(parameters.jobParameters.runtimeFlavor, 'mono') }}: - (Windows.Nano.1809.Amd64.Open)windows.10.amd64.serverrs5.open@mcr.microsoft.com/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-08e8e40-20200107182504 # NET472 From 387b20d265d2c24b78ecf6135143f87670ad0fb8 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Tue, 31 Mar 2020 11:06:12 +0300 Subject: [PATCH 14/84] Disable System.Xml.Xsl.XslTransformApi.Tests due to a crash in CI --- .../tests/Xslt/XslTransformApi/AssemblyInfo.cs | 7 +++++++ .../System.Xml.Xsl.XslTransformApi.Tests.csproj | 1 + 2 files changed, 8 insertions(+) create mode 100644 src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/AssemblyInfo.cs diff --git a/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/AssemblyInfo.cs b/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/AssemblyInfo.cs new file mode 100644 index 00000000000000..481b695d13b7fb --- /dev/null +++ b/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: ActiveIssue("Disabled due to a runtime crash.", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] \ No newline at end of file diff --git a/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/System.Xml.Xsl.XslTransformApi.Tests.csproj b/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/System.Xml.Xsl.XslTransformApi.Tests.csproj index acd8a1d9421414..fb893bda6fb8be 100644 --- a/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/System.Xml.Xsl.XslTransformApi.Tests.csproj +++ b/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/System.Xml.Xsl.XslTransformApi.Tests.csproj @@ -3,6 +3,7 @@ $(NetCoreAppCurrent) + From aaba3de760311b1ce323fa4bbc35a00a95c0f8de Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Tue, 31 Mar 2020 14:45:15 +0300 Subject: [PATCH 15/84] Disable more Microsoft.Extensions.Hosting.HostTests tests throwing PNSE --- src/mono/netcore/CoreFX.issues_windows.rsp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 88a970061e6a8b..8d533b34655007 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -142,4 +142,6 @@ -nomethod Microsoft.Extensions.Hosting.HostBuilderTests.CanConfigureAppConfigurationFromFile -nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_EnablesValidateOnBuild -nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_EnablesScopeValidation --nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_IncludesCommandLineArguments \ No newline at end of file +-nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_IncludesCommandLineArguments +-nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_ConfigJsonDoesNotReload +-nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_ConfigJsonDoesReload \ No newline at end of file From ca62239ab1b2f0e05734eafa4a131d8fe440d3bc Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Tue, 31 Mar 2020 17:39:53 +0300 Subject: [PATCH 16/84] Mark System.Tests.GCTests.LatencyRoundtrips_LowLatency with ActiveIssue --- src/libraries/System.Runtime/tests/System/GCTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libraries/System.Runtime/tests/System/GCTests.cs b/src/libraries/System.Runtime/tests/System/GCTests.cs index 1ef341557ff0eb..097f2dcac805bd 100644 --- a/src/libraries/System.Runtime/tests/System/GCTests.cs +++ b/src/libraries/System.Runtime/tests/System/GCTests.cs @@ -419,6 +419,7 @@ public static void LatencyRoundtrips(GCLatencyMode value) } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/31657", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] //Concurrent GC is not enabled on Unix. Recombine to TestLatencyRoundTrips once addressed. [InlineData(GCLatencyMode.LowLatency)] [InlineData(GCLatencyMode.SustainedLowLatency)] diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 8d533b34655007..4f040fd2a9cff0 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -1,6 +1,3 @@ -# GCSettings.SetGCLatencyMode is not implemented --nomethod System.Tests.GCTests.LatencyRoundtrips_LowLatency - # Type.GetTypeFromCLSID is not implemented -nomethod System.Tests.TypeTests.* -nomethod System.Reflection.Tests.MemberInfoTests.HasSameMetadataDefinitionAs_CornerCase_CLSIDConstructor From 2c0a14b03ec3d314e1324830cf54f8771adad181 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Tue, 31 Mar 2020 18:38:05 +0300 Subject: [PATCH 17/84] Mark some tests failing due to Type.GetTypeFromCLSID not implemented with ActiveIssue --- src/libraries/System.Reflection/tests/MemberInfoTests.cs | 3 +++ .../System.Runtime/tests/System/Type/TypeTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 7 ------- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/libraries/System.Reflection/tests/MemberInfoTests.cs b/src/libraries/System.Reflection/tests/MemberInfoTests.cs index bf9485853a402e..5770e94d522311 100644 --- a/src/libraries/System.Reflection/tests/MemberInfoTests.cs +++ b/src/libraries/System.Reflection/tests/MemberInfoTests.cs @@ -416,6 +416,7 @@ public static void HasSameMetadataDefinitionAs_CrossAssembly() [Theory] [MemberData(nameof(NegativeTypeData))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34328", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void HasSameMetadataDefinitionAs_Negative_NonRuntimeType(Type type) { Type mockType = new MockType(); @@ -429,6 +430,7 @@ public static void HasSameMetadataDefinitionAs_Negative_NonRuntimeType(Type type } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34328", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(NegativeTypeData))] public static void HasSameMetadataDefinitionAs_Negative_Null(Type type) { @@ -537,6 +539,7 @@ public static void HasSameMetadataDefinitionAs_CornerCase_ArrayMethods() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34328", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] public static void HasSameMetadataDefinitionAs_CornerCase_CLSIDConstructor() { diff --git a/src/libraries/System.Runtime/tests/System/Type/TypeTests.cs b/src/libraries/System.Runtime/tests/System/Type/TypeTests.cs index d95c9b9a72d0af..7f8cd6368d03cb 100644 --- a/src/libraries/System.Runtime/tests/System/Type/TypeTests.cs +++ b/src/libraries/System.Runtime/tests/System/Type/TypeTests.cs @@ -37,6 +37,7 @@ public void TwoGenericMethod() { } namespace System.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34328", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public partial class TypeTests { private static readonly IList NonArrayBaseTypes; diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 4f040fd2a9cff0..315eebe42dd8eb 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -1,10 +1,3 @@ -# Type.GetTypeFromCLSID is not implemented --nomethod System.Tests.TypeTests.* --nomethod System.Reflection.Tests.MemberInfoTests.HasSameMetadataDefinitionAs_CornerCase_CLSIDConstructor --nomethod System.Reflection.Tests.MemberInfoTests.HasSameMetadataDefinitionAs_Negative_Null --nomethod System.Reflection.Tests.MemberInfoTests.HasSameMetadataDefinitionAs_Negative_NonRuntimeType --nomethod System.Reflection.Tests.AssemblyTests.LoadFile_ValidPEBadIL_ThrowsBadImageFormatExceptionWithPath - # these math functions should be portable, e.g. see HAVE_COMPATIBLE_EXP in coreclr -nomethod System.Tests.MathFTests.Acosh -nomethod System.Tests.MathFTests.Atanh From acd00b3642d5f35d24ba0ae227a3b9b1598a158b Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 1 Apr 2020 10:58:21 +0300 Subject: [PATCH 18/84] Enable some math-related tests passing locally --- src/mono/netcore/CoreFX.issues_windows.rsp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 315eebe42dd8eb..339118731bf411 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -1,12 +1,3 @@ -# these math functions should be portable, e.g. see HAVE_COMPATIBLE_EXP in coreclr --nomethod System.Tests.MathFTests.Acosh --nomethod System.Tests.MathFTests.Atanh --nomethod System.Tests.MathFTests.Asinh --nomethod System.Tests.MathTests.Acosh --nomethod System.Tests.MathTests.Atanh --nomethod System.Tests.MathTests.Asinh --nomethod Microsoft.VisualBasic.Tests.ConversionTests.Val - -nomethod System.Collections.Concurrent.Tests.BlockingCollectionTests.Test_LargeSize_STA # segfault From 532ad2ecbf2bf9df9a3bea3bd42fc26ed0e8e5dd Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 1 Apr 2020 11:31:29 +0300 Subject: [PATCH 19/84] Mark System.Collections.Concurrent.Tests.BlockingCollectionTests.Test_LargeSize_STA with ActiveIssue --- .../tests/BlockingCollectionTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libraries/System.Collections.Concurrent/tests/BlockingCollectionTests.cs b/src/libraries/System.Collections.Concurrent/tests/BlockingCollectionTests.cs index 65f1c628ee80b3..6f8a107ccb8c62 100644 --- a/src/libraries/System.Collections.Concurrent/tests/BlockingCollectionTests.cs +++ b/src/libraries/System.Collections.Concurrent/tests/BlockingCollectionTests.cs @@ -974,6 +974,7 @@ public static void Test_LargeSize() } [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34360", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] public static void Test_LargeSize_STA() { diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 339118731bf411..61519088f19c7d 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -1,5 +1,3 @@ --nomethod System.Collections.Concurrent.Tests.BlockingCollectionTests.Test_LargeSize_STA - # segfault -nomethod Microsoft.VisualBasic.Tests.FileSystemTests.Input_Object_Write From 6a6af3beeebf65f623adc7b3006f3ea6d601ccca Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 1 Apr 2020 11:59:10 +0300 Subject: [PATCH 20/84] Mark Microsoft.VisualBasic.Tests.FileSystemTests.Input_Object_Write with ActiveIssue --- .../Microsoft.VisualBasic.Core/tests/FileSystemTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libraries/Microsoft.VisualBasic.Core/tests/FileSystemTests.cs b/src/libraries/Microsoft.VisualBasic.Core/tests/FileSystemTests.cs index 84f421c3b71280..2b6db04eaf236d 100644 --- a/src/libraries/Microsoft.VisualBasic.Core/tests/FileSystemTests.cs +++ b/src/libraries/Microsoft.VisualBasic.Core/tests/FileSystemTests.cs @@ -486,6 +486,7 @@ public void Input_Write() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34362", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Input_Object_Write() { int fileNumber = FileSystem.FreeFile(); diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 61519088f19c7d..7d469118407e42 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -1,6 +1,3 @@ -# segfault --nomethod Microsoft.VisualBasic.Tests.FileSystemTests.Input_Object_Write - # TODO: investigate (too many failures or stuck) -nomethod System.Threading.Tests.WaitHandleTests.SignalAndWait -nomethod System.Threading.Tests.WaitHandleTests.WaitAll_SameNames From d9ef45cf96c7c01e13d4638364ae5c3e9e085cee Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 1 Apr 2020 12:30:20 +0300 Subject: [PATCH 21/84] Mark System.Threading.Tests.WaitHandleTests with ActiveIssue --- .../System.Runtime/tests/System/Threading/WaitHandleTests.cs | 3 +++ src/mono/netcore/CoreFX.issues_windows.rsp | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libraries/System.Runtime/tests/System/Threading/WaitHandleTests.cs b/src/libraries/System.Runtime/tests/System/Threading/WaitHandleTests.cs index 1432b7a26d4747..d664837f1b6031 100644 --- a/src/libraries/System.Runtime/tests/System/Threading/WaitHandleTests.cs +++ b/src/libraries/System.Runtime/tests/System/Threading/WaitHandleTests.cs @@ -94,6 +94,7 @@ public static void WaitAny_MaxHandles() } [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34366", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] public static void WaitAny_MaxHandles_STA() { @@ -157,6 +158,7 @@ public static void WaitAll_SameHandles() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34366", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] // names aren't supported on Unix public static void WaitAll_SameNames() { @@ -323,6 +325,7 @@ public static IEnumerable SignalAndWait_MemberData() } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34366", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(SignalAndWait_MemberData))] public static void SignalAndWait( WaitHandle toSignal, diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 7d469118407e42..01dd4c49ba5221 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -1,7 +1,4 @@ # TODO: investigate (too many failures or stuck) --nomethod System.Threading.Tests.WaitHandleTests.SignalAndWait --nomethod System.Threading.Tests.WaitHandleTests.WaitAll_SameNames --nomethod System.Threading.Tests.WaitHandleTests.WaitAny_MaxHandles_STA -nomethod System.Tests.ActivatorTests.TestingCreateInstanceObjectHandleFullSignatureWinRT -nonamespace System.IO.Pipes.Tests -nonamespace System.IO.Tests From 1fbff5fa8b5dd3b500f587c8961389f963c8de76 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 1 Apr 2020 17:31:20 +0300 Subject: [PATCH 22/84] Mark System.Tests.ActivatorTests.TestingCreateInstanceObjectHandleFullSignatureWinRT with ActiveIssue --- src/libraries/System.Runtime/tests/System/ActivatorTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Runtime/tests/System/ActivatorTests.cs b/src/libraries/System.Runtime/tests/System/ActivatorTests.cs index 5cb07283312a4c..ae211119c4eca8 100644 --- a/src/libraries/System.Runtime/tests/System/ActivatorTests.cs +++ b/src/libraries/System.Runtime/tests/System/ActivatorTests.cs @@ -777,6 +777,7 @@ public static IEnumerable TestingCreateInstanceObjectHandleFullSignatu } [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsWinUISupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34396", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] [MemberData(nameof(TestingCreateInstanceObjectHandleFullSignatureWinRTData))] public static void TestingCreateInstanceObjectHandleFullSignatureWinRT(string assemblyName, string type, bool ignoreCase, BindingFlags bindingAttr, Binder binder, object[] args, CultureInfo culture, object[] activationAttributes, string returnedFullNameType) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 01dd4c49ba5221..06a845ab154f60 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -1,5 +1,4 @@ # TODO: investigate (too many failures or stuck) --nomethod System.Tests.ActivatorTests.TestingCreateInstanceObjectHandleFullSignatureWinRT -nonamespace System.IO.Pipes.Tests -nonamespace System.IO.Tests -nonamespace System.Net From 243e3ddd4ce4d48a4087a406ac29d09e62350d58 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 1 Apr 2020 18:07:58 +0300 Subject: [PATCH 23/84] Try to enable System.Diagnostics.Tests.CounterSampleTests.* --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 06a845ab154f60..133c3f6b1cb915 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -24,7 +24,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.Diagnostics.Tests.CounterSampleTests.* -nomethod Tests.Integration.DiscoveryTests.DiscoverAddinsWithCombinedCustomExportAndMetadataAttribute -nomethod WindowAndCursorProps.* -nomethod System.Diagnostics.TraceSourceTests.SwitchClassTests.PruneTest From 1b2c386928e9654f79dfd8c613bde0df4619729f Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 1 Apr 2020 20:28:48 +0300 Subject: [PATCH 24/84] Mark a couple of System.Diagnostics.Tests.CounterSampleTests with ActiveIssue --- .../tests/CounterSampleTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libraries/System.Diagnostics.PerformanceCounter/tests/CounterSampleTests.cs b/src/libraries/System.Diagnostics.PerformanceCounter/tests/CounterSampleTests.cs index 8ddfe9b7985a0d..a28cf8ed079614 100644 --- a/src/libraries/System.Diagnostics.PerformanceCounter/tests/CounterSampleTests.cs +++ b/src/libraries/System.Diagnostics.PerformanceCounter/tests/CounterSampleTests.cs @@ -41,6 +41,7 @@ public static void CounterSample_Constructor_CounterSample() } [ConditionalFact(typeof(Helpers), nameof(Helpers.IsElevatedAndCanWriteToPerfCounters))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34409", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void CounterSample_Calculate_CalculateCounterSample() { CounterSample counterSample = new CounterSample(5, 0, 0, 0, 0, 0, PerformanceCounterType.NumberOfItems32); @@ -49,6 +50,7 @@ public static void CounterSample_Calculate_CalculateCounterSample() } [ConditionalFact(typeof(Helpers), nameof(Helpers.IsElevatedAndCanWriteToPerfCounters))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34409", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void CounterSample_Calculate_CalculateCounterSampleCounterSample() { CounterSample counterSample1 = new CounterSample(5, 0, 0, 1, 0, 0, PerformanceCounterType.CounterDelta32); From 35b5004d129938b4a36fb1266b170b6cd002e73d Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 2 Apr 2020 11:39:38 +0300 Subject: [PATCH 25/84] Mark several System.DirectoryServices.AccountManagement.Tests with ActiveIssue --- .../tests/ComputerPrincipalTest.cs | 1 + .../tests/PrincipalContextTests.cs | 2 ++ src/mono/netcore/CoreFX.issues_windows.rsp | 3 --- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libraries/System.DirectoryServices.AccountManagement/tests/ComputerPrincipalTest.cs b/src/libraries/System.DirectoryServices.AccountManagement/tests/ComputerPrincipalTest.cs index 0c133f3e6958f5..e17eaf3f60aac8 100644 --- a/src/libraries/System.DirectoryServices.AccountManagement/tests/ComputerPrincipalTest.cs +++ b/src/libraries/System.DirectoryServices.AccountManagement/tests/ComputerPrincipalTest.cs @@ -46,6 +46,7 @@ public void Ctor_NullPassword_ThrowsArgumentException() } [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34442", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Ctor_MachineContext_NoException() { var context = new PrincipalContext(ContextType.Machine); diff --git a/src/libraries/System.DirectoryServices.AccountManagement/tests/PrincipalContextTests.cs b/src/libraries/System.DirectoryServices.AccountManagement/tests/PrincipalContextTests.cs index 3b2958f0b53a15..7574bac440d1a2 100644 --- a/src/libraries/System.DirectoryServices.AccountManagement/tests/PrincipalContextTests.cs +++ b/src/libraries/System.DirectoryServices.AccountManagement/tests/PrincipalContextTests.cs @@ -11,6 +11,7 @@ namespace System.DirectoryServices.AccountManagement.Tests public class PrincipalContextTests { [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34442", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Ctor_ContextType() { var context = new PrincipalContext(ContextType.Machine); @@ -289,6 +290,7 @@ public void UserName_GetWhenDisposed_ThrowsObjectDisposedException() } [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34442", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(null, null, true)] [InlineData("", "", false)] public void ValidateCredentials_Invoke_ReturnsExpected(string userName, string password, bool expected) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 133c3f6b1cb915..55ffada02025d4 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -27,9 +27,6 @@ -nomethod Tests.Integration.DiscoveryTests.DiscoverAddinsWithCombinedCustomExportAndMetadataAttribute -nomethod WindowAndCursorProps.* -nomethod System.Diagnostics.TraceSourceTests.SwitchClassTests.PruneTest --nomethod System.DirectoryServices.AccountManagement.Tests.PrincipalContextTests.Ctor_ContextType --nomethod System.DirectoryServices.AccountManagement.Tests.PrincipalContextTests.ValidateCredentials_Invoke_ReturnsExpected --nomethod System.DirectoryServices.AccountManagement.Tests.ComputerPrincipalTest.Ctor_MachineContext_NoException -nomethod System.DirectoryServices.ActiveDirectory.Tests.DomainControllerTests.GetDomainController_InvalidIPV6 -nomethod System.DirectoryServices.Tests.DirectoryEntryTests.DeleteTree_NoObject_ThrowsCOMException -nomethod System.DirectoryServices.ActiveDirectory.Tests.ForestTests.GetForest_NonNullNameAndNotRootedDomain_ThrowsActiveDirectoryObjectNotFoundException From 9e9e7133251275f29800d9d618693a13817f5b9a Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 2 Apr 2020 14:36:55 +0300 Subject: [PATCH 26/84] Remove System.ComponentModel.Composition namespace from rsp file because it's marked with ActiveIssue --- src/mono/netcore/CoreFX.issues_windows.rsp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 55ffada02025d4..cce90f32694c60 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -9,7 +9,6 @@ -nonamespace System.Runtime.InteropServices.Tests -nonamespace System.Management.Tests -nonamespace System.Threading.Overlapped.Tests --nonamespace System.ComponentModel.Composition -nonamespace BasicEventSourceTests -nonamespace System.ComponentModel.TypeConverterTests -nonamespace System.DirectoryServices.Protocols.Tests @@ -24,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod Tests.Integration.DiscoveryTests.DiscoverAddinsWithCombinedCustomExportAndMetadataAttribute -nomethod WindowAndCursorProps.* -nomethod System.Diagnostics.TraceSourceTests.SwitchClassTests.PruneTest -nomethod System.DirectoryServices.ActiveDirectory.Tests.DomainControllerTests.GetDomainController_InvalidIPV6 From 31ff0173057b8fd34c6875323bb4b6fe84afd73b Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 2 Apr 2020 15:29:56 +0300 Subject: [PATCH 27/84] Mark WindowAndCursorProps.Title_Set_Windows test with ActiveIssue --- src/libraries/System.Console/tests/WindowAndCursorProps.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Console/tests/WindowAndCursorProps.cs b/src/libraries/System.Console/tests/WindowAndCursorProps.cs index aa7299bf5ae996..44b5453a2ad65d 100644 --- a/src/libraries/System.Console/tests/WindowAndCursorProps.cs +++ b/src/libraries/System.Console/tests/WindowAndCursorProps.cs @@ -224,6 +224,7 @@ public static void Title_Get_Windows_NoNulls() } [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] // Nano currently ignores set title + [ActiveIssue("https://github.com/dotnet/runtime/issues/34454", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(0)] [InlineData(1)] [InlineData(254)] diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index cce90f32694c60..ae51a0d836f89d 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod WindowAndCursorProps.* -nomethod System.Diagnostics.TraceSourceTests.SwitchClassTests.PruneTest -nomethod System.DirectoryServices.ActiveDirectory.Tests.DomainControllerTests.GetDomainController_InvalidIPV6 -nomethod System.DirectoryServices.Tests.DirectoryEntryTests.DeleteTree_NoObject_ThrowsCOMException From b31fb1e10849f869c690511a740f0d6fba4df675 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 2 Apr 2020 15:47:02 +0300 Subject: [PATCH 28/84] Remove System.Diagnostics.TraceSourceTests.SwitchClassTests.PruneTest from rsp file --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index ae51a0d836f89d..5ac9d77dfbffef 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.Diagnostics.TraceSourceTests.SwitchClassTests.PruneTest -nomethod System.DirectoryServices.ActiveDirectory.Tests.DomainControllerTests.GetDomainController_InvalidIPV6 -nomethod System.DirectoryServices.Tests.DirectoryEntryTests.DeleteTree_NoObject_ThrowsCOMException -nomethod System.DirectoryServices.ActiveDirectory.Tests.ForestTests.GetForest_NonNullNameAndNotRootedDomain_ThrowsActiveDirectoryObjectNotFoundException From ddc1c914e7348c25b50d576d197f33d1d572757c Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 2 Apr 2020 16:20:49 +0300 Subject: [PATCH 29/84] Mark several System.DirectoryServices tests with ActiveIssue --- .../DirectoryServices/ActiveDirectory/DomainControllerTests.cs | 1 + .../System/DirectoryServices/ActiveDirectory/ForestTests.cs | 1 + .../tests/System/DirectoryServices/DirectoryEntryTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 3 --- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/DomainControllerTests.cs b/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/DomainControllerTests.cs index 0c89ebcfb9f7f5..c87ceec3d75ff8 100644 --- a/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/DomainControllerTests.cs +++ b/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/DomainControllerTests.cs @@ -42,6 +42,7 @@ public void GetDomainController_InvalidName(string name) } [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34442", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void GetDomainController_InvalidIPV6() { var context = new DirectoryContext(DirectoryContextType.DirectoryServer, "[::1]:port"); diff --git a/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs b/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs index b495bfd598949b..f884fda50122ae 100644 --- a/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs +++ b/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/ActiveDirectory/ForestTests.cs @@ -36,6 +36,7 @@ public void GetForest_NullNameAndNotRootedDomain_ThrowsActiveDirectoryOperationE } [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34442", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(DirectoryContextType.DirectoryServer, "\0")] [InlineData(DirectoryContextType.Forest, "server:port")] public void GetForest_NonNullNameAndNotRootedDomain_ThrowsActiveDirectoryObjectNotFoundException(DirectoryContextType type, string name) diff --git a/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/DirectoryEntryTests.cs b/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/DirectoryEntryTests.cs index 3d7450bd1496b1..5bf7fe63971b09 100644 --- a/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/DirectoryEntryTests.cs +++ b/src/libraries/System.DirectoryServices/tests/System/DirectoryServices/DirectoryEntryTests.cs @@ -141,6 +141,7 @@ public void CopyTo_DisposedEntry_ThrowsObjectDisposedException() } [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34442", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void DeleteTree_NoObject_ThrowsCOMException() { var entry = new DirectoryEntry("path"); diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 5ac9d77dfbffef..7d59d9d860a762 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,9 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.DirectoryServices.ActiveDirectory.Tests.DomainControllerTests.GetDomainController_InvalidIPV6 --nomethod System.DirectoryServices.Tests.DirectoryEntryTests.DeleteTree_NoObject_ThrowsCOMException --nomethod System.DirectoryServices.ActiveDirectory.Tests.ForestTests.GetForest_NonNullNameAndNotRootedDomain_ThrowsActiveDirectoryObjectNotFoundException -nomethod System.Reflection.Internal.Tests.AbstractMemoryBlockTests.FileStream -nomethod System.Reflection.Internal.Tests.AbstractMemoryBlockTests.FileStreamUnix -nomethod System.Reflection.Tests.MemberInfoNetCoreAppTests.* From 779b3787d8ea161dfa1d937cacde55bd0ff96906 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 2 Apr 2020 16:22:05 +0300 Subject: [PATCH 30/84] Try to enable the whole System.DirectoryServices.Tests --- .../System.DirectoryServices/tests/AssemblyInfo.cs | 7 ------- .../tests/System.DirectoryServices.Tests.csproj | 1 - 2 files changed, 8 deletions(-) delete mode 100644 src/libraries/System.DirectoryServices/tests/AssemblyInfo.cs diff --git a/src/libraries/System.DirectoryServices/tests/AssemblyInfo.cs b/src/libraries/System.DirectoryServices/tests/AssemblyInfo.cs deleted file mode 100644 index 01afae06604dab..00000000000000 --- a/src/libraries/System.DirectoryServices/tests/AssemblyInfo.cs +++ /dev/null @@ -1,7 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using Xunit; - -[assembly: ActiveIssue("cant resolve internal call to System.DirectoryServices.ActiveDirectory.NativeComInterfaces/Pathname::.ctor", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj b/src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj index 21938e402abcb3..c4df6bbeb60f50 100644 --- a/src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj +++ b/src/libraries/System.DirectoryServices/tests/System.DirectoryServices.Tests.csproj @@ -4,7 +4,6 @@ $(NetCoreAppCurrent)-Windows_NT;$(NetFrameworkCurrent) - From 8aa6a496b990ce1c60a23f219fe4aa573e88c8c6 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 2 Apr 2020 18:19:03 +0300 Subject: [PATCH 31/84] Remove System.Runtime.Tests.NullableMetadataTests.ShimsHaveOnlyTypeForwards from rsp file --- src/mono/netcore/CoreFX.issues_windows.rsp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 7d59d9d860a762..67e362e7b405b8 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -50,9 +50,6 @@ -nomethod System.IO.CreateSafeFileHandleTests.* -nomethod System.IO.AsWinRTStreamTests.* -# * Assertion at method-to-ir.c:12425, condition `var->opcode == OP_REGOFFSET' not met --nomethod System.Runtime.Tests.NullableMetadataTests.ShimsHaveOnlyTypeForwards - # System.PlatformNotSupportedException : This API is specific to the way in which Windows handles asynchronous I/O, and is not supported on this platform. -nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenCallbackInvokedOnFileChange -nomethod Microsoft.Extensions.FileProviders.Physical.Tests.PhysicalFilesWatcherTests.HandlesOnRenamedEventsThatMatchRootPath From c0a049fcaf37c37e78d56f3757560a3e52a74453 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 2 Apr 2020 18:30:41 +0300 Subject: [PATCH 32/84] Remove System.IO.Ports.Tests.GetPortNames.OpenEveryPortName from rsp file because it passes locally --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 67e362e7b405b8..6f03204b7fa827 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -46,7 +46,6 @@ -nomethod System.Tests.StringTests.NormalizationTest -nomethod System.Globalization.Tests.StringNormalizationAllTests.Normalize -nomethod System.Globalization.Tests.StringNormalizationTests.IsNormalized --nomethod System.IO.Ports.Tests.GetPortNames.OpenEveryPortName -nomethod System.IO.CreateSafeFileHandleTests.* -nomethod System.IO.AsWinRTStreamTests.* From 6f21131d779a650048e327383bd34a7b32a01b81 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Fri, 3 Apr 2020 10:32:52 +0300 Subject: [PATCH 33/84] Mark System.IO.Ports.Tests.GetPortNames.OpenEveryPortName with ActiveIssue --- src/libraries/System.IO.Ports/tests/SerialPort/GetPortNames.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libraries/System.IO.Ports/tests/SerialPort/GetPortNames.cs b/src/libraries/System.IO.Ports/tests/SerialPort/GetPortNames.cs index c193892d5a92f1..fb40a392833f56 100644 --- a/src/libraries/System.IO.Ports/tests/SerialPort/GetPortNames.cs +++ b/src/libraries/System.IO.Ports/tests/SerialPort/GetPortNames.cs @@ -20,6 +20,7 @@ public class GetPortNames : PortsTest /// Check that all ports either open correctly or fail with UnauthorizedAccessException (which implies they're already open) /// [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34490", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void OpenEveryPortName() { foreach (string portName in SerialPort.GetPortNames()) From 426445faab286b9b129b1bab4e81ea2edbb8e1bc Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Fri, 3 Apr 2020 11:00:19 +0300 Subject: [PATCH 34/84] Remove non-existing namespace --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 6f03204b7fa827..5149487bb3fe03 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -25,7 +25,6 @@ -nomethod System.Reflection.Internal.Tests.AbstractMemoryBlockTests.FileStream -nomethod System.Reflection.Internal.Tests.AbstractMemoryBlockTests.FileStreamUnix --nomethod System.Reflection.Tests.MemberInfoNetCoreAppTests.* -nomethod System.Reflection.Tests.AssemblyNameTests.GetAssemblyName_LockedFile -nomethod System.Resources.Extensions.Tests.PreserializedResourceWriterTests.* -nomethod System.Resources.Tests.ResourceManagerTests.* From edbd107f43e59b0128c12c307de4d8b14e73e922 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Fri, 3 Apr 2020 11:29:36 +0300 Subject: [PATCH 35/84] Mark System.Reflection.Tests.AssemblyNameTests.GetAssemblyName_LockedFile with ActiveIssue --- src/libraries/System.Reflection/tests/AssemblyNameTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Reflection/tests/AssemblyNameTests.cs b/src/libraries/System.Reflection/tests/AssemblyNameTests.cs index 4a28137889ea4c..ec11240ab0d2d3 100644 --- a/src/libraries/System.Reflection/tests/AssemblyNameTests.cs +++ b/src/libraries/System.Reflection/tests/AssemblyNameTests.cs @@ -245,6 +245,7 @@ public static void GetAssemblyName() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34492", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void GetAssemblyName_LockedFile() { using (var tempFile = new TempFile(Path.GetTempFileName(), 100)) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 5149487bb3fe03..50326ac82185f9 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -25,7 +25,6 @@ -nomethod System.Reflection.Internal.Tests.AbstractMemoryBlockTests.FileStream -nomethod System.Reflection.Internal.Tests.AbstractMemoryBlockTests.FileStreamUnix --nomethod System.Reflection.Tests.AssemblyNameTests.GetAssemblyName_LockedFile -nomethod System.Resources.Extensions.Tests.PreserializedResourceWriterTests.* -nomethod System.Resources.Tests.ResourceManagerTests.* -nomethod MonoTests.System.Runtime.Caching.HostFileChangeMonitorTest.* From 80848e17ffeea9bd6c239c5ac78e1b46f2abeed9 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Fri, 3 Apr 2020 11:47:56 +0300 Subject: [PATCH 36/84] Mark System.Reflection.Internal.Tests.AbstractMemoryBlockTests.FileStream and System.Reflection.Internal.Tests.AbstractMemoryBlockTests.FileStreamUnix with ActiveIssue --- .../tests/Utilities/AbstractMemoryBlockTests.cs | 2 ++ src/mono/netcore/CoreFX.issues_windows.rsp | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Reflection.Metadata/tests/Utilities/AbstractMemoryBlockTests.cs b/src/libraries/System.Reflection.Metadata/tests/Utilities/AbstractMemoryBlockTests.cs index 9fd405aeb6afc2..7491fa062e0095 100644 --- a/src/libraries/System.Reflection.Metadata/tests/Utilities/AbstractMemoryBlockTests.cs +++ b/src/libraries/System.Reflection.Metadata/tests/Utilities/AbstractMemoryBlockTests.cs @@ -120,6 +120,7 @@ public void Stream() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34493", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void FileStreamUnix() { try @@ -134,6 +135,7 @@ public void FileStreamUnix() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34493", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void FileStream() { string filePath = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString()); diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 50326ac82185f9..aafef8ca7e5f27 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,8 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.Reflection.Internal.Tests.AbstractMemoryBlockTests.FileStream --nomethod System.Reflection.Internal.Tests.AbstractMemoryBlockTests.FileStreamUnix -nomethod System.Resources.Extensions.Tests.PreserializedResourceWriterTests.* -nomethod System.Resources.Tests.ResourceManagerTests.* -nomethod MonoTests.System.Runtime.Caching.HostFileChangeMonitorTest.* From 0ded903dc316320b28e1dfe6fe1197173f48640b Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Fri, 3 Apr 2020 12:34:08 +0300 Subject: [PATCH 37/84] Mark some of System.Resources.Extensions.Tests.PreserializedResourceWriterTests with ActiveIssue --- .../tests/BinaryResourceWriterUnitTest.cs | 4 ++++ src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs b/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs index 4b7a3b8c3de55d..21194f2cd42887 100644 --- a/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs +++ b/src/libraries/System.Resources.Extensions/tests/BinaryResourceWriterUnitTest.cs @@ -264,6 +264,7 @@ public static void PrimitiveResourcesAsStrings() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34495", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void BinaryFormattedResources() { @@ -301,6 +302,7 @@ public static void BinaryFormattedResources() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34495", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void BinaryFormattedResourcesWithoutTypeName() { @@ -337,6 +339,7 @@ public static void BinaryFormattedResourcesWithoutTypeName() } } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34495", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void TypeConverterByteArrayResources() { var values = TestData.ByteArrayConverter; @@ -399,6 +402,7 @@ public static void TypeConverterStringResources() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34495", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void StreamResources() { diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index aafef8ca7e5f27..94eb711052a192 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.Resources.Extensions.Tests.PreserializedResourceWriterTests.* -nomethod System.Resources.Tests.ResourceManagerTests.* -nomethod MonoTests.System.Runtime.Caching.HostFileChangeMonitorTest.* -nomethod SafeHandle_4000_Tests.SafeHandle_DangerousReleasePreservesLastError From 0ead22b1f93a8c08352d4201c721e0f416a107f5 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Fri, 3 Apr 2020 13:10:55 +0300 Subject: [PATCH 38/84] Mark some of System.Resources.Tests.ResourceManagerTests with ActiveIssue on windows --- .../tests/ResourceManagerTests.cs | 6 +++--- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs b/src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs index c4e5f6ddcce459..41902a6509c7db 100644 --- a/src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs +++ b/src/libraries/System.Resources.ResourceManager/tests/ResourceManagerTests.cs @@ -268,7 +268,7 @@ public static IEnumerable EnglishImageResourceData() } [ConditionalTheory(Helpers.IsDrawingSupported)] - [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux | TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(EnglishImageResourceData))] public static void GetObject_Images(string key, object expectedValue) { @@ -278,7 +278,7 @@ public static void GetObject_Images(string key, object expectedValue) } [ConditionalTheory(Helpers.IsDrawingSupported)] - [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux | TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(EnglishImageResourceData))] public static void GetObject_Images_ResourceSet(string key, object expectedValue) { @@ -312,7 +312,7 @@ public static void GetResourceSet_NonStrings(string key, object expectedValue, b } [ConditionalTheory(Helpers.IsDrawingSupported)] - [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux | TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(EnglishImageResourceData))] public static void GetResourceSet_Images(string key, object expectedValue) { diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 94eb711052a192..33ef263e254e72 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.Resources.Tests.ResourceManagerTests.* -nomethod MonoTests.System.Runtime.Caching.HostFileChangeMonitorTest.* -nomethod SafeHandle_4000_Tests.SafeHandle_DangerousReleasePreservesLastError -nomethod System.Security.Cryptography.X509Certificates.Tests.FindTests.* From 9d5e95826f9e0d467748068aa44f9418b9b47d7a Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Fri, 3 Apr 2020 15:48:53 +0300 Subject: [PATCH 39/84] Mark some of MonoTests.System.Runtime.Caching.HostFileChangeMonitorTest with ActiveIssue --- .../tests/System.Runtime.Caching/HostFileChangeMonitorTest.cs | 3 +++ src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libraries/System.Runtime.Caching/tests/System.Runtime.Caching/HostFileChangeMonitorTest.cs b/src/libraries/System.Runtime.Caching/tests/System.Runtime.Caching/HostFileChangeMonitorTest.cs index 2a5f6bdc8451ce..77e071a8383d21 100644 --- a/src/libraries/System.Runtime.Caching/tests/System.Runtime.Caching/HostFileChangeMonitorTest.cs +++ b/src/libraries/System.Runtime.Caching/tests/System.Runtime.Caching/HostFileChangeMonitorTest.cs @@ -83,6 +83,7 @@ public void Constructor_Exceptions() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34497", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static void Constructor_MissingFiles_Handler() { HostFileChangeMonitor monitor; @@ -130,6 +131,7 @@ public static void Constructor_MissingFiles_Handler() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34497", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Constructor_Duplicates() { HostFileChangeMonitor monitor; @@ -198,6 +200,7 @@ private static void CleanupMonitoring(Tuple> setup = null; diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 33ef263e254e72..45710a417e5d87 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod MonoTests.System.Runtime.Caching.HostFileChangeMonitorTest.* -nomethod SafeHandle_4000_Tests.SafeHandle_DangerousReleasePreservesLastError -nomethod System.Security.Cryptography.X509Certificates.Tests.FindTests.* -nomethod OverlappedTests.PackPosTest1 From d94262c355b62e6159a4200fa59c62cbb4242027 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Fri, 3 Apr 2020 15:59:47 +0300 Subject: [PATCH 40/84] Remove non-existing namespace from rsp file --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 45710a417e5d87..3228bc113f3683 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod SafeHandle_4000_Tests.SafeHandle_DangerousReleasePreservesLastError -nomethod System.Security.Cryptography.X509Certificates.Tests.FindTests.* -nomethod OverlappedTests.PackPosTest1 -nomethod OverlappedTests.PackPosTest From b0fe8b3637849a1986c4fa9c2c6ff23c991fa10d Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Fri, 3 Apr 2020 16:24:41 +0300 Subject: [PATCH 41/84] Try to enable OverlappedTests.PackPosTest1 and OverlappedTests.PackPosTest because they pass locally --- src/mono/netcore/CoreFX.issues_windows.rsp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 3228bc113f3683..069bd07a88a21f 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -24,8 +24,6 @@ -nonamespace System.Reflection.Emit.Tests -nomethod System.Security.Cryptography.X509Certificates.Tests.FindTests.* --nomethod OverlappedTests.PackPosTest1 --nomethod OverlappedTests.PackPosTest -nomethod ThreadPoolBoundHandleTests.* -nomethod System.Threading.Tests.EventWaitHandleTests.* -nomethod System.Threading.Tests.MutexTests.* From 4fae5228cec7c81561b3f5b785244ba7b68f5271 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Fri, 3 Apr 2020 16:25:16 +0300 Subject: [PATCH 42/84] Try to enable System.Security.Cryptography.X509Certificates.Tests.FindTests because they pass locally --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 069bd07a88a21f..e10affaab1d016 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.Security.Cryptography.X509Certificates.Tests.FindTests.* -nomethod ThreadPoolBoundHandleTests.* -nomethod System.Threading.Tests.EventWaitHandleTests.* -nomethod System.Threading.Tests.MutexTests.* From 71420ae3538f404f7f3ee7e3df23a20f6b02edb7 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Fri, 3 Apr 2020 18:09:04 +0300 Subject: [PATCH 43/84] Mark ThreadPoolBoundHandleTests with ActiveIssue --- .../tests/ThreadPoolBoundHandle_AllocateNativeOverlappedTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Threading.Overlapped/tests/ThreadPoolBoundHandle_AllocateNativeOverlappedTests.cs b/src/libraries/System.Threading.Overlapped/tests/ThreadPoolBoundHandle_AllocateNativeOverlappedTests.cs index 3f9ce322077524..b6dbf78891ebd5 100644 --- a/src/libraries/System.Threading.Overlapped/tests/ThreadPoolBoundHandle_AllocateNativeOverlappedTests.cs +++ b/src/libraries/System.Threading.Overlapped/tests/ThreadPoolBoundHandle_AllocateNativeOverlappedTests.cs @@ -7,6 +7,7 @@ using System.Threading; using Xunit; +[ActiveIssue("https://github.com/dotnet/runtime/issues/34502", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public partial class ThreadPoolBoundHandleTests { [Fact] diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index e10affaab1d016..8a13ac2e947e53 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod ThreadPoolBoundHandleTests.* -nomethod System.Threading.Tests.EventWaitHandleTests.* -nomethod System.Threading.Tests.MutexTests.* -nomethod System.Threading.Tests.SemaphoreTests.* From 29934fad3345f2446fedc15052ba18852c1ae8f0 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Sat, 4 Apr 2020 15:36:21 +0300 Subject: [PATCH 44/84] Try to enable System.Threading.Tests.EventWaitHandleTests.* because they pass locally --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 8a13ac2e947e53..6df90e339e468b 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.Threading.Tests.EventWaitHandleTests.* -nomethod System.Threading.Tests.MutexTests.* -nomethod System.Threading.Tests.SemaphoreTests.* -nomethod System.Threading.Tests.SemaphoreAclTests.Semaphore_Create_BeyondMaxPathLength From 723fe6b453bb9b01661975d55a96e1eceddb86a0 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Sat, 4 Apr 2020 15:39:53 +0300 Subject: [PATCH 45/84] Try to enable System.Threading.Tests.MutexTests.* because they pass locally --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 6df90e339e468b..8d770565f7eb17 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.Threading.Tests.MutexTests.* -nomethod System.Threading.Tests.SemaphoreTests.* -nomethod System.Threading.Tests.SemaphoreAclTests.Semaphore_Create_BeyondMaxPathLength -nomethod System.Threading.Tests.EventWaitHandleAclTests.EventWaitHandle_Create_BeyondMaxPathLength From 257ac301379155e98bb0cf39a517630393f24e61 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Sat, 4 Apr 2020 15:53:20 +0300 Subject: [PATCH 46/84] Try to enable System.Threading.Tests.SemaphoreTests.* because they pass locally --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 8d770565f7eb17..c5c80a63070f91 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.Threading.Tests.SemaphoreTests.* -nomethod System.Threading.Tests.SemaphoreAclTests.Semaphore_Create_BeyondMaxPathLength -nomethod System.Threading.Tests.EventWaitHandleAclTests.EventWaitHandle_Create_BeyondMaxPathLength -nomethod System.Threading.Threads.Tests.ThreadTests.* From c4cae1066c701566ffb6d7a63360df6c28d18359 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Sat, 4 Apr 2020 15:57:07 +0300 Subject: [PATCH 47/84] Try to enable System.Threading.Tests.SemaphoreAclTests.Semaphore_Create_BeyondMaxPathLength because it passes locally --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index c5c80a63070f91..e922201430d186 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.Threading.Tests.SemaphoreAclTests.Semaphore_Create_BeyondMaxPathLength -nomethod System.Threading.Tests.EventWaitHandleAclTests.EventWaitHandle_Create_BeyondMaxPathLength -nomethod System.Threading.Threads.Tests.ThreadTests.* -nomethod System.ComponentModel.TypeConverterTests From 4bfc172e873b3f39934aec4e1825f681406b25d6 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Sat, 4 Apr 2020 15:58:51 +0300 Subject: [PATCH 48/84] Try to enable System.Threading.Tests.EventWaitHandleAclTests.EventWaitHandle_Create_BeyondMaxPathLength because it passes locally --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index e922201430d186..9d87f78c25889f 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.Threading.Tests.EventWaitHandleAclTests.EventWaitHandle_Create_BeyondMaxPathLength -nomethod System.Threading.Threads.Tests.ThreadTests.* -nomethod System.ComponentModel.TypeConverterTests -nomethod System.Xml.Tests.CTransformResolverTest.TC_AbsolutePath_Transform From 8f7e87b0bbb0f32c10cbdc24f423c7046b646b18 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Sat, 4 Apr 2020 16:34:57 +0300 Subject: [PATCH 49/84] Mark some of System.Threading.Threads.Tests.ThreadTests tests with ActiveIssue --- src/libraries/System.Threading.Thread/tests/ThreadTests.cs | 6 ++++++ src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/libraries/System.Threading.Thread/tests/ThreadTests.cs b/src/libraries/System.Threading.Thread/tests/ThreadTests.cs index 017341ba856f26..846602b863b3bf 100644 --- a/src/libraries/System.Threading.Thread/tests/ThreadTests.cs +++ b/src/libraries/System.Threading.Thread/tests/ThreadTests.cs @@ -160,6 +160,7 @@ public static IEnumerable ApartmentStateTest_MemberData() } [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34543", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData("STAMain.exe", "GetApartmentStateTest")] [InlineData("STAMain.exe", "SetApartmentStateTest")] [InlineData("STAMain.exe", "WaitAllNotSupportedOnSta_Test0")] @@ -182,6 +183,7 @@ public static void ApartmentState_AttributePresent(string appName, string testNa } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34543", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] public static void ApartmentState_NoAttributePresent_DefaultState_Windows() { @@ -226,6 +228,7 @@ public static void ApartmentState_NoAttributePresent_STA_Unix() } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34543", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(ApartmentStateTest_MemberData))] [PlatformSpecific(TestPlatforms.Windows)] // Expected behavior differs on Unix and Windows public static void GetSetApartmentStateTest_ChangeAfterThreadStarted_Windows( @@ -248,6 +251,7 @@ public static void GetSetApartmentStateTest_ChangeAfterThreadStarted_Windows( } [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsNanoServer))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34543", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(ApartmentStateTest_MemberData))] [PlatformSpecific(TestPlatforms.Windows)] // Expected behavior differs on Unix and Windows public static void ApartmentStateTest_ChangeBeforeThreadStarted_Windows( @@ -1115,6 +1119,7 @@ public static void WindowsPrincipalPolicyTest_Windows() [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34543", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] public static void WindowsPrincipalPolicyTest_Windows_NewThreads() { @@ -1164,6 +1169,7 @@ public static void NoPrincipalPolicyTest_NewThreads() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34543", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(TestPlatforms.Windows)] public static void NoPrincipalToWindowsPrincipalPolicyTest_Windows_NewThreads() { diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 9d87f78c25889f..b057db1558d2dc 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,7 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.Threading.Threads.Tests.ThreadTests.* -nomethod System.ComponentModel.TypeConverterTests -nomethod System.Xml.Tests.CTransformResolverTest.TC_AbsolutePath_Transform -nomethod System.Tests.StringTests.NormalizationTest From 2f633281953c02ce02cbbe821d3b7c5409782df5 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Sat, 4 Apr 2020 16:47:28 +0300 Subject: [PATCH 50/84] Remove System.Xml.Tests.CTransformResolverTest.TC_AbsolutePath_Transform from rsp file because it's already marked with ActiveIssue --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index b057db1558d2dc..4012bde00ee123 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -24,7 +24,6 @@ -nonamespace System.Reflection.Emit.Tests -nomethod System.ComponentModel.TypeConverterTests --nomethod System.Xml.Tests.CTransformResolverTest.TC_AbsolutePath_Transform -nomethod System.Tests.StringTests.NormalizationTest -nomethod System.Globalization.Tests.StringNormalizationAllTests.Normalize -nomethod System.Globalization.Tests.StringNormalizationTests.IsNormalized From 19f14d6e38f7dc1c034e1cb97689df16eac7e65a Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Sat, 4 Apr 2020 16:51:34 +0300 Subject: [PATCH 51/84] Try to enable XslTransformApi tests because they pass locally --- .../tests/Xslt/XslTransformApi/AssemblyInfo.cs | 7 ------- .../System.Xml.Xsl.XslTransformApi.Tests.csproj | 1 - 2 files changed, 8 deletions(-) delete mode 100644 src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/AssemblyInfo.cs diff --git a/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/AssemblyInfo.cs b/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/AssemblyInfo.cs deleted file mode 100644 index 481b695d13b7fb..00000000000000 --- a/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/AssemblyInfo.cs +++ /dev/null @@ -1,7 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using Xunit; - -[assembly: ActiveIssue("Disabled due to a runtime crash.", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] \ No newline at end of file diff --git a/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/System.Xml.Xsl.XslTransformApi.Tests.csproj b/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/System.Xml.Xsl.XslTransformApi.Tests.csproj index fb893bda6fb8be..acd8a1d9421414 100644 --- a/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/System.Xml.Xsl.XslTransformApi.Tests.csproj +++ b/src/libraries/System.Private.Xml/tests/Xslt/XslTransformApi/System.Xml.Xsl.XslTransformApi.Tests.csproj @@ -3,7 +3,6 @@ $(NetCoreAppCurrent) - From fa9a1a81ccff3f5092724a046733f4299288ab52 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 6 Apr 2020 10:44:04 +0300 Subject: [PATCH 52/84] Mark System.Tests.StringTests.NormalizationTest with ActiveIssue --- src/libraries/Common/tests/Tests/System/StringTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/Common/tests/Tests/System/StringTests.cs b/src/libraries/Common/tests/Tests/System/StringTests.cs index c32350dbdd3a3c..18f494d9440e4d 100644 --- a/src/libraries/Common/tests/Tests/System/StringTests.cs +++ b/src/libraries/Common/tests/Tests/System/StringTests.cs @@ -7215,6 +7215,7 @@ public static void InternalTestAotSubset() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34577", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public static unsafe void NormalizationTest() // basic test; more tests in globalization tests { // U+0063 LATIN SMALL LETTER C diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 4012bde00ee123..726af1a9d2275a 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -24,7 +24,6 @@ -nonamespace System.Reflection.Emit.Tests -nomethod System.ComponentModel.TypeConverterTests --nomethod System.Tests.StringTests.NormalizationTest -nomethod System.Globalization.Tests.StringNormalizationAllTests.Normalize -nomethod System.Globalization.Tests.StringNormalizationTests.IsNormalized -nomethod System.IO.CreateSafeFileHandleTests.* From 7e930ae7d153eec46adc5a63afc2bf42e8f45a69 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 6 Apr 2020 10:57:39 +0300 Subject: [PATCH 53/84] Mark System.Globalization.Tests.StringNormalizationAllTests.Normalize and System.Globalization.Tests.StringNormalizationTests.IsNormalized with ActiveIssue --- .../tests/Normalization/NormalizationAll.cs | 1 + .../tests/Normalization/StringNormalizationTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 2 -- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libraries/System.Globalization.Extensions/tests/Normalization/NormalizationAll.cs b/src/libraries/System.Globalization.Extensions/tests/Normalization/NormalizationAll.cs index e9baa76ce7d3e9..5afdb72e9e0854 100644 --- a/src/libraries/System.Globalization.Extensions/tests/Normalization/NormalizationAll.cs +++ b/src/libraries/System.Globalization.Extensions/tests/Normalization/NormalizationAll.cs @@ -23,6 +23,7 @@ private string ConvertToString(string codepoints) } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34577", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Normalize() { // Windows 8 test data came from http://www.unicode.org/Public/UCD/latest/ucd/NormalizationTest.txt diff --git a/src/libraries/System.Globalization.Extensions/tests/Normalization/StringNormalizationTests.cs b/src/libraries/System.Globalization.Extensions/tests/Normalization/StringNormalizationTests.cs index 932ea2ba189d9b..7cb0811cdeddb5 100644 --- a/src/libraries/System.Globalization.Extensions/tests/Normalization/StringNormalizationTests.cs +++ b/src/libraries/System.Globalization.Extensions/tests/Normalization/StringNormalizationTests.cs @@ -11,6 +11,7 @@ namespace System.Globalization.Tests public class StringNormalizationTests { [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34577", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData("\u00C4\u00C7", NormalizationForm.FormC, true)] [InlineData("\u00C4\u00C7", NormalizationForm.FormD, false)] [InlineData("A\u0308C\u0327", NormalizationForm.FormC, false)] diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 726af1a9d2275a..c627869d93480e 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -24,8 +24,6 @@ -nonamespace System.Reflection.Emit.Tests -nomethod System.ComponentModel.TypeConverterTests --nomethod System.Globalization.Tests.StringNormalizationAllTests.Normalize --nomethod System.Globalization.Tests.StringNormalizationTests.IsNormalized -nomethod System.IO.CreateSafeFileHandleTests.* -nomethod System.IO.AsWinRTStreamTests.* From 8f50976dbe58f2009c8c066510bded45b4c0d6c9 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 6 Apr 2020 11:13:42 +0300 Subject: [PATCH 54/84] Mark System.IO.CreateSafeFileHandleTests tests with ActiveIssue --- .../tests/System/IO/CreateSafeFileHandleTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/CreateSafeFileHandleTests.cs b/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/CreateSafeFileHandleTests.cs index 5debf186d2ac69..bd49eb2b9c7917 100644 --- a/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/CreateSafeFileHandleTests.cs +++ b/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/CreateSafeFileHandleTests.cs @@ -9,6 +9,7 @@ namespace System.IO { [ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsWinUISupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34578", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class CreateSafeFileHandleTests { [Fact] diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index c627869d93480e..f6d736c286c85d 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -24,7 +24,6 @@ -nonamespace System.Reflection.Emit.Tests -nomethod System.ComponentModel.TypeConverterTests --nomethod System.IO.CreateSafeFileHandleTests.* -nomethod System.IO.AsWinRTStreamTests.* # System.PlatformNotSupportedException : This API is specific to the way in which Windows handles asynchronous I/O, and is not supported on this platform. From 13c9ba6eddd5e0a0bc8589e3288017b44f7cd0b0 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 6 Apr 2020 11:22:34 +0300 Subject: [PATCH 55/84] Mark System.IO.AsWinRTStreamTests tests with ActiveIssue --- .../tests/System/IO/AsWinRTStreamTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/AsWinRTStreamTests.cs b/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/AsWinRTStreamTests.cs index 0f3faf2bab71b8..0e7541a16fd588 100644 --- a/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/AsWinRTStreamTests.cs +++ b/src/libraries/System.Runtime.WindowsRuntime/tests/System/IO/AsWinRTStreamTests.cs @@ -12,6 +12,7 @@ namespace System.IO { [ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsWinUISupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34578", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class AsWinRTStreamTests { [Fact] diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index f6d736c286c85d..16bcbcddb09f27 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -24,7 +24,6 @@ -nonamespace System.Reflection.Emit.Tests -nomethod System.ComponentModel.TypeConverterTests --nomethod System.IO.AsWinRTStreamTests.* # System.PlatformNotSupportedException : This API is specific to the way in which Windows handles asynchronous I/O, and is not supported on this platform. -nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenCallbackInvokedOnFileChange From 2dbf667ce7326cadb205c71bc1ee3eef16741bb5 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 6 Apr 2020 11:33:27 +0300 Subject: [PATCH 56/84] Remove duplicate of System.ComponentModel.TypeConverterTests --- src/mono/netcore/CoreFX.issues_windows.rsp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 16bcbcddb09f27..f09c3fb6ac145a 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -23,8 +23,6 @@ -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests --nomethod System.ComponentModel.TypeConverterTests - # System.PlatformNotSupportedException : This API is specific to the way in which Windows handles asynchronous I/O, and is not supported on this platform. -nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenCallbackInvokedOnFileChange -nomethod Microsoft.Extensions.FileProviders.Physical.Tests.PhysicalFilesWatcherTests.HandlesOnRenamedEventsThatMatchRootPath From a9e1092fb22b09a05e25222f2343e7d4258610a1 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 6 Apr 2020 12:47:49 +0300 Subject: [PATCH 57/84] Mark Microsoft.Extensions tests, failing due to PNSE, with ActiveIssue --- .../tests/ConfigurationExtensionTest.cs | 3 + .../tests/FunctionalTests/ArrayTests.cs | 2 + .../FunctionalTests/ConfigurationTests.cs | 12 ++++ .../tests/PhysicalFileProviderTests.cs | 26 +++++++++ .../tests/PhysicalFilesWatcherTests.cs | 1 + .../tests/UnitTests/HostBuilderTests.cs | 1 + .../tests/UnitTests/HostTests.cs | 7 +++ src/mono/netcore/CoreFX.issues_windows.rsp | 56 +------------------ 8 files changed, 53 insertions(+), 55 deletions(-) diff --git a/src/libraries/Microsoft.Extensions.Configuration.UserSecrets/tests/ConfigurationExtensionTest.cs b/src/libraries/Microsoft.Extensions.Configuration.UserSecrets/tests/ConfigurationExtensionTest.cs index 43b5366ae8ffef..c0cecba108fcec 100644 --- a/src/libraries/Microsoft.Extensions.Configuration.UserSecrets/tests/ConfigurationExtensionTest.cs +++ b/src/libraries/Microsoft.Extensions.Configuration.UserSecrets/tests/ConfigurationExtensionTest.cs @@ -53,6 +53,7 @@ private void SetSecret(string id, string key, string value) } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void AddUserSecrets_FindsAssemblyAttribute() { var randValue = Guid.NewGuid().ToString(); @@ -67,6 +68,7 @@ public void AddUserSecrets_FindsAssemblyAttribute() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void AddUserSecrets_FindsAssemblyAttributeFromType() { var randValue = Guid.NewGuid().ToString(); @@ -107,6 +109,7 @@ public void AddUserSecrets_DoesNotThrowsIfOptional() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void AddUserSecrets_With_SecretsId_Passed_Explicitly() { var userSecretsId = Guid.NewGuid().ToString(); diff --git a/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ArrayTests.cs b/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ArrayTests.cs index 0d61f77d54fd44..2a241a7cc0704b 100644 --- a/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ArrayTests.cs +++ b/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ArrayTests.cs @@ -48,6 +48,7 @@ public class ArrayTests : IDisposable "; [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void DifferentConfigSources_Merged_KeysAreSorted() { var config = BuildConfig(); @@ -76,6 +77,7 @@ public void DifferentConfigSources_Merged_KeysAreSorted() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void DifferentConfigSources_Merged_WithOverwrites() { var config = BuildConfig(); diff --git a/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ConfigurationTests.cs b/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ConfigurationTests.cs index 2ea4297042e8b4..9b4d8e9462bef8 100644 --- a/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ConfigurationTests.cs +++ b/src/libraries/Microsoft.Extensions.Configuration/tests/FunctionalTests/ConfigurationTests.cs @@ -208,6 +208,7 @@ public void MissingFileDoesNotIncludesAbsolutePathIfWithNoPhysicalPath() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void LoadAndCombineKeyValuePairsFromDifferentConfigurationProviders() { WriteTestFiles(); @@ -247,6 +248,7 @@ public void LoadAndCombineKeyValuePairsFromDifferentConfigurationProviders() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void LoadAndCombineKeyValuePairsFromDifferentConfigurationProvidersWithAbsolutePath() { WriteTestFiles(); @@ -287,6 +289,7 @@ public void LoadAndCombineKeyValuePairsFromDifferentConfigurationProvidersWithAb } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CanOverrideValuesWithNewConfigurationProvider() { WriteTestFiles(); @@ -359,6 +362,7 @@ public IConfigurationProvider Build(IConfigurationBuilder builder) } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void OnLoadErrorWillBeCalledOnJsonParseError() { _fileSystem.WriteFile(Path.Combine(_basePath, "error.json"), @"{""JsonKey1"": ", absolute: true); @@ -387,6 +391,7 @@ public void OnLoadErrorWillBeCalledOnJsonParseError() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void OnLoadErrorWillBeCalledOnXmlParseError() { _fileSystem.WriteFile("error.xml", @"gobblygook"); @@ -414,6 +419,7 @@ public void OnLoadErrorWillBeCalledOnXmlParseError() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void OnLoadErrorWillBeCalledOnIniLoadError() { _fileSystem.WriteFile("error.ini", @"IniKey1=IniValue1 @@ -441,6 +447,7 @@ public void OnLoadErrorWillBeCalledOnIniLoadError() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void OnLoadErrorCanIgnoreErrors() { _fileSystem.WriteFile("error.json", @"{""JsonKey1"": "); @@ -813,6 +820,7 @@ await WaitForChange( } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void LoadIncorrectJsonFile_ThrowException() { var json = @"{ @@ -829,6 +837,7 @@ public void LoadIncorrectJsonFile_ThrowException() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void SetBasePathCalledMultipleTimesForEachSourceLastOneWins() { var builder = new ConfigurationBuilder(); @@ -862,6 +871,7 @@ public void SetBasePathCalledMultipleTimesForEachSourceLastOneWins() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void GetDefaultBasePathForSources() { var builder = new ConfigurationBuilder(); @@ -891,6 +901,7 @@ public void GetDefaultBasePathForSources() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CanEnumerateProviders() { var config = CreateBuilder() @@ -937,6 +948,7 @@ await WaitForChange( } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void BindingDoesNotThrowIfReloadedDuringBinding() { WriteTestFiles(); diff --git a/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFileProviderTests.cs b/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFileProviderTests.cs index be1202550b7c2b..a34c16f44ca32a 100644 --- a/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFileProviderTests.cs +++ b/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFileProviderTests.cs @@ -177,6 +177,7 @@ public void GetFileInfoReturnsNotFoundFileInfoForRelativePathWithEmptySegmentsTh } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CreateReadStreamSucceedsOnEmptyFile() { using (var root = new DisposableFileSystem()) @@ -274,6 +275,7 @@ public void GetFileInfoReturnsFileInfoWhenExclusionDisabled() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void TokenIsSameForSamePath() { using (var root = new DisposableFileSystem()) @@ -296,6 +298,7 @@ public void TokenIsSameForSamePath() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokensFiredOnFileChange() { using (var root = new DisposableFileSystem()) @@ -325,6 +328,7 @@ public async Task TokensFiredOnFileChange() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenCallbackInvokedOnFileChange() { using (var root = new DisposableFileSystem()) @@ -360,6 +364,7 @@ public async Task TokenCallbackInvokedOnFileChange() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task WatcherWithPolling_ReturnsTrueForFileChangedWhenFileSystemWatcherDoesNotRaiseEvents() { using (var root = new DisposableFileSystem()) @@ -389,6 +394,7 @@ public async Task WatcherWithPolling_ReturnsTrueForFileChangedWhenFileSystemWatc } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task WatcherWithPolling_ReturnsTrueForFileRemovedWhenFileSystemWatcherDoesNotRaiseEvents() { using (var root = new DisposableFileSystem()) @@ -420,6 +426,7 @@ public async Task WatcherWithPolling_ReturnsTrueForFileRemovedWhenFileSystemWatc } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokensFiredOnFileDeleted() { using (var root = new DisposableFileSystem()) @@ -730,6 +737,7 @@ public void GetDirectoryContentsReturnsFilesWhenExclusionDisabled() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task FileChangeTokenNotNotifiedAfterExpiry() { using (var root = new DisposableFileSystem()) @@ -761,6 +769,7 @@ public async Task FileChangeTokenNotNotifiedAfterExpiry() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void TokenIsSameForSamePathCaseInsensitive() { using (var root = new DisposableFileSystem()) @@ -776,6 +785,7 @@ public void TokenIsSameForSamePathCaseInsensitive() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task CorrectTokensFiredForMultipleFiles() { using (var root = new DisposableFileSystem()) @@ -808,6 +818,7 @@ public async Task CorrectTokensFiredForMultipleFiles() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenNotAffectedByExceptions() { using (var root = new DisposableFileSystem()) @@ -865,6 +876,7 @@ public void NoopChangeTokenForFilterThatNavigatesAboveRoot() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void TokenForEmptyFilter() { using (var root = new DisposableFileSystem()) @@ -880,6 +892,7 @@ public void TokenForEmptyFilter() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void TokenForWhitespaceFilters() { using (var root = new DisposableFileSystem()) @@ -912,6 +925,7 @@ public void NoopChangeTokenForAbsolutePathFilters() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenFiredOnCreation() { using (var root = new DisposableFileSystem()) @@ -936,6 +950,7 @@ public async Task TokenFiredOnCreation() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenFiredOnDeletion() { using (var root = new DisposableFileSystem()) @@ -960,6 +975,7 @@ public async Task TokenFiredOnDeletion() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenFiredForFilesUnderPathEndingWithSlash() { using (var root = new DisposableFileSystem()) @@ -997,6 +1013,7 @@ public async Task TokenFiredForFilesUnderPathEndingWithSlash() } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData("/")] [InlineData("///")] [InlineData("/\\/")] @@ -1085,6 +1102,7 @@ private async Task TokenNotFiredForInvalidPathStartingWithSlash(string slashes) } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenFiredForGlobbingPatternsPointingToSubDirectory() { using (var root = new DisposableFileSystem()) @@ -1117,6 +1135,7 @@ public async Task TokenFiredForGlobbingPatternsPointingToSubDirectory() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void TokensWithForwardAndBackwardSlashesAreSame() { using (var root = new DisposableFileSystem()) @@ -1132,6 +1151,7 @@ public void TokensWithForwardAndBackwardSlashesAreSame() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokensFiredForOldAndNewNamesOnRename() { using (var root = new DisposableFileSystem()) @@ -1160,6 +1180,7 @@ public async Task TokensFiredForOldAndNewNamesOnRename() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokensFiredForNewDirectoryContentsOnRename() { var tcsShouldNotFire = new TaskCompletionSource(); @@ -1232,6 +1253,7 @@ void Fail(object state) } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokenNotFiredForFileNameStartingWithPeriod() { using (var root = new DisposableFileSystem()) @@ -1256,6 +1278,7 @@ public async Task TokenNotFiredForFileNameStartingWithPeriod() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] // Hidden and system files only make sense on Windows. [PlatformSpecific(TestPlatforms.Windows)] public async Task TokensNotFiredForHiddenAndSystemFiles() @@ -1297,6 +1320,7 @@ public async Task TokensNotFiredForHiddenAndSystemFiles() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task TokensFiredForAllEntriesOnError() { using (var root = new DisposableFileSystem()) @@ -1324,6 +1348,7 @@ public async Task TokensFiredForAllEntriesOnError() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task WildCardToken_RaisesEventsForNewFilesAdded() { // Arrange @@ -1349,6 +1374,7 @@ public async Task WildCardToken_RaisesEventsForNewFilesAdded() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task WildCardToken_RaisesEventsWhenFileSystemWatcherDoesNotFire() { // Arrange diff --git a/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFilesWatcherTests.cs b/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFilesWatcherTests.cs index 98080d76f19d11..e512dd9ee6aeda 100644 --- a/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFilesWatcherTests.cs +++ b/src/libraries/Microsoft.Extensions.FileProviders.Physical/tests/PhysicalFilesWatcherTests.cs @@ -37,6 +37,7 @@ public void CreateFileChangeToken_DoesNotAllowPathsAboveRoot() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task HandlesOnRenamedEventsThatMatchRootPath() { using (var root = new DisposableFileSystem()) diff --git a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostBuilderTests.cs b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostBuilderTests.cs index 53c38ea7069e83..6209f2841537f6 100644 --- a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostBuilderTests.cs +++ b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostBuilderTests.cs @@ -116,6 +116,7 @@ public void CanConfigureAppConfigurationAndRetrieveFromDI() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CanConfigureAppConfigurationFromFile() { var hostBuilder = new HostBuilder() diff --git a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs index bfce74ac543078..8660769a76523f 100644 --- a/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs +++ b/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/HostTests.cs @@ -20,6 +20,7 @@ namespace Microsoft.Extensions.Hosting public partial class HostTests { [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CreateDefaultBuilder_IncludesContentRootByDefault() { var expected = Directory.GetCurrentDirectory(); @@ -32,6 +33,7 @@ public void CreateDefaultBuilder_IncludesContentRootByDefault() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CreateDefaultBuilder_IncludesCommandLineArguments() { var expected = Directory.GetParent(Directory.GetCurrentDirectory()).FullName; // It must exist @@ -42,6 +44,7 @@ public void CreateDefaultBuilder_IncludesCommandLineArguments() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CreateDefaultBuilder_RegistersEventSourceLogger() { var listener = new TestEventListener(); @@ -58,6 +61,7 @@ public void CreateDefaultBuilder_RegistersEventSourceLogger() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CreateDefaultBuilder_EnablesScopeValidation() { var host = Host.CreateDefaultBuilder() @@ -72,6 +76,7 @@ public void CreateDefaultBuilder_EnablesScopeValidation() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void CreateDefaultBuilder_EnablesValidateOnBuild() { var hostBuilder = Host.CreateDefaultBuilder() @@ -85,6 +90,7 @@ public void CreateDefaultBuilder_EnablesValidateOnBuild() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task CreateDefaultBuilder_ConfigJsonDoesNotReload() { var reloadFlagConfig = new Dictionary() {{ "hostbuilder:reloadConfigOnChange", "false" }}; @@ -118,6 +124,7 @@ string SaveRandomConfig() } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34580", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task CreateDefaultBuilder_ConfigJsonDoesReload() { var reloadFlagConfig = new Dictionary() { { "hostbuilder:reloadConfigOnChange", "true" } }; diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index f09c3fb6ac145a..ad8347a01e1d2a 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -21,58 +21,4 @@ -nonamespace System.Drawing.Tests -nonamespace System.Drawing.Text.Tests -nonamespace MonoTests.System.Drawing --nonamespace System.Reflection.Emit.Tests - -# System.PlatformNotSupportedException : This API is specific to the way in which Windows handles asynchronous I/O, and is not supported on this platform. --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenCallbackInvokedOnFileChange --nomethod Microsoft.Extensions.FileProviders.Physical.Tests.PhysicalFilesWatcherTests.HandlesOnRenamedEventsThatMatchRootPath --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenNotAffectedByExceptions --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.FileChangeTokenNotNotifiedAfterExpiry --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensNotFiredForHiddenAndSystemFiles --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenFiredForFilesUnderPathEndingWithSlash --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenFiredOnCreation --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensFiredForAllEntriesOnError --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.WatcherWithPolling_ReturnsTrueForFileRemovedWhenFileSystemWatcherDoesNotRaiseEvents --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.CreateReadStreamSucceedsOnEmptyFile --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensFiredForOldAndNewNamesOnRename --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenForWhitespaceFilters --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.CorrectTokensFiredForMultipleFiles --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensFiredForNewDirectoryContentsOnRename --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensFiredOnFileDeleted --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenFiredForRelativePathStartingWithSlash_Windows --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenNotFiredForFileNameStartingWithPeriod --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.WildCardToken_RaisesEventsForNewFilesAdded --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenFiredForGlobbingPatternsPointingToSubDirectory --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenIsSameForSamePath --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenIsSameForSamePathCaseInsensitive --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.WildCardToken_RaisesEventsWhenFileSystemWatcherDoesNotFire --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenFiredOnDeletion --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensWithForwardAndBackwardSlashesAreSame --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokensFiredOnFileChange --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.WatcherWithPolling_ReturnsTrueForFileChangedWhenFileSystemWatcherDoesNotRaiseEvents --nomethod Microsoft.Extensions.FileProviders.PhysicalFileProviderTests.TokenForEmptyFilter --nomethod Microsoft.Extensions.Configuration.FunctionalTests.ArrayTests.DifferentConfigSources_Merged_WithOverwrites --nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.BindingDoesNotThrowIfReloadedDuringBinding --nomethod Microsoft.Extensions.Configuration.FunctionalTests.ArrayTests.DifferentConfigSources_Merged_KeysAreSorted --nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.OnLoadErrorCanIgnoreErrors --nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.GetDefaultBasePathForSources --nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.CanEnumerateProviders --nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.LoadAndCombineKeyValuePairsFromDifferentConfigurationProvidersWithAbsolutePath --nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.OnLoadErrorWillBeCalledOnJsonParseError --nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.OnLoadErrorWillBeCalledOnXmlParseError --nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.LoadIncorrectJsonFile_ThrowException --nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.OnLoadErrorWillBeCalledOnIniLoadError --nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.CanOverrideValuesWithNewConfigurationProvider --nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.SetBasePathCalledMultipleTimesForEachSourceLastOneWins --nomethod Microsoft.Extensions.Configuration.Test.ConfigurationTests.LoadAndCombineKeyValuePairsFromDifferentConfigurationProviders --nomethod Microsoft.Extensions.Configuration.UserSecrets.Test.ConfigurationExtensionTest.AddUserSecrets_With_SecretsId_Passed_Explicitly --nomethod Microsoft.Extensions.Configuration.UserSecrets.Test.ConfigurationExtensionTest.AddUserSecrets_FindsAssemblyAttribute --nomethod Microsoft.Extensions.Configuration.UserSecrets.Test.ConfigurationExtensionTest.AddUserSecrets_FindsAssemblyAttributeFromType --nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_RegistersEventSourceLogger --nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_IncludesContentRootByDefault --nomethod Microsoft.Extensions.Hosting.HostBuilderTests.CanConfigureAppConfigurationFromFile --nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_EnablesValidateOnBuild --nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_EnablesScopeValidation --nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_IncludesCommandLineArguments --nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_ConfigJsonDoesNotReload --nomethod Microsoft.Extensions.Hosting.HostTests.CreateDefaultBuilder_ConfigJsonDoesReload \ No newline at end of file +-nonamespace System.Reflection.Emit.Tests \ No newline at end of file From 7aa4b6a8f18f14b2e70a6e67e015d54d776c16d4 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 6 Apr 2020 13:28:39 +0300 Subject: [PATCH 58/84] Mark System.IO.Pipes.Tests namespace with ActiveIssue --- src/libraries/System.IO.Pipes/tests/AssemblyInfo.cs | 7 +++++++ .../System.IO.Pipes/tests/System.IO.Pipes.Tests.csproj | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/libraries/System.IO.Pipes/tests/AssemblyInfo.cs diff --git a/src/libraries/System.IO.Pipes/tests/AssemblyInfo.cs b/src/libraries/System.IO.Pipes/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..2caeed0b84fe62 --- /dev/null +++ b/src/libraries/System.IO.Pipes/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/34582", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.IO.Pipes/tests/System.IO.Pipes.Tests.csproj b/src/libraries/System.IO.Pipes/tests/System.IO.Pipes.Tests.csproj index 4984e9c3d7902c..c49e5d41a7b031 100644 --- a/src/libraries/System.IO.Pipes/tests/System.IO.Pipes.Tests.csproj +++ b/src/libraries/System.IO.Pipes/tests/System.IO.Pipes.Tests.csproj @@ -5,6 +5,7 @@ $(NetCoreAppCurrent)-Windows_NT;$(NetCoreAppCurrent)-Unix + diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index ad8347a01e1d2a..14c0ee321bb70c 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -1,5 +1,4 @@ # TODO: investigate (too many failures or stuck) --nonamespace System.IO.Pipes.Tests -nonamespace System.IO.Tests -nonamespace System.Net -nonamespace System.Threading.Tasks.Dataflow.Tests From d0ed2b9a2bb299ce24dda626728e0ff55d1e7834 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 6 Apr 2020 13:45:43 +0300 Subject: [PATCH 59/84] Marked System.IO.Tests.StreamReaderWithBufferedStream_Tests.ReadAsync_Canceled_ThrowsException and System.IO.Tests.StreamReaderTests.ReadAsync_Canceled_ThrowsException with ActiveIssue --- src/libraries/System.IO/tests/StreamReader/StreamReaderTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.IO/tests/StreamReader/StreamReaderTests.cs b/src/libraries/System.IO/tests/StreamReader/StreamReaderTests.cs index 34e724e873009e..9e3cc4f19eb696 100644 --- a/src/libraries/System.IO/tests/StreamReader/StreamReaderTests.cs +++ b/src/libraries/System.IO/tests/StreamReader/StreamReaderTests.cs @@ -508,6 +508,7 @@ public async Task ReadBlockAsync_RepeatsReadsUntilReadDesiredAmount() } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(0, false)] [InlineData(0, true)] [InlineData(1, false)] diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 14c0ee321bb70c..421537bf1e1113 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -1,5 +1,4 @@ # TODO: investigate (too many failures or stuck) --nonamespace System.IO.Tests -nonamespace System.Net -nonamespace System.Threading.Tasks.Dataflow.Tests -nonamespace System.Threading.Tasks.Tests From c9e6611ae39ccd2153bd3fdd74a39164f9b85ba9 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 6 Apr 2020 16:12:57 +0300 Subject: [PATCH 60/84] Disable System.IO.Tests test classes due to plenty of test failures --- .../tests/FileSystemWatcher.Directory.Changed.cs | 1 + .../tests/FileSystemWatcher.Directory.Create.cs | 1 + .../tests/FileSystemWatcher.Directory.Delete.cs | 1 + .../tests/FileSystemWatcher.Directory.Move.cs | 1 + .../tests/FileSystemWatcher.Directory.NotifyFilter.cs | 1 + .../tests/FileSystemWatcher.File.Changed.cs | 1 + .../tests/FileSystemWatcher.File.Create.cs | 1 + .../tests/FileSystemWatcher.File.Delete.cs | 1 + .../tests/FileSystemWatcher.File.Move.cs | 1 + .../tests/FileSystemWatcher.File.NotifyFilter.cs | 1 + .../tests/FileSystemWatcher.InternalBufferSize.cs | 1 + .../tests/FileSystemWatcher.WaitForChanged.cs | 1 + .../tests/FileSystemWatcher.cs | 1 + .../tests/FileSystemWatcher.unit.cs | 1 + .../System.IO.FileSystem/tests/File/AppendAsync.cs | 1 + src/libraries/System.IO.FileSystem/tests/File/Create.cs | 2 +- .../System.IO.FileSystem/tests/File/EncryptDecrypt.cs | 1 + .../tests/File/ReadWriteAllBytesAsync.cs | 1 + .../tests/File/ReadWriteAllLinesAsync.cs | 1 + .../tests/File/ReadWriteAllTextAsync.cs | 2 ++ .../System.IO.FileSystem/tests/FileStream/CopyToAsync.cs | 1 + .../System.IO.FileSystem/tests/FileStream/IsAsync.cs | 1 + .../System.IO.FileSystem/tests/FileStream/Pipes.cs | 1 + .../System.IO.FileSystem/tests/FileStream/ReadAsync.cs | 2 ++ .../System.IO.FileSystem/tests/FileStream/ReadWriteSpan.cs | 2 ++ .../tests/FileStream/SafeFileHandle.cs | 1 + .../System.IO.FileSystem/tests/FileStream/WriteAsync.cs | 2 ++ .../tests/FileStream/ctor_sfh_fa_buffer_async.cs | 1 + .../tests/FileStream/ctor_str_fm_fa_fs_buffer_async.cs | 1 + .../tests/FileStream/ctor_str_fm_fa_fs_buffer_fo.cs | 1 + .../System.IO.Pipes.AccessControl/tests/AssemblyInfo.cs | 7 +++++++ .../tests/System.IO.Pipes.AccessControl.Tests.csproj | 1 + 32 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 src/libraries/System.IO.Pipes.AccessControl/tests/AssemblyInfo.cs diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Changed.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Changed.cs index 960af3a0fc1819..79a258e550bc55 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Changed.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Changed.cs @@ -7,6 +7,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Directory_Changed_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Create.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Create.cs index 2e0365c729884e..72450075991ecf 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Create.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Create.cs @@ -7,6 +7,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Directory_Create_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Delete.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Delete.cs index c5be6613de7d60..5589784c8c61be 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Delete.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Delete.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Directory_Delete_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Move.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Move.cs index dd8fd7a76b47a3..e9ebb05fc25122 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Move.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.Move.cs @@ -10,6 +10,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Directory_Move_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.NotifyFilter.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.NotifyFilter.cs index bad6e7af786d04..3e3613747af8a0 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.NotifyFilter.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.Directory.NotifyFilter.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Directory_NotifyFilter_Tests : FileSystemWatcherTest { [DllImport("advapi32.dll", EntryPoint = "SetNamedSecurityInfoW", diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Changed.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Changed.cs index 00342eb04bdaf5..6adacc05224699 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Changed.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Changed.cs @@ -7,6 +7,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_Changed_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Create.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Create.cs index 08824e47e353b4..cadeea811b9171 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Create.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Create.cs @@ -9,6 +9,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_Create_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Delete.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Delete.cs index 3699fd4c38e819..17873c1b27169e 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Delete.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Delete.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_Delete_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Move.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Move.cs index 1c1a143f8d1e6f..93be28df7c3e56 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Move.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.Move.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_Move_Tests : FileSystemWatcherTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.NotifyFilter.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.NotifyFilter.cs index 59822be9a8810e..839b22ba104345 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.NotifyFilter.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.File.NotifyFilter.cs @@ -10,6 +10,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_NotifyFilter_Tests : FileSystemWatcherTest { [DllImport("advapi32.dll", EntryPoint = "SetNamedSecurityInfoW", diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.InternalBufferSize.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.InternalBufferSize.cs index ed85d3a1eae97e..2b1ac10138bdcb 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.InternalBufferSize.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.InternalBufferSize.cs @@ -7,6 +7,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class InternalBufferSizeTests : FileSystemWatcherTest { // FSW works by calling ReadDirectoryChanges asynchronously, processing the changes diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.WaitForChanged.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.WaitForChanged.cs index 6e7a0d995e0618..992195b0809ec0 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.WaitForChanged.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.WaitForChanged.cs @@ -7,6 +7,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public partial class WaitForChangedTests : FileSystemWatcherTest { private const int BetweenOperationsDelayMilliseconds = 100; diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.cs index d1fc2104501d4c..8b06b8b658d9b1 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.cs @@ -9,6 +9,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileSystemWatcherTests_netstandard17 : FileSystemWatcherTest { public class TestSite : ISite diff --git a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.unit.cs b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.unit.cs index 651f62342c6f56..b1cc4c6aeadeb2 100644 --- a/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.unit.cs +++ b/src/libraries/System.IO.FileSystem.Watcher/tests/FileSystemWatcher.unit.cs @@ -15,6 +15,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileSystemWatcherTests : FileSystemWatcherTest { private static void ValidateDefaults(FileSystemWatcher watcher, string path, string filter) diff --git a/src/libraries/System.IO.FileSystem/tests/File/AppendAsync.cs b/src/libraries/System.IO.FileSystem/tests/File/AppendAsync.cs index a7f6b94f8e3e25..b2da89179ba4dc 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/AppendAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/AppendAsync.cs @@ -87,6 +87,7 @@ public override Task TaskAlreadyCanceledAsync() } } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_AppendAllLinesAsync_Encoded : File_AppendAllLinesAsync { protected override Task WriteAsync(string path, string[] content) => diff --git a/src/libraries/System.IO.FileSystem/tests/File/Create.cs b/src/libraries/System.IO.FileSystem/tests/File/Create.cs index eba0fbdfea0462..c8ade1e479a92a 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/Create.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/Create.cs @@ -333,7 +333,7 @@ public void NegativeBuffer() Assert.Throws(() => Create(GetTestFilePath(), -100)); } } - + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_Create_str_i_fo : File_Create_str_i { public override FileStream Create(string path) diff --git a/src/libraries/System.IO.FileSystem/tests/File/EncryptDecrypt.cs b/src/libraries/System.IO.FileSystem/tests/File/EncryptDecrypt.cs index eb1dd44715f708..f287b3ae4f09ad 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/EncryptDecrypt.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/EncryptDecrypt.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class EncryptDecrypt : FileSystemTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytesAsync.cs b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytesAsync.cs index 0f844a5b084dd5..eb8a7bc26a0b38 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytesAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllBytesAsync.cs @@ -10,6 +10,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_ReadWriteAllBytesAsync : FileSystemTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLinesAsync.cs b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLinesAsync.cs index acfbf022c6104a..50a099a2562979 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLinesAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllLinesAsync.cs @@ -12,6 +12,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_ReadWriteAllLines_EnumerableAsync : FileSystemTest { #region Utilities diff --git a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllTextAsync.cs b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllTextAsync.cs index 55929d6151a84f..3e703b35bd0df4 100644 --- a/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllTextAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/File/ReadWriteAllTextAsync.cs @@ -11,6 +11,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_ReadWriteAllTextAsync : FileSystemTest { #region Utilities @@ -146,6 +147,7 @@ public virtual Task TaskAlreadyCanceledAsync() #endregion } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class File_ReadWriteAllText_EncodedAsync : File_ReadWriteAllTextAsync { protected override Task WriteAsync(string path, string content) => diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/CopyToAsync.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/CopyToAsync.cs index fd830791689e84..3c2cee70e7be6a 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/CopyToAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/CopyToAsync.cs @@ -12,6 +12,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_CopyToAsync : FileSystemTest { [Theory] diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/IsAsync.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/IsAsync.cs index bbdf4fef484382..c6cc369667db4d 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/IsAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/IsAsync.cs @@ -9,6 +9,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_IsAsync : FileSystemTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/Pipes.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/Pipes.cs index 28d19959bf13da..a82afafbb9db5e 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/Pipes.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/Pipes.cs @@ -10,6 +10,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Pipes : FileSystemTest { [Theory] diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/ReadAsync.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/ReadAsync.cs index 4753e0b3ee8bc8..14e69beb73fbaf 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/ReadAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/ReadAsync.cs @@ -358,6 +358,7 @@ public async Task ReadAsyncMiniStress() } } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_ReadAsync_AsyncReads : FileStream_AsyncReads { protected override Task ReadAsync(FileStream stream, byte[] buffer, int offset, int count, CancellationToken cancellationToken) => @@ -403,6 +404,7 @@ public void CancelledTokenFastPath() } } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_BeginEndRead_AsyncReads : FileStream_AsyncReads { protected override Task ReadAsync(FileStream stream, byte[] buffer, int offset, int count, CancellationToken cancellationToken) => diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/ReadWriteSpan.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/ReadWriteSpan.cs index 187c7788be3c76..0d34069b7a2068 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/ReadWriteSpan.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/ReadWriteSpan.cs @@ -10,6 +10,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public abstract class FileStream_ReadWrite_Span : FileSystemTest { protected abstract FileStream CreateFileStream(string path, FileMode mode, FileAccess access = FileAccess.ReadWrite); @@ -286,6 +287,7 @@ protected override FileStream CreateFileStream(string path, FileMode mode, FileA new FileStream(path, mode, access, FileShare.None, bufferSize: 0x1000, FileOptions.Asynchronous); } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class Async_NoBuffer_FileStream_ReadWrite_Span : FileStream_ReadWrite_Span { protected override FileStream CreateFileStream(string path, FileMode mode, FileAccess access) => diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs index cd1284237fd212..53b5611bbdc69a 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/SafeFileHandle.cs @@ -11,6 +11,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_SafeFileHandle : FileSystemTest { [Fact] diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/WriteAsync.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/WriteAsync.cs index 6d4a634a7d55df..5026c22f932988 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/WriteAsync.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/WriteAsync.cs @@ -416,6 +416,7 @@ public async Task WriteAsyncMiniStress() } } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_WriteAsync_AsyncWrites : FileStream_AsyncWrites { protected override Task WriteAsync(FileStream stream, byte[] buffer, int offset, int count, CancellationToken cancellationToken) => @@ -462,6 +463,7 @@ public void CancelledTokenFastPath() } } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_BeginEndWrite_AsyncWrites : FileStream_AsyncWrites { protected override Task WriteAsync(FileStream stream, byte[] buffer, int offset, int count, CancellationToken cancellationToken) => diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_sfh_fa_buffer_async.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_sfh_fa_buffer_async.cs index f139a1dea8e98a..c55330d7334408 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_sfh_fa_buffer_async.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_sfh_fa_buffer_async.cs @@ -7,6 +7,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_ctor_sfh_fa_buffer_async : FileStream_ctor_sfh_fa_buffer { protected sealed override FileStream CreateFileStream(SafeFileHandle handle, FileAccess access, int bufferSize) diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_async.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_async.cs index f3625027760e74..963ebe8cfae59c 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_async.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_async.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_ctor_str_fm_fa_fs_buffer_async : FileStream_ctor_str_fm_fa_fs_buffer { protected sealed override FileStream CreateFileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize) diff --git a/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_fo.cs b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_fo.cs index 596144845e8055..6358f9b0c58b7d 100644 --- a/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_fo.cs +++ b/src/libraries/System.IO.FileSystem/tests/FileStream/ctor_str_fm_fa_fs_buffer_fo.cs @@ -8,6 +8,7 @@ namespace System.IO.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class FileStream_ctor_str_fm_fa_fs_buffer_fo : FileStream_ctor_str_fm_fa_fs_buffer { protected sealed override FileStream CreateFileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize) diff --git a/src/libraries/System.IO.Pipes.AccessControl/tests/AssemblyInfo.cs b/src/libraries/System.IO.Pipes.AccessControl/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..463f70a1c30924 --- /dev/null +++ b/src/libraries/System.IO.Pipes.AccessControl/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/34583", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.IO.Pipes.AccessControl/tests/System.IO.Pipes.AccessControl.Tests.csproj b/src/libraries/System.IO.Pipes.AccessControl/tests/System.IO.Pipes.AccessControl.Tests.csproj index 57f1fa106a04cc..21202e86f0e700 100644 --- a/src/libraries/System.IO.Pipes.AccessControl/tests/System.IO.Pipes.AccessControl.Tests.csproj +++ b/src/libraries/System.IO.Pipes.AccessControl/tests/System.IO.Pipes.AccessControl.Tests.csproj @@ -6,6 +6,7 @@ + From b48edb65cffbf649f51a5d83880a6d14de8a110a Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 6 Apr 2020 18:54:24 +0300 Subject: [PATCH 61/84] Enable some System.Drawing-related test namespaces --- src/mono/netcore/CoreFX.issues_windows.rsp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 421537bf1e1113..c032a61ef792f1 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -12,11 +12,7 @@ -nonamespace System.DirectoryServices.Protocols.Tests -nonamespace System.Runtime.Serialization.Formatters.Tests --nonamespace System.Drawing.Printing.Tests --nonamespace System.Drawing.Imaging.Tests --nonamespace System.Drawing.Drawing2D.Tests --nonamespace System.Drawing.Design.Tests -nonamespace System.Drawing.Tests --nonamespace System.Drawing.Text.Tests -nonamespace MonoTests.System.Drawing + -nonamespace System.Reflection.Emit.Tests \ No newline at end of file From 402a57e9f0239f8a6d842f23c8650a2d275caf61 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 6 Apr 2020 18:55:09 +0300 Subject: [PATCH 62/84] Mark failing System.Drawing.Imaging.Tests.MetafileTests tests with ActiveIssue --- .../System.Drawing.Common/tests/Imaging/MetafileTests.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/libraries/System.Drawing.Common/tests/Imaging/MetafileTests.cs b/src/libraries/System.Drawing.Common/tests/Imaging/MetafileTests.cs index 00df07bf7470f9..ada5782ced86cc 100644 --- a/src/libraries/System.Drawing.Common/tests/Imaging/MetafileTests.cs +++ b/src/libraries/System.Drawing.Common/tests/Imaging/MetafileTests.cs @@ -96,6 +96,7 @@ public void Ctor_InvalidPath_ThrowsArgumentException(string path) } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Ctor_Stream_Success() { using (FileStream stream = File.OpenRead(GetPath(WmfFile))) @@ -113,6 +114,7 @@ public void Ctor_NullStream_ThrowsArgumentException() [ActiveIssue("https://github.com/dotnet/runtime/issues/22221", TestPlatforms.AnyUnix)] [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Ctor_EmptyStream_ThrowsExternalException() { using (var stream = new MemoryStream()) @@ -777,6 +779,7 @@ public void Ctor_PathTooLongI_ThrowsPathTooLongException() } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Ctor_StreamIntPtrRectangle_Success() { using (Bitmap bmp = new Bitmap(10, 10, PixelFormat.Format32bppArgb)) @@ -789,6 +792,7 @@ public void Ctor_StreamIntPtrRectangle_Success() } [ConditionalTheory(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(MetafileFrameUnit_TestData))] public void Ctor_StreamIntPtrRectangleMetafileFrameUnit_Success(MetafileFrameUnit frameUnit) { @@ -802,6 +806,7 @@ public void Ctor_StreamIntPtrRectangleMetafileFrameUnit_Success(MetafileFrameUni } [ConditionalTheory(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(EmfType_TestData))] public void Ctor_StreamIntPtrRectangleMetafileFrameUnitEmfType_Success(EmfType emfType) { @@ -816,6 +821,7 @@ public void Ctor_StreamIntPtrRectangleMetafileFrameUnitEmfType_Success(EmfType e } [ConditionalTheory(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(Description_TestData))] public void Ctor_StreamIntPtrRectangleMetafileFrameUnitEmfTypeString_Success(string description) { @@ -831,6 +837,7 @@ public void Ctor_StreamIntPtrRectangleMetafileFrameUnitEmfTypeString_Success(str } [ConditionalTheory(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(Description_TestData))] public void Ctor_RectangleEmptyI_Success(string description) { @@ -940,6 +947,7 @@ public void Static_GetMetafileHeader_NullString_ThrowsArgumentNullException() } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Static_GetMetafileHeader_Stream_ReturnsExpected() { using (FileStream stream = File.OpenRead(GetPath(WmfFile))) @@ -957,6 +965,7 @@ public void Static_GetMetafileHeader_NullStream_ThrowsNullReferenceException() [ActiveIssue("https://github.com/dotnet/runtime/issues/22221", TestPlatforms.AnyUnix)] [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Static_GetMetafileHeader_EmptyStream_ArgumentException() { using (var stream = new MemoryStream()) From 956f885fd38027415564992a3c4d329109c1c444 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Mon, 6 Apr 2020 18:55:45 +0300 Subject: [PATCH 63/84] Mark System.Drawing.Imaging.Tests.PropertyItemTests.Properties_SetValues_ReturnsExpected with ActiveIssue --- .../System.Drawing.Common/tests/Imaging/PropertyItemTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libraries/System.Drawing.Common/tests/Imaging/PropertyItemTests.cs b/src/libraries/System.Drawing.Common/tests/Imaging/PropertyItemTests.cs index 104ba4263f1a4b..726c5f897523ff 100644 --- a/src/libraries/System.Drawing.Common/tests/Imaging/PropertyItemTests.cs +++ b/src/libraries/System.Drawing.Common/tests/Imaging/PropertyItemTests.cs @@ -40,6 +40,7 @@ public static IEnumerable Properties_TestData() } [ActiveIssue("https://github.com/dotnet/runtime/issues/22221", TestPlatforms.AnyUnix)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34592", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [ConditionalTheory(Helpers.IsDrawingSupported)] [MemberData(nameof(Properties_TestData))] public void Properties_SetValues_ReturnsExpected(int id, int len, short type, byte[] value) From 0d589f319c6991b470b8ec85c080b420bc01f197 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Tue, 7 Apr 2020 15:00:20 +0300 Subject: [PATCH 64/84] Mark some failing System.Drawing.Tests tests with ActiveIssue --- src/libraries/System.Drawing.Common/tests/BitmapTests.cs | 1 + .../System.Drawing.Common/tests/Graphics_DrawBezierTests.cs | 1 + src/libraries/System.Drawing.Common/tests/IconTests.cs | 6 ++++++ src/libraries/System.Drawing.Common/tests/ImageTests.cs | 1 + .../tests/ToolboxBitmapAttributeTests.cs | 1 + src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 6 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/libraries/System.Drawing.Common/tests/BitmapTests.cs b/src/libraries/System.Drawing.Common/tests/BitmapTests.cs index c1be4b4701a029..f9123c253039c4 100644 --- a/src/libraries/System.Drawing.Common/tests/BitmapTests.cs +++ b/src/libraries/System.Drawing.Common/tests/BitmapTests.cs @@ -33,6 +33,7 @@ namespace System.Drawing.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class BitmapTests : FileCleanupTestBase { public static IEnumerable Ctor_FilePath_TestData() diff --git a/src/libraries/System.Drawing.Common/tests/Graphics_DrawBezierTests.cs b/src/libraries/System.Drawing.Common/tests/Graphics_DrawBezierTests.cs index 89b5d6e0c7f70c..294811d12f2375 100644 --- a/src/libraries/System.Drawing.Common/tests/Graphics_DrawBezierTests.cs +++ b/src/libraries/System.Drawing.Common/tests/Graphics_DrawBezierTests.cs @@ -8,6 +8,7 @@ namespace System.Drawing.Tests public class Graphics_DrawBezierTests : DrawingTest { [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void DrawBezier_Point() { using (Bitmap image = new Bitmap(100, 100)) diff --git a/src/libraries/System.Drawing.Common/tests/IconTests.cs b/src/libraries/System.Drawing.Common/tests/IconTests.cs index 40e2ec0eedd4b0..a201c9bce16e36 100644 --- a/src/libraries/System.Drawing.Common/tests/IconTests.cs +++ b/src/libraries/System.Drawing.Common/tests/IconTests.cs @@ -269,6 +269,7 @@ public void Ctor_NullIcon_ThrowsArgumentNullException() // libgdiplus causes a segfault when given an invalid Icon handle. [PlatformSpecific(TestPlatforms.Windows)] [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Ctor_InvalidHandle_Success() { using (Icon icon = Icon.FromHandle((IntPtr)1)) @@ -516,6 +517,7 @@ public void Save_NullOutputStreamIconData_ThrowsNullReferenceException() [ActiveIssue("https://github.com/dotnet/runtime/issues/22221", TestPlatforms.AnyUnix)] [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Save_NullOutputStreamNoIconData_ThrowsArgumentNullException() { using (var source = new Icon(Helpers.GetTestBitmapPath("48x48_multiple_entries_4bit.ico"))) @@ -703,6 +705,7 @@ private static Icon GetPngIcon() } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void FromHandle_IconHandleOneTime_Success() { using (var icon1 = new Icon(Helpers.GetTestBitmapPath("16x16_one_entry_4bit.ico"))) @@ -715,6 +718,7 @@ public void FromHandle_IconHandleOneTime_Success() } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void FromHandle_IconHandleMultipleTime_Success() { using (var icon1 = new Icon(Helpers.GetTestBitmapPath("16x16_one_entry_4bit.ico"))) @@ -735,6 +739,7 @@ public void FromHandle_IconHandleMultipleTime_Success() } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void FromHandle_BitmapHandleOneTime_Success() { IntPtr handle; @@ -751,6 +756,7 @@ public void FromHandle_BitmapHandleOneTime_Success() } [ConditionalFact(Helpers.IsDrawingSupported)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void FromHandle_BitmapHandleMultipleTime_Success() { IntPtr handle; diff --git a/src/libraries/System.Drawing.Common/tests/ImageTests.cs b/src/libraries/System.Drawing.Common/tests/ImageTests.cs index ebf65b2235a23c..e0ac720cd38f8e 100644 --- a/src/libraries/System.Drawing.Common/tests/ImageTests.cs +++ b/src/libraries/System.Drawing.Common/tests/ImageTests.cs @@ -78,6 +78,7 @@ public void FromFile_NoSuchFile_ThrowsFileNotFoundException() } [ActiveIssue("https://github.com/dotnet/runtime/issues/22221", TestPlatforms.AnyUnix)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [ConditionalTheory(Helpers.IsDrawingSupported)] [MemberData(nameof(InvalidBytes_TestData))] public void FromStream_InvalidBytes_ThrowsArgumentException(byte[] bytes) diff --git a/src/libraries/System.Drawing.Common/tests/ToolboxBitmapAttributeTests.cs b/src/libraries/System.Drawing.Common/tests/ToolboxBitmapAttributeTests.cs index 119d902317e76c..e1870b8abb1b50 100644 --- a/src/libraries/System.Drawing.Common/tests/ToolboxBitmapAttributeTests.cs +++ b/src/libraries/System.Drawing.Common/tests/ToolboxBitmapAttributeTests.cs @@ -13,6 +13,7 @@ public class bitmap_173x183_indexed_8bit { } public class Icon_toolboxBitmapAttributeTest { } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class ToolboxBitmapAttributeTests { private static Size DefaultSize = new Size(16, 16); diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index c032a61ef792f1..150ebd202534ef 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -12,7 +12,6 @@ -nonamespace System.DirectoryServices.Protocols.Tests -nonamespace System.Runtime.Serialization.Formatters.Tests --nonamespace System.Drawing.Tests -nonamespace MonoTests.System.Drawing -nonamespace System.Reflection.Emit.Tests \ No newline at end of file From 5c0f20f1082fe4b3b8b6a4e812ae43cf84220980 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Tue, 7 Apr 2020 16:10:02 +0300 Subject: [PATCH 65/84] Mark MonoTests.System.Drawing.MetafileTest and MonoTests.System.Drawing.MetafileFulltrustTest test classes with ActiveIssue --- .../tests/mono/System.Imaging/MetafileTest.cs | 3 ++- src/mono/netcore/CoreFX.issues_windows.rsp | 3 --- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libraries/System.Drawing.Common/tests/mono/System.Imaging/MetafileTest.cs b/src/libraries/System.Drawing.Common/tests/mono/System.Imaging/MetafileTest.cs index 262da7cdda6abf..0a403cc836a21b 100644 --- a/src/libraries/System.Drawing.Common/tests/mono/System.Imaging/MetafileTest.cs +++ b/src/libraries/System.Drawing.Common/tests/mono/System.Imaging/MetafileTest.cs @@ -38,7 +38,7 @@ namespace MonoTests.System.Drawing.Imaging { - + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class MetafileTest { @@ -204,6 +204,7 @@ public void GetMetafileHeader_FromMemoryStream_Emf() } } + [ActiveIssue("https://github.com/dotnet/runtime/issues/34591", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class MetafileFulltrustTest { private void CheckEmptyHeader(Metafile mf, EmfType type) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 150ebd202534ef..9e559e79130eb1 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -11,7 +11,4 @@ -nonamespace System.ComponentModel.TypeConverterTests -nonamespace System.DirectoryServices.Protocols.Tests -nonamespace System.Runtime.Serialization.Formatters.Tests - --nonamespace MonoTests.System.Drawing - -nonamespace System.Reflection.Emit.Tests \ No newline at end of file From 0ca197de1e1ce8a735a9eb719420af6a9acad576 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Tue, 7 Apr 2020 16:17:23 +0300 Subject: [PATCH 66/84] Try to enable System.Threading.Tasks.Dataflow.Tests because they pass locally --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 9e559e79130eb1..345975ab456afb 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -1,6 +1,5 @@ # TODO: investigate (too many failures or stuck) -nonamespace System.Net --nonamespace System.Threading.Tasks.Dataflow.Tests -nonamespace System.Threading.Tasks.Tests -nonamespace System.Security.Cryptography.Pkcs -nonamespace System.Runtime.InteropServices.WindowsRuntime From 2d9ed3d57e2d13d23ce86cf633706756be687ffb Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Tue, 7 Apr 2020 16:21:41 +0300 Subject: [PATCH 67/84] Try to enable System.Threading.Tasks.Tests because they pass locally --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 345975ab456afb..1265565386c7aa 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -1,6 +1,5 @@ # TODO: investigate (too many failures or stuck) -nonamespace System.Net --nonamespace System.Threading.Tasks.Tests -nonamespace System.Security.Cryptography.Pkcs -nonamespace System.Runtime.InteropServices.WindowsRuntime -nonamespace System.Runtime.InteropServices.Tests From ebc9224c3892e17d987f183eb4a92eb8c66e2cbd Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Tue, 7 Apr 2020 16:24:24 +0300 Subject: [PATCH 68/84] Try to enable System.Security.Cryptography.Pkcs because they pass locally --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 1265565386c7aa..5fb3457368d963 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -1,6 +1,5 @@ # TODO: investigate (too many failures or stuck) -nonamespace System.Net --nonamespace System.Security.Cryptography.Pkcs -nonamespace System.Runtime.InteropServices.WindowsRuntime -nonamespace System.Runtime.InteropServices.Tests -nonamespace System.Management.Tests From c10f6ec1d5194454babb29cf06f90ad305ae2f4c Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Tue, 7 Apr 2020 16:41:14 +0300 Subject: [PATCH 69/84] Try to enable System.Threading.Overlapped.Tests because they pass locally --- src/mono/netcore/CoreFX.issues_windows.rsp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index 5fb3457368d963..ee46ff5c89920d 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -3,7 +3,6 @@ -nonamespace System.Runtime.InteropServices.WindowsRuntime -nonamespace System.Runtime.InteropServices.Tests -nonamespace System.Management.Tests --nonamespace System.Threading.Overlapped.Tests -nonamespace BasicEventSourceTests -nonamespace System.ComponentModel.TypeConverterTests -nonamespace System.DirectoryServices.Protocols.Tests From b6d9d80eeeea5d95fdbd51ab34cdd044a823ca15 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Tue, 7 Apr 2020 17:17:35 +0300 Subject: [PATCH 70/84] Try to enable all remaining namespaces to get CI output containing any potential test failures --- src/mono/netcore/CoreFX.issues_windows.rsp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp index ee46ff5c89920d..e69de29bb2d1d6 100644 --- a/src/mono/netcore/CoreFX.issues_windows.rsp +++ b/src/mono/netcore/CoreFX.issues_windows.rsp @@ -1,10 +0,0 @@ -# TODO: investigate (too many failures or stuck) --nonamespace System.Net --nonamespace System.Runtime.InteropServices.WindowsRuntime --nonamespace System.Runtime.InteropServices.Tests --nonamespace System.Management.Tests --nonamespace BasicEventSourceTests --nonamespace System.ComponentModel.TypeConverterTests --nonamespace System.DirectoryServices.Protocols.Tests --nonamespace System.Runtime.Serialization.Formatters.Tests --nonamespace System.Reflection.Emit.Tests \ No newline at end of file From da435dbaa2211cb1714eff0e2040472c0b66ffdf Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 8 Apr 2020 10:25:49 +0300 Subject: [PATCH 71/84] Mark System.DirectoryServices.Protocols.Tests.SortRequestControlTests with ActiveIssue --- .../tests/SortRequestControlTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libraries/System.DirectoryServices.Protocols/tests/SortRequestControlTests.cs b/src/libraries/System.DirectoryServices.Protocols/tests/SortRequestControlTests.cs index 5b611adb66191c..24c57e840cf527 100644 --- a/src/libraries/System.DirectoryServices.Protocols/tests/SortRequestControlTests.cs +++ b/src/libraries/System.DirectoryServices.Protocols/tests/SortRequestControlTests.cs @@ -10,6 +10,7 @@ namespace System.DirectoryServices.Protocols.Tests public class SortRequestControlTests { [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34679", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(true)] [InlineData(false)] public void Ctor_SortKeys(bool critical) From 1e2ae579435cc414a592a4dc737ef365089918d2 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 8 Apr 2020 14:55:07 +0300 Subject: [PATCH 72/84] Mark several System.Diagnostics.Tests with ActiveIssue --- .../System.Diagnostics.Process/tests/AssemblyInfo.cs | 7 ------- .../tests/ProcessStartInfoTests.cs | 2 ++ .../System.Diagnostics.Process/tests/ProcessTests.cs | 3 +++ .../tests/System.Diagnostics.Process.Tests.csproj | 1 - 4 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 src/libraries/System.Diagnostics.Process/tests/AssemblyInfo.cs diff --git a/src/libraries/System.Diagnostics.Process/tests/AssemblyInfo.cs b/src/libraries/System.Diagnostics.Process/tests/AssemblyInfo.cs deleted file mode 100644 index 982ecdf51209d3..00000000000000 --- a/src/libraries/System.Diagnostics.Process/tests/AssemblyInfo.cs +++ /dev/null @@ -1,7 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using Xunit; - -[assembly: ActiveIssue("Disabled due to a runtime crash.", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Diagnostics.Process/tests/ProcessStartInfoTests.cs b/src/libraries/System.Diagnostics.Process/tests/ProcessStartInfoTests.cs index 730bcf3121303e..2a24721239d605 100644 --- a/src/libraries/System.Diagnostics.Process/tests/ProcessStartInfoTests.cs +++ b/src/libraries/System.Diagnostics.Process/tests/ProcessStartInfoTests.cs @@ -1081,6 +1081,7 @@ public static TheoryData UseShellExecute private const int ERROR_BAD_EXE_FORMAT = 0xC1; [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34685", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(UseShellExecute))] [PlatformSpecific(TestPlatforms.Windows)] public void StartInfo_BadVerb(bool useShellExecute) @@ -1096,6 +1097,7 @@ public void StartInfo_BadVerb(bool useShellExecute) } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34685", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(UseShellExecute))] [PlatformSpecific(TestPlatforms.Windows)] public void StartInfo_BadExe(bool useShellExecute) diff --git a/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs b/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs index 69b1375940b8d2..1b5eb65f043a28 100644 --- a/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs +++ b/src/libraries/System.Diagnostics.Process/tests/ProcessTests.cs @@ -234,6 +234,7 @@ public void ProcessStart_UseShellExecute_OnWindows_DoesNotThrow(bool isFolder) [ConditionalTheory(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsServerCore), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34685", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(true), InlineData(false)] public void ProcessStart_UseShellExecute_Executes(bool filenameAsUrl) { @@ -253,6 +254,7 @@ public void ProcessStart_UseShellExecute_Executes(bool filenameAsUrl) [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsServerCore), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34685", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void ProcessStart_UseShellExecute_ExecuteOrder() { // Create a directory that we will use as PATH @@ -296,6 +298,7 @@ public void ProcessStart_UseShellExecute_ExecuteOrder() [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.IsNotWindowsServerCore), nameof(PlatformDetection.IsNotWindowsNanoServer), nameof(PlatformDetection.IsNotWindowsIoTCore))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34685", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void ProcessStart_UseShellExecute_WorkingDirectory() { // Create a directory that will ProcessStartInfo.WorkingDirectory diff --git a/src/libraries/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj b/src/libraries/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj index 2dede5322ab646..e2f3f7ad84f9f2 100644 --- a/src/libraries/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj +++ b/src/libraries/System.Diagnostics.Process/tests/System.Diagnostics.Process.Tests.csproj @@ -6,7 +6,6 @@ $(NetCoreAppCurrent)-Windows_NT;$(NetCoreAppCurrent)-Unix - System\PasteArguments.cs From fef7ea9740ebb06cbc6bacbc93506819bf1e5723 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 8 Apr 2020 16:51:05 +0300 Subject: [PATCH 73/84] Mark several System.Management.Tests with ActiveIssue --- .../tests/System/Management/ManagementClassTests.cs | 5 +++++ .../tests/System/Management/ManagementObjectSearcherTests.cs | 1 + .../tests/System/Management/ManagementObjectTests.cs | 2 ++ .../tests/System/Management/SelectQueryTests.cs | 3 +++ 4 files changed, 11 insertions(+) diff --git a/src/libraries/System.Management/tests/System/Management/ManagementClassTests.cs b/src/libraries/System.Management/tests/System/Management/ManagementClassTests.cs index 413e6bbcbddf66..aabdd907a3931f 100644 --- a/src/libraries/System.Management/tests/System/Management/ManagementClassTests.cs +++ b/src/libraries/System.Management/tests/System/Management/ManagementClassTests.cs @@ -12,6 +12,7 @@ namespace System.Management.Tests public class ManagementClassTests { [ConditionalTheory(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(false, false)] [InlineData(false, true)] [InlineData(true, false)] @@ -26,6 +27,7 @@ public void Get_CodeTypeDeclaration_For_Win32_LogicalDisk(bool includeSystemClas } [ConditionalTheory(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(CodeLanguage.CSharp)] [InlineData(CodeLanguage.VB)] public void Get_SourceFile_For_Win32_Processor(CodeLanguage lang) @@ -47,6 +49,7 @@ public void Get_SourceFile_For_Win32_Processor(CodeLanguage lang) } [ConditionalTheory(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(CodeLanguage.JScript)] [InlineData(CodeLanguage.Mcpp)] [InlineData(CodeLanguage.VJSharp)] @@ -74,6 +77,7 @@ public void Throw_On_Unsupported_Languages(CodeLanguage lang) } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void ClassMembers_For_Win32_LogicalDisk() { var managementClass = new ManagementClass(new ManagementPath("Win32_LogicalDisk")); @@ -94,6 +98,7 @@ public void ClassMembers_For_Win32_LogicalDisk() } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void EnumerateInstances_For_Win32_LogicalDisk() { using (var managementClass = new ManagementClass(new ManagementPath("Win32_LogicalDisk"))) diff --git a/src/libraries/System.Management/tests/System/Management/ManagementObjectSearcherTests.cs b/src/libraries/System.Management/tests/System/Management/ManagementObjectSearcherTests.cs index c5486dd9629991..e371cd39a463ed 100644 --- a/src/libraries/System.Management/tests/System/Management/ManagementObjectSearcherTests.cs +++ b/src/libraries/System.Management/tests/System/Management/ManagementObjectSearcherTests.cs @@ -10,6 +10,7 @@ namespace System.Management.Tests public class ManagementObjectSearcherTests { [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Dynamic_Instances() { using (var searcher = new ManagementObjectSearcher()) diff --git a/src/libraries/System.Management/tests/System/Management/ManagementObjectTests.cs b/src/libraries/System.Management/tests/System/Management/ManagementObjectTests.cs index f513f96e1fc692..611d2aec622a5b 100644 --- a/src/libraries/System.Management/tests/System/Management/ManagementObjectTests.cs +++ b/src/libraries/System.Management/tests/System/Management/ManagementObjectTests.cs @@ -18,6 +18,7 @@ public void PlatformNotSupportedException_On_Nano() } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Get_Win32_LogicalDisk() { using (ManagementObject obj = new ManagementObject($"Win32_LogicalDisk.DeviceID=\"{WmiTestHelper.SystemDriveId}\"")) @@ -48,6 +49,7 @@ public void GetRelated_For_Win32_LogicalDisk() } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Set_Property_Win32_ComputerSystem() { using (ManagementObject obj = new ManagementObject($"Win32_ComputerSystem.Name=\"{Environment.MachineName}\"")) diff --git a/src/libraries/System.Management/tests/System/Management/SelectQueryTests.cs b/src/libraries/System.Management/tests/System/Management/SelectQueryTests.cs index 9c0f70c9d22f2a..4484ac407f09a7 100644 --- a/src/libraries/System.Management/tests/System/Management/SelectQueryTests.cs +++ b/src/libraries/System.Management/tests/System/Management/SelectQueryTests.cs @@ -10,6 +10,7 @@ namespace System.Management.Tests public class SelectQueryTests { [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Select_Win32_LogicalDisk_ClassName() { var query = new SelectQuery("Win32_LogicalDisk"); @@ -29,6 +30,7 @@ public void Select_Win32_LogicalDisk_ClassName() } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Select_Win32_LogicalDisk_ClassName_Condition() { var query = new SelectQuery("Win32_LogicalDisk", "DriveType=3"); @@ -47,6 +49,7 @@ public void Select_Win32_LogicalDisk_ClassName_Condition() } [ConditionalTheory(typeof(WmiTestHelper), nameof(WmiTestHelper.IsWmiSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(WmiTestHelper.ScopeRoots), MemberType = typeof(WmiTestHelper))] public void Select_All_Win32_LogicalDisk_Wql(string scopeRoot) { From 463f90e6bf8fefc85e1603631aa934d634f6b736 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 8 Apr 2020 17:51:05 +0300 Subject: [PATCH 74/84] Mark failiing System.Net.*.Tests assemblies/tests with ActiveIssue --- .../tests/System/Net/WebSockets/WebSocketCreateTest.cs | 2 ++ .../tests/FunctionalTests/AssemblyInfo.cs | 7 +++++++ .../System.Net.Http.Json.Functional.Tests.csproj | 1 + .../tests/FunctionalTests/AssemblyInfo.cs | 7 +++++++ .../System.Net.Http.WinHttpHandler.Functional.Tests.csproj | 1 + .../System.Net.Mail/tests/Functional/AssemblyInfo.cs | 7 +++++++ .../Functional/System.Net.Mail.Functional.Tests.csproj | 1 + .../tests/FunctionalTests/NetworkInterfaceBasicTest.cs | 1 + src/libraries/System.Net.Requests/tests/AssemblyInfo.cs | 7 +++++++ .../tests/System.Net.Requests.Tests.csproj | 1 + .../tests/FunctionalTests/AssemblyInfo.cs | 7 +++++++ .../tests/FunctionalTests/System.Net.Security.Tests.csproj | 1 + .../tests/FunctionalTests/AssemblyInfo.cs | 2 ++ .../tests/ClientWebSocketOptionsTests.cs | 1 + .../System.Net.WebSockets.Client/tests/ConnectTest.cs | 3 +++ 15 files changed, 49 insertions(+) create mode 100644 src/libraries/System.Net.Http.Json/tests/FunctionalTests/AssemblyInfo.cs create mode 100644 src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/AssemblyInfo.cs create mode 100644 src/libraries/System.Net.Mail/tests/Functional/AssemblyInfo.cs create mode 100644 src/libraries/System.Net.Requests/tests/AssemblyInfo.cs create mode 100644 src/libraries/System.Net.Security/tests/FunctionalTests/AssemblyInfo.cs diff --git a/src/libraries/Common/tests/System/Net/WebSockets/WebSocketCreateTest.cs b/src/libraries/Common/tests/System/Net/WebSockets/WebSocketCreateTest.cs index 391c41eeee693f..c5a8f6167683df 100644 --- a/src/libraries/Common/tests/System/Net/WebSockets/WebSocketCreateTest.cs +++ b/src/libraries/Common/tests/System/Net/WebSockets/WebSocketCreateTest.cs @@ -102,6 +102,7 @@ public async Task ReceiveAsync_UTF8SplitAcrossMultipleBuffers_ValidDataReceived( } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(0b_1000_0001, 0b_0_000_0001, false)] // fin + text, no mask + length == 1 [InlineData(0b_1100_0001, 0b_0_000_0001, true)] // fin + rsv1 + text, no mask + length == 1 [InlineData(0b_1010_0001, 0b_0_000_0001, true)] // fin + rsv2 + text, no mask + length == 1 @@ -147,6 +148,7 @@ public async Task ReceiveAsync_InvalidFrameHeader_AbortsAndThrowsException(byte } [Fact] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task ReceiveAsync_ServerSplitHeader_ValidDataReceived() { using (Socket listener = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)) diff --git a/src/libraries/System.Net.Http.Json/tests/FunctionalTests/AssemblyInfo.cs b/src/libraries/System.Net.Http.Json/tests/FunctionalTests/AssemblyInfo.cs new file mode 100644 index 00000000000000..f124e7754138ac --- /dev/null +++ b/src/libraries/System.Net.Http.Json/tests/FunctionalTests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Net.Http.Json/tests/FunctionalTests/System.Net.Http.Json.Functional.Tests.csproj b/src/libraries/System.Net.Http.Json/tests/FunctionalTests/System.Net.Http.Json.Functional.Tests.csproj index ad6333b1aa6e54..278e36d4e102c0 100644 --- a/src/libraries/System.Net.Http.Json/tests/FunctionalTests/System.Net.Http.Json.Functional.Tests.csproj +++ b/src/libraries/System.Net.Http.Json/tests/FunctionalTests/System.Net.Http.Json.Functional.Tests.csproj @@ -3,6 +3,7 @@ $(NetCoreAppCurrent);$(NetFrameworkCurrent) + diff --git a/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/AssemblyInfo.cs b/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/AssemblyInfo.cs new file mode 100644 index 00000000000000..f124e7754138ac --- /dev/null +++ b/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/System.Net.Http.WinHttpHandler.Functional.Tests.csproj b/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/System.Net.Http.WinHttpHandler.Functional.Tests.csproj index d43fb980f5ea19..66515bbd3e1bf1 100644 --- a/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/System.Net.Http.WinHttpHandler.Functional.Tests.csproj +++ b/src/libraries/System.Net.Http.WinHttpHandler/tests/FunctionalTests/System.Net.Http.WinHttpHandler.Functional.Tests.csproj @@ -12,6 +12,7 @@ Common\System\Net\Configuration.Http.cs + diff --git a/src/libraries/System.Net.Mail/tests/Functional/AssemblyInfo.cs b/src/libraries/System.Net.Mail/tests/Functional/AssemblyInfo.cs new file mode 100644 index 00000000000000..f124e7754138ac --- /dev/null +++ b/src/libraries/System.Net.Mail/tests/Functional/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Net.Mail/tests/Functional/System.Net.Mail.Functional.Tests.csproj b/src/libraries/System.Net.Mail/tests/Functional/System.Net.Mail.Functional.Tests.csproj index 9264921c2ac430..a11dcc181d3e57 100644 --- a/src/libraries/System.Net.Mail/tests/Functional/System.Net.Mail.Functional.Tests.csproj +++ b/src/libraries/System.Net.Mail/tests/Functional/System.Net.Mail.Functional.Tests.csproj @@ -6,6 +6,7 @@ + diff --git a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/NetworkInterfaceBasicTest.cs b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/NetworkInterfaceBasicTest.cs index 6bb454976eb2e5..808187e1bf7605 100644 --- a/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/NetworkInterfaceBasicTest.cs +++ b/src/libraries/System.Net.NetworkInformation/tests/FunctionalTests/NetworkInterfaceBasicTest.cs @@ -260,6 +260,7 @@ public void BasicTest_GetIsNetworkAvailable_Success() } [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [PlatformSpecific(~(TestPlatforms.OSX|TestPlatforms.FreeBSD))] [InlineData(false)] [InlineData(true)] diff --git a/src/libraries/System.Net.Requests/tests/AssemblyInfo.cs b/src/libraries/System.Net.Requests/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..f124e7754138ac --- /dev/null +++ b/src/libraries/System.Net.Requests/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Net.Requests/tests/System.Net.Requests.Tests.csproj b/src/libraries/System.Net.Requests/tests/System.Net.Requests.Tests.csproj index 125574f332fd5a..d10fd19dfe020d 100644 --- a/src/libraries/System.Net.Requests/tests/System.Net.Requests.Tests.csproj +++ b/src/libraries/System.Net.Requests/tests/System.Net.Requests.Tests.csproj @@ -6,6 +6,7 @@ $(DefineConstants);NETSTANDARD + diff --git a/src/libraries/System.Net.Security/tests/FunctionalTests/AssemblyInfo.cs b/src/libraries/System.Net.Security/tests/FunctionalTests/AssemblyInfo.cs new file mode 100644 index 00000000000000..f124e7754138ac --- /dev/null +++ b/src/libraries/System.Net.Security/tests/FunctionalTests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj b/src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj index 39a50a2ba8fa43..1717a98df4cc8c 100644 --- a/src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj +++ b/src/libraries/System.Net.Security/tests/FunctionalTests/System.Net.Security.Tests.csproj @@ -6,6 +6,7 @@ annotations + diff --git a/src/libraries/System.Net.Sockets/tests/FunctionalTests/AssemblyInfo.cs b/src/libraries/System.Net.Sockets/tests/FunctionalTests/AssemblyInfo.cs index 39234939f15285..66bd20fa5be0d3 100644 --- a/src/libraries/System.Net.Sockets/tests/FunctionalTests/AssemblyInfo.cs +++ b/src/libraries/System.Net.Sockets/tests/FunctionalTests/AssemblyInfo.cs @@ -5,3 +5,5 @@ using Xunit; [assembly: SkipOnCoreClr("System.Net.Tests are flaky and/or long running: https://github.com/dotnet/runtime/issues/131", RuntimeConfiguration.Checked)] +[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] + diff --git a/src/libraries/System.Net.WebSockets.Client/tests/ClientWebSocketOptionsTests.cs b/src/libraries/System.Net.WebSockets.Client/tests/ClientWebSocketOptionsTests.cs index 714a765ab79a14..7a6d319e849410 100644 --- a/src/libraries/System.Net.WebSockets.Client/tests/ClientWebSocketOptionsTests.cs +++ b/src/libraries/System.Net.WebSockets.Client/tests/ClientWebSocketOptionsTests.cs @@ -228,6 +228,7 @@ await LoopbackServer.CreateClientAndServerAsync(async uri => } [ConditionalTheory(nameof(WebSocketsSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData("ws://")] [InlineData("wss://")] public async Task NonSecureConnect_ConnectThruProxy_CONNECTisUsed(string connectionType) diff --git a/src/libraries/System.Net.WebSockets.Client/tests/ConnectTest.cs b/src/libraries/System.Net.WebSockets.Client/tests/ConnectTest.cs index b635c0bb5c0f88..a0ad1178f49943 100644 --- a/src/libraries/System.Net.WebSockets.Client/tests/ConnectTest.cs +++ b/src/libraries/System.Net.WebSockets.Client/tests/ConnectTest.cs @@ -88,6 +88,7 @@ public async Task ConnectAsync_AddCustomHeaders_Success(Uri server) } [ConditionalFact(nameof(WebSocketsSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task ConnectAsync_AddHostHeader_Success() { string expectedHost = null; @@ -206,6 +207,7 @@ public async Task ConnectAsync_PassMultipleSubProtocols_ServerRequires_Connectio } [ConditionalFact(nameof(WebSocketsSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task ConnectAsync_NonStandardRequestHeaders_HeadersAddedWithoutValidation() { await LoopbackServer.CreateClientAndServerAsync(async uri => @@ -255,6 +257,7 @@ public async Task ConnectAsync_CancellationRequestedBeforeConnect_ThrowsOperatio } [ConditionalFact(nameof(WebSocketsSupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public async Task ConnectAsync_CancellationRequestedAfterConnect_ThrowsOperationCanceledException() { var releaseServer = new TaskCompletionSource(TaskCreationOptions.RunContinuationsAsynchronously); From 036d900fc2a2903968ef798c92229cb75f289899 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 8 Apr 2020 19:56:47 +0300 Subject: [PATCH 75/84] Mark some System.Reflection.Emit.Tests with ActiveIssue --- .../tests/ModuleBuilder/ModuleBuilderDefinePInvokeMethod.cs | 1 + .../tests/TypeBuilder/TypeBuilderDefinePInvokeMethod.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/libraries/System.Reflection.Emit/tests/ModuleBuilder/ModuleBuilderDefinePInvokeMethod.cs b/src/libraries/System.Reflection.Emit/tests/ModuleBuilder/ModuleBuilderDefinePInvokeMethod.cs index 11771b000b889d..d04a49ae1a0469 100644 --- a/src/libraries/System.Reflection.Emit/tests/ModuleBuilder/ModuleBuilderDefinePInvokeMethod.cs +++ b/src/libraries/System.Reflection.Emit/tests/ModuleBuilder/ModuleBuilderDefinePInvokeMethod.cs @@ -8,6 +8,7 @@ namespace System.Reflection.Emit.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/2389", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class ModuleBuilderDefinePInvokeMethodTests { public static IEnumerable TheoryData1 => TypeBuilderDefinePInvokeMethodTests.TestData.Where(dpm => dpm.NoCMods).Select(dpm => new object[] { dpm }); diff --git a/src/libraries/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefinePInvokeMethod.cs b/src/libraries/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefinePInvokeMethod.cs index 5f657dcf3d47f3..d2ddb37e1f91dd 100644 --- a/src/libraries/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefinePInvokeMethod.cs +++ b/src/libraries/System.Reflection.Emit/tests/TypeBuilder/TypeBuilderDefinePInvokeMethod.cs @@ -32,6 +32,7 @@ public sealed class DpmParams public sealed override string ToString() => MethodName; } + [ActiveIssue("https://github.com/dotnet/runtime/issues/2389", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class TypeBuilderDefinePInvokeMethodTests { public static IEnumerable TestData From 1d250bb1940d970a4be4104786436639190d2092 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 8 Apr 2020 20:05:40 +0300 Subject: [PATCH 76/84] Mark more System.Management.Tests tests with ActiveIssue --- .../tests/System/Management/ManagementClassTests.cs | 1 + .../tests/System/Management/ManagementClassTestsMofRequired.cs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/libraries/System.Management/tests/System/Management/ManagementClassTests.cs b/src/libraries/System.Management/tests/System/Management/ManagementClassTests.cs index aabdd907a3931f..d51f39b4a89bb3 100644 --- a/src/libraries/System.Management/tests/System/Management/ManagementClassTests.cs +++ b/src/libraries/System.Management/tests/System/Management/ManagementClassTests.cs @@ -117,6 +117,7 @@ public void EnumerateInstances_For_Win32_LogicalDisk() } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsElevatedAndSupportsWmi))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Create_Delete_Namespace() { using (var rootNamespace = new ManagementClass("root:__namespace")) diff --git a/src/libraries/System.Management/tests/System/Management/ManagementClassTestsMofRequired.cs b/src/libraries/System.Management/tests/System/Management/ManagementClassTestsMofRequired.cs index 9097d578790b11..cf0908db640447 100644 --- a/src/libraries/System.Management/tests/System/Management/ManagementClassTestsMofRequired.cs +++ b/src/libraries/System.Management/tests/System/Management/ManagementClassTestsMofRequired.cs @@ -10,6 +10,7 @@ namespace System.Management.Tests public class ManagementClassTestsMofRequired { [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsElevatedAndSupportsWmi))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Create_Modify_Delete_Static_Class() { using (var newClass = new ManagementClass(WmiTestHelper.Namespace)) @@ -40,6 +41,7 @@ public void Create_Modify_Delete_Static_Class() } [ConditionalFact(typeof(WmiTestHelper), nameof(WmiTestHelper.IsElevatedAndSupportsWmi))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34689", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void Create_Modify_Delete_Static_And_Instance() { using (var newClass = new ManagementClass(WmiTestHelper.Namespace)) From 8ade3de06ad7a648ef1e7aec8f53ebbecfd0951a Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Wed, 8 Apr 2020 20:12:08 +0300 Subject: [PATCH 77/84] Mark System.Net.WebClient.Tests assembly with ActiveIssue --- src/libraries/System.Net.WebClient/tests/AssemblyInfo.cs | 7 +++++++ .../tests/System.Net.WebClient.Tests.csproj | 1 + 2 files changed, 8 insertions(+) create mode 100644 src/libraries/System.Net.WebClient/tests/AssemblyInfo.cs diff --git a/src/libraries/System.Net.WebClient/tests/AssemblyInfo.cs b/src/libraries/System.Net.WebClient/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..f124e7754138ac --- /dev/null +++ b/src/libraries/System.Net.WebClient/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/34690", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Net.WebClient/tests/System.Net.WebClient.Tests.csproj b/src/libraries/System.Net.WebClient/tests/System.Net.WebClient.Tests.csproj index 0612c258872a0f..b011f8361e954f 100644 --- a/src/libraries/System.Net.WebClient/tests/System.Net.WebClient.Tests.csproj +++ b/src/libraries/System.Net.WebClient/tests/System.Net.WebClient.Tests.csproj @@ -4,6 +4,7 @@ $(DefineConstants);NETSTANDARD + Common\System\Net\Capability.Security.cs From 946c04af5e07959f8f1e18c7f51b0bfa5baf0eac Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 9 Apr 2020 10:58:04 +0300 Subject: [PATCH 78/84] Mark System.Runtime.InteropServices.Tests namespace with ActiveIssue --- .../System.Runtime.InteropServices/tests/AssemblyInfo.cs | 7 +++++++ .../tests/System.Runtime.InteropServices.Tests.csproj | 1 + 2 files changed, 8 insertions(+) create mode 100644 src/libraries/System.Runtime.InteropServices/tests/AssemblyInfo.cs diff --git a/src/libraries/System.Runtime.InteropServices/tests/AssemblyInfo.cs b/src/libraries/System.Runtime.InteropServices/tests/AssemblyInfo.cs new file mode 100644 index 00000000000000..92a90f9cd99157 --- /dev/null +++ b/src/libraries/System.Runtime.InteropServices/tests/AssemblyInfo.cs @@ -0,0 +1,7 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using Xunit; + +[assembly: ActiveIssue("https://github.com/dotnet/runtime/issues/34748", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] diff --git a/src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.Tests.csproj b/src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.Tests.csproj index e57c30b52fb4a0..b279ed4bc28e0c 100644 --- a/src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.Tests.csproj +++ b/src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.Tests.csproj @@ -5,6 +5,7 @@ true + From 0b525e09ea1913732fb3768b9c21375f14ea1423 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 9 Apr 2020 11:52:52 +0300 Subject: [PATCH 79/84] Mark System.Runtime.InteropServices.WindowsRuntime.Tests with ActiveIssue --- .../WindowsRuntime/EventRegistrationTokenTableTests.cs | 1 + .../WindowsRuntime/EventRegistrationTokenTests.cs | 1 + .../InterfaceImplementedInVersionAttributeTests.cs | 1 + .../InteropServices/WindowsRuntime/WindowsRuntimeMarshalTests.cs | 1 + 4 files changed, 4 insertions(+) diff --git a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTableTests.cs b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTableTests.cs index 8bfc27fddfb621..1be0d5d1b9ed53 100644 --- a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTableTests.cs +++ b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTableTests.cs @@ -6,6 +6,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34749", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class EventRegistrationTokenTableTests { [Fact] diff --git a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTests.cs b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTests.cs index 172641ee1dcd8a..6be973463ebbdd 100644 --- a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTests.cs +++ b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/EventRegistrationTokenTests.cs @@ -7,6 +7,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34749", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class EventRegistrationTokenTests { public static IEnumerable Equals_TestData() diff --git a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/InterfaceImplementedInVersionAttributeTests.cs b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/InterfaceImplementedInVersionAttributeTests.cs index be4d8f8a655619..a55554beecd48e 100644 --- a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/InterfaceImplementedInVersionAttributeTests.cs +++ b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/InterfaceImplementedInVersionAttributeTests.cs @@ -9,6 +9,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime.Tests public class InterfaceImplementedInVersionAttributeTests { [Theory] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34749", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [InlineData(null, 0, 0, 0, 0)] [InlineData(typeof(int), 255, 255, 255, 255)] public void Ctor_DefaultInterface(Type interfaceType, byte majorVersion, byte minorVersion, byte buildVersion, byte revisionVersion) diff --git a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshalTests.cs b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshalTests.cs index fb6311f6c4c3a4..ec82bf610ed793 100644 --- a/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshalTests.cs +++ b/src/libraries/System.Runtime.InteropServices.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntime/WindowsRuntimeMarshalTests.cs @@ -7,6 +7,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime.Tests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34749", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class WindowsRuntimeMarshalTests { [Fact] From 0e8a9c571f41c1e031604290ebf8d485d6656944 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 9 Apr 2020 12:49:36 +0300 Subject: [PATCH 80/84] Mark System.Runtime.Serialization.Formatters.Tests.RoundtripManyObjectsInOneStream and System.Runtime.Serialization.Formatters.Tests.ValidateBasicObjectsRoundtrip with ActiveIssue --- .../tests/BinaryFormatterTests.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs b/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs index 8c9777b0f706a7..0784de7252820f 100644 --- a/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs +++ b/src/libraries/System.Runtime.Serialization.Formatters/tests/BinaryFormatterTests.cs @@ -48,6 +48,7 @@ public void SerializeHugeObjectGraphs(int limit) [Theory] [SkipOnCoreClr("Takes too long on Checked", RuntimeConfiguration.Checked)] [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34753", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] [MemberData(nameof(BasicObjectsRoundtrip_MemberData))] public void ValidateBasicObjectsRoundtrip(object obj, FormatterAssemblyStyle assemblyFormat, TypeFilterLevel filterLevel, FormatterTypeStyle typeFormat) { @@ -185,6 +186,7 @@ public void ValidateDeserializationOfObjectWithGenericTypeWhichGenericArgumentHa [Fact] [ActiveIssue("https://github.com/dotnet/runtime/issues/34008", TestPlatforms.Linux, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34753", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public void RoundtripManyObjectsInOneStream() { object[][] objects = SerializableObjects_MemberData().ToArray(); From cf6abde53d0f9df8b3f9b0202b9aac14a2836545 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 9 Apr 2020 13:06:05 +0300 Subject: [PATCH 81/84] Mark System.ComponentModel.TypeConverterTests.ImageConverterTest test class with ActiveIssue --- .../tests/System/Drawing/ImageConverterTests.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libraries/System.Windows.Extensions/tests/System/Drawing/ImageConverterTests.cs b/src/libraries/System.Windows.Extensions/tests/System/Drawing/ImageConverterTests.cs index 76f9d0d92bab84..495353ff4b6aba 100644 --- a/src/libraries/System.Windows.Extensions/tests/System/Drawing/ImageConverterTests.cs +++ b/src/libraries/System.Windows.Extensions/tests/System/Drawing/ImageConverterTests.cs @@ -10,6 +10,7 @@ namespace System.ComponentModel.TypeConverterTests { + [ActiveIssue("https://github.com/dotnet/runtime/issues/34755", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class ImageConverterTest { private readonly Image _image; From 9ee486545ce4606a0aaa9b83046d3b40dba00f97 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 9 Apr 2020 18:34:47 +0300 Subject: [PATCH 82/84] Mark System.Runtime.InteropServices.WindowsRuntime.Tests.WindowsRuntimeBufferExtensionsTests and System.Runtime.InteropServices.WindowsRuntime.Tests.WindowsRuntimeBufferTests test classes with ActiveIssue --- .../InteropServices/WindowsRuntimeBufferExtensionsTests.cs | 1 + .../System/Runtime/InteropServices/WindowsRuntimeBufferTests.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferExtensionsTests.cs b/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferExtensionsTests.cs index 12363e25212b50..9919a27510ee43 100644 --- a/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferExtensionsTests.cs +++ b/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferExtensionsTests.cs @@ -10,6 +10,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime.Tests { [ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsWinUISupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34768", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class WindowsRuntimeBufferExtensionsTests { public static IEnumerable AsBuffer_TestData() diff --git a/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferTests.cs b/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferTests.cs index 86a244785a87d3..6c236e0d8da3e6 100644 --- a/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferTests.cs +++ b/src/libraries/System.Runtime.WindowsRuntime/tests/System/Runtime/InteropServices/WindowsRuntimeBufferTests.cs @@ -9,6 +9,7 @@ namespace System.Runtime.InteropServices.WindowsRuntime.Tests { [ConditionalClass(typeof(PlatformDetection), nameof(PlatformDetection.IsWinUISupported))] + [ActiveIssue("https://github.com/dotnet/runtime/issues/34768", TestPlatforms.Windows, TargetFrameworkMonikers.Netcoreapp, TestRuntimes.Mono)] public class WindowsRuntimeBufferTests { [Theory] From f32495ee3056aade8c242a826bf3428d5516b10a Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 9 Apr 2020 18:55:14 +0300 Subject: [PATCH 83/84] Remove CoreFX.issues_windows.rsp file; remove mono rsp argumets --- eng/testing/tests.targets | 15 --------------- src/mono/netcore/CoreFX.issues_windows.rsp | 0 2 files changed, 15 deletions(-) delete mode 100644 src/mono/netcore/CoreFX.issues_windows.rsp diff --git a/eng/testing/tests.targets b/eng/testing/tests.targets index 9936c2ad8293dd..e7e824b6178337 100644 --- a/eng/testing/tests.targets +++ b/eng/testing/tests.targets @@ -16,8 +16,6 @@ $(RunScriptHostDir)dotnet.exe $(RunScriptHostDir)dotnet - - $(RunWorkingDirectory)$(MonoRspFileName) @@ -75,17 +73,6 @@ - - - - <_rspFile Include="$(TestRspFile)" Condition="'$(TestRspFile)' != ''" /> - <_rspFile Include="$(MonoProjectRoot)netcore\CoreFX.issues_windows.rsp" Condition="'$(TargetOS)' == 'Windows_NT'" /> - - - <_rspFileContent Include="$([System.IO.File]::ReadAllText(%(_rspFile.Identity)))" Condition="'$(TargetOS)' != 'OSX' and '$(TargetOS)' != 'Linux'" /> - - - @@ -108,8 +95,6 @@ DependsOnTargets="ValidateTestPlatform"> "$(RunScriptOutputPath)" --runtime-path "$(TestHostRootPath.TrimEnd('\/'))" - - $(RunTestsCommand) --rsp-file "$(MonoRspFile)" $(RunTestsCommand) --rsp-file "$(TestRspFile)" diff --git a/src/mono/netcore/CoreFX.issues_windows.rsp b/src/mono/netcore/CoreFX.issues_windows.rsp deleted file mode 100644 index e69de29bb2d1d6..00000000000000 From 41167a549947b717bc25450deab4a647fdcdd001 Mon Sep 17 00:00:00 2001 From: Maxim Lipnin Date: Thu, 9 Apr 2020 22:01:00 +0300 Subject: [PATCH 84/84] Remove mono rsp file leftovers --- src/libraries/Directory.Build.props | 4 ---- src/libraries/sendtohelix.proj | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/libraries/Directory.Build.props b/src/libraries/Directory.Build.props index 45768f60cd6e61..51e21fa9b22897 100644 --- a/src/libraries/Directory.Build.props +++ b/src/libraries/Directory.Build.props @@ -302,10 +302,6 @@ true - - mono.issues.rsp - - true diff --git a/src/libraries/sendtohelix.proj b/src/libraries/sendtohelix.proj index a053efe4a96bbc..b62ca7e716148b 100644 --- a/src/libraries/sendtohelix.proj +++ b/src/libraries/sendtohelix.proj @@ -66,8 +66,6 @@ --> call RunTests.cmd --runtime-path %HELIX_CORRELATION_PAYLOAD% ./RunTests.sh --runtime-path "$HELIX_CORRELATION_PAYLOAD" - - $(HelixCommand) --rsp-file "$(MonoRspFileName)"