Test case details
Test name:
OfficeDevPnP.Core.Tests.AppModelExtensions.BrandingExtensionsTests.DeployThemeAndCreateComposedLookTest
Outcome:
Run at:
8/10/2018 1:25:23 AM
Duration:
00:00:48
Error message:
Test method OfficeDevPnP.Core.Tests.AppModelExtensions.BrandingExtensionsTests.DeployThemeAndCreateComposedLookTest threw exception: System.IO.FileNotFoundException: Could not find file 'C:\Users\pnpadmin.PNP\AppData\Local\Temp\custombg.jpg'.
Stacktrace:
at at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode) at Microsoft.SharePoint.Client.BrandingExtensions.UploadThemeFile(Web web, String localFilePath, String themeFolderVersion) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\BrandingExtensions.cs:line 338 at OfficeDevPnP.Core.Tests.AppModelExtensions.BrandingExtensionsTests.DeployThemeAndCreateComposedLookTest() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Extensions\BrandingExtensionsTests.cs:line 401
Console output:
    BrandingExtensionsTests.Initialise
Web Test_CL20180810T012523 created
Feature 41E1D4BF-B1A2-47F7-AB80-D5D6CBBA3092 on Web Test_CL20180810T012523 activated
Web A created
Feature 41E1D4BF-B1A2-47F7-AB80-D5D6CBBA3092 on Web a activated
Web B created
Feature 41E1D4BF-B1A2-47F7-AB80-D5D6CBBA3092 on Web b activated
BrandingExtensionsTests.CleanUp
0 matching looks found to delete
Exception cleaning up: Microsoft.SharePoint.Client.ServerException: File Not Found.
   at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
   at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
   at Microsoft.SharePoint.Client.ClientRequest.<ExecuteQueryToServerAsync>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 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 142
--- 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 87
   at OfficeDevPnP.Core.Tests.AppModelExtensions.BrandingExtensionsTests.CleanUp() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Extensions\BrandingExtensionsTests.cs:line 139
Deleting site /sites/pnptest2/Test_CL20180810T012523/A
Deleting site /sites/pnptest2/Test_CL20180810T012523/B
Deleting site /sites/pnptest2/Test_CL20180810T012523
Exception cleaning up: Microsoft.SharePoint.Client.ServerException: File Not Found.
   at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
   at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
   at Microsoft.SharePoint.Client.ClientRequest.<ExecuteQueryToServerAsync>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 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 142
--- 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 87
   at OfficeDevPnP.Core.Tests.AppModelExtensions.BrandingExtensionsTests.CleanUp() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Extensions\BrandingExtensionsTests.cs:line 194



Debug Trace:
te.processhost.managed.exe Information: 0 : 2018-08-10 01:25:38.6546	[OfficeDevPnP.Core]	[0]	[Information]	Activating feature 41e1d4bf-b1a2-47f7-ab80-d5d6cbba3092 in web.	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-10 01:25:38.9671	[OfficeDevPnP.Core]	[0]	[Information]	Feature activation for 41e1d4bf-b1a2-47f7-ab80-d5d6cbba3092 returned success.	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-10 01:25:53.5147	[OfficeDevPnP.Core]	[0]	[Information]	Activating feature 41e1d4bf-b1a2-47f7-ab80-d5d6cbba3092 in web.	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-10 01:25:53.7960	[OfficeDevPnP.Core]	[0]	[Information]	Feature activation for 41e1d4bf-b1a2-47f7-ab80-d5d6cbba3092 returned success.	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-10 01:26:09.3809	[OfficeDevPnP.Core]	[0]	[Information]	Activating feature 41e1d4bf-b1a2-47f7-ab80-d5d6cbba3092 in web.	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-10 01:26:09.6778	[OfficeDevPnP.Core]	[0]	[Information]	Feature activation for 41e1d4bf-b1a2-47f7-ab80-d5d6cbba3092 returned success.	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-10 01:26:09.8341	[OfficeDevPnP.Core]	[0]	[Debug]	Creating file info with Url 'custom.spcolor'	0ms