AL-Go icon indicating copy to clipboard operation
AL-Go copied to clipboard

Action is failing because of dependency to Microsoft Test App "Tests-SCM" / Run Microsoft Test in Pipeline

Open DavidHofschneider opened this issue 2 years ago • 1 comments

The goal is to run Microsoft Tests during the build process.

I tried to add a dependency to my own Test App. {

  "id":  "6f0b528b-a4de-4ccd-a948-d1350e228e4a",
  "name":  "Tests-SCM",
  "publisher":  "Microsoft",
  "version":  "23.0.0.0"
}

Output:

Compiling D:\a\BC\BC\InternationalTradeExtension.Test Using Symbols Folder: D:\a\BC\BC.packages Processing dependency Microsoft_Application_22.0.0.0 () Dependency App exists Processing dependency Microsoft_System_1.0.0.0 () Dependency App exists Processing dependency Microsoft_Library Assert_22.0.0.0 (dd0be2ea-f733-4d65-bb34-a28f4624fb14) Downloading symbols: Microsoft_Library Assert_23.0.12034.13263.app Url : http://172.29.183.95:7049/BC/dev/packages?appId=dd0be2ea-f733-4d65-bb34-a28f4624fb14&versionText=22.0.0.0&tenant=default Downloading using WebClient Processing dependency Microsoft_Any_22.0.0.0 (e7320ebb-08b3-4406-b1ec-b4927d3e280b) Downloading symbols: Microsoft_Any_23.0.12034.13263.app Url : http://172.29.183.95:7049/BC/dev/packages?appId=e7320ebb-08b3-4406-b1ec-b4927d3e280b&versionText=22.0.0.0&tenant=default Downloading using WebClient Processing dependency CSS Computer-Systems-Support GmbH_International Trade Extension_23.0.0.4 (1ab16fc6-81fd-4dad-a9ee-9946203a6064) Dependency App exists Processing dependency Microsoft_Tests-TestLibraries_23.0.0.0 (5d86850b-0d76-4eca-bd7b-951ad998e997) Downloading symbols: Microsoft_Tests-TestLibraries_23.0.12034.13263.app Url : http://172.29.183.95:7049/BC/dev/packages?appId=5d86850b-0d76-4eca-bd7b-951ad998e997&versionText=23.0.0.0&tenant=default Downloading using WebClient Adding dependency to System Application Test Library from Microsoft Adding dependency to Library Variable Storage from Microsoft Adding dependency to Permissions Mock from Microsoft Processing dependency Microsoft_Test Runner_23.0.0.0 (23de40a6-dfe8-4f80-80db-d70f83ce8caf) Downloading symbols: Microsoft_Test Runner_23.0.12034.13263.app Url : http://172.29.183.95:7049/BC/dev/packages?appId=23de40a6-dfe8-4f80-80db-d70f83ce8caf&versionText=23.0.0.0&tenant=default Downloading using WebClient Processing dependency Microsoft_Tests-SCM_23.0.0.0 (6f0b528b-a4de-4ccd-a948-d1350e228e4a) Downloading symbols: Microsoft_Tests-SCM_23.0.0.0.app Url : http://172.29.183.95:7049/BC/dev/packages?appId=6f0b528b-a4de-4ccd-a948-d1350e228e4a&versionText=23.0.0.0&tenant=default Downloading using WebClient ERROR Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found." Compile-AppInBcContainer Telemetry Correlation Id: 51e0be69-e97d-4649-9f60-f71f5a4b8d18 Removing container Run-AlPipeline Telemetry Correlation Id: a35e14cd-d657-4a3a-934c-7f820772d0fc AL-Go action ran: RunPipeline Telemetry Correlation Id: 72ff3317-8339-411c-9707-bb801c71741f Error: Unexpected error when running action. Error Message: Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found." Not Found No published package matches the provided arguments., StackTrace: at Compile-AppInBcContainer, C:\ProgramData\BcContainerHelper\6.0.2\BcContainerHelper\AppHandling\Compile-AppInNavContainer.ps1: line 490 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.2\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 784 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.2\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1906 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.2\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1452 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.2\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1445 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.2\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 909 <- at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.2\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 871 <- at <ScriptBlock>, D:\a_actions\microsoft\AL-Go-Actions\v4.0\RunPipeline\RunPipeline.ps1: line 371 <- at <ScriptBlock>, D:\a_temp\ee180b6d-870d-49ac-96fc-3ca72b408be8.ps1: line 4 <- at <ScriptBlock>, <No file>: line 1 Error: Process completed with exit code 1.

DavidHofschneider avatar Dec 11 '23 19:12 DavidHofschneider

Sorry for the late reply here. I will investigate how to best run Microsoft tests as part of your pipelines and document that in a scenario here on AL-Go.

freddydk avatar Apr 15 '24 05:04 freddydk