Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WorkflowsTests.SiteCollectionWorkflowsTest
Outcome:
Run at:
9/11/2019 3:30:47 AM
Duration:
00:00:04
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:
    Applying template - 1/5 - Initializing engine
Applying template - 2/5 - List instances (ListAndStandardFields)
Type = System.Exception
TraceCorrelationId = e408039f-20ba-1000-f543-c75580ee0daf
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-11 03:30:47.9972	[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-11 03:30:48.1066	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/11/2019 11:30:48 AM	0ms	
vstest.console.exe Information: 0 : 2019-09-11 03:30:53.1225	[SetSiteLockState: Current: {0} Target: {1}]	[0]	[Information]	Unlock	0ms	
vstest.console.exe Information: 0 : 2019-09-11 03:30:56.4692	[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-11 03:30:56.5785	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/11/2019 11:30:56 AM	0ms	
vstest.console.exe Information: 0 : 2019-09-11 03:32:36.5063	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/TestPnPSC_12345_d956cbd1-d5e1-4e6e-8977-5a078e16e6a6,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-09-11 03:32:36.6000	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/11/2019 11:32:36 AM	0ms	
vstest.console.exe Information: 0 : 2019-09-11 03:32:36.6782	[OfficeDevPnP.Core]	[0]	[Information]	Creating web 'sub' with template ''.	0ms	
vstest.console.exe Information: 0 : 2019-09-11 03:32:42.3793	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/TestPnPSC_12345_d956cbd1-d5e1-4e6e-8977-5a078e16e6a6,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-09-11 03:32:42.4887	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/11/2019 11:32:42 AM	0ms	
vstest.console.exe Information: 0 : 2019-09-11 03:32:42.7543	[OfficeDevPnP.Core]	[0]	[Information]	File workflows_add_1605.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2019-09-11 03:32:43.5199	[Provisioning]	[695]	[Debug]	Code execution scope started	0ms	0b845274-3a9e-4a76-ad9a-d6c2768484a8
vstest.console.exe Information: 0 : 2019-09-11 03:32:43.5199	[Provisioning]	[695]	[Information]	ProgressDelegate registered	0ms	0b845274-3a9e-4a76-ad9a-d6c2768484a8
vstest.console.exe Information: 0 : 2019-09-11 03:32:44.0199	[ProvisioningTemplate WebHook Call]	[695]	[Debug]	Code execution scope started	0ms	0b845274-3a9e-4a76-ad9a-d6c2768484a8
vstest.console.exe Information: 0 : 2019-09-11 03:32:44.0199	[ProvisioningTemplate WebHook Call]	[695]	[Debug]	Code execution scope ended	0ms	0b845274-3a9e-4a76-ad9a-d6c2768484a8
vstest.console.exe Information: 0 : 2019-09-11 03:32:44.0199	[ProvisioningTemplate WebHook Call]	[695]	[Debug]	Code execution scope started	0ms	0b845274-3a9e-4a76-ad9a-d6c2768484a8
vstest.console.exe Information: 0 : 2019-09-11 03:32:44.0199	[ProvisioningTemplate WebHook Call]	[695]	[Debug]	Code execution scope ended	0ms	0b845274-3a9e-4a76-ad9a-d6c2768484a8
vstest.console.exe Information: 0 : 2019-09-11 03:32:44.0199	[List instances (ListAndStandardFields)]	[695]	[Debug]	Code execution scope started	0ms	0b845274-3a9e-4a76-ad9a-d6c2768484a8
vstest.console.exe Information: 0 : 2019-09-11 03:32:44.1918	[List instances (ListAndStandardFields)]	[695]	[Debug]	Updating list Documents	175ms	0b845274-3a9e-4a76-ad9a-d6c2768484a8
vstest.console.exe Information: 0 : 2019-09-11 03:32:44.5512	[List instances (ListAndStandardFields)]	[695]	[Debug]	Creating list Workflow History	521ms	0b845274-3a9e-4a76-ad9a-d6c2768484a8
vstest.console.exe Error: 0 : 2019-09-11 03:32:46.5981	[List instances (ListAndStandardFields)]	[695]	[Error]	Referenced content type 0x0108003365C4474CAE8C42BCE396314E88E51F not available in site or in template	2578ms	0b845274-3a9e-4a76-ad9a-d6c2768484a8
vstest.console.exe Information: 0 : 2019-09-11 03:32:46.5981	[List instances (ListAndStandardFields)]	[695]	[Debug]	Code execution scope ended	2579ms	0b845274-3a9e-4a76-ad9a-d6c2768484a8
vstest.console.exe Information: 0 : 2019-09-11 03:32:46.5981	[Provisioning]	[695]	[Debug]	Code execution scope ended	3086ms	0b845274-3a9e-4a76-ad9a-d6c2768484a8