INFO : 2022-02-25 19:15:18Z - Acquiring server... INFO : 2022-02-25 19:15:18Z - Server 'winbuildsv1' acquired. INFO : 2022-02-25 19:15:19Z - Found 1 issues. INFO : 2022-02-25 19:15:19Z - Changinge state on issues to Completed... INFO : 2022-02-25 19:15:21Z - State change applied. INFO : 2022-02-25 19:15:21Z - Template applied. INFO : 2022-02-25 19:15:21Z - Performing HTTP POST request to https://my.inedo.com/services/legacy/releases/ot/create... INFO : 2022-02-25 19:15:21Z - Server responded with status code 200 - OK INFO : 2022-02-25 19:15:21Z - Uploading file notes.xml to https://my.inedo.com/services/legacy/releases/ot/upload-notes?releaseNumber=3.0.20... INFO : 2022-02-25 19:15:22Z - Server responded with status code 200 - OK INFO : 2022-02-25 19:15:22Z - HTTP file upload completed. INFO : 2022-02-25 19:15:22Z - Repackaging InedoReleases/Otter.Service 3.0.20-rc.3 to 3.0.20 on ( feed)... INFO : 2022-02-25 19:15:22Z - Repackage was successful. INFO : 2022-02-25 19:15:22Z - Promoting InedoReleases/Otter.Service 3.0.20 to Products... INFO : 2022-02-25 19:15:22Z - Repackage was successful. INFO : 2022-02-25 19:15:22Z - Repackaging InedoReleases/Otter.Web 3.0.20-rc.3 to 3.0.20 on ( feed)... INFO : 2022-02-25 19:15:22Z - Repackage was successful. INFO : 2022-02-25 19:15:22Z - Promoting InedoReleases/Otter.Web 3.0.20 to Products... INFO : 2022-02-25 19:15:22Z - Repackage was successful. INFO : 2022-02-25 19:15:23Z - Repackaging InedoReleases/Otter.SqlScripts 3.0.20-rc.3 to 3.0.20 on ( feed)... INFO : 2022-02-25 19:15:23Z - Repackage was successful. INFO : 2022-02-25 19:15:23Z - Promoting InedoReleases/Otter.SqlScripts 3.0.20 to Products... INFO : 2022-02-25 19:15:23Z - Repackage was successful. INFO : 2022-02-25 19:15:23Z - Repackaging InedoReleases/Otter.Extensions 3.0.20-rc.3 to 3.0.20 on ( feed)... INFO : 2022-02-25 19:15:23Z - Repackage was successful. INFO : 2022-02-25 19:15:23Z - Promoting InedoReleases/Otter.Extensions 3.0.20 to Products... INFO : 2022-02-25 19:15:23Z - Repackage was successful. INFO : 2022-02-25 19:15:23Z - Repackaging InedoReleases/Otter.RompPack 3.0.20-rc.3 to 3.0.20 on ( feed)... INFO : 2022-02-25 19:15:23Z - Repackage was successful. INFO : 2022-02-25 19:15:23Z - Promoting InedoReleases/Otter.RompPack 3.0.20 to Products... INFO : 2022-02-25 19:15:24Z - Repackage was successful. INFO : 2022-02-25 19:15:24Z - Tag 'https://gitlab.com/inedo/Otter.git' as 'Otter-3.0.20.3'... INFO : 2022-02-25 19:15:26Z - Tag complete. INFO : 2022-02-25 19:15:26Z - Variable set. INFO : 2022-02-25 19:15:26Z - Template applied. INFO : 2022-02-25 19:15:27Z - Package lzma-sfx v19.0.0 will be installed. INFO : 2022-02-25 19:15:27Z - Downloading package... INFO : 2022-02-25 19:15:27Z - Package installed from file. INFO : 2022-02-25 19:15:27Z - Package installation complete. INFO : 2022-02-25 19:15:27Z - Package InedoReleases/DesktopHub v1.3.7 will be installed. INFO : 2022-02-25 19:15:27Z - Downloading package... INFO : 2022-02-25 19:15:27Z - Package installed from file. INFO : 2022-02-25 19:15:27Z - Package installation complete. INFO : 2022-02-25 19:15:27Z - Creating file... INFO : 2022-02-25 19:15:27Z - C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E195062\installer\hub\DesktopHub.config file created. INFO : 2022-02-25 19:15:27Z - Creating file... INFO : 2022-02-25 19:15:27Z - C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E195062\installer\config.txt file created. INFO : 2022-02-25 19:15:27Z - Downloading https://proget.inedo.com/upack/PrereleaseProducts/download/InedoReleases/Otter/3.0.20 to ~\installer\hub\Packages\Otter-3.0.20.upack... INFO : 2022-02-25 19:15:30Z - Server responded with status code 200 - OK INFO : 2022-02-25 19:15:34Z - HTTP file download completed. INFO : 2022-02-25 19:15:34Z - Deleted 12 files and 0 directories. INFO : 2022-02-25 19:15:34Z - Executing C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E195062\installer\7za.exe... INFO : 2022-02-25 19:15:58Z - INFO : 2022-02-25 19:15:58Z - 7-Zip (a) 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21 INFO : 2022-02-25 19:15:58Z - INFO : 2022-02-25 19:15:58Z - Scanning the drive: INFO : 2022-02-25 19:15:58Z - 30 files, 58976967 bytes (57 MiB) INFO : 2022-02-25 19:15:58Z - INFO : 2022-02-25 19:15:58Z - Creating archive: ..\InedoHub.7z INFO : 2022-02-25 19:15:58Z - INFO : 2022-02-25 19:15:58Z - Add new data to archive: 30 files, 58976967 bytes (57 MiB) INFO : 2022-02-25 19:15:58Z - INFO : 2022-02-25 19:15:58Z - INFO : 2022-02-25 19:15:58Z - Files read from disk: 30 INFO : 2022-02-25 19:15:58Z - Archive size: 48317793 bytes (47 MiB) INFO : 2022-02-25 19:15:58Z - Everything is Ok INFO : 2022-02-25 19:15:58Z - Process exited with code: 0 (success) INFO : 2022-02-25 19:15:58Z - Executing C:\Windows\system32\cmd.exe... INFO : 2022-02-25 19:15:58Z - 7zS2.sfx INFO : 2022-02-25 19:15:58Z - config.txt INFO : 2022-02-25 19:15:58Z - InedoHub.7z INFO : 2022-02-25 19:15:58Z - 1 file(s) copied. INFO : 2022-02-25 19:15:58Z - Process exited with code: 0 (success) INFO : 2022-02-25 19:15:58Z - Signing C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E195062\installer\OtterInstaller3.0.20_Offline.exe... INFO : 2022-02-25 19:15:59Z - Transferring C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E195062\installer\OtterInstaller3.0.20_Offline.exe to downloads/otter/OtterInstaller3.0.20_Offline.exe (46.1 MB)... INFO : 2022-02-25 19:18:05Z - Ensuring "Fix version" for project Otter has a version 3.0.20 that is released and archived... INFO : 2022-02-25 19:18:06Z - Version 3.0.20 update complete. INFO : 2022-02-25 19:18:07Z - Stopping service Otter_3_0_20_3... INFO : 2022-02-25 19:18:07Z - Service is stopped. INFO : 2022-02-25 19:18:07Z - Stopping service Otter_3_0_20_3_Web... INFO : 2022-02-25 19:18:07Z - Service is stopped. ERROR: 2022-02-25 19:18:07Z - Unhandled exception: System.UnauthorizedAccessException: Access to the path 'C:\Websites\CI\Otter.3.0.20.3\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-02-25 19:18:07Z - Sleeping for 5 seconds... INFO : 2022-02-25 19:18:12Z - Done sleeping. INFO : 2022-02-25 19:18:12Z - Deleted directory C:\Websites\CI\Otter.3.0.20.3. INFO : 2022-02-25 19:18:12Z - Executing database statement: DROP DATABASE IF EXISTS Otter_3_0_20_3 ERROR: 2022-02-25 19:18:32Z - Unhandled exception: System.Data.SqlClient.SqlException (0x80131904): Cannot drop database "Otter_3_0_20_3" 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:67f55d2b-c12c-4e8a-b9c4-97ed50d4d669 Error Number:3702,State:4,Class:16 WARN : 2022-02-25 19:18:32Z - Failed to drop the Otter_3_0_20_3 database. INFO : 2022-02-25 19:18:34Z - otter-3-0-20-3 INFO : 2022-02-25 19:18:34Z - otter-sql-3-0-20-3 INFO : 2022-02-25 19:18:34Z - Untagged: proget.inedo.com/productimages/inedo/otter:3.0.20-ci.3 INFO : 2022-02-25 19:18:34Z - Untagged: proget.inedo.com/productimages/inedo/otter@sha256:7f17d4587f0dba45e7ccfe74161f5bec0b7791205c8ee069f01d852fee08d79d INFO : 2022-02-25 19:18:34Z - Deleted: sha256:bc31a57a74eb50a758f2d4cb818eb322a780519c72ed050a976801e923e58939 INFO : 2022-02-25 19:18:34Z - Deleted: sha256:ebcc5a952fdab1bfa944fac4fde4bf5843c5d81a5381502eac59f67007f2038c INFO : 2022-02-25 19:18:34Z - Deleted: sha256:c4290c21579a3e36f214e0b99fb4fa316a469a943ddaa9800fc4a5bb288004e5 INFO : 2022-02-25 19:18:34Z - Deleted: sha256:96547a178f05be9c282ead72dc85359e38a6224c9e278531c5a8f7851e124a75 INFO : 2022-02-25 19:18:34Z - Deleted: sha256:041bff1a73b90f5b42e06361503d10b9e8ba88cde6424657442c432ae89d00a5 INFO : 2022-02-25 19:18:34Z - Deleted: sha256:279916254d81a960f0257ff2f7cb0b68e94f03057d5a17b0694204fdbaa6521b INFO : 2022-02-25 19:18:34Z - Deleted: sha256:f18b02b14138b6f9808f9843cc645e2edd64b02ca1c87e671355f56d1b4b5ec6