Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WorkflowsTests.SiteCollectionWorkflowsTest
Outcome:
Run at:
9/10/2019 4:57:00 AM
Duration:
00:00:08
Error message:
Test method OfficeDevPnP.Core.Tests.Framework.Functional.WorkflowsTests.SiteCollectionWorkflowsTest threw exception: System.Exception: Referenced content type 0x0108003365C4474CAE8C42BCE396314E88E51F not available in site or in template
Stacktrace:
at at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectListInstance.CheckContentTypes(Web web, ProvisioningTemplate template, PnPMonitoredScope scope, ListInstance templateList) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectListInstance.cs:line 563 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectListInstance.ProvisionObjects(Web web, ProvisioningTemplate template, TokenParser parser, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectListInstance.cs:line 75 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 404 at Microsoft.SharePoint.Client.WebExtensions.ApplyProvisioningTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\WebExtensions.cs:line 1174 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.WorkflowImplementation.Workflows(String url) in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\Implementation\WorkflowImplementation.cs:line 21 at OfficeDevPnP.Core.Tests.Framework.Functional.WorkflowsTests.SiteCollectionWorkflowsTest() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\WorkflowsTests.cs:line 61
Console output:
    Type = Microsoft.SharePoint.Client.ServerException
TraceCorrelationId = 54bb029f-c018-1000-ed9c-be468f9391da
Message = Unable to find the deleted site: https://bertonline.sharepoint.com/sites/TestPnPSC_12345_eff964d6-26ae-4398-afef-7aa620b9c47b.
Source = Microsoft.SharePoint.Client.Runtime
ServerStackTrace = 
ServerErrorCode = -2147024809
ServerErrorTypeName = System.ArgumentException
ServerErrorTraceCorrelationId = 54bb029f-c018-1000-ed9c-be468f9391da
TargetSite = Void ProcessResponseStream(System.IO.Stream)
StackTrace =    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 156
--- 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.ExecuteQueryRetry(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 91
   at Microsoft.SharePoint.Client.TenantExtensions.DeleteSiteCollection(Tenant tenant, String siteFullUrl, Boolean useRecycleBin, Func`2 timeoutFunction) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\TenantExtensions.cs:line 367
   at OfficeDevPnP.Core.Tests.Framework.Functional.FunctionalTestBase.CleanupAllTestSiteCollections(ClientContext tenantContext) in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\FunctionalTestBase.cs:line 155
HResult = -2146233088
Applying template - 1/5 - Initializing engine
Applying template - 2/5 - List instances (ListAndStandardFields)
Type = System.Exception
TraceCorrelationId = 7cbb029f-80bd-1000-aec8-000acff0383c
Message = Referenced content type 0x0108003365C4474CAE8C42BCE396314E88E51F not available in site or in template
Source = OfficeDevPnP.Core
TargetSite = Void CheckContentTypes(Microsoft.SharePoint.Client.Web, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate, OfficeDevPnP.Core.Diagnostics.PnPMonitoredScope, OfficeDevPnP.Core.Framework.Provisioning.Model.ListInstance)
StackTrace =    at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectListInstance.CheckContentTypes(Web web, ProvisioningTemplate template, PnPMonitoredScope scope, ListInstance templateList) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectListInstance.cs:line 563
   at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectListInstance.ProvisionObjects(Web web, ProvisioningTemplate template, TokenParser parser, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectListInstance.cs:line 75
   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 404
   at Microsoft.SharePoint.Client.WebExtensions.ApplyProvisioningTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\WebExtensions.cs:line 1174
   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 = -2146233088



Debug Trace:
vstest.console.exe Information: 0 : 2019-09-10 04:57:00.5503	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline-admin.sharepoint.com,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-09-10 04:57:00.6596	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/10/2019 12:57:00 PM	0ms	
vstest.console.exe Information: 0 : 2019-09-10 04:57:06.5122	[SetSiteLockState: Current: {0} Target: {1}]	[0]	[Information]	Unlock	0ms	
vstest.console.exe Information: 0 : 2019-09-10 04:57:09.3249	[SetSiteLockState: Current: {0} Target: {1}]	[0]	[Information]	UnLock	0ms	
vstest.console.exe Information: 0 : 2019-09-10 04:57:13.5351	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/pnptest2,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-09-10 04:57:13.6445	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/10/2019 12:57:13 PM	0ms	
vstest.console.exe Information: 0 : 2019-09-10 04:59:45.5220	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/TestPnPSC_12345_22d97300-ea91-412c-a6ae-16241660ab8a,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-09-10 04:59:45.6626	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/10/2019 12:59:45 PM	0ms	
vstest.console.exe Information: 0 : 2019-09-10 04:59:45.7564	[OfficeDevPnP.Core]	[0]	[Information]	Creating web 'sub' with template ''.	0ms	
vstest.console.exe Information: 0 : 2019-09-10 04:59:52.3539	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/TestPnPSC_12345_22d97300-ea91-412c-a6ae-16241660ab8a,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-09-10 04:59:52.4632	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/10/2019 12:59:52 PM	0ms	
vstest.console.exe Information: 0 : 2019-09-10 04:59:52.7601	[OfficeDevPnP.Core]	[0]	[Information]	File workflows_add_1605.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2019-09-10 04:59:56.1197	[Provisioning]	[678]	[Debug]	Code execution scope started	0ms	2ef2a402-b91e-428f-8efe-5da2442b53f1
vstest.console.exe Information: 0 : 2019-09-10 04:59:56.1197	[Provisioning]	[678]	[Information]	ProgressDelegate registered	0ms	2ef2a402-b91e-428f-8efe-5da2442b53f1
vstest.console.exe Information: 0 : 2019-09-10 04:59:56.7075	[ProvisioningTemplate WebHook Call]	[678]	[Debug]	Code execution scope started	0ms	2ef2a402-b91e-428f-8efe-5da2442b53f1
vstest.console.exe Information: 0 : 2019-09-10 04:59:56.7075	[ProvisioningTemplate WebHook Call]	[678]	[Debug]	Code execution scope ended	0ms	2ef2a402-b91e-428f-8efe-5da2442b53f1
vstest.console.exe Information: 0 : 2019-09-10 04:59:56.7075	[ProvisioningTemplate WebHook Call]	[678]	[Debug]	Code execution scope started	0ms	2ef2a402-b91e-428f-8efe-5da2442b53f1
vstest.console.exe Information: 0 : 2019-09-10 04:59:56.7075	[ProvisioningTemplate WebHook Call]	[678]	[Debug]	Code execution scope ended	0ms	2ef2a402-b91e-428f-8efe-5da2442b53f1
vstest.console.exe Information: 0 : 2019-09-10 04:59:56.7075	[List instances (ListAndStandardFields)]	[678]	[Debug]	Code execution scope started	0ms	2ef2a402-b91e-428f-8efe-5da2442b53f1
vstest.console.exe Information: 0 : 2019-09-10 04:59:56.9329	[List instances (ListAndStandardFields)]	[678]	[Debug]	Updating list Documents	218ms	2ef2a402-b91e-428f-8efe-5da2442b53f1
vstest.console.exe Information: 0 : 2019-09-10 04:59:57.3548	[List instances (ListAndStandardFields)]	[678]	[Debug]	Creating list Workflow History	646ms	2ef2a402-b91e-428f-8efe-5da2442b53f1
vstest.console.exe Error: 0 : 2019-09-10 05:00:00.6147	[List instances (ListAndStandardFields)]	[678]	[Error]	Referenced content type 0x0108003365C4474CAE8C42BCE396314E88E51F not available in site or in template	3905ms	2ef2a402-b91e-428f-8efe-5da2442b53f1
vstest.console.exe Information: 0 : 2019-09-10 05:00:00.6147	[List instances (ListAndStandardFields)]	[678]	[Debug]	Code execution scope ended	3906ms	2ef2a402-b91e-428f-8efe-5da2442b53f1
vstest.console.exe Information: 0 : 2019-09-10 05:00:00.6147	[Provisioning]	[678]	[Debug]	Code execution scope ended	4496ms	2ef2a402-b91e-428f-8efe-5da2442b53f1