Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WebSettingsTests.SiteCollectionWebSettingsTest
Outcome:
Run at:
8/1/2020 6:40:21 PM
Duration:
00:00:01
Error message:
Test method OfficeDevPnP.Core.Tests.Framework.Functional.WebSettingsTests.SiteCollectionWebSettingsTest threw exception: Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException: The property or field 'AlternateCssUrl' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
Stacktrace:
at at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyRemoteTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation provisioningInfo, Boolean calledFromHierarchy, TokenParser tokenParser) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\SiteToTemplateConversion.cs:line 487 at Microsoft.SharePoint.Client.WebExtensions.ApplyProvisioningTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\WebExtensions.cs:line 1178 at OfficeDevPnP.Core.Tests.Framework.Functional.Implementation.ImplementationBase.TestProvisioningTemplate(ClientContext cc, String templateName, Handlers handlersToProcess, ProvisioningTemplateApplyingInformation ptai, ProvisioningTemplateCreationInformation ptci) in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\Implementation\ImplementationBase.cs:line 72 at OfficeDevPnP.Core.Tests.Framework.Functional.Implementation.WebSettingsImplementation.SiteCollectionWebSettings(String url) in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\Implementation\WebSettingsImplementation.cs:line 16 at OfficeDevPnP.Core.Tests.Framework.Functional.WebSettingsTests.SiteCollectionWebSettingsTest() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\WebSettingsTests.cs:line 54
Console output:
    Applying template - 1/2 - Initializing engine
Applying template - 2/2 - Files
Applying template - 1/2 - Initializing engine
Applying template - 2/2 - Web Settings
Type = Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException
TraceCorrelationId = 0ad86b9f-e7ec-8012-70d0-29eda0362ab0
Message = The property or field 'AlternateCssUrl' has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
Source = OfficeDevPnP.Core
TargetSite = Void ApplyRemoteTemplate(Microsoft.SharePoint.Client.Web, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate, OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ProvisioningTemplateApplyingInformation, Boolean, OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.TokenParser)
StackTrace =    at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyRemoteTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation provisioningInfo, Boolean calledFromHierarchy, TokenParser tokenParser) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\SiteToTemplateConversion.cs:line 487
   at Microsoft.SharePoint.Client.WebExtensions.ApplyProvisioningTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\WebExtensions.cs:line 1178
   at OfficeDevPnP.Core.Tests.Framework.Functional.Implementation.ImplementationBase.TestProvisioningTemplate(ClientContext cc, String templateName, Handlers handlersToProcess, ProvisioningTemplateApplyingInformation ptai, ProvisioningTemplateCreationInformation ptci) in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\Implementation\ImplementationBase.cs:line 42
HResult = -2146233079



Debug Trace:
vstest.console.exe Information: 0 : 2020-08-01 18:40:21.7550	[OfficeDevPnP.Core]	[0]	[Debug]	Site search ''	0ms	
vstest.console.exe Error: 0 : 2020-08-01 18:40:21.9580	[OfficeDevPnP.Core]	[0]	[Error]	ExecuteQuery threw following exception: Microsoft.SharePoint.Client.ServerException: File Not Found.
   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 169
ServerErrorCode: -2147024894
ServerErrorTypeName: System.IO.FileNotFoundException
ServerErrorTraceCorrelationId: 00d86b9f-675b-8012-70d0-249ef53bf3b5
ServerErrorValue: 
ServerErrorDetails: 
.	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:40:59.3869	[OfficeDevPnP.Core]	[0]	[Information]	Creating web 'sub' with template ''.	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.0430	[OfficeDevPnP.Core]	[0]	[Information]	File websettings_files.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.1055	[Provisioning]	[18]	[Debug]	Code execution scope started	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.1055	[Provisioning]	[18]	[Information]	ProgressDelegate registered	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.1368	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope started	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.1368	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope ended	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.1368	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope started	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.1368	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope ended	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.1368	[Files]	[18]	[Debug]	Code execution scope started	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Error: 0 : 2020-08-01 18:41:04.2462	[OfficeDevPnP.Core]	[0]	[Error]	ExecuteQuery threw following exception: Microsoft.SharePoint.Client.ServerException: File Not Found.
   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 169
