Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectPagesTests.CanProvisionObjects
Outcome:
Run at:
1/10/2019 7:55:48 PM
Duration:
00:00:03
Error message:
Test method OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectPagesTests.CanProvisionObjects threw exception: Microsoft.SharePoint.Client.ServerException: File Not 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 91 at Microsoft.SharePoint.Client.PageExtensions.GetWebParts(Web web, String serverRelativePageUrl) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\PageExtensions.cs:line 102 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectPages.ProvisionObjects(Web web, ProvisioningTemplate template, TokenParser parser, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectPages.cs:line 139 at OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectPagesTests.CanProvisionObjects() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\ObjectHandlers\ObjectPagesTests.cs:line 93
Console output:
    

Debug Trace:
te.processhost.managed.exe Information: 0 : 2019-01-10 19:55:48.7634	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2016.pnp.com/sites/pnptest,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:1b0015ae-3292-461f-8b6c-e693c8196a81,appSecret:PRIVATE)	0ms	
te.processhost.managed.exe Information: 0 : 2019-01-10 19:55:49.5603	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 1/11/2019 3:55:43 AM	0ms	
te.processhost.managed.exe Information: 0 : 2019-01-10 19:55:50.4821	[Pages]	[6]	[Debug]	Code execution scope started	0ms	5425b8fc-40c5-4170-8eb8-f107633adf32
te.processhost.managed.exe Information: 0 : 2019-01-10 19:55:50.5447	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 1/11/2019 3:55:45 AM	0ms	
te.processhost.managed.exe Information: 0 : 2019-01-10 19:55:51.5447	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 1/11/2019 3:55:45 AM	0ms	
te.processhost.managed.exe Information: 0 : 2019-01-10 19:55:51.9978	[Pages]	[6]	[Debug]	Creating new page /sites/pnptest/~site/sitepages/pagetest.aspx	1526ms	5425b8fc-40c5-4170-8eb8-f107633adf32
te.processhost.managed.exe Information: 0 : 2019-01-10 19:55:52.2322	[OfficeDevPnP.Core]	[0]	[Information]	Creating folder '~site' under Web '/sites/pnptest/'.	0ms	
te.processhost.managed.exe Error: 0 : 2019-01-10 19:55:52.2479	[Pages]	[6]	[Error]	Creating new page /sites/pnptest/~site/sitepages/pagetest.aspx failed: The file or folder name "sites/pnptest/~site" contains invalid characters. Please use a different name. Common invalid characters include the following: # % * : < > ? /  | :    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 91
   at Microsoft.SharePoint.Client.FileFolderExtensions.EnsureFolderPathImplementation(Web web, String webRelativeUrl, Expression`1[] expressions) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\FileFolderExtensions.cs:line 1111
   at Microsoft.SharePoint.Client.FileFolderExtensions.EnsureFolderPath(Web web, String webRelativeUrl, Expression`1[] expressions) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\FileFolderExtensions.cs:line 918
   at Microsoft.SharePoint.Client.PageExtensions.AddWikiPageByUrl(Web web, String serverRelativePageUrl, String html) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\PageExtensions.cs:line 1037
   at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectPages.ProvisionObjects(Web web, ProvisioningTemplate template, TokenParser parser, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectPages.cs:line 107	1774ms	5425b8fc-40c5-4170-8eb8-f107633adf32
te.processhost.managed.exe Information: 0 : 2019-01-10 19:55:52.2791	[Pages]	[6]	[Debug]	Code execution scope ended	1794ms	5425b8fc-40c5-4170-8eb8-f107633adf32
te.processhost.managed.exe Information: 0 : 2019-01-10 19:55:52.2791	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2016.pnp.com/sites/pnptest,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:1b0015ae-3292-461f-8b6c-e693c8196a81,appSecret:PRIVATE)	0ms