microsoft / navcontainerhelper

Official Microsoft repository for BcContainerHelper, a PowerShell module, which makes it easier to work with Business Central Containers on Docker.
MIT License
383 stars 247 forks source link

Error compiling test apps - Error downloading Microsoft_Tests-ERM_24.0.0.0.app #3733

Open BennoVendrig opened 5 hours ago

BennoVendrig commented 5 hours ago

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!

Describe the issue Normal apps are compiling correctly in a DevOps pipeline but the testapp is compiling with de dependency of the Microsoft_Tests-ERM app. I've done serveral settings but unfortunately nothing is working.

The strange part is in the resolving dependencies area before starting to compile the test apps the dependency is known. Image

Below the error:

Adding dependency to Base Application from Microsoft Processing dependency Microsoft_System_24.0.0.0 () Downloading symbols: Microsoft_System_24.0.25600.0.app Url : http://172.22.41.84:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=24.0.0.0&tenant=default Processing dependency Axians Healthcare_Zorg ERP_23.0.0000.0 (ea1c5c22-9d11-48c8-b7b8-5ed387fc5acf) Downloading symbols: Axians Healthcare_Zorg ERP_24.10.20241019.8598.app Url : http://172.22.41.84:7049/BC/dev/packages?appId=ea1c5c22-9d11-48c8-b7b8-5ed387fc5acf&versionText=23.0.0000.0&tenant=default Processing dependency Microsoft_Test Runner_24.0.0.0 (23de40a6-dfe8-4f80-80db-d70f83ce8caf) Downloading symbols: Microsoft_Test Runner_24.5.23489.25631.app Url : http://172.22.41.84:7049/BC/dev/packages?appId=23de40a6-dfe8-4f80-80db-d70f83ce8caf&versionText=24.0.0.0&tenant=default Processing dependency Microsoft_Tests-TestLibraries_24.0.0.0 (5d86850b-0d76-4eca-bd7b-951ad998e997) Downloading symbols: Microsoft_Tests-TestLibraries_24.5.23489.25631.app Url : http://172.22.41.84:7049/BC/dev/packages?appId=5d86850b-0d76-4eca-bd7b-951ad998e997&versionText=24.0.0.0&tenant=default Adding dependency to Permissions Mock from Microsoft Processing dependency Microsoft_System Application Test Library_24.0.0.0 (9856ae4f-d1a7-46ef-89bb-6ef056398228) Downloading symbols: Microsoft_System Application Test Library_24.5.23489.25631.app Url : http://172.22.41.84:7049/BC/dev/packages?appId=9856ae4f-d1a7-46ef-89bb-6ef056398228&versionText=24.0.0.0&tenant=default Processing dependency Microsoft_Library Variable Storage_24.0.0.0 (5095f467-0a01-4b99-99d1-9ff1237d286f) Downloading symbols: Microsoft_Library Variable Storage_24.5.23489.25631.app Url : http://172.22.41.84:7049/BC/dev/packages?appId=5095f467-0a01-4b99-99d1-9ff1237d286f&versionText=24.0.0.0&tenant=default Processing dependency Microsoft_Any_24.0.0.0 (e7320ebb-08b3-4406-b1ec-b4927d3e280b) Downloading symbols: Microsoft_Any_24.5.23489.25631.app Url : http://172.22.41.84:7049/BC/dev/packages?appId=e7320ebb-08b3-4406-b1ec-b4927d3e280b&versionText=24.0.0.0&tenant=default Processing dependency Microsoft_Library Assert_24.0.0.0 (dd0be2ea-f733-4d65-bb34-a28f4624fb14) Downloading symbols: Microsoft_Library Assert_24.5.23489.25631.app Url : http://172.22.41.84:7049/BC/dev/packages?appId=dd0be2ea-f733-4d65-bb34-a28f4624fb14&versionText=24.0.0.0&tenant=default Processing dependency Microsoft_Tests-ERM_24.0.0.0 (fa3e2564-a39e-417f-9be6-c0dbe3d94069) Downloading symbols: Microsoft_Tests-ERM_24.0.0.0.app Url : http://172.22.41.84:7049/BC/dev/packages?appId=fa3e2564-a39e-417f-9be6-c0dbe3d94069&versionText=24.0.0.0&tenant=default ERROR Exception calling "GetResult" with "0" argument(s): "Response status code does not indicate success: 404 (Not Found)." Compile-AppInBcContainer Telemetry Correlation Id: a2a3d34d-2c1e-4556-9cbf-64d6086ec73f Removing container Run-AlPipeline Telemetry Correlation Id: a0d4ec2f-8130-4a7d-b189-65c44b71f971

[error]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). At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.26\AppHandling\Compile-AppInNavContainer.ps1:465 char:25

Scripts used to create container and cause the issue { "name": "CI Pipeline Incremental Zorg ERP", "memoryLimit": "12G", "installApps": "e:\_CICD script\Continia\BC 23.0 (BC 2023 Wave 2 CU1)\App\Core\Core 9.0.1.185245 - 23.0 (BC 2023 Wave 2).app, e:\_CICD script\Continia\BC 23.0 (BC 2023 Wave 2 CU1)\App\Delivery Network\CDN 6.0.0.181398 - 23.0 (BC 2023 Wave 2).app, e:\_CICD script\Continia\BC 23.0 (BC 2023 Wave 2 CU1)\App\Connectivity App\CCA 2.0.0.397545 - 23.0 (BC 2023 Wave 2).app, e:\_CICD script\Continia\BC 23.0 (BC 2023 Wave 2 CU1)\App\Document Capture\DC 12.0.2.195520 - 23.0 (BC 2023 Wave 2).app, e:\Continia\BC 23.0 (BC 2023 Wave 2 CU1)\App\Document Capture\DC on-premises 12.0.2.195520 - 23.0 (BC 2023 Wave 2).app", "previousApps": "", "baseFolder": "e:\Agent_work2\1\s\", "appFolders": "app, appPrintManagement, appContinia, appAPI", "testFolders": "testapp", "installTestApps": "", "installTestRunner": false, "installTestFramework": false, "installTestLibraries": false, "doNotRunTests": true, "installPerformanceToolkit": false, "doNotSignApps": true, "enableCodeCop": true, "enableAppSourceCop": true, "enablePerTenantExtensionCop": false, "enableUICop": true, "bcContainerHelperVersion": "6.0.26", "additionalCountries": "NL", "appSourceCopSupportedCountries": "NL", "appSourceCopMandatoryAffixes": "ZRG, PZRG, CZRG, TZRG, AZRG", "vaultNameForLocal": "BuildVariablesAL", "keepContainer": false, "reUseContainer": false, "versions": [ { "version": "ci", "artifact": "//24/nl/Latest", "cacheImage": true, "CreateRuntimePackages": true }, { "version": "current", "artifact": "///nl/Current", "CreateRuntimePackages": true }, { "version": "cloud", "artifact": "///nl/Current" }, { "version": "nextmajor", "artifact": "///nl/NextMajor/{INSIDERSASTOKEN}" }, { "version": "nextminor", "artifact": "///nl/NextMinor/{INSIDERSASTOKEN}" } ] }

Full output of scripts NavContainerHelper is version 6.0.26 with 12G setting NavContainerHelper is running as administrator Host is Microsoft Windows Server 2019 Docker Client Version is 19.03.14 Docker Server Version is 19.03.14

Additional context

similar-issues-ai[bot] commented 5 hours ago

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.