Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WorkflowsTests.SiteCollectionWorkflowsTest
Outcome:
Run at:
3/25/2020 5:59:05 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.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 1178 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 = 2b27429f-8094-2000-4281-1ac615d8c15c
Message = File Not Found.
Source = Microsoft.SharePoint.Client.Runtime
ServerStackTrace = 
ServerErrorCode = -2147024894
ServerErrorTypeName = System.IO.FileNotFoundException
ServerErrorTraceCorrelationId = 2b27429f-8094-2000-4281-1ac615d8c15c
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 486
   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
Type = Microsoft.SharePoint.Client.ServerException
TraceCorrelationId = 2b27429f-d0b0-2000-4281-1896ce5ee77f
Message = File Not Found.
Source = Microsoft.SharePoint.Client.Runtime
ServerStackTrace = 
ServerErrorCode = -2147024894
ServerErrorTypeName = System.IO.FileNotFoundException
ServerErrorTraceCorrelationId = 2b27429f-d0b0-2000-4281-1896ce5ee77f
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 486
   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
Type = Microsoft.SharePoint.Client.ServerException
TraceCorrelationId = 2c27429f-f07b-2000-4281-1938093b02ca
Message = File Not Found.
Source = Microsoft.SharePoint.Client.Runtime
ServerStackTrace = 
ServerErrorCode = -2147024894
ServerErrorTypeName = System.IO.FileNotFoundException
ServerErrorTraceCorrelationId = 2c27429f-f07b-2000-4281-1938093b02ca
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 486
   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 = b927429f-5082-2000-2852-ff91b6231fa2
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 1178
   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 : 2020-03-25 05:59:08.2627	[SetSiteLockState: Current: {0} Target: {1}]	[0]	[Information]	UnLock	0ms	
vstest.console.exe Information: 0 : 2020-03-25 06:08:38.3946	[OfficeDevPnP.Core]	[0]	[Information]	Creating web 'sub' with template ''.	0ms	
vstest.console.exe Information: 0 : 2020-03-25 06:08:45.4045	[OfficeDevPnP.Core]	[0]	[Information]	File workflows_add_1605.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2020-03-25 06:08:46.3109	[Provisioning]	[16]	[Debug]	Code execution scope started	0ms	2e638a4d-3a21-43eb-b739-f928e02ed513
vstest.console.exe Information: 0 : 2020-03-25 06:08:46.3109	[Provisioning]	[16]	[Information]	ProgressDelegate registered	0ms	2e638a4d-3a21-43eb-b739-f928e02ed513
vstest.console.exe Information: 0 : 2020-03-25 06:08:46.9652	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	2e638a4d-3a21-43eb-b739-f928e02ed513
vstest.console.exe Information: 0 : 2020-03-25 06:08:46.9652	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	2e638a4d-3a21-43eb-b739-f928e02ed513
vstest.console.exe Information: 0 : 2020-03-25 06:08:46.9652	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	2e638a4d-3a21-43eb-b739-f928e02ed513
vstest.console.exe Information: 0 : 2020-03-25 06:08:46.9807	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	2e638a4d-3a21-43eb-b739-f928e02ed513
vstest.console.exe Information: 0 : 2020-03-25 06:08:46.9807	[List instances (ListAndStandardFields)]	[16]	[Debug]	Code execution scope started	0ms	2e638a4d-3a21-43eb-b739-f928e02ed513
vstest.console.exe Information: 0 : 2020-03-25 06:08:47.1801	[List instances (ListAndStandardFields)]	[16]	[Debug]	Updating list Documents	203ms	2e638a4d-3a21-43eb-b739-f928e02ed513
vstest.console.exe Information: 0 : 2020-03-25 06:08:47.4693	[List instances (ListAndStandardFields)]	[16]	[Debug]	Creating list Workflow History	492ms	2e638a4d-3a21-43eb-b739-f928e02ed513
vstest.console.exe Error: 0 : 2020-03-25 06:08:49.2094	[List instances (ListAndStandardFields)]	[16]	[Error]	Referenced content type 0x0108003365C4474CAE8C42BCE396314E88E51F not available in site or in template	2243ms	2e638a4d-3a21-43eb-b739-f928e02ed513
vstest.console.exe Information: 0 : 2020-03-25 06:08:49.2249	[List instances (ListAndStandardFields)]	[16]	[Debug]	Code execution scope ended	2244ms	2e638a4d-3a21-43eb-b739-f928e02ed513
vstest.console.exe Information: 0 : 2020-03-25 06:08:49.2249	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope started	0ms	2e638a4d-3a21-43eb-b739-f928e02ed513
vstest.console.exe Information: 0 : 2020-03-25 06:08:49.2249	[ProvisioningTemplate WebHook Call]	[16]	[Debug]	Code execution scope ended	0ms	2e638a4d-3a21-43eb-b739-f928e02ed513
vstest.console.exe Information: 0 : 2020-03-25 06:08:49.2249	[Provisioning]	[16]	[Debug]	Code execution scope ended	2901ms	2e638a4d-3a21-43eb-b739-f928e02ed513