ServerErrorCode: -2147024894
ServerErrorTypeName: System.IO.FileNotFoundException
ServerErrorTraceCorrelationId: 0ad86b9f-67ae-8012-70d0-241ef90f0edc
ServerErrorValue: 
ServerErrorDetails: 
.	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.2462	[OfficeDevPnP.Core]	[0]	[Information]	File garagelogo.png retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.2462	[Files]	[18]	[Debug]	Uploading file garagelogo.png	117ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.2462	[OfficeDevPnP.Core]	[0]	[Debug]	Creating file info with Url 'garagelogo.png'	0ms	
vstest.console.exe Error: 0 : 2020-08-01 18:41:04.4806	[OfficeDevPnP.Core]	[0]	[Error]	ExecuteQuery threw following exception: Microsoft.SharePoint.Client.ServerException: File Not Found.
   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 169
ServerErrorCode: -2147024894
ServerErrorTypeName: System.IO.FileNotFoundException
ServerErrorTraceCorrelationId: 0ad86b9f-17bd-8012-70d0-2108267d16db
ServerErrorValue: 
ServerErrorDetails: 
.	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.4806	[OfficeDevPnP.Core]	[0]	[Information]	File garage.css retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.4806	[Files]	[18]	[Debug]	Uploading file garage.css	353ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.4806	[OfficeDevPnP.Core]	[0]	[Debug]	Creating file info with Url 'garage.css'	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.6368	[Files]	[18]	[Debug]	Code execution scope ended	500ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.6368	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope started	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.6368	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope ended	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.6368	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope started	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.6368	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope ended	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.6368	[Persist Template Info]	[18]	[Debug]	Code execution scope started	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.7930	[Persist Template Info]	[18]	[Debug]	Code execution scope ended	165ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.8087	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope started	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.8087	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope ended	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.8243	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope started	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.8243	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope ended	0ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:04.8243	[Provisioning]	[18]	[Debug]	Code execution scope ended	719ms	47da0156-b945-4050-8b1c-3ca787e1d8e7
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.0274	[Extraction]	[18]	[Debug]	Code execution scope started	0ms	93cceb0d-9c8f-49e8-8df7-c8c41f3ea0fe
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.0274	[Extraction]	[18]	[Debug]	Base template available: STS0template	0ms	93cceb0d-9c8f-49e8-8df7-c8c41f3ea0fe
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.0274	[Extraction]	[18]	[Debug]	ProgressDelegate registered	0ms	93cceb0d-9c8f-49e8-8df7-c8c41f3ea0fe
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.0274	[Retrieve Template Info]	[18]	[Debug]	Code execution scope started	0ms	93cceb0d-9c8f-49e8-8df7-c8c41f3ea0fe
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.1055	[Retrieve Template Info]	[18]	[Debug]	Code execution scope ended	87ms	93cceb0d-9c8f-49e8-8df7-c8c41f3ea0fe
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.1055	[Extraction]	[18]	[Debug]	Code execution scope ended	89ms	93cceb0d-9c8f-49e8-8df7-c8c41f3ea0fe
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.1212	[OfficeDevPnP.Core]	[0]	[Information]	File websettings_add.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.1524	[Provisioning]	[18]	[Debug]	Code execution scope started	0ms	95484050-c978-42c1-b0dd-18924cb02b2c
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.1524	[Provisioning]	[18]	[Information]	ProgressDelegate registered	0ms	95484050-c978-42c1-b0dd-18924cb02b2c
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.1524	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope started	0ms	95484050-c978-42c1-b0dd-18924cb02b2c
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.1524	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope ended	0ms	95484050-c978-42c1-b0dd-18924cb02b2c
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.1524	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope started	0ms	95484050-c978-42c1-b0dd-18924cb02b2c
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.1524	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope ended	0ms	95484050-c978-42c1-b0dd-18924cb02b2c
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.1681	[Web Settings]	[18]	[Debug]	Code execution scope started	0ms	95484050-c978-42c1-b0dd-18924cb02b2c
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.3087	[Web Settings]	[18]	[Debug]	Code execution scope ended	139ms	95484050-c978-42c1-b0dd-18924cb02b2c
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.3087	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope started	0ms	95484050-c978-42c1-b0dd-18924cb02b2c
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.3087	[ProvisioningTemplate WebHook Call]	[18]	[Debug]	Code execution scope ended	0ms	95484050-c978-42c1-b0dd-18924cb02b2c
vstest.console.exe Information: 0 : 2020-08-01 18:41:05.3087	[Provisioning]	[18]	[Debug]	Code execution scope ended	157ms	95484050-c978-42c1-b0dd-18924cb02b2c