Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionNewAssociatedGroup
Outcome:
Run at:
12/2/2019 8:45:18 PM
Duration:
00:00:00
Error message:
Test method OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionNewAssociatedGroup threw exception: Microsoft.SharePoint.Client.ServerException: Group cannot be found.
Stacktrace:
at at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream) at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse() at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb) at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery() at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery() at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery() at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 173 at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryRetry(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 93 at Microsoft.SharePoint.Client.ClientObjectExtensions.EnsurePropertyImplementation[T,TResult](T clientObject, Expression`1 propertySelector) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientObjectExtensions.cs:line 132 at Microsoft.SharePoint.Client.ClientObjectExtensions.EnsureProperty[T,TResult](T clientObject, Expression`1 propertySelector) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientObjectExtensions.cs:line 72 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectSiteSecurity.EnsureGroup(Web web, String groupName) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectSiteSecurity.cs:line 627 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectSiteSecurity.ProvisionObjects(Web web, ProvisioningTemplate template, TokenParser parser, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectSiteSecurity.cs:line 110 at OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionNewAssociatedGroup() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\ObjectHandlers\ObjectSiteSecurityTests.cs:line 493
Console output:
    

Debug Trace:
vstest.console.exe Information: 0 : 2019-12-02 20:45:18.5928	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2013.pnp.com/sites/pnptest2,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a7ec4f8f-275b-4ea6-be14-0ae5330128a2,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-12-02 20:45:18.7398	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2013.pnp.com/sites/pnptest2,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a7ec4f8f-275b-4ea6-be14-0ae5330128a2,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-12-02 20:45:18.8638	[Site Security]	[9]	[Debug]	Code execution scope started	0ms	af8c7649-d3bf-427c-b037-fce35ef8c9ac
vstest.console.exe Warning: 0 : 2019-12-02 20:45:18.9198	[Site Security]	[9]	[Information]	Failed to assign 'Test_New Group2_637109163187358376' as associated owner group. Group does not exist.	55ms	af8c7649-d3bf-427c-b037-fce35ef8c9ac
vstest.console.exe Information: 0 : 2019-12-02 20:45:18.9578	[Site Security]	[9]	[Debug]	Code execution scope ended	93ms	af8c7649-d3bf-427c-b037-fce35ef8c9ac
vstest.console.exe Information: 0 : 2019-12-02 20:45:18.9668	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2013.pnp.com/sites/pnptest2,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a7ec4f8f-275b-4ea6-be14-0ae5330128a2,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-12-02 20:45:19.0898	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 12/3/2019 4:45:03 AM	0ms