Test case details
Test name:
OfficeDevPnP.Core.Tests.AppModelExtensions.BrandingExtensionsTests.DeployThemeAndCreateComposedLookTest
Outcome:
Run at:
8/8/2018 9:12:28 PM
Duration:
00:00:44
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_CL20180808T211228 created
Feature 41E1D4BF-B1A2-47F7-AB80-D5D6CBBA3092 on Web Test_CL20180808T211228 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.ExecuteQueryToServer(ChunkStringBuilder sb)
   at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 147
   at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryRetry(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 89
   at OfficeDevPnP.Core.Tests.AppModelExtensions.BrandingExtensionsTests.CleanUp() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Extensions\BrandingExtensionsTests.cs:line 139
Deleting site /sites/pnptest2/Test_CL20180808T211228/A
Deleting site /sites/pnptest2/Test_CL20180808T211228/B
Deleting site /sites/pnptest2/Test_CL20180808T211228
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.ExecuteQueryToServer(ChunkStringBuilder sb)
   at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 147
   at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryRetry(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 89
   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-08 21:12:29.0661	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 8/9/2018 5:12:28 AM	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-08 21:12:42.0353	[OfficeDevPnP.Core]	[0]	[Information]	Activating feature 41e1d4bf-b1a2-47f7-ab80-d5d6cbba3092 in web.	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-08 21:12:42.2540	[OfficeDevPnP.Core]	[0]	[Information]	Feature activation for 41e1d4bf-b1a2-47f7-ab80-d5d6cbba3092 returned success.	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-08 21:12:56.1921	[OfficeDevPnP.Core]	[0]	[Information]	Activating feature 41e1d4bf-b1a2-47f7-ab80-d5d6cbba3092 in web.	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-08 21:12:56.4733	[OfficeDevPnP.Core]	[0]	[Information]	Feature activation for 41e1d4bf-b1a2-47f7-ab80-d5d6cbba3092 returned success.	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-08 21:13:09.9270	[OfficeDevPnP.Core]	[0]	[Information]	Activating feature 41e1d4bf-b1a2-47f7-ab80-d5d6cbba3092 in web.	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-08 21:13:10.2395	[OfficeDevPnP.Core]	[0]	[Information]	Feature activation for 41e1d4bf-b1a2-47f7-ab80-d5d6cbba3092 returned success.	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-08 21:13:10.3646	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 8/9/2018 5:13:10 AM	0ms	
te.processhost.managed.exe Information: 0 : 2018-08-08 21:13:11.4583	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 8/9/2018 5:13:11 AM	0ms