Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WorkflowsTests.SiteCollectionWorkflowsTest
Outcome:
Run at:
12/2/2019 7:57:08 AM
Duration:
00:00:07
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.SiteToTemplateConversion.ApplyRemoteTemplate(Web web, ProvisioningTemplate template, ProvisioningTemplateApplyingInformation provisioningInfo, Boolean calledFromHierarchy, TokenParser tokenParser) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\SiteToTemplateConversion.cs:line 485 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 = 9d7c1d9f-108e-2000-af63-278cc0f15b2d
Message = File Not Found.
Source = Microsoft.SharePoint.Client.Runtime
ServerStackTrace = 
ServerErrorCode = -2147024894
ServerErrorTypeName = System.IO.FileNotFoundException
ServerErrorTraceCorrelationId = 9d7c1d9f-108e-2000-af63-278cc0f15b2d
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 420
   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 = cd7c1d9f-804c-2000-2880-bf7a68bc695e
Message = Referenced content type 0x0108003365C4474CAE8C42BCE396314E88E51F not available in site or in template
Source = OfficeDevPnP.Core
TargetSite = Void ApplyRemoteTemplate(Microsoft.SharePoint.Client.Web, OfficeDevPnP.Core.Framework.Provisioning.Model.ProvisioningTemplate, OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ProvisioningTemplateApplyingInformation, Boolean, OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.TokenParser)
StackTrace =    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 485
   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-12-02 07:57:08.5193	[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-12-02 07:57:08.6912	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 12/2/2019 3:57:08 PM	0ms	
vstest.console.exe Information: 0 : 2019-12-02 07:57:12.3450	[SetSiteLockState: Current: {0} Target: {1}]	[0]	[Information]	Unlock	0ms	
vstest.console.exe Information: 0 : 2019-12-02 07:57:16.3680	[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-12-02 07:57:16.4617	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 12/2/2019 3:57:16 PM	0ms	
vstest.console.exe Information: 0 : 2019-12-02 08:00:08.4136	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/TestPnPSC_12345_e3bd4082-e2b3-49f4-8569-65b6efd2130f,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-12-02 08:00:08.5699	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 12/2/2019 4:00:08 PM	0ms	
vstest.console.exe Information: 0 : 2019-12-02 08:00:08.6793	[OfficeDevPnP.Core]	[0]	[Information]	Creating web 'sub' with template ''.	0ms	
vstest.console.exe Information: 0 : 2019-12-02 08:00:20.2333	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/TestPnPSC_12345_e3bd4082-e2b3-49f4-8569-65b6efd2130f,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-12-02 08:00:20.3583	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 12/2/2019 4:00:20 PM	0ms	
vstest.console.exe Information: 0 : 2019-12-02 08:00:20.6552	[OfficeDevPnP.Core]	[0]	[Information]	File workflows_add_1605.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2019-12-02 08:00:21.9521	[Provisioning]	[678]	[Debug]	Code execution scope started	0ms	57434963-979e-4154-a204-c5bf9375235d
vstest.console.exe Information: 0 : 2019-12-02 08:00:21.9521	[Provisioning]	[678]	[Information]	ProgressDelegate registered	0ms	57434963-979e-4154-a204-c5bf9375235d
vstest.console.exe Information: 0 : 2019-12-02 08:00:22.7868	[ProvisioningTemplate WebHook Call]	[678]	[Debug]	Code execution scope started	0ms	57434963-979e-4154-a204-c5bf9375235d
vstest.console.exe Information: 0 : 2019-12-02 08:00:22.7868	[ProvisioningTemplate WebHook Call]	[678]	[Debug]	Code execution scope ended	0ms	57434963-979e-4154-a204-c5bf9375235d
vstest.console.exe Information: 0 : 2019-12-02 08:00:22.7868	[ProvisioningTemplate WebHook Call]	[678]	[Debug]	Code execution scope started	0ms	57434963-979e-4154-a204-c5bf9375235d
vstest.console.exe Information: 0 : 2019-12-02 08:00:22.7868	[ProvisioningTemplate WebHook Call]	[678]	[Debug]	Code execution scope ended	0ms	57434963-979e-4154-a204-c5bf9375235d
vstest.console.exe Information: 0 : 2019-12-02 08:00:22.7868	[List instances (ListAndStandardFields)]	[678]	[Debug]	Code execution scope started	0ms	57434963-979e-4154-a204-c5bf9375235d
vstest.console.exe Information: 0 : 2019-12-02 08:00:23.0368	[List instances (ListAndStandardFields)]	[678]	[Debug]	Updating list Documents	258ms	57434963-979e-4154-a204-c5bf9375235d
vstest.console.exe Information: 0 : 2019-12-02 08:00:23.4743	[List instances (ListAndStandardFields)]	[678]	[Debug]	Creating list Workflow History	690ms	57434963-979e-4154-a204-c5bf9375235d
vstest.console.exe Error: 0 : 2019-12-02 08:00:27.6409	[List instances (ListAndStandardFields)]	[678]	[Error]	Referenced content type 0x0108003365C4474CAE8C42BCE396314E88E51F not available in site or in template	4861ms	57434963-979e-4154-a204-c5bf9375235d
vstest.console.exe Information: 0 : 2019-12-02 08:00:27.6409	[List instances (ListAndStandardFields)]	[678]	[Debug]	Code execution scope ended	4862ms	57434963-979e-4154-a204-c5bf9375235d
vstest.console.exe Information: 0 : 2019-12-02 08:00:27.6409	[ProvisioningTemplate WebHook Call]	[678]	[Debug]	Code execution scope started	0ms	57434963-979e-4154-a204-c5bf9375235d
vstest.console.exe Information: 0 : 2019-12-02 08:00:27.6409	[ProvisioningTemplate WebHook Call]	[678]	[Debug]	Code execution scope ended	0ms	57434963-979e-4154-a204-c5bf9375235d
vstest.console.exe Information: 0 : 2019-12-02 08:00:27.6409	[Provisioning]	[678]	[Debug]	Code execution scope ended	5696ms	57434963-979e-4154-a204-c5bf9375235d