Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WorkflowsNoScriptTests.SiteCollectionWorkflowsTest
Outcome:
Run at:
5/16/2019 9:36:49 PM
Duration:
00:00:03
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 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 396 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_e8faa052-44e0-4c33-a284-755a1956da42 as NoScript
Applying template - 1/5 - Initializing engine
Applying template - 2/5 - List instances (ListAndStandardFields)
Type = System.Exception
TraceCorrelationId = 274cdd9e-d059-0000-9c9c-c71b5ae9e847
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 396
   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-05-16 21:36:52.3559	[SetSiteLockState: Current: {0} Target: {1}]	[0]	[Information]	Unlock	0ms	
vstest.console.exe Information: 0 : 2019-05-16 21:38:56.2672	[OfficeDevPnP.Core]	[0]	[Information]	Creating web 'sub' with template ''.	0ms	
vstest.console.exe Information: 0 : 2019-05-16 21:39:02.9895	[OfficeDevPnP.Core]	[0]	[Information]	File workflows_add_1605.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2019-05-16 21:39:03.7512	[Provisioning]	[23]	[Debug]	Code execution scope started	0ms	390e41c6-d947-480f-9e64-97d62e6924be
vstest.console.exe Information: 0 : 2019-05-16 21:39:03.7512	[Provisioning]	[23]	[Information]	ProgressDelegate registered	0ms	390e41c6-d947-480f-9e64-97d62e6924be
vstest.console.exe Information: 0 : 2019-05-16 21:39:04.2031	[ProvisioningTemplate WebHook Call]	[23]	[Debug]	Code execution scope started	0ms	390e41c6-d947-480f-9e64-97d62e6924be
vstest.console.exe Information: 0 : 2019-05-16 21:39:04.2031	[ProvisioningTemplate WebHook Call]	[23]	[Debug]	Code execution scope ended	0ms	390e41c6-d947-480f-9e64-97d62e6924be
vstest.console.exe Information: 0 : 2019-05-16 21:39:04.2031	[ProvisioningTemplate WebHook Call]	[23]	[Debug]	Code execution scope started	0ms	390e41c6-d947-480f-9e64-97d62e6924be
vstest.console.exe Information: 0 : 2019-05-16 21:39:04.2031	[ProvisioningTemplate WebHook Call]	[23]	[Debug]	Code execution scope ended	0ms	390e41c6-d947-480f-9e64-97d62e6924be
vstest.console.exe Information: 0 : 2019-05-16 21:39:04.2031	[List instances (ListAndStandardFields)]	[23]	[Debug]	Code execution scope started	0ms	390e41c6-d947-480f-9e64-97d62e6924be
vstest.console.exe Information: 0 : 2019-05-16 21:39:04.3594	[List instances (ListAndStandardFields)]	[23]	[Debug]	Updating list Documents	148ms	390e41c6-d947-480f-9e64-97d62e6924be
vstest.console.exe Warning: 0 : 2019-05-16 21:39:04.5938	[List instances (ListAndStandardFields)]	[23]	[Information]	Skip adding/updating custom actions because the site has "noscript" enabled.	377ms	390e41c6-d947-480f-9e64-97d62e6924be
vstest.console.exe Information: 0 : 2019-05-16 21:39:04.5938	[List instances (ListAndStandardFields)]	[23]	[Debug]	Creating list Workflow History	377ms	390e41c6-d947-480f-9e64-97d62e6924be
vstest.console.exe Error: 0 : 2019-05-16 21:39:06.6471	[List instances (ListAndStandardFields)]	[23]	[Error]	Referenced content type 0x0108003365C4474CAE8C42BCE396314E88E51F not available in site or in template	2441ms	390e41c6-d947-480f-9e64-97d62e6924be
vstest.console.exe Information: 0 : 2019-05-16 21:39:06.6471	[List instances (ListAndStandardFields)]	[23]	[Debug]	Code execution scope ended	2441ms	390e41c6-d947-480f-9e64-97d62e6924be
vstest.console.exe Information: 0 : 2019-05-16 21:39:06.6471	[Provisioning]	[23]	[Debug]	Code execution scope ended	2897ms	390e41c6-d947-480f-9e64-97d62e6924be