Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.Functional.WorkflowsNoScriptTests.SiteCollectionWorkflowsTest
Outcome:
Run at:
4/14/2019 3:21:07 AM
Duration:
00:00:23
Error message:
Test method OfficeDevPnP.Core.Tests.Framework.Functional.WorkflowsNoScriptTests.SiteCollectionWorkflowsTest threw exception: Microsoft.SharePoint.Client.ServerException: Exception from HRESULT: 0x80131904
Stacktrace:
at 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 155 --- 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 90 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectListInstance.CreateList(Web web, ListInstance templateList, TokenParser parser, PnPMonitoredScope scope, Boolean isNoScriptSite) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectListInstance.cs:line 1677 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 107 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 381 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_24ae4eec-be1e-4119-bb42-c41353d56fd5 as NoScript
Applying template - 1/5 - Initializing engine
Applying template - 2/5 - List instances (ListAndStandardFields)
Type = Microsoft.SharePoint.Client.ServerException
TraceCorrelationId = ccc0d29e-60b6-0000-91ef-e62718adbc52
Message = Exception from HRESULT: 0x80131904
Source = Microsoft.SharePoint.Client.Runtime
ServerStackTrace = 
ServerErrorCode = -2146232060
ServerErrorTypeName = Microsoft.SharePoint.SPException
ServerErrorTraceCorrelationId = ccc0d29e-60b6-0000-91ef-e62718adbc52
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 155
--- 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 90
   at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectListInstance.CreateList(Web web, ListInstance templateList, TokenParser parser, PnPMonitoredScope scope, Boolean isNoScriptSite) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectListInstance.cs:line 1677
   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 107
   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 381
   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-04-14 03:21:07.4183	[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-04-14 03:21:07.5121	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 4/14/2019 11:21:07 AM	0ms	
vstest.console.exe Information: 0 : 2019-04-14 03:21:08.3715	[SetSiteLockState: Current: {0} Target: {1}]	[0]	[Information]	Unlock	0ms	
vstest.console.exe Information: 0 : 2019-04-14 03:21:55.8581	[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-04-14 03:21:55.9519	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 4/14/2019 11:21:55 AM	0ms	
vstest.console.exe Information: 0 : 2019-04-14 03:23:45.4874	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/TestPnPSC_12345_24ae4eec-be1e-4119-bb42-c41353d56fd5,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-04-14 03:23:45.6592	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 4/14/2019 11:23:45 AM	0ms	
vstest.console.exe Information: 0 : 2019-04-14 03:23:45.7530	[OfficeDevPnP.Core]	[0]	[Information]	Creating web 'sub' with template ''.	0ms	
vstest.console.exe Information: 0 : 2019-04-14 03:24:07.0793	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/TestPnPSC_12345_24ae4eec-be1e-4119-bb42-c41353d56fd5,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-04-14 03:24:07.1887	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 4/14/2019 11:24:07 AM	0ms	
vstest.console.exe Information: 0 : 2019-04-14 03:24:07.5325	[OfficeDevPnP.Core]	[0]	[Information]	File workflows_add_1605.xml retrieved from folder Templates	0ms	
vstest.console.exe Information: 0 : 2019-04-14 03:24:08.3607	[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-04-14 03:24:08.4857	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 4/14/2019 11:24:08 AM	0ms	
vstest.console.exe Information: 0 : 2019-04-14 03:24:08.7045	[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-04-14 03:24:08.8295	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 4/14/2019 11:24:08 AM	0ms	
vstest.console.exe Information: 0 : 2019-04-14 03:24:18.9547	[Provisioning]	[1583]	[Debug]	Code execution scope started	0ms	8d26e890-9874-4a35-843b-21cfae9e1f1c
vstest.console.exe Information: 0 : 2019-04-14 03:24:18.9547	[Provisioning]	[1583]	[Information]	ProgressDelegate registered	0ms	8d26e890-9874-4a35-843b-21cfae9e1f1c
vstest.console.exe Information: 0 : 2019-04-14 03:24:19.5641	[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-04-14 03:24:19.6579	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 4/14/2019 11:24:19 AM	0ms	
vstest.console.exe Information: 0 : 2019-04-14 03:24:19.7985	[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-04-14 03:24:19.9235	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 4/14/2019 11:24:19 AM	0ms	
vstest.console.exe Information: 0 : 2019-04-14 03:24:23.4549	[ProvisioningTemplate WebHook Call]	[1583]	[Debug]	Code execution scope started	0ms	8d26e890-9874-4a35-843b-21cfae9e1f1c
vstest.console.exe Information: 0 : 2019-04-14 03:24:23.4549	[ProvisioningTemplate WebHook Call]	[1583]	[Debug]	Code execution scope ended	0ms	8d26e890-9874-4a35-843b-21cfae9e1f1c
vstest.console.exe Information: 0 : 2019-04-14 03:24:23.4549	[ProvisioningTemplate WebHook Call]	[1583]	[Debug]	Code execution scope started	0ms	8d26e890-9874-4a35-843b-21cfae9e1f1c
vstest.console.exe Information: 0 : 2019-04-14 03:24:23.4549	[ProvisioningTemplate WebHook Call]	[1583]	[Debug]	Code execution scope ended	0ms	8d26e890-9874-4a35-843b-21cfae9e1f1c
vstest.console.exe Information: 0 : 2019-04-14 03:24:23.4549	[List instances (ListAndStandardFields)]	[1583]	[Debug]	Code execution scope started	0ms	8d26e890-9874-4a35-843b-21cfae9e1f1c
vstest.console.exe Information: 0 : 2019-04-14 03:24:23.6267	[List instances (ListAndStandardFields)]	[1583]	[Debug]	Updating list Documents	169ms	8d26e890-9874-4a35-843b-21cfae9e1f1c
vstest.console.exe Warning: 0 : 2019-04-14 03:24:28.1425	[List instances (ListAndStandardFields)]	[1583]	[Information]	Skip adding/updating custom actions because the site has "noscript" enabled.	4683ms	8d26e890-9874-4a35-843b-21cfae9e1f1c
vstest.console.exe Information: 0 : 2019-04-14 03:24:28.1425	[List instances (ListAndStandardFields)]	[1583]	[Debug]	Creating list Workflow History	4684ms	8d26e890-9874-4a35-843b-21cfae9e1f1c
vstest.console.exe Information: 0 : 2019-04-14 03:24:30.5800	[List instances (ListAndStandardFields)]	[1583]	[Debug]	Creating list Workflow History failed: Exception from HRESULT: 0x80131904 :    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 155
--- 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 90
   at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectListInstance.CreateList(Web web, ListInstance templateList, TokenParser parser, PnPMonitoredScope scope, Boolean isNoScriptSite) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectListInstance.cs:line 1677
   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 84	7111ms	8d26e890-9874-4a35-843b-21cfae9e1f1c
vstest.console.exe Information: 0 : 2019-04-14 03:24:30.5800	[List instances (ListAndStandardFields)]	[1583]	[Debug]	Code execution scope ended	7111ms	8d26e890-9874-4a35-843b-21cfae9e1f1c
vstest.console.exe Information: 0 : 2019-04-14 03:24:30.5800	[Provisioning]	[1583]	[Debug]	Code execution scope ended	11616ms	8d26e890-9874-4a35-843b-21cfae9e1f1c