microsoft / AL-Go

The plug-and-play DevOps solution for Business Central app development on GitHub
MIT License
280 stars 115 forks source link

Unexpected error when running CICD Action during build process #1117

Closed donah001 closed 3 months ago

donah001 commented 3 months ago
2024-06-25T00:31:02.2338105Z - Microsoft__Exclude_Microsoft Dynamics 365 - SmartList_23.5.16502.16887.app (succeeded using codeanalysis)
2024-06-25T00:31:02.2340625Z - Microsoft__Exclude_Onboarding Signals_23.5.16502.16887.app (succeeded using codeanalysis)
2024-06-25T00:31:02.2342291Z - Microsoft__Exclude_PlanConfiguration__23.5.16502.16887.app (succeeded using codeanalysis)
2024-06-25T00:31:02.2343750Z - Microsoft__Exclude_ReportLayouts_23.5.16502.16887.app (succeeded using codeanalysis)
2024-06-25T00:31:02.2345788Z - Microsoft__Exclude_SyncBaseApp__23.5.16502.16887.app (succeeded using codeanalysis)
2024-06-25T00:31:02.2347542Z - System.app (succeeded using codeanalysis)
2024-06-25T00:31:02.7304114Z ##[endgroup]
2024-06-25T00:31:02.7420278Z CompilerFolder C:\ProgramData\BcContainerHelper\compiler\bc9654382718 created
2024-06-25T00:31:02.9787091Z 
2024-06-25T00:31:02.9791873Z Creating container took 33 seconds
2024-06-25T00:31:02.9795931Z ##[endgroup]
2024-06-25T00:31:02.9797652Z ##[group]Resolving dependencies
2024-06-25T00:31:02.9798627Z 
2024-06-25T00:31:02.9799177Z  _____                _       _                   _                           _                 _
2024-06-25T00:31:02.9801618Z |  __ \              | |     (_)                 | |                         | |               (_)
2024-06-25T00:31:02.9802785Z | |__) |___ ___  ___ | |_   ___ _ __   __ _    __| | ___ _ __   ___ _ __   __| | ___ _ __   ___ _  ___ ___
2024-06-25T00:31:02.9804941Z |  _  // _ \ __|/ _ \| \ \ / / | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '_ \ / _` |/ _ \ '_ \ / __| |/ _ \ __|
2024-06-25T00:31:02.9806138Z | | \ \  __\__ \ (_) | |\ V /| | | | | (_| | | (_| |  __/ |_) |  __/ | | | (_| |  __/ | | | (__| |  __\__ \
2024-06-25T00:31:02.9807837Z |_|  \_\___|___/\___/|_| \_/ |_|_| |_|\__, |  \__,_|\___| .__/ \___|_| |_|\__,_|\___|_| |_|\___|_|\___|___/
2024-06-25T00:31:02.9809526Z                                        __/ |            | |
2024-06-25T00:31:02.9811311Z                                       |___/             |_|
2024-06-25T00:31:02.9811920Z 
2024-06-25T00:31:02.9812223Z Sorted App folders
2024-06-25T00:31:02.9812936Z - D:\a\alairhomebc\alairhomebc\App
2024-06-25T00:31:02.9813614Z External dependencies
2024-06-25T00:31:02.9814747Z - 23ebd065-b289-4a68-85e3-b8410e360157:E Foqus Canada Inc._SharePoint Connector_3.0.0.143.app
2024-06-25T00:31:02.9817141Z - b7174aae-753c-4e71-bacb-d973995dce5e:Microsoft__Exclude_ReportLayouts_21.0.0.0.app
2024-06-25T00:31:02.9819491Z - a01864f8-9c3f-42f6-8328-8d7be1ce3e20:Microsoft__Exclude_Master_Data_Management_21.0.0.0.app
2024-06-25T00:31:02.9821029Z - 437dbf0e-84ff-417a-965d-ed2bb9650972:Microsoft_Base Application_23.0.0.0.app
2024-06-25T00:31:02.9822464Z - 63ca2fa4-4f03-4f2b-a480-172fef340d3f:Microsoft_System Application_23.0.0.0.app
2024-06-25T00:31:02.9825190Z Sorted TestApp folders
2024-06-25T00:31:02.9825845Z - None
2024-06-25T00:31:02.9826636Z ##[endgroup]
2024-06-25T00:31:02.9827423Z ##[group]Installing apps
2024-06-25T00:31:02.9827868Z 
2024-06-25T00:31:02.9828155Z   _____           _        _ _ _
2024-06-25T00:31:02.9828792Z  |_   _|         | |      | | (_)
2024-06-25T00:31:02.9830113Z    | |  _ __  ___| |_ __ _| | |_ _ __   __ _    __ _ _ __  _ __  ___
2024-06-25T00:31:02.9831796Z    | | | '_ \/ __| __/ _` | | | | '_ \ / _` |  / _` | '_ \| '_ \/ __|
2024-06-25T00:31:02.9833071Z   _| |_| | | \__ \ |_ (_| | | | | | | | (_| | | (_| | |_) | |_) \__ \
2024-06-25T00:31:02.9834061Z  |_____|_| |_|___/\__\__,_|_|_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
2024-06-25T00:31:02.9834898Z                                         __/ |       | |   | |
2024-06-25T00:31:02.9835688Z                                        |___/        |_|   |_|
2024-06-25T00:31:02.9837028Z 
2024-06-25T00:31:03.2670651Z Downloading C:\Users\runneradmin\AppData\Local\Temp\c1e26e83-a6b9-43e7-9b66-ca1cf061f86e\SharePoint Connector.BC23.4.RunTime.v5.0.0.283.app
2024-06-25T00:31:05.1839985Z Error downloading..., retrying in 5 seconds...
2024-06-25T00:31:11.5666048Z ##[group]Removing container
2024-06-25T00:31:13.0779399Z ##[endgroup]
2024-06-25T00:31:14.3739550Z Run-AlPipeline Telemetry Correlation Id: 3f48f069-53a5-4be4-8973-d3e49e366f4e
2024-06-25T00:31:14.6940088Z AL-Go action ran: RunPipeline Telemetry Correlation Id: 7788e309-0e04-429e-82f5-e129e1cb4ff8
2024-06-25T00:31:14.8487336Z ##[error]Unexpected error when running action. Error Message: Exception calling "GetResult" with "0" argument(s): "Response status code does not indicate success: 404 (Not Found)." Response status code does not indicate success: 404 (Not Found)., StackTrace: at Download-File, C:\ProgramData\BcContainerHelper\6.0.19\BcContainerHelper\Common\Download-File.ps1: line 96 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.19\BcContainerHelper\HelperFunctions.ps1: line 493 <- at CopyAppFilesToFolder, C:\ProgramData\BcContainerHelper\6.0.19\BcContainerHelper\HelperFunctions.ps1: line 487 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.19\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1212 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.19\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1191 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.19\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1180 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.19\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 947 <- at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.19\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 909 <- at <ScriptBlock>, D:\a\_actions\microsoft\AL-Go-Actions\v5.1\RunPipeline\RunPipeline.ps1: line 361 <- at <ScriptBlock>, D:\a\_temp\65422b90-d339-4e26-8296-261012fd7d58.ps1: line 4 <- at <ScriptBlock>, <No file>: line 1
2024-06-25T00:31:16.0647493Z ##[error]Process completed with exit code 1.
2024-06-25T00:31:16.1000102Z ##[group]Run microsoft/AL-Go-Actions/CalculateArtifactNames@v5.1
freddydk commented 3 months ago

Looks like the URL you have in installapps for downloading SharePoint Connector runtime package isn't working:

Downloading C:\Users\runneradmin\AppData\Local\Temp\c1e26e83-a6b9-43e7-9b66-ca1cf061f86e\SharePoint Connector.BC23.4.RunTime.v5.0.0.283.app
Error downloading..., retrying in 5 seconds...

Should I be looking for other problems? Hard to determine when no other information is provided.

donah001 commented 3 months ago

Issue resolved with updated referenced sharepoint connection version. Thanks

Eagle-BC commented 3 months ago

image Getting Same error..please help

freddydk commented 3 months ago

image Getting Same error..please help

I saw you also created a new issue, which I responded to. Please include much more info if you want help when creating issues - we can see an error, but we have no idea why it happens.

Eagle-BC commented 3 months ago

Sure