dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.7k stars 4.59k forks source link

Tests under: System.IO.IsolatedStorage.ContainsUnknownFilesTests failed with "System.TypeInitializationException" #21061

Closed ghost closed 4 years ago

ghost commented 7 years ago

Opened on behalf of @Jiayili1

The test System.IO.IsolatedStorage.ContainsUnknownFilesTests/ContainsUnknownFiles_CleanStore(scope: MachineStoreForApplication) has failed.

System.TypeInitializationException : The type initializer for 'System.IO.IsolatedStorage.TestHelper' threw an exception.\r ---- System.IO.IsolatedStorage.IsolatedStorageException : Initialization failed.

    Stack Trace:

       at System.IO.IsolatedStorage.TestHelper.WipeStores()
   at System.IO.IsolatedStorage.ContainsUnknownFilesTests.ContainsUnknownFiles_CleanStore(PresetScopes scope) in E:\A\_work\60\s\corefx\src\System.IO.IsolatedStorage\tests\System\IO\IsolatedStorage\ContainsUnknownFilesTests.cs:line 18
----- Inner Stack Trace -----
   at System.IO.IsolatedStorage.Helper.GetDefaultIdentityAndHash(Object& identity, String& hash, Char separator) in E:\A\_work\60\s\corefx\src\System.IO.IsolatedStorage\src\System\IO\IsolatedStorage\Helper.Win32.Unix.cs:line 124
   at System.IO.IsolatedStorage.TestHelper..cctor() in E:\A\_work\60\s\corefx\src\System.IO.IsolatedStorage\tests\System\IO\IsolatedStorage\TestHelper.cs:line 28

Build : Master - 20170412.01 (Full Framework Tests) Failing configurations:

Detail: https://mc.dot.net/#/product/netcore/master/source/official~2Fcorefx~2Fmaster~2F/type/test~2Ffunctional~2Fdesktop~2Fcli~2F/build/20170412.01/workItem/System.IO.IsolatedStorage.Tests/analysis/xunit/System.IO.IsolatedStorage.ContainsUnknownFilesTests~2FContainsUnknownFiles_CleanStore(scope:%20MachineStoreForApplication)

karelz commented 7 years ago

@Jiayili1 was it Desktop run?

safern commented 7 years ago

Build : Master - 20170412.01 (Full Framework Tests)

@karelz yes it was desktop run. Thanks for the labeling!

safern commented 5 years ago

Closing as this was in desktop and we're no longer running tests for this project in desktop after: https://github.com/dotnet/corefx/pull/37972