Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionNewAssociatedGroup
Outcome:
Run at:
11/7/2019 8:38:09 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-11-07 20:38:09.5993	[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-11-07 20:38:09.7473	[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-11-07 20:38:09.8953	[Site Security]	[9]	[Debug]	Code execution scope started	0ms	72e05ac9-5682-4f2b-b1e8-e726a1200f68
vstest.console.exe Warning: 0 : 2019-11-07 20:38:09.9503	[Site Security]	[9]	[Information]	Failed to assign 'Test_New Group2_637087558897444420' as associated owner group. Group does not exist.	54ms	72e05ac9-5682-4f2b-b1e8-e726a1200f68
vstest.console.exe Information: 0 : 2019-11-07 20:38:09.9843	[Site Security]	[9]	[Debug]	Code execution scope ended	88ms	72e05ac9-5682-4f2b-b1e8-e726a1200f68
vstest.console.exe Information: 0 : 2019-11-07 20:38:09.9913	[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-11-07 20:38:10.0504	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 11/8/2019 4:37:55 AM	0ms