Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpnEndpointIdentityTest.Ctor_UpnName throws PlatformNotSupported in UWP. #1454

Closed
StephenBonikowsky opened this issue Aug 4, 2016 · 4 comments
Assignees
Labels
bug This is a product bug. UWP
Milestone

Comments

@StephenBonikowsky
Copy link
Member

No call stack is currently available as no test case logging yet exists for UWP runs from git.

Test case...
System.ServiceModel.Security\tests\ServiceModel: UpnEndpointIdentityTest.Ctor_UpnName

@roncain
Copy link
Contributor

roncain commented Aug 5, 2016

Stack trace (from testResults.xml found in bin after running in UWP) is:

      <test name="UpnEndpointIdentityTest.Ctor_UpnName(upn: \&quot;\&quot;)" type="UpnEndpointIdentityTest" method="Ctor_UpnName" time="0.0000619" result="Fail">
        <failure exception-type="System.PlatformNotSupportedException">
          <message><![CDATA[System.PlatformNotSupportedException : UpnEndpointIdentity is not supported on this platform]]></message>
          <stack-trace><![CDATA[   at System.ServiceModel.UpnEndpointIdentity..ctor(String upnName) in c:\OSS\wcf\src\System.Private.ServiceModel\src\System\ServiceModel\UpnEndpointIdentity.cs:line 30
   at UpnEndpointIdentityTest.Ctor_UpnName(String upn) in c:\OSS\wcf\src\System.ServiceModel.Security\tests\ServiceModel\UpnEndpointIdentityTest.cs:line 22
   at _$ILCT$.$ILT$ReflectionDynamicInvoke$.InvokeRetVI<System.__Canon>(Object thisPtr, IntPtr methodToCall, ArgSetupState argSetupState, Boolean targetIsThisCall)
   at System.InvokeUtils.CallIHelperStaticCallWithInstantiation(Object thisPtr, IntPtr methodToCall, IntPtr dynamicInvokeHelperMethod, ArgSetupState argSetupState, Boolean isTargetThisCall, IntPtr dynamicInvokeHelperGenericDictionary)
   at System.InvokeUtils.CallDynamicInvokeMethod(Object thisPtr, IntPtr methodToCall, Object thisPtrDynamicInvokeMethod, IntPtr dynamicInvokeHelperMethod, IntPtr dynamicInvokeHelperGenericDictionary, String defaultValueString, Object[] parameters, Boolean invokeMethodHelperIsThisCall, Boolean methodToCallIsThisCall) in f:\dd\ndp\fxcore\CoreRT\src\System.Private.CoreLib\src\System\InvokeUtils.cs:line 464]]></stack-trace>
        </failure>
      </test>

@roncain roncain changed the title UpnEndpointIdentity unit test failing in UWP. UpnEndpointIdentityTest.Ctor_UpnName throws PlatformNotSupported in UWP. Aug 5, 2016
@roncain
Copy link
Contributor

roncain commented Aug 5, 2016

@StephenBonikowsky -- I was able to find the exception message inside a testResults.xml file produced in the bin folder for the test. Based on that, I retitled this issue to reflect the root cause.

@StephenBonikowsky
Copy link
Member Author

Great, thanks!

@zhenlan
Copy link
Member

zhenlan commented Sep 13, 2016

@hongdai can you please check if we have functional/scenario test coverage for this?

@zhenlan zhenlan modified the milestones: 2016.09, 2016.08 Sep 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is a product bug. UWP
Projects
None yet
Development

No branches or pull requests

5 participants