Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WorkflowsTests.SiteCollectionWorkflowsTest
Outcome:
Run at:
3/10/2019 3:14:48 AM
Duration:
00:00:19
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 523 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 73 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 370 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 = 7b7cc79e-107c-0000-60ca-401f22cababa
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 523
   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 73
   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 370
   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-03-10 03:14:48.9324	[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-03-10 03:14:49.0262	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:14:49 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:14:50.2919	[SetSiteLockState: Current: {0} Target: {1}]	[0]	[Information]	Unlock	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:15:23.7794	[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-03-10 03:15:23.8888	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:15:23 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:16:58.4709	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/TestPnPSC_12345_d397b114-f67f-49d6-bc2d-99c17cdd7d6c,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:16:58.5959	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:16:58 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:16:58.7053	[OfficeDevPnP.Core]	[0]	[Information]	Creating web 'sub' with template ''.	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:17:03.8930	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/TestPnPSC_12345_d397b114-f67f-49d6-bc2d-99c17cdd7d6c,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:17:04.0024	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:17:03 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:17:04.3149	[OfficeDevPnP.Core]	[0]	[Information]	File workflows_add_1605.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:17:06.7681	[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-03-10 03:17:06.8775	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:17:06 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:17:07.0494	[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-03-10 03:17:07.1588	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:17:07 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:17:10.7370	[Provisioning]	[1594]	[Debug]	Code execution scope started	0ms	91d96aff-a598-4c63-85fa-cfc01d206760
vstest.console.exe Information: 0 : 2019-03-10 03:17:10.7370	[Provisioning]	[1594]	[Information]	ProgressDelegate registered	0ms	91d96aff-a598-4c63-85fa-cfc01d206760
vstest.console.exe Information: 0 : 2019-03-10 03:17:11.2058	[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-03-10 03:17:11.3152	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:17:11 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:17:11.4714	[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-03-10 03:17:11.6120	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:17:11 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:17:15.3153	[List instances (ListAndStandardFields)]	[1594]	[Debug]	Code execution scope started	0ms	91d96aff-a598-4c63-85fa-cfc01d206760
vstest.console.exe Information: 0 : 2019-03-10 03:17:15.7059	[List instances (ListAndStandardFields)]	[1594]	[Debug]	Updating list Documents	405ms	91d96aff-a598-4c63-85fa-cfc01d206760
vstest.console.exe Information: 0 : 2019-03-10 03:17:20.8466	[List instances (ListAndStandardFields)]	[1594]	[Debug]	Creating list Workflow History	5537ms	91d96aff-a598-4c63-85fa-cfc01d206760
vstest.console.exe Error: 0 : 2019-03-10 03:17:23.0342	[List instances (ListAndStandardFields)]	[1594]	[Error]	Referenced content type 0x0108003365C4474CAE8C42BCE396314E88E51F not available in site or in template	7727ms	91d96aff-a598-4c63-85fa-cfc01d206760
vstest.console.exe Information: 0 : 2019-03-10 03:17:23.0342	[List instances (ListAndStandardFields)]	[1594]	[Debug]	Code execution scope ended	7728ms	91d96aff-a598-4c63-85fa-cfc01d206760
vstest.console.exe Information: 0 : 2019-03-10 03:17:23.0342	[Provisioning]	[1594]	[Debug]	Code execution scope ended	12304ms	91d96aff-a598-4c63-85fa-cfc01d206760