Created
May 15, 2017 19:38
-
-
Save garfbradaz/bf278259d1c633a6953fe4bf827663d1 to your computer and use it in GitHub Desktop.
System.Security.Principal.Windows.Tests - Error in Tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<assemblies> | |
<assembly name="System.Security.Principal.Windows.Tests.dll" environment="64-bit .NET (unknown version) [collection-per-class, parallel (4 threads)]" test-framework="xUnit.net 2.2.0.3300" run-date="2017-05-15" run-time="07:44:02" total="10" passed="7" failed="2" skipped="1" time="0.577" errors="0"> | |
<errors /> | |
<collection total="1" passed="0" failed="1" skipped="0" name="Test collection for WindowsPrincipalTests" time="0.066"> | |
<test name="WindowsPrincipalTests.WindowsPrincipalIsInRoleNeg" type="WindowsPrincipalTests" method="WindowsPrincipalIsInRoleNeg" time="0.0664984" result="Fail"> | |
<failure exception-type="System.ComponentModel.Win32Exception"> | |
<message><![CDATA[System.ComponentModel.Win32Exception : The trust relationship between this workstation and the primary domain failed]]></message> | |
<stack-trace><![CDATA[ at System.Security.Principal.NTAccount.TranslateToSids(IdentityReferenceCollection sourceAccounts, Boolean& someFailed) in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\NTAccount.cs:line 333 | |
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean& someFailed) in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\NTAccount.cs:line 194 | |
at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess) in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\NTAccount.cs:line 164 | |
at System.Security.Principal.WindowsPrincipal.IsInRole(String role) in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\WindowsPrincipal.cs:line 92 | |
at WindowsPrincipalTests.WindowsPrincipalIsInRoleNeg() in c:\dotnet\corefx\src\System.Security.Principal.Windows\tests\WindowsPrincipalTests.cs:line 15]]></stack-trace> | |
</failure> | |
</test> | |
</collection> | |
<collection total="5" passed="4" failed="1" skipped="0" name="Test collection for WindowsIdentityTests" time="0.227"> | |
<test name="WindowsIdentityTests.CloneAndProperties(cloneViaSerialization: False)" type="WindowsIdentityTests" method="CloneAndProperties" time="0.0694811" result="Pass" /> | |
<test name="WindowsIdentityTests.CloneAndProperties(cloneViaSerialization: True)" type="WindowsIdentityTests" method="CloneAndProperties" time="0.151209" result="Fail"> | |
<failure exception-type="System.ObjectDisposedException"> | |
<message><![CDATA[System.ObjectDisposedException : Safe handle has been closed]]></message> | |
<stack-trace><![CDATA[ at System.Runtime.InteropServices.SafeHandle.DangerousAddRef(Boolean& success) | |
at System.StubHelpers.StubHelpers.SafeHandleAddRef(SafeHandle pHandle, Boolean& success) | |
at Interop.Advapi32.LsaLookupSids(SafeLsaPolicyHandle handle, Int32 count, IntPtr[] sids, SafeLsaMemoryHandle& referencedDomains, SafeLsaMemoryHandle& names) | |
at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids, Boolean& someFailed) in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\SID.cs:line 1084 | |
at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean& someFailed) in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\SID.cs:line 1228 | |
at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess) in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\SID.cs:line 1197 | |
at System.Security.Principal.SecurityIdentifier.Translate(Type targetType) in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\SID.cs:line 910 | |
at System.Security.Principal.WindowsIdentity.<GetName>b__45_0() in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\WindowsIdentity.cs:line 492 | |
at System.Security.Principal.WindowsIdentity.<>c__DisplayClass61_0.<RunImpersonatedInternal>b__0(Object <state>) in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\WindowsIdentity.cs:line 671 | |
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) | |
at System.Security.Principal.WindowsIdentity.RunImpersonatedInternal(SafeAccessTokenHandle token, Action action) in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\WindowsIdentity.cs:line 657 | |
at System.Security.Principal.WindowsIdentity.RunImpersonated(SafeAccessTokenHandle safeAccessTokenHandle, Action action) in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\WindowsIdentity.cs:line 605 | |
at System.Security.Principal.WindowsIdentity.GetName() in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\WindowsIdentity.cs:line 490 | |
at System.Security.Principal.WindowsIdentity.get_Name() in c:\dotnet\corefx\src\System.Security.Principal.Windows\src\System\Security\Principal\WindowsIdentity.cs:line 477 | |
at WindowsIdentityTests.CloneAndProperties(Boolean cloneViaSerialization) in c:\dotnet\corefx\src\System.Security.Principal.Windows\tests\WindowsIdentityTests.cs:line 75]]></stack-trace> | |
</failure> | |
</test> | |
<test name="WindowsIdentityTests.GetTokenHandle" type="WindowsIdentityTests" method="GetTokenHandle" time="0.0046692" result="Pass" /> | |
<test name="WindowsIdentityTests.ConstructorsAndProperties" type="WindowsIdentityTests" method="ConstructorsAndProperties" time="0.0015713" result="Pass" /> | |
<test name="WindowsIdentityTests.GetAnonymousUserTest" type="WindowsIdentityTests" method="GetAnonymousUserTest" time="0.0003566" result="Pass" /> | |
</collection> | |
<collection total="4" passed="3" failed="0" skipped="1" name="Test collection for WellKnownSidTypeTests" time="0.023"> | |
<test name="WellKnownSidTypeTests.CreatingSecurityIdentifierOutsideWellKnownSidTypeDefinedRangeThrowsException(sidType: -1)" type="WellKnownSidTypeTests" method="CreatingSecurityIdentifierOutsideWellKnownSidTypeDefinedRangeThrowsException" time="0.0185271" result="Pass" /> | |
<test name="WellKnownSidTypeTests.CreatingSecurityIdentifierOutsideWellKnownSidTypeDefinedRangeThrowsException(sidType: 95)" type="WellKnownSidTypeTests" method="CreatingSecurityIdentifierOutsideWellKnownSidTypeDefinedRangeThrowsException" time="0.0002556" result="Pass" /> | |
<test name="WellKnownSidTypeTests.MaxDefinedHasLegacyValue" type="WellKnownSidTypeTests" method="MaxDefinedHasLegacyValue" time="0.0037765" result="Pass" /> | |
<test name="WellKnownSidTypeTests.CanCreateSecurityIdentifierFromWellKnownSidType" type="WellKnownSidTypeTests" method="CanCreateSecurityIdentifierFromWellKnownSidType" time="0" result="Skip"> | |
<reason><![CDATA[Condition(s) not met: \"AccountIsDomainJoined\"]]></reason> | |
</test> | |
</collection> | |
</assembly> | |
</assemblies> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment