Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WebSettingsTests.SiteCollectionWebSettingsTest
Outcome:
Run at:
6/11/2019 7:51:06 PM
Duration:
00:00:02
Error message:
Assert.IsTrue failed.
Stacktrace:
at at OfficeDevPnP.Core.Tests.Framework.Functional.Implementation.WebSettingsImplementation.SiteCollectionWebSettings(String url) in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\Implementation\WebSettingsImplementation.cs:line 18 at OfficeDevPnP.Core.Tests.Framework.Functional.WebSettingsTests.SiteCollectionWebSettingsTest() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\WebSettingsTests.cs:line 54
Console output:
    Type = System.Threading.ThreadAbortException
TraceCorrelationId = f5a3e59e-c531-4047-f1f8-6e684771bace
Message = Thread was being aborted.
Source = System
TargetSite = Void WriteHeaders(Boolean)
StackTrace =    at System.Net.ConnectStream.WriteHeaders(Boolean async)
   at System.Net.HttpWebRequest.EndSubmitRequest()
   at System.Net.HttpWebRequest.SetRequestSubmitDone(ConnectStream submitStream)
   at System.Net.Connection.CompleteStartRequest(Boolean onSubmitThread, HttpWebRequest request, TriState needReConnect)
   at System.Net.Connection.SubmitRequest(HttpWebRequest request, Boolean forcedsubmit)
   at System.Net.ServicePoint.SubmitRequest(HttpWebRequest request, String connName)
   at System.Net.HttpWebRequest.SubmitRequest(ServicePoint servicePoint)
   at System.Net.HttpWebRequest.GetResponse()
   at Microsoft.SharePoint.Client.SPWebRequestExecutor.Execute()
   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 OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectTermGroups.GetTerms[T](ClientRuntimeContext context, TaxonomyItem parent, Int32 defaultLanguage, Boolean isSiteCollectionTermGroup) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectTermGroups.cs:line 530
   at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectTermGroups.ExtractObjects(Web web, ProvisioningTemplate template, ProvisioningTemplateCreationInformation creationInfo) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectTermGroups.cs:line 487
   at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.GetRemoteTemplate(Web web, ProvisioningTemplateCreationInformation creationInfo) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\SiteToTemplateConversion.cs:line 139
   at Microsoft.SharePoint.Client.WebExtensions.GetProvisioningTemplate(Web web, ProvisioningTemplateCreationInformation creationInfo) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\WebExtensions.cs:line 1199
   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 59
HResult = -2146233040
Applying template - 1/2 - Initializing engine
Applying template - 2/2 - Files
Applying template - 1/2 - Initializing engine
Applying template - 2/2 - Web Settings
Getting template - 1/1 - Web Settings
Source XML:<pnp:WebSettings RequestAccessEmail="test@pnp.com" WelcomePage="SitePages/Home.aspx" SiteLogo="{sitecollection}/SiteAssets/garagelogo.png" AlternateCSS="{sitecollection}/SiteAssets/garage.css" xmlns:pnp="http://schemas.dev.office.com/PnP/2015/12/ProvisioningSchema" />
Target XML:<pnp:WebSettings RequestAccessEmail="test@pnp.com" WelcomePage="SitePages/Home.aspx" SiteLogo="/sites/TestPnPSC_12345_d7257b00-30e7-436c-86e0-a23e5555d988/SiteAssets/garagelogo.png" AlternateCSS="/sites/TestPnPSC_12345_d7257b00-30e7-436c-86e0-a23e5555d988/SiteAssets/garage.css" xmlns:pnp="http://schemas.dev.office.com/PnP/2015/12/ProvisioningSchema" />



Debug Trace:
vstest.console.exe Information: 0 : 2019-06-11 19:51:06.0848	[OfficeDevPnP.Core]	[0]	[Debug]	Site search ''	0ms	
vstest.console.exe Information: 0 : 2019-06-11 19:51:06.1988	[Term Groups]	[17]	[Debug]	Code execution scope ended	367010ms	001206ba-e7b2-448d-ae1a-2b1f87709d0a
vstest.console.exe Information: 0 : 2019-06-11 19:51:06.2168	[Extraction]	[17]	[Debug]	Code execution scope ended	367029ms	001206ba-e7b2-448d-ae1a-2b1f87709d0a
vstest.console.exe Information: 0 : 2019-06-11 19:51:55.6480	[OfficeDevPnP.Core]	[0]	[Information]	Creating web 'sub' with template ''.	0ms	
vstest.console.exe Information: 0 : 2019-06-11 19:52:00.8869	[OfficeDevPnP.Core]	[0]	[Information]	File websettings_files.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2019-06-11 19:52:00.9839	[Provisioning]	[16]	[Debug]	Code execution scope started	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:00.9850	[Provisioning]	[16]	[Information]	ProgressDelegate registered	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.0130	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.0130	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.0130	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.0139	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.0139	[Files]	[16]	[Debug]	Code execution scope started	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.1440	[OfficeDevPnP.Core]	[0]	[Information]	File garagelogo.png retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.1440	[Files]	[16]	[Debug]	Uploading file garagelogo.png	130ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.1440	[OfficeDevPnP.Core]	[0]	[Debug]	Creating file info with Url 'garagelogo.png'	0ms	
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.5131	[OfficeDevPnP.Core]	[0]	[Information]	File garage.css retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.5131	[Files]	[16]	[Debug]	Uploading file garage.css	499ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.5141	[OfficeDevPnP.Core]	[0]	[Debug]	Creating file info with Url 'garage.css'	0ms	
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.7120	[Files]	[16]	[Debug]	Code execution scope ended	698ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.7120	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.7120	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.7120	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.7131	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.7131	[Persist Template Info]	[16]	[Debug]	Code execution scope started	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.8760	[Persist Template Info]	[16]	[Debug]	Code execution scope ended	163ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.8760	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.8760	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.8970	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.8970	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:01.8970	[Provisioning]	[16]	[Debug]	Code execution scope ended	913ms	7daf0b8f-4b38-4e21-889f-291ffa6391b7
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.0660	[Extraction]	[16]	[Debug]	Code execution scope started	0ms	1b865d3e-ea2a-47d8-8f98-a84f6c0d1dad
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.0660	[Extraction]	[16]	[Debug]	Base template available: STS0template	0ms	1b865d3e-ea2a-47d8-8f98-a84f6c0d1dad
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.0660	[Extraction]	[16]	[Debug]	ProgressDelegate registered	0ms	1b865d3e-ea2a-47d8-8f98-a84f6c0d1dad
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.0670	[Retrieve Template Info]	[16]	[Debug]	Code execution scope started	0ms	1b865d3e-ea2a-47d8-8f98-a84f6c0d1dad
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.3170	[Retrieve Template Info]	[16]	[Debug]	Code execution scope ended	250ms	1b865d3e-ea2a-47d8-8f98-a84f6c0d1dad
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.3180	[Extraction]	[16]	[Debug]	Code execution scope ended	251ms	1b865d3e-ea2a-47d8-8f98-a84f6c0d1dad
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.3681	[OfficeDevPnP.Core]	[0]	[Information]	File websettings_add.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.3930	[Provisioning]	[16]	[Debug]	Code execution scope started	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.3930	[Provisioning]	[16]	[Information]	ProgressDelegate registered	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.4030	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.4030	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.4030	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.4030	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.4071	[Web Settings]	[16]	[Debug]	Code execution scope started	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.6560	[Web Settings]	[16]	[Debug]	Code execution scope ended	248ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.6560	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.6560	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.6560	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.6560	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.6571	[Persist Template Info]	[16]	[Debug]	Code execution scope started	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.7810	[Persist Template Info]	[16]	[Debug]	Code execution scope ended	124ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.7810	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.7810	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.7810	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.7821	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.7821	[Provisioning]	[16]	[Debug]	Code execution scope ended	389ms	52a8a78e-485c-416a-b695-0aea10f61bac
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.9190	[Extraction]	[16]	[Debug]	Code execution scope started	0ms	26ab2b19-e762-49ca-ba3c-ce0f925827e1
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.9200	[Extraction]	[16]	[Debug]	Base template available: STS0template	0ms	26ab2b19-e762-49ca-ba3c-ce0f925827e1
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.9200	[Extraction]	[16]	[Debug]	ProgressDelegate registered	0ms	26ab2b19-e762-49ca-ba3c-ce0f925827e1
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.9200	[Web Settings]	[16]	[Debug]	Code execution scope started	0ms	26ab2b19-e762-49ca-ba3c-ce0f925827e1
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.9550	[Web Settings]	[16]	[Debug]	Code execution scope ended	34ms	26ab2b19-e762-49ca-ba3c-ce0f925827e1
vstest.console.exe Information: 0 : 2019-06-11 19:52:02.9550	[Retrieve Template Info]	[16]	[Debug]	Code execution scope started	0ms	26ab2b19-e762-49ca-ba3c-ce0f925827e1
vstest.console.exe Information: 0 : 2019-06-11 19:52:03.0170	[Retrieve Template Info]	[16]	[Debug]	Code execution scope ended	61ms	26ab2b19-e762-49ca-ba3c-ce0f925827e1
vstest.console.exe Information: 0 : 2019-06-11 19:52:03.0170	[Extraction]	[16]	[Debug]	Code execution scope ended	97ms	26ab2b19-e762-49ca-ba3c-ce0f925827e1