Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WebSettingsTests.SiteCollectionWebSettingsTest
Outcome:
Run at:
7/30/2020 10:43:29 PM
Duration:
00:00:02
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 = 3a416b9f-500a-2000-4281-14ec592ade3a
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-07-30 22:43:31.6882	[SetSiteLockState: Current: {0} Target: {1}]	[0]	[Information]	Unlock	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:43:34.2086	[SetSiteLockState: Current: {0} Target: {1}]	[0]	[Information]	Unlock	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:15.3429	[OfficeDevPnP.Core]	[0]	[Information]	Creating web 'sub' with template ''.	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:20.6886	[OfficeDevPnP.Core]	[0]	[Information]	File websettings_files.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:20.8368	[Provisioning]	[25]	[Debug]	Code execution scope started	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:20.8368	[Provisioning]	[25]	[Information]	ProgressDelegate registered	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:20.9726	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope started	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:20.9726	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope ended	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:20.9726	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope started	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:20.9726	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope ended	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:20.9726	[Files]	[25]	[Debug]	Code execution scope started	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Error: 0 : 2020-07-30 22:45:21.2135	[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.<ExecuteQueryToServerAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.SharePoint.Client.ClientRequest.<ExecuteQueryAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.SharePoint.Client.ClientRuntimeContext.<ExecuteQueryAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.SharePoint.Client.ClientContext.<ExecuteQueryAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Microsoft.SharePoint.Client.ClientContextExtensions.<ExecuteQueryImplementation>d__7.MoveNext() in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 159
ServerErrorCode: -2147024894
ServerErrorTypeName: System.IO.FileNotFoundException
ServerErrorTraceCorrelationId: 39416b9f-7089-2000-4281-170034afa9c5
ServerErrorValue: 
ServerErrorDetails: 
.	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:21.2135	[OfficeDevPnP.Core]	[0]	[Information]	File garagelogo.png retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:21.2135	[Files]	[25]	[Debug]	Uploading file garagelogo.png	250ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:21.2135	[OfficeDevPnP.Core]	[0]	[Debug]	Creating file info with Url 'garagelogo.png'	0ms	
vstest.console.exe Error: 0 : 2020-07-30 22:45:21.7350	[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.<ExecuteQueryToServerAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.SharePoint.Client.ClientRequest.<ExecuteQueryAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.SharePoint.Client.ClientRuntimeContext.<ExecuteQueryAsync>d__0.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.SharePoint.Client.ClientContext.<ExecuteQueryAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Microsoft.SharePoint.Client.ClientContextExtensions.<ExecuteQueryImplementation>d__7.MoveNext() in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 159
ServerErrorCode: -2147024894
ServerErrorTypeName: System.IO.FileNotFoundException
ServerErrorTraceCorrelationId: 39416b9f-b0a9-2000-4281-1db2918600bb
ServerErrorValue: 
ServerErrorDetails: 
.	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:21.7350	[OfficeDevPnP.Core]	[0]	[Information]	File garage.css retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:21.7350	[Files]	[25]	[Debug]	Uploading file garage.css	761ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:21.7350	[OfficeDevPnP.Core]	[0]	[Debug]	Creating file info with Url 'garage.css'	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.0533	[Files]	[25]	[Debug]	Code execution scope ended	1080ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.0533	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope started	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.0533	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope ended	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.0533	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope started	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.0533	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope ended	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.0533	[Persist Template Info]	[25]	[Debug]	Code execution scope started	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.4752	[Persist Template Info]	[25]	[Debug]	Code execution scope ended	424ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.4752	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope started	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.4752	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope ended	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.5221	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope started	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.5221	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope ended	0ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.5221	[Provisioning]	[25]	[Debug]	Code execution scope ended	1687ms	36a5aa9c-d81f-4947-8393-40e5edf817f4
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.7565	[Extraction]	[25]	[Debug]	Code execution scope started	0ms	be4c5600-8d6d-4ee4-a979-5c63862ae464
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.7565	[Extraction]	[25]	[Debug]	Base template available: STS0template	0ms	be4c5600-8d6d-4ee4-a979-5c63862ae464
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.7565	[Extraction]	[25]	[Debug]	ProgressDelegate registered	0ms	be4c5600-8d6d-4ee4-a979-5c63862ae464
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.7565	[Retrieve Template Info]	[25]	[Debug]	Code execution scope started	0ms	be4c5600-8d6d-4ee4-a979-5c63862ae464
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.9753	[Retrieve Template Info]	[25]	[Debug]	Code execution scope ended	222ms	be4c5600-8d6d-4ee4-a979-5c63862ae464
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.9753	[Extraction]	[25]	[Debug]	Code execution scope ended	223ms	be4c5600-8d6d-4ee4-a979-5c63862ae464
vstest.console.exe Information: 0 : 2020-07-30 22:45:22.9908	[OfficeDevPnP.Core]	[0]	[Information]	File websettings_add.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-07-30 22:45:23.0221	[Provisioning]	[25]	[Debug]	Code execution scope started	0ms	bac19e91-a425-43d3-a5e8-24b13a68e78e
vstest.console.exe Information: 0 : 2020-07-30 22:45:23.0221	[Provisioning]	[25]	[Information]	ProgressDelegate registered	0ms	bac19e91-a425-43d3-a5e8-24b13a68e78e
vstest.console.exe Information: 0 : 2020-07-30 22:45:23.0378	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope started	0ms	bac19e91-a425-43d3-a5e8-24b13a68e78e
vstest.console.exe Information: 0 : 2020-07-30 22:45:23.0378	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope ended	0ms	bac19e91-a425-43d3-a5e8-24b13a68e78e
vstest.console.exe Information: 0 : 2020-07-30 22:45:23.0378	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope started	0ms	bac19e91-a425-43d3-a5e8-24b13a68e78e
vstest.console.exe Information: 0 : 2020-07-30 22:45:23.0378	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope ended	0ms	bac19e91-a425-43d3-a5e8-24b13a68e78e
vstest.console.exe Information: 0 : 2020-07-30 22:45:23.0378	[Web Settings]	[25]	[Debug]	Code execution scope started	0ms	bac19e91-a425-43d3-a5e8-24b13a68e78e
vstest.console.exe Information: 0 : 2020-07-30 22:45:23.4128	[Web Settings]	[25]	[Debug]	Code execution scope ended	374ms	bac19e91-a425-43d3-a5e8-24b13a68e78e
vstest.console.exe Information: 0 : 2020-07-30 22:45:23.4128	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope started	0ms	bac19e91-a425-43d3-a5e8-24b13a68e78e
vstest.console.exe Information: 0 : 2020-07-30 22:45:23.4128	[ProvisioningTemplate WebHook Call]	[25]	[Debug]	Code execution scope ended	0ms	bac19e91-a425-43d3-a5e8-24b13a68e78e
vstest.console.exe Information: 0 : 2020-07-30 22:45:23.4128	[Provisioning]	[25]	[Debug]	Code execution scope ended	394ms	bac19e91-a425-43d3-a5e8-24b13a68e78e