INFO : 2023-03-07 03:04:54Z - Acquiring server... INFO : 2023-03-07 03:04:54Z - Server 'winbuildsv1' acquired. INFO : 2023-03-07 03:04:55Z - Found 2 issues. INFO : 2023-03-07 03:04:55Z - Changinge state on issues to Completed... INFO : 2023-03-07 03:04:55Z - State change applied. INFO : 2023-03-07 03:04:55Z - Template applied. INFO : 2023-03-07 03:04:55Z - Performing HTTP POST request to https://my.inedo.com/services/legacy/releases/bm/create... INFO : 2023-03-07 03:04:55Z - Server responded with status code 200 - OK INFO : 2023-03-07 03:04:56Z - Uploading file notes.xml to https://my.inedo.com/services/legacy/releases/bm/upload-notes?releaseNumber=7.0.26... INFO : 2023-03-07 03:04:56Z - Server responded with status code 200 - OK INFO : 2023-03-07 03:04:56Z - HTTP file upload completed. INFO : 2023-03-07 03:04:56Z - Repackaging InedoReleases/BuildMaster.Service 7.0.26-rc.2 to 7.0.26 on PrereleaseProducts (PrereleaseProducts feed)... INFO : 2023-03-07 03:04:56Z - Repackage was successful. INFO : 2023-03-07 03:04:56Z - Promoting InedoReleases/BuildMaster.Service 7.0.26 to Products... INFO : 2023-03-07 03:04:56Z - Promotion was successful. INFO : 2023-03-07 03:04:56Z - Repackaging InedoReleases/BuildMaster.Web 7.0.26-rc.2 to 7.0.26 on PrereleaseProducts (PrereleaseProducts feed)... INFO : 2023-03-07 03:04:56Z - Repackage was successful. INFO : 2023-03-07 03:04:56Z - Promoting InedoReleases/BuildMaster.Web 7.0.26 to Products... INFO : 2023-03-07 03:04:56Z - Promotion was successful. INFO : 2023-03-07 03:04:56Z - Repackaging InedoReleases/BuildMaster.SqlScripts 7.0.26-rc.2 to 7.0.26 on PrereleaseProducts (PrereleaseProducts feed)... INFO : 2023-03-07 03:04:56Z - Repackage was successful. INFO : 2023-03-07 03:04:56Z - Promoting InedoReleases/BuildMaster.SqlScripts 7.0.26 to Products... INFO : 2023-03-07 03:04:56Z - Promotion was successful. INFO : 2023-03-07 03:04:57Z - Repackaging InedoReleases/BuildMaster.Extensions 7.0.26-rc.2 to 7.0.26 on PrereleaseProducts (PrereleaseProducts feed)... INFO : 2023-03-07 03:04:57Z - Repackage was successful. INFO : 2023-03-07 03:04:57Z - Promoting InedoReleases/BuildMaster.Extensions 7.0.26 to Products... INFO : 2023-03-07 03:04:57Z - Promotion was successful. INFO : 2023-03-07 03:04:57Z - Repackaging InedoReleases/BuildMaster.RompPack 7.0.26-rc.2 to 7.0.26 on PrereleaseProducts (PrereleaseProducts feed)... INFO : 2023-03-07 03:04:57Z - Repackage was successful. INFO : 2023-03-07 03:04:57Z - Promoting InedoReleases/BuildMaster.RompPack 7.0.26 to Products... INFO : 2023-03-07 03:04:57Z - Promotion was successful. INFO : 2023-03-07 03:04:58Z - Updating local repository for https://gitlab.com/inedo/BuildMaster.git... INFO : 2023-03-07 03:04:59Z - Tagging dc3018aef0aff0baa077cc349ec9b5aa0b716beb with BuildMaster-7.0.26.2... INFO : 2023-03-07 03:05:00Z - Template applied. INFO : 2023-03-07 03:05:00Z - Sleeping for 30 seconds... INFO : 2023-03-07 03:05:30Z - Done sleeping. INFO : 2023-03-07 03:05:31Z - Downloading package... INFO : 2023-03-07 03:05:31Z - Installing package to C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E313853\installer... INFO : 2023-03-07 03:05:31Z - Package installed. INFO : 2023-03-07 03:05:31Z - Package installation complete. INFO : 2023-03-07 03:05:31Z - Downloading package... INFO : 2023-03-07 03:05:31Z - Installing package to C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E313853\installer\hub... INFO : 2023-03-07 03:05:31Z - Package installed. INFO : 2023-03-07 03:05:31Z - Package installation complete. INFO : 2023-03-07 03:05:31Z - Creating file... INFO : 2023-03-07 03:05:31Z - C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E313853\installer\hub\DesktopHub.config file created. INFO : 2023-03-07 03:05:31Z - Creating file... INFO : 2023-03-07 03:05:31Z - C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E313853\installer\config.txt file created. INFO : 2023-03-07 03:05:31Z - Downloading https://proget1000.inedo.com/upack/PrereleaseProducts/download/InedoReleases/BuildMaster/7.0.26 to ~\installer\hub\Packages\BuildMaster-7.0.26.upack... INFO : 2023-03-07 03:05:37Z - Server responded with status code 200 - OK INFO : 2023-03-07 03:05:39Z - HTTP file download completed. INFO : 2023-03-07 03:05:39Z - Deleted 12 files and 0 directories. INFO : 2023-03-07 03:05:39Z - Executing C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E313853\installer\7za.exe... INFO : 2023-03-07 03:06:01Z - INFO : 2023-03-07 03:06:01Z - 7-Zip (a) 19.00 (x86) : Copyright (c) 1999-2018 Igor Pavlov : 2019-02-21 INFO : 2023-03-07 03:06:01Z - INFO : 2023-03-07 03:06:01Z - Scanning the drive: INFO : 2023-03-07 03:06:01Z - 30 files, 99082130 bytes (95 MiB) INFO : 2023-03-07 03:06:01Z - INFO : 2023-03-07 03:06:01Z - Creating archive: ..\InedoHub.7z INFO : 2023-03-07 03:06:01Z - INFO : 2023-03-07 03:06:01Z - Add new data to archive: 30 files, 99082130 bytes (95 MiB) INFO : 2023-03-07 03:06:01Z - INFO : 2023-03-07 03:06:01Z - INFO : 2023-03-07 03:06:01Z - Files read from disk: 30 INFO : 2023-03-07 03:06:01Z - Archive size: 77343712 bytes (74 MiB) INFO : 2023-03-07 03:06:01Z - Everything is Ok INFO : 2023-03-07 03:06:01Z - Process exited with code: 0 (success) INFO : 2023-03-07 03:06:01Z - Executing C:\Windows\system32\cmd.exe... INFO : 2023-03-07 03:06:02Z - 7zS2.sfx INFO : 2023-03-07 03:06:02Z - config.txt INFO : 2023-03-07 03:06:02Z - InedoHub.7z INFO : 2023-03-07 03:06:02Z - 1 file(s) copied. INFO : 2023-03-07 03:06:02Z - Process exited with code: 0 (success) INFO : 2023-03-07 03:06:02Z - Signing C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E313853\installer\BuildMasterInstaller7.0.26_Offline.exe... INFO : 2023-03-07 03:06:04Z - Transferring C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E313853\installer\BuildMasterInstaller7.0.26_Offline.exe to downloads/buildmaster/BuildMasterInstaller7.0.26_Offline.exe (73.8 MB)... INFO : 2023-03-07 03:08:25Z - Ensuring "Fix version" for project BuildMaster has a version 7.0.26 that is released and archived... ERROR: 2023-03-07 03:08:26Z - Unhandled exception: System.InvalidOperationException: The requested operation requires an element of type 'String', but the target element has type 'Object'. at System.Text.Json.JsonDocument.TextEquals(Int32 index, ReadOnlySpan`1 otherUtf8Text, Boolean isPropertyName, Boolean shouldUnescape) at System.Text.Json.JsonDocument.TextEquals(Int32 index, ReadOnlySpan`1 otherText, Boolean isPropertyName) at Inedo.Extensions.YouTrack.YouTrackClient.g__getFieldId|13_0(JsonDocument doc, String name)+MoveNext() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E285755\Src\YouTrack\InedoExtension\YouTrackClient.cs:line 301 at Inedo.Extensions.YouTrack.YouTrackClient.GetPaginatedListAsync[T](String relativeUrl, Func`2 getItems, CancellationToken cancellationToken)+MoveNext() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E285755\Src\YouTrack\InedoExtension\YouTrackClient.cs:line 361 at Inedo.Extensions.YouTrack.YouTrackClient.GetPaginatedListAsync[T](String relativeUrl, Func`2 getItems, CancellationToken cancellationToken)+System.Threading.Tasks.Sources.IValueTaskSource.GetResult() at Inedo.Extensions.YouTrack.YouTrackClient.FirstOrDefaultAsync[T](IAsyncEnumerable`1 values) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E285755\Src\YouTrack\InedoExtension\YouTrackClient.cs:line 323 at Inedo.Extensions.YouTrack.YouTrackClient.FirstOrDefaultAsync[T](IAsyncEnumerable`1 values) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E285755\Src\YouTrack\InedoExtension\YouTrackClient.cs:line 323 at Inedo.Extensions.YouTrack.YouTrackClient.EnsureVersionAsync(String versionField, String projectName, String version, Nullable`1 released, Nullable`1 archived, CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E285755\Src\YouTrack\InedoExtension\YouTrackClient.cs:line 219 at Inedo.Extensions.YouTrack.Operations.EnsureYouTrackVersionOperation.ExecuteAsync(IOperationExecutionContext context, YouTrackClient client) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E285755\Src\YouTrack\InedoExtension\Operations\EnsureYouTrackVersionOperation.cs:line 83 at Inedo.Extensions.YouTrack.Operations.YouTrackOperationBase.ExecuteAsync(IOperationExecutionContext context) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E285755\Src\YouTrack\InedoExtension\Operations\YouTrackOperationBase.cs:line 51 at Inedo.BuildMaster.Windows.ServiceApplication.Executions.PlanExecuter.OtterScriptExecuter.Inedo.ExecutionEngine.Executer.IExecutionHostEnvironment.ExecuteActionAsync(ActionStatement actionStatement, IExecuterContext context) WARN : 2023-03-07 03:08:26Z - Failed to automatically archive release. INFO : 2023-03-07 03:08:27Z - Stopping service BuildMaster_7_0_26_2... INFO : 2023-03-07 03:08:27Z - Stopping service BuildMaster_7_0_26_2_Web... ERROR: 2023-03-07 03:08:27Z - Unhandled exception: System.UnauthorizedAccessException: Access to the path 'C:\Websites\CI\BuildMaster.7.0.26.2\Service\BuildMaster.dll' is denied. at Inedo.Agents.Commands.InvokeMethodCommand.GetResponseAsync() at Inedo.Agents.AgentCommand`1.Inedo.Agents.IAgentCommandWithResponse.ExecuteAsync(Stream responseStream) at Inedo.Agents.AgentCommandDispatcher.ExecuteCommandAsync(AgentCommand command, IClientConnection connection) INFO : 2023-03-07 03:08:27Z - Sleeping for 5 seconds... INFO : 2023-03-07 03:08:32Z - Done sleeping. INFO : 2023-03-07 03:08:32Z - Deleted directory C:\Websites\CI\BuildMaster.7.0.26.2. INFO : 2023-03-07 03:08:32Z - Executing database statement: DROP DATABASE IF EXISTS BuildMaster_7_0_26_2 INFO : 2023-03-07 03:08:33Z - Statement executed successfully. INFO : 2023-03-07 03:08:35Z - buildmaster-7-0-26-2 INFO : 2023-03-07 03:08:36Z - buildmaster-sql-7-0-26-2 ERROR: 2023-03-07 03:08:36Z - Error response from daemon: No such image: proget.inedo.com/productimages/inedo/buildmaster:7.0.26-ci.2 INFO : 2023-03-07 03:08:36Z - Untagged: proget1000.inedo.com/productimages/inedo/buildmaster:7.0.26-ci.2 INFO : 2023-03-07 03:08:36Z - Untagged: proget1000.inedo.com/productimages/inedo/buildmaster@sha256:e1b62edb8b71b7e561f7d87b3697e6a6f222d817f73e953d358550c6422471ef INFO : 2023-03-07 03:08:36Z - Deleted: sha256:dfc99339b791c438d9129d291737b337cf41778b1e89755a45391df1d5edaca7 INFO : 2023-03-07 03:08:36Z - Deleted: sha256:d0c8f4680e76db4b39ccd16a81290b6bde824eab159b9b18947479c8e437bdd2 INFO : 2023-03-07 03:08:36Z - Deleted: sha256:cf655a4510e3108bb7adb2a2b1bee3876e5b4d1a21d622bdda91a070f7846ba8 INFO : 2023-03-07 03:08:36Z - Deleted: sha256:69b488647123fa88b37ee9d734c1e9bb3e6b95a8ab023c0c803034a36f6bdd58 INFO : 2023-03-07 03:08:36Z - Deleted: sha256:3fdd40fcaf4d45c0f179ab4e37edacb3d1f125507aa7004570ec35e755f93f2b INFO : 2023-03-07 03:08:36Z - Deleted: sha256:533f3cb6de6405fbc6dd6da08c19bee9d59f3e54e2f6e83b1d64c1681e248b2c INFO : 2023-03-07 03:08:36Z - Deleted: sha256:4e7bd47e4668c217f6eeba3b515d55d485e069ec297e0d1f5b0d643eb0478c72