Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WorkflowsNoScriptTests.SiteCollectionWorkflowsTest
Outcome:
Run at:
3/10/2019 3:09:58 AM
Duration:
00:00:17
Error message:
Test method OfficeDevPnP.Core.Tests.Framework.Functional.WorkflowsNoScriptTests.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.WorkflowsNoScriptTests.SiteCollectionWorkflowsTest() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\Functional\WorkflowsNoScriptTests.cs:line 61
Console output:
    Setting site https://bertonline.sharepoint.com/sites/TestPnPSC_12345_984ea878-7daf-4fc1-b1b9-060c27f98ce1 as NoScript
Applying template - 1/5 - Initializing engine
Applying template - 2/5 - List instances (ListAndStandardFields)
Type = System.Exception
TraceCorrelationId = 397cc79e-203b-0000-60ca-452747b6be5a
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:09:58.1737	[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:09:58.2831	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:09:58 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:09:59.8925	[SetSiteLockState: Current: {0} Target: {1}]	[0]	[Information]	Unlock	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:10:33.0815	[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:10:33.1752	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:10:33 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:12:12.6380	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/TestPnPSC_12345_984ea878-7daf-4fc1-b1b9-060c27f98ce1,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:12:12.7317	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:12:12 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:12:12.8255	[OfficeDevPnP.Core]	[0]	[Information]	Creating web 'sub' with template ''.	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:12:33.9113	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/TestPnPSC_12345_984ea878-7daf-4fc1-b1b9-060c27f98ce1,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:12:34.0207	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:12:34 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:12:34.3488	[OfficeDevPnP.Core]	[0]	[Information]	File workflows_add_1605.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:12:35.1926	[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:12:35.3176	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:12:35 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:12:35.4739	[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:12:35.5832	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:12:35 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:12:39.6772	[Provisioning]	[1580]	[Debug]	Code execution scope started	0ms	d638390c-8b71-4088-a4ff-26c4a8ed72cf
vstest.console.exe Information: 0 : 2019-03-10 03:12:39.6772	[Provisioning]	[1580]	[Information]	ProgressDelegate registered	0ms	d638390c-8b71-4088-a4ff-26c4a8ed72cf
vstest.console.exe Information: 0 : 2019-03-10 03:12:40.2397	[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:12:40.3647	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:12:40 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:12:40.5053	[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:12:40.6147	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 11:12:40 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 03:12:44.1773	[List instances (ListAndStandardFields)]	[1580]	[Debug]	Code execution scope started	0ms	d638390c-8b71-4088-a4ff-26c4a8ed72cf
vstest.console.exe Information: 0 : 2019-03-10 03:12:44.5836	[List instances (ListAndStandardFields)]	[1580]	[Debug]	Updating list Documents	402ms	d638390c-8b71-4088-a4ff-26c4a8ed72cf
vstest.console.exe Warning: 0 : 2019-03-10 03:12:49.3963	[List instances (ListAndStandardFields)]	[1580]	[Information]	Skip adding/updating custom actions because the site has "noscript" enabled.	5214ms	d638390c-8b71-4088-a4ff-26c4a8ed72cf
vstest.console.exe Information: 0 : 2019-03-10 03:12:49.3963	[List instances (ListAndStandardFields)]	[1580]	[Debug]	Creating list Workflow History	5214ms	d638390c-8b71-4088-a4ff-26c4a8ed72cf
vstest.console.exe Error: 0 : 2019-03-10 03:12:51.6620	[List instances (ListAndStandardFields)]	[1580]	[Error]	Referenced content type 0x0108003365C4474CAE8C42BCE396314E88E51F not available in site or in template	7478ms	d638390c-8b71-4088-a4ff-26c4a8ed72cf
vstest.console.exe Information: 0 : 2019-03-10 03:12:51.6620	[List instances (ListAndStandardFields)]	[1580]	[Debug]	Code execution scope ended	7478ms	d638390c-8b71-4088-a4ff-26c4a8ed72cf
vstest.console.exe Information: 0 : 2019-03-10 03:12:51.6620	[Provisioning]	[1580]	[Debug]	Code execution scope ended	11981ms	d638390c-8b71-4088-a4ff-26c4a8ed72cf