-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error compiling test apps - Error downloading Microsoft_Tests-ERM_24.0.0.0.app #3733
Comments
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.
|
The log you posted in 1026 doesn't has:
meaning that it will actually fail on:
You should set InstalltestLibraries to true as the first thing. But... What you need is also to set installTestApps to the path of the ERM tests. I think you can specify the path inside the container preceeded by a colon, like:
Please find the right path of that. |
Hi Freddy, I've set the setting InstalltestLibraries to True and include the ERM app in the installTestApps setting. Unfortunately the pipeline fails. See the attached log.Pipeline script v2.txt Benno |
As you can see in the log, the test libraries are now successfully installed and the failing part is when you then install the ERM app, it is taken from your own folder and that fails - not sure why. |
Added these settings to one of my repos:
(the last is because I don't have a reference to ERM) and I get:
See: https://github.com/freddydk/app1/actions/runs/11435074344/job/31809818428 |
Hi Freddy, Unfortunately this is not working. I've tried several settings but still a problem with the ERM file. Do you still have some suggestions? Benno |
:-) Unfortunately, I don't know what's wrong in your code/repo - I have created a repo, which shows that it works as expected - not sure what more I can do. My recommendation (for everybody) is to move to AL-Go for GitHub or another managed DevOps solution. |
You could (if you want me to give any advice) create a public repository on GitHub, which contains the files needed to repro this (basically use github as a packaging mechanism) - including a script and some sample apps, which provokes this problem. Then I can have a look and see what's wrong. |
Hi Freddy, The problem is fixed. The issues was caused by the parameter useDevEndpoint which was set on True in the DevOps pipeline. Took al lot of time to figure this out. Thank you really much for your support. Benno |
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.
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
ate success: 404 (Not Found)."
Response status code does not indicate success: 404 (Not Found).
##[error]PowerShell exited with code '1'.
Finishing: Run Pipeline
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
The text was updated successfully, but these errors were encountered: