INFO : 2022-04-15 17:54:11Z - Acquiring server... INFO : 2022-04-15 17:54:11Z - Server 'winbuildsv1' acquired. INFO : 2022-04-15 17:54:13Z - Found 1 issues. INFO : 2022-04-15 17:54:13Z - Changinge state on issues to Completed... INFO : 2022-04-15 17:54:13Z - State change applied. INFO : 2022-04-15 17:54:13Z - Template applied. INFO : 2022-04-15 17:54:13Z - Performing HTTP POST request to https://my.inedo.com/services/legacy/releases/ot/create... INFO : 2022-04-15 17:54:14Z - Server responded with status code 200 - OK INFO : 2022-04-15 17:54:14Z - Uploading file notes.xml to https://my.inedo.com/services/legacy/releases/ot/upload-notes?releaseNumber=3.0.22... INFO : 2022-04-15 17:54:14Z - Server responded with status code 200 - OK INFO : 2022-04-15 17:54:14Z - HTTP file upload completed. INFO : 2022-04-15 17:54:14Z - Repackaging InedoReleases/Otter.Service 3.0.22-rc.1 to 3.0.22 on ( feed)... INFO : 2022-04-15 17:54:14Z - Repackage was successful. INFO : 2022-04-15 17:54:15Z - Promoting InedoReleases/Otter.Service 3.0.22 to Products... INFO : 2022-04-15 17:54:15Z - Repackage was successful. INFO : 2022-04-15 17:54:15Z - Repackaging InedoReleases/Otter.Web 3.0.22-rc.1 to 3.0.22 on ( feed)... INFO : 2022-04-15 17:54:15Z - Repackage was successful. INFO : 2022-04-15 17:54:15Z - Promoting InedoReleases/Otter.Web 3.0.22 to Products... INFO : 2022-04-15 17:54:15Z - Repackage was successful. INFO : 2022-04-15 17:54:15Z - Repackaging InedoReleases/Otter.SqlScripts 3.0.22-rc.1 to 3.0.22 on ( feed)... INFO : 2022-04-15 17:54:15Z - Repackage was successful. INFO : 2022-04-15 17:54:15Z - Promoting InedoReleases/Otter.SqlScripts 3.0.22 to Products... INFO : 2022-04-15 17:54:15Z - Repackage was successful. INFO : 2022-04-15 17:54:15Z - Repackaging InedoReleases/Otter.Extensions 3.0.22-rc.1 to 3.0.22 on ( feed)... INFO : 2022-04-15 17:54:16Z - Repackage was successful. INFO : 2022-04-15 17:54:16Z - Promoting InedoReleases/Otter.Extensions 3.0.22 to Products... INFO : 2022-04-15 17:54:16Z - Repackage was successful. INFO : 2022-04-15 17:54:16Z - Repackaging InedoReleases/Otter.RompPack 3.0.22-rc.1 to 3.0.22 on ( feed)... INFO : 2022-04-15 17:54:16Z - Repackage was successful. INFO : 2022-04-15 17:54:16Z - Promoting InedoReleases/Otter.RompPack 3.0.22 to Products... INFO : 2022-04-15 17:54:16Z - Repackage was successful. INFO : 2022-04-15 17:54:16Z - Tag 'https://gitlab.com/inedo/Otter.git' as 'Otter-3.0.22.1'... INFO : 2022-04-15 17:54:18Z - Tag complete. INFO : 2022-04-15 17:54:18Z - Variable set. INFO : 2022-04-15 17:54:19Z - Template applied. INFO : 2022-04-15 17:54:19Z - Package lzma-sfx v19.0.0 will be installed. INFO : 2022-04-15 17:54:19Z - Downloading package... INFO : 2022-04-15 17:54:19Z - Package installed from file. INFO : 2022-04-15 17:54:19Z - Package installation complete. INFO : 2022-04-15 17:54:19Z - Package InedoReleases/DesktopHub v1.3.8 will be installed. INFO : 2022-04-15 17:54:19Z - Downloading package... INFO : 2022-04-15 17:54:20Z - Package installed from file. INFO : 2022-04-15 17:54:20Z - Package installation complete. INFO : 2022-04-15 17:54:20Z - Creating file... INFO : 2022-04-15 17:54:20Z - C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E209699\installer\hub\DesktopHub.config file created. INFO : 2022-04-15 17:54:20Z - Creating file... INFO : 2022-04-15 17:54:20Z - C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E209699\installer\config.txt file created. INFO : 2022-04-15 17:54:20Z - Downloading https://proget.inedo.com/upack/PrereleaseProducts/download/InedoReleases/Otter/3.0.22 to ~\installer\hub\Packages\Otter-3.0.22.upack... INFO : 2022-04-15 17:54:24Z - Server responded with status code 200 - OK INFO : 2022-04-15 17:54:28Z - HTTP file download completed. INFO : 2022-04-15 17:54:28Z - Deleted 12 files and 0 directories. INFO : 2022-04-15 17:54:28Z - Executing C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E209699\installer\7za.exe... INFO : 2022-04-15 17:54:49Z - INFO : 2022-04-15 17:54:49Z - 7-Zip (a) 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21 INFO : 2022-04-15 17:54:49Z - INFO : 2022-04-15 17:54:49Z - Scanning the drive: INFO : 2022-04-15 17:54:49Z - 30 files, 58380743 bytes (56 MiB) INFO : 2022-04-15 17:54:49Z - INFO : 2022-04-15 17:54:49Z - Creating archive: ..\InedoHub.7z INFO : 2022-04-15 17:54:49Z - INFO : 2022-04-15 17:54:49Z - Add new data to archive: 30 files, 58380743 bytes (56 MiB) INFO : 2022-04-15 17:54:49Z - INFO : 2022-04-15 17:54:49Z - INFO : 2022-04-15 17:54:49Z - Files read from disk: 30 INFO : 2022-04-15 17:54:49Z - Archive size: 47896132 bytes (46 MiB) INFO : 2022-04-15 17:54:49Z - Everything is Ok INFO : 2022-04-15 17:54:49Z - Process exited with code: 0 (success) INFO : 2022-04-15 17:54:49Z - Executing C:\Windows\system32\cmd.exe... INFO : 2022-04-15 17:54:49Z - 7zS2.sfx INFO : 2022-04-15 17:54:49Z - config.txt INFO : 2022-04-15 17:54:49Z - InedoHub.7z INFO : 2022-04-15 17:54:49Z - 1 file(s) copied. INFO : 2022-04-15 17:54:49Z - Process exited with code: 0 (success) INFO : 2022-04-15 17:54:49Z - Signing C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E209699\installer\OtterInstaller3.0.22_Offline.exe... INFO : 2022-04-15 17:54:51Z - Transferring C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E209699\installer\OtterInstaller3.0.22_Offline.exe to downloads/otter/OtterInstaller3.0.22_Offline.exe (45.7 MB)... INFO : 2022-04-15 17:56:36Z - Ensuring "Fix version" for project Otter has a version 3.0.22 that is released and archived... INFO : 2022-04-15 17:56:37Z - Version 3.0.22 update complete. INFO : 2022-04-15 17:56:38Z - Stopping service Otter_3_0_22_1... INFO : 2022-04-15 17:56:38Z - Service is stopped. INFO : 2022-04-15 17:56:38Z - Stopping service Otter_3_0_22_1_Web... INFO : 2022-04-15 17:56:38Z - Service is stopped. ERROR: 2022-04-15 17:56:38Z - Unhandled exception: System.UnauthorizedAccessException: Access to the path 'C:\Websites\CI\Otter.3.0.22.1\Service\Gibraltar.Agent.dll' is denied. at Inedo.Agents.Commands.InvokeMethodCommand.GetResponseAsync() at Inedo.Agents.AgentCommand`1.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Agents.AgentCommandDispatcher.d__11.MoveNext() INFO : 2022-04-15 17:56:38Z - Sleeping for 5 seconds... INFO : 2022-04-15 17:56:43Z - Done sleeping. INFO : 2022-04-15 17:56:43Z - Deleted directory C:\Websites\CI\Otter.3.0.22.1. INFO : 2022-04-15 17:56:43Z - Executing database statement: DROP DATABASE IF EXISTS Otter_3_0_22_1 ERROR: 2022-04-15 17:57:03Z - Unhandled exception: System.Data.SqlClient.SqlException (0x80131904): Cannot drop database "Otter_3_0_22_1" because it is currently in use. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlCommand.InternalEndExecuteNonQuery(IAsyncResult asyncResult, String endMethod, Boolean isInternal) at System.Data.SqlClient.SqlCommand.EndExecuteNonQueryInternal(IAsyncResult asyncResult) at System.Data.SqlClient.SqlCommand.EndExecuteNonQueryAsync(IAsyncResult asyncResult) at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Extensions.SqlServer.SqlServerDatabaseProvider.d__14.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.BuildMaster.DatabaseConnections.ExecuteStatementJob.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Agents.AgentCommand`1.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Inedo.Agents.AgentCommandDispatcher.d__11.MoveNext() ClientConnectionId:8ee8516f-a7e4-4925-b21b-287607805a7a Error Number:3702,State:4,Class:16 WARN : 2022-04-15 17:57:03Z - Failed to drop the Otter_3_0_22_1 database. INFO : 2022-04-15 17:57:05Z - otter-3-0-22-1 INFO : 2022-04-15 17:57:05Z - otter-sql-3-0-22-1 INFO : 2022-04-15 17:57:05Z - Untagged: proget.inedo.com/productimages/inedo/otter:3.0.22-ci.1 INFO : 2022-04-15 17:57:05Z - Untagged: proget.inedo.com/productimages/inedo/otter@sha256:cd5c0a4a5248f2544c813ebef87b105b7d14eea5e66442b99f7f64e7072b1290 INFO : 2022-04-15 17:57:05Z - Deleted: sha256:d99385a0fc7d1e91d857b47f0013465deb6e576d38a51f375395b658acaeb0a6 INFO : 2022-04-15 17:57:05Z - Deleted: sha256:28d8dcd094b60cbd9daa80cafd81656282a5d94412d64b5c43eade7e3dcc39ad INFO : 2022-04-15 17:57:05Z - Deleted: sha256:cf655a4510e3108bb7adb2a2b1bee3876e5b4d1a21d622bdda91a070f7846ba8 INFO : 2022-04-15 17:57:05Z - Deleted: sha256:69b488647123fa88b37ee9d734c1e9bb3e6b95a8ab023c0c803034a36f6bdd58 INFO : 2022-04-15 17:57:05Z - Deleted: sha256:3fdd40fcaf4d45c0f179ab4e37edacb3d1f125507aa7004570ec35e755f93f2b INFO : 2022-04-15 17:57:05Z - Deleted: sha256:533f3cb6de6405fbc6dd6da08c19bee9d59f3e54e2f6e83b1d64c1681e248b2c INFO : 2022-04-15 17:57:05Z - Deleted: sha256:4e7bd47e4668c217f6eeba3b515d55d485e069ec297e0d1f5b0d643eb0478c72