Closed buzzwick closed 1 year ago
This issues list is for issues with AL-Go for GitHub, I will transfer the issue to containerhelper.
These apps are definitely available in the container. Not sure why your script cannot download them - for that I would have to have the full of the pipeline.
Apologies for the posting--I am deep in this AL-Go/pipeline development, and overlooked the distinction. I have reproduced the full output of the script below:
2023-01-25T14:27:27.7479158Z ##[section]Starting: Build
2023-01-25T14:27:27.9605860Z ##[section]Starting: Initialize job
2023-01-25T14:27:27.9607527Z Agent name: 'DockerBuild1'
2023-01-25T14:27:27.9607894Z Agent machine name: 'DockerBuild1'
2023-01-25T14:27:27.9608061Z Current agent version: '2.202.1'
2023-01-25T14:27:27.9638666Z Agent running as: 'DockerBuild1$'
2023-01-25T14:27:27.9690534Z Prepare build directory.
2023-01-25T14:27:28.0098296Z Set build variables.
2023-01-25T14:27:28.0126566Z Download all required tasks.
2023-01-25T14:27:28.0376367Z Checking job knob settings.
2023-01-25T14:27:28.0384502Z Finished checking job knob settings.
2023-01-25T14:27:28.0668777Z Start tracking orphan processes.
2023-01-25T14:27:28.0738608Z ##[section]Finishing: Initialize job
2023-01-25T14:27:28.0970081Z ##[section]Starting: Checkout CAI365BC-AppSource@master to s
2023-01-25T14:27:28.1568596Z ==============================================================================
2023-01-25T14:27:28.1569075Z Task : Get sources
2023-01-25T14:27:28.1569483Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2023-01-25T14:27:28.1569697Z Version : 1.0.0
2023-01-25T14:27:28.1569960Z Author : Microsoft
2023-01-25T14:27:28.1570360Z Help : More Information
2023-01-25T14:27:28.1570617Z ==============================================================================
2023-01-25T14:27:29.1144030Z Syncing repository: CAI365BC-AppSource (Git)
2023-01-25T14:27:29.1150819Z Prepending Path environment variable with directory containing 'git.exe'.
2023-01-25T14:27:29.1159691Z ##[command]git version
2023-01-25T14:27:29.1168235Z git version 2.30.2.windows.1
2023-01-25T14:27:29.1169783Z ##[command]git lfs version
2023-01-25T14:27:29.1187040Z git-lfs/2.13.3 (GitHub; windows amd64; go 1.16.2; git a5e65851)
2023-01-25T14:27:29.1189431Z ##[command]git config --get remote.origin.url
2023-01-25T14:27:29.9819287Z ##[command]git clean -ffdx
2023-01-25T14:27:29.9837297Z ##[command]git reset --hard HEAD
2023-01-25T14:27:29.9846875Z HEAD is now at 220e040 Merged PR 264: Changed physical file names to use CAI prefix
2023-01-25T14:27:29.9857856Z ##[command]git config gc.auto 0
2023-01-25T14:27:30.0725300Z ##[command]git config --get-all http.https://CAISoftBC@dev.azure.com/CAISoftBC/CAI365BC-AppSource/_git/CAI365BC-AppSource.extraheader
2023-01-25T14:27:30.1300471Z ##[command]git config --get-all http.extraheader
2023-01-25T14:27:30.1994884Z ##[command]git config --get-regexp .*extraheader
2023-01-25T14:27:30.2596865Z ##[command]git config --get-all http.proxy
2023-01-25T14:27:30.3199744Z ##[command]git config http.version HTTP/1.1
2023-01-25T14:27:30.4030531Z ##[command]git -c http.extraheader="AUTHORIZATION: bearer " fetch --force --tags --prune --prune-tags --progress --no-recurse-submodules origin
2023-01-25T14:27:31.0001261Z remote: Azure Repos
2023-01-25T14:27:31.0001834Z remote:
2023-01-25T14:27:31.0005866Z remote: Found 4 objects to send. (56 ms)
2023-01-25T14:27:31.0008150Z From https://dev.azure.com/CAISoftBC/CAI365BC-AppSource/_git/CAI365BC-AppSource
2023-01-25T14:27:31.0012309Z 220e040..80e9084 master -> origin/master
2023-01-25T14:27:31.5786909Z ##[command]git -c http.extraheader="AUTHORIZATION: bearer " fetch --force --tags --prune --prune-tags --progress --no-recurse-submodules origin +80e9084190fa31519b81f1e3bdbd5d620048bf25
2023-01-25T14:27:31.5850189Z From https://dev.azure.com/CAISoftBC/CAI365BC-AppSource/_git/CAI365BC-AppSource
2023-01-25T14:27:31.5851009Z * branch 80e9084190fa31519b81f1e3bdbd5d620048bf25 -> FETCH_HEAD
2023-01-25T14:27:31.6225880Z ##[command]git checkout --progress --force 80e9084190fa31519b81f1e3bdbd5d620048bf25
2023-01-25T14:27:31.6236534Z Previous HEAD position was 220e040 Merged PR 264: Changed physical file names to use CAI prefix
2023-01-25T14:27:31.6237056Z HEAD is now at 80e9084 Merged PR 267: Modfied yaml settings
2023-01-25T14:27:31.6288716Z ##[section]Finishing: Checkout CAI365BC-AppSource@master to s
2023-01-25T14:27:31.6333691Z ##[section]Starting: Install BCContainerHelper module
2023-01-25T14:27:31.6625742Z ==============================================================================
2023-01-25T14:27:31.6625994Z Task : PowerShell
2023-01-25T14:27:31.6626241Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-25T14:27:31.6626446Z Version : 2.212.0
2023-01-25T14:27:31.6626632Z Author : Microsoft Corporation
2023-01-25T14:27:31.6626888Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-25T14:27:31.6627189Z ==============================================================================
2023-01-25T14:27:33.0280271Z Generating script.
2023-01-25T14:27:33.0649302Z ========================== Starting Command Output ===========================
2023-01-25T14:27:33.0885877Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent_work_temp\69d0c4a4-88aa-4b88-875b-03170bfae9fc.ps1'"
2023-01-25T14:27:35.8359113Z
2023-01-25T14:27:35.8381626Z Name Version Source Summary
2023-01-25T14:27:35.8392202Z ---- ------- ------ -------
2023-01-25T14:27:35.8395892Z nuget 2.8.5.208 https://onege... NuGet provider for the OneGet meta-package manager
2023-01-25T14:27:52.8286003Z
2023-01-25T14:27:52.8286757Z
2023-01-25T14:27:52.9071558Z ##[section]Finishing: Install BCContainerHelper module
2023-01-25T14:27:52.9112033Z ##[section]Starting: Create build container
2023-01-25T14:27:52.9276439Z ==============================================================================
2023-01-25T14:27:52.9276674Z Task : PowerShell
2023-01-25T14:27:52.9276943Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-25T14:27:52.9277381Z Version : 2.212.0
2023-01-25T14:27:52.9277547Z Author : Microsoft Corporation
2023-01-25T14:27:52.9277788Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-25T14:27:52.9278097Z ==============================================================================
2023-01-25T14:27:54.1328100Z Generating script.
2023-01-25T14:27:54.1904040Z ========================== Starting Command Output ===========================
2023-01-25T14:27:54.2112865Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent_work_temp\e33dee92-5d27-4465-823d-df148776c808.ps1'"
2023-01-25T14:27:55.0414723Z BcContainerHelper version 4.0.10
2023-01-25T14:27:55.3301777Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-01-25T14:28:06.6093888Z WARNING: Container name should not exceed 15 characters
2023-01-25T14:28:06.9056416Z BcContainerHelper is version 4.0.10
2023-01-25T14:28:06.9123272Z BcContainerHelper is running as administrator
2023-01-25T14:28:08.1808907Z Hyper-V is Enabled
2023-01-25T14:28:08.1837271Z UsePsSession is True
2023-01-25T14:28:08.1866177Z Host is Microsoft Windows 11 Pro - 21H2
2023-01-25T14:28:08.3960134Z Docker Client Version is 20.10.17
2023-01-25T14:28:08.3976996Z Docker Server Version is 20.10.17
2023-01-25T14:28:08.8762189Z Removing Desktop shortcuts
2023-01-25T14:28:09.2276612Z Fetching all docker images
2023-01-25T14:28:09.3878977Z Fetching all docker volumes
2023-01-25T14:28:09.7251947Z Using image mcr.microsoft.com/businesscentral:10.0.20348.1487-dev
2023-01-25T14:28:10.1692024Z Creating Container RefiningAppSource
2023-01-25T14:28:10.1706190Z Style: onprem
2023-01-25T14:28:10.1728453Z Multitenant: No
2023-01-25T14:28:10.1742615Z Version: 21.3.51409.51464
2023-01-25T14:28:10.1754534Z Platform: 21.0.51393.51456
2023-01-25T14:28:10.1808945Z Generic Tag: 1.0.2.13-dev
2023-01-25T14:28:10.1823209Z Container OS Version: 10.0.20348.1487 (ltsc2022)
2023-01-25T14:28:10.1832074Z Host OS Version: 10.0.22000.1455 (21H2)
2023-01-25T14:28:10.1954759Z Using hyperv isolation
2023-01-25T14:28:10.1973011Z Using locale en-US
2023-01-25T14:28:10.2445246Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
2023-01-25T14:28:10.2623707Z Using license file C:_CAI Licenses\CAIv21.bclicense
2023-01-25T14:28:10.2996918Z Additional Parameters:
2023-01-25T14:28:10.3028647Z --volume "C:\agent\appfiles\:C:\shareddata"
2023-01-25T14:28:10.3036958Z Files in C:\ProgramData\BcContainerHelper\Extensions\RefiningAppSource\my:
2023-01-25T14:28:10.3096804Z - AdditionalOutput.ps1
2023-01-25T14:28:10.3105390Z - license.bclicense
2023-01-25T14:28:10.3117589Z - MainLoop.ps1
2023-01-25T14:28:10.3127919Z - SetupVariables.ps1
2023-01-25T14:28:10.3137482Z - updatehosts.ps1
2023-01-25T14:28:10.3147263Z Creating container RefiningAppSource from image mcr.microsoft.com/businesscentral:10.0.20348.1487-dev
2023-01-25T14:28:10.5660377Z fa8bd0fef9ab835666c0baa63ca727494118c87d5959071f98762fb52ffbfdce
2023-01-25T14:28:18.8726318Z Waiting for container RefiningAppSource to be ready
2023-01-25T14:28:28.0313722Z Adding REFININGAPPSOUR to hosts file
2023-01-25T14:28:29.3058425Z Using artifactUrl https://bcartifacts.azureedge.net/onprem/21.3.51409.51464/us
2023-01-25T14:28:29.3059315Z Using installer from C:\Run\210-new
2023-01-25T14:28:29.3065513Z Installing Business Central
2023-01-25T14:28:29.3068447Z Installing from artifacts
2023-01-25T14:28:34.3568014Z Starting Local SQL Server
2023-01-25T14:28:34.3571940Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to
2023-01-25T14:28:34.3573470Z start...
2023-01-25T14:28:34.3574569Z Starting Internet Information Server
2023-01-25T14:28:34.3575473Z Copying Service Tier Files
2023-01-25T14:28:39.8766829Z c:\dl\onprem\21.3.51409.51464\platform\ServiceTier\Program Files
2023-01-25T14:28:39.8767806Z c:\dl\onprem\21.3.51409.51464\platform\ServiceTier\System64Folder
2023-01-25T14:28:39.8848310Z Copying PowerShell Scripts
2023-01-25T14:28:39.8854532Z c:\dl\onprem\21.3.51409.51464\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
2023-01-25T14:28:39.8867629Z c:\dl\onprem\21.3.51409.51464\platform\WindowsPowerShellScripts\WebSearch
2023-01-25T14:28:39.8868828Z Copying Web Client Files
2023-01-25T14:28:51.7166038Z c:\dl\onprem\21.3.51409.51464\platform\WebClient\Microsoft Dynamics NAV
2023-01-25T14:28:51.7167261Z Copying ModernDev Files
2023-01-25T14:28:51.7167671Z c:\dl\onprem\21.3.51409.51464\platform
2023-01-25T14:28:53.1041830Z c:\dl\onprem\21.3.51409.51464\platform\ModernDev\program files\Microsoft Dynamics NAV
2023-01-25T14:28:53.1047369Z Copying additional files
2023-01-25T14:28:53.1051773Z Copying ConfigurationPackages
2023-01-25T14:28:53.1055961Z C:\dl\onprem\21.3.51409.51464\us\ConfigurationPackages
2023-01-25T14:28:53.1057319Z Copying Test Assemblies
2023-01-25T14:28:53.1059447Z C:\dl\onprem\21.3.51409.51464\platform\Test Assemblies
2023-01-25T14:28:53.1061446Z Copying Applications
2023-01-25T14:28:54.3647794Z C:\dl\onprem\21.3.51409.51464\us\Applications
2023-01-25T14:28:54.3653316Z Copying dependencies
2023-01-25T14:29:12.3703758Z Copying ReportBuilder
2023-01-25T14:29:17.3939429Z Importing PowerShell Modules
2023-01-25T14:29:26.7599912Z Restoring CRONUS Demo Database
2023-01-25T14:29:28.0245146Z Setting CompatibilityLevel for CRONUS on localhost\SQLEXPRESS
2023-01-25T14:29:28.0246730Z Modifying Business Central Service Tier Config File for Docker
2023-01-25T14:29:28.0248908Z Creating Business Central Service Tier
2023-01-25T14:29:28.0250609Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2023-01-25T14:32:02.3304669Z Starting Business Central Service Tier
2023-01-25T14:32:03.5864658Z Importing license file
2023-01-25T14:32:03.5865937Z Stopping Business Central Service Tier
2023-01-25T14:32:03.5867444Z Installation took 215 seconds
2023-01-25T14:32:03.5868194Z Installation complete
2023-01-25T14:32:08.4407194Z Initializing...
2023-01-25T14:32:09.7009445Z Setting host.docker.internal to 10.0.36.59 in container hosts file (copy from host hosts file)
2023-01-25T14:32:09.7010934Z Setting gateway.docker.internal to 10.0.36.59 in container hosts file (copy from host hosts file)
2023-01-25T14:32:09.7012566Z Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
2023-01-25T14:32:09.7014482Z Setting host.containerhelper.internal to 172.26.224.1 in container hosts file
2023-01-25T14:32:09.7015359Z Starting Container
2023-01-25T14:32:09.7016051Z Hostname is RefiningAppSource
2023-01-25T14:32:09.7016805Z PublicDnsName is RefiningAppSource
2023-01-25T14:32:09.7017481Z Using NavUserPassword Authentication
2023-01-25T14:32:10.9837980Z Creating Self Signed Certificate
2023-01-25T14:32:10.9839145Z Self Signed Certificate Thumbprint DEE754360692EC146A942368D26B2E740115DC28
2023-01-25T14:32:10.9840166Z DNS identity RefiningAppSource
2023-01-25T14:32:12.2701154Z Modifying Service Tier Config File with Instance Specific Settings
2023-01-25T14:32:50.3473210Z Starting Service Tier
2023-01-25T14:32:50.3474172Z Registering event sources
2023-01-25T14:32:51.5288412Z Creating DotNetCore Web Server Instance
2023-01-25T14:32:51.5289175Z Using application pool name: BC
2023-01-25T14:32:51.5290193Z Using default container name: NavWebApplicationContainer
2023-01-25T14:32:56.9410318Z Copy files to WWW root C:\inetpub\wwwroot\BC
2023-01-25T14:32:58.2954315Z Create the application pool BC
2023-01-25T14:32:59.7186144Z Create website: NavWebApplicationContainer without SSL
2023-01-25T14:33:01.0313956Z Update configuration: navsettings.json
2023-01-25T14:33:01.0315602Z Done Configuring Web Client
2023-01-25T14:33:01.0317068Z Using license file 'c:\run\my\license.bclicense'
2023-01-25T14:33:15.9629758Z Import License
2023-01-25T14:33:17.4050486Z Creating http download site
2023-01-25T14:33:17.4091294Z Setting SA Password and enabling SA
2023-01-25T14:33:24.0305058Z Creating admin as SQL User and add to sysadmin
2023-01-25T14:33:29.3974328Z Creating SUPER user
2023-01-25T14:33:29.3975182Z Container IP Address: 172.26.229.150
2023-01-25T14:33:29.3975787Z Container Hostname : RefiningAppSource
2023-01-25T14:33:29.3977066Z Container Dns Name : RefiningAppSource
2023-01-25T14:33:29.3977468Z Web Client : http://RefiningAppSource/BC/
2023-01-25T14:33:29.3978176Z Dev. Server : http://RefiningAppSource
2023-01-25T14:33:29.3978524Z Dev. ServerInstance : BC
2023-01-25T14:33:30.5930441Z Setting RefiningAppSource to 172.26.229.150 in host hosts file
2023-01-25T14:33:30.5930963Z
2023-01-25T14:33:30.5931749Z Files:
2023-01-25T14:33:30.5932836Z http://RefiningAppSource:8080/ALLanguage.vsix
2023-01-25T14:33:30.5933555Z
2023-01-25T14:33:30.5934728Z Container Total Physical Memory is 8.5Gb
2023-01-25T14:33:30.5935370Z Container Free Physical Memory is 5.9Gb
2023-01-25T14:33:30.5935766Z
2023-01-25T14:33:30.5936304Z Initialization took 87 seconds
2023-01-25T14:33:31.0560279Z Ready for connections!
2023-01-25T14:33:32.4736151Z Reading CustomSettings.config from RefiningAppSource
2023-01-25T14:33:32.8796232Z Container RefiningAppSource successfully created
2023-01-25T14:33:33.1143812Z
2023-01-25T14:33:33.1153162Z Use:
2023-01-25T14:33:33.1170253Z Get-BcContainerEventLog -containerName RefiningAppSource to retrieve a snapshot of the event log from the container
2023-01-25T14:33:33.1186151Z Get-BcContainerDebugInfo -containerName RefiningAppSource to get debug information about the container
2023-01-25T14:33:33.1202401Z Enter-BcContainer -containerName RefiningAppSource to open a PowerShell prompt inside the container
2023-01-25T14:33:33.1218210Z Remove-BcContainer -containerName RefiningAppSource to remove the container again
2023-01-25T14:33:33.1234279Z docker logs RefiningAppSource to retrieve information about URL's again
2023-01-25T14:33:34.7678967Z ##[section]Finishing: Create build container
2023-01-25T14:33:34.7723062Z ##[section]Starting: Copy source into container folder
2023-01-25T14:33:34.8128631Z ==============================================================================
2023-01-25T14:33:34.8129046Z Task : PowerShell
2023-01-25T14:33:34.8129365Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-25T14:33:34.8129678Z Version : 2.212.0
2023-01-25T14:33:34.8129928Z Author : Microsoft Corporation
2023-01-25T14:33:34.8130348Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-25T14:33:34.8130998Z ==============================================================================
2023-01-25T14:33:36.3662772Z Generating script.
2023-01-25T14:33:36.4056532Z ========================== Starting Command Output ===========================
2023-01-25T14:33:36.4280189Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent_work_temp\f28f356e-d025-4e22-ba6f-868f81b7d5c5.ps1'"
2023-01-25T14:33:36.7819137Z
2023-01-25T14:33:36.7825334Z
2023-01-25T14:33:36.7829032Z Directory: C:\ProgramData\BcContainerHelper\Extensions\RefiningAppSource
2023-01-25T14:33:36.7829364Z
2023-01-25T14:33:36.7829502Z
2023-01-25T14:33:36.7843210Z Mode LastWriteTime Length Name
2023-01-25T14:33:36.7844443Z ---- ------------- ------ ----
2023-01-25T14:33:36.7852894Z d----- 1/25/2023 9:33 AM Source
2023-01-25T14:33:38.7937456Z
2023-01-25T14:33:38.7961574Z
2023-01-25T14:33:38.8543292Z ##[section]Finishing: Copy source into container folder
2023-01-25T14:33:38.8644783Z ##[section]Starting: Compile app
2023-01-25T14:33:38.9001312Z ==============================================================================
2023-01-25T14:33:38.9001677Z Task : PowerShell
2023-01-25T14:33:38.9002012Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-25T14:33:38.9002357Z Version : 2.212.0
2023-01-25T14:33:38.9002616Z Author : Microsoft Corporation
2023-01-25T14:33:38.9003017Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-25T14:33:38.9003532Z ==============================================================================
2023-01-25T14:33:40.2790268Z Generating script.
2023-01-25T14:33:40.3169883Z ========================== Starting Command Output ===========================
2023-01-25T14:33:40.3412446Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent_work_temp\b13dd8f1-de20-4e0d-a0b0-94b57303901f.ps1'"
2023-01-25T14:33:41.0220703Z BcContainerHelper version 4.0.10
2023-01-25T14:33:41.4063426Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-01-25T14:33:48.3167141Z Using Symbols Folder: C:\agent\appfiles\
2023-01-25T14:34:20.9948239Z Downloading symbols: Microsoft_System_21.0.51393.51456.app
2023-01-25T14:34:21.0021342Z Url : http://172.26.229.150:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=21.0.0.0&tenant=default
2023-01-25T14:34:21.0150866Z Using WebClient
2023-01-25T14:34:39.7293422Z Compiling...
2023-01-25T14:34:39.7543072Z .\alc.exe /project:"C:\ProgramData\BcContainerHelper\Extensions\RefiningAppSource\Source" /packagecachepath:"C:\shareddata" /out:"C:\ProgramData\BcContainerHelper\Extensions\RefiningAppSource\Source\output\CAI Software_CAI Software Precious Metals Solution21.0.1.25.app" /assemblyprobingpaths:"C:\Program Files\Microsoft Dynamics NAV\210\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
2023-01-25T14:34:49.9710627Z Microsoft (R) AL Compiler version 10.3.11.10307
2023-01-25T14:34:49.9733716Z Copyright (C) Microsoft Corporation. All rights reserved
2023-01-25T14:34:49.9739595Z
2023-01-25T14:34:49.9749175Z Compilation started for project 'CAI Software Precious Metals Solution' containing '401' files at '09:34:40.867'.
2023-01-25T14:34:49.9754801Z
2023-01-25T14:34:49.9816958Z ##[error]A package with publisher 'Microsoft', name 'Application', and a version compatible with '21.0.0.0' could not be found in the package cache folder 'C:\shareddata'
2023-01-25T14:34:49.9835451Z
2023-01-25T14:34:49.9835703Z Compilation ended at '09:34:49.893'.
2023-01-25T14:34:49.9835858Z
2023-01-25T14:34:49.9836047Z App generation failed with exit code 1
2023-01-25T14:34:51.7646663Z Compile-AppInNavContainer Telemetry Correlation Id: 0babe591-d1c3-46ba-b43f-4b74c1491ec1
2023-01-25T14:34:51.8513566Z App generation failed with exit code 1
2023-01-25T14:34:51.8515633Z At C:\Windows\ServiceProfiles\NetworkService\Documents\WindowsPowerShell\Modules\BcContainerHelper\4.0.10\AppHandling\C
2023-01-25T14:34:51.8516506Z ompile-AppInNavContainer.ps1:669 char:72
2023-01-25T14:34:51.8517484Z + ... | Where-Object { $ -like "App generation failed" } | % { throw $_ }
2023-01-25T14:34:51.8517985Z + ~~~~
2023-01-25T14:34:51.8518862Z + CategoryInfo : OperationStopped: (App generation failed with exit code 1:String) [], RuntimeException
2023-01-25T14:34:51.8519601Z + FullyQualifiedErrorId : App generation failed with exit code 1
2023-01-25T14:34:51.8520115Z
2023-01-25T14:34:52.0421375Z ##[error]PowerShell exited with code '1'.
2023-01-25T14:34:52.0946971Z ##[section]Finishing: Compile app
2023-01-25T14:34:52.1030017Z ##[section]Starting: Remove build container
2023-01-25T14:34:52.1355813Z ==============================================================================
2023-01-25T14:34:52.1356193Z Task : PowerShell
2023-01-25T14:34:52.1356542Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-25T14:34:52.1356861Z Version : 2.212.0
2023-01-25T14:34:52.1357139Z Author : Microsoft Corporation
2023-01-25T14:34:52.1357543Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-25T14:34:52.1358012Z ==============================================================================
2023-01-25T14:34:53.5596312Z Generating script.
2023-01-25T14:34:53.6068411Z ========================== Starting Command Output ===========================
2023-01-25T14:34:53.6296074Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent_work_temp\17f52fd5-321d-4e89-9f14-298773d5644b.ps1'"
2023-01-25T14:34:54.3242174Z BcContainerHelper version 4.0.10
2023-01-25T14:34:54.6673178Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-01-25T14:35:00.8469626Z Removing Session RefiningAppSource
2023-01-25T14:35:01.0290363Z Removing container RefiningAppSource
2023-01-25T14:35:03.3969812Z Removing entries from hosts
2023-01-25T14:35:03.4535941Z Removing RefiningAppSource from container hosts file
2023-01-25T14:35:03.6057399Z Removing RefiningAppSource- from container hosts file
2023-01-25T14:35:03.6247601Z Removing Desktop shortcuts
2023-01-25T14:35:03.6895769Z Removing C:\ProgramData\BcContainerHelper\Extensions\RefiningAppSource
2023-01-25T14:35:07.6936140Z ##[section]Finishing: Remove build container
2023-01-25T14:35:07.6972355Z ##[section]Starting: Checkout CAI365BC-AppSource@master to s
2023-01-25T14:35:07.7249870Z ==============================================================================
2023-01-25T14:35:07.7250287Z Task : Get sources
2023-01-25T14:35:07.7250699Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2023-01-25T14:35:07.7251114Z Version : 1.0.0
2023-01-25T14:35:07.7251631Z Author : Microsoft
2023-01-25T14:35:07.7252011Z Help : More Information
2023-01-25T14:35:07.7252513Z ==============================================================================
2023-01-25T14:35:08.0895598Z Cleaning any cached credential from repository: CAI365BC-AppSource (Git)
2023-01-25T14:35:08.1026266Z ##[section]Finishing: Checkout CAI365BC-AppSource@master to s
2023-01-25T14:35:08.1116869Z ##[section]Starting: Finalize Job
2023-01-25T14:35:08.1161228Z Cleaning up task key
2023-01-25T14:35:08.1163634Z Start cleaning up orphan processes.
2023-01-25T14:35:08.1994243Z ##[section]Finishing: Finalize Job
2023-01-25T14:35:08.2033795Z ##[section]Finishing: Build
Could you share the app.json file from this project: CAI Software Precious Metals Solution with me?
{
"id": "8788f8f7-2afb-4cd8-9935-068947847f2a",
"name": "CAI Software Precious Metals Solution",
"publisher": "CAI Software",
"version": "21.0.1.25",
"brief": "Refining BC",
"description": "CAi Software Precious Metals Solution",
"privacyStatement": "https://www.caisoft.com/home/company/privacy-statement/",
"EULA": "https://www.caisoft.com/solutions/precious-metals/EULA.html",
"help": "http://www.caisoft.com/client-portal/documentation/nav/",
"url": "https://www.caisoft.com/solutions/precious-metals/",
"logo": "CAiSoftwareLogo.png",
"dependencies": [],
"screenshots": [],
"applicationInsightsConnectionString": "InstrumentationKey=35b9e082-226c-4d92-a5d9-504d8e3dbbe5;IngestionEndpoint=https://eastus2-0.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus2.livediagnostics.monitor.azure.com/",
"features": [
"TranslationFile"
],
"platform": "21.0.0.0",
"application": "21.0.0.0",
"target": "Cloud",
"idRanges": [
{
"from": 37031300,
"to": 37032299
}
],
"contextSensitiveHelpUrl": "https://www.caisoft.com/client-portal/documentation/nav/",
"resourceExposurePolicy": { },
"runtime": "10.0"
}
Just a long-shot - you don't have an empty line before the { in the json file, do you?
Don’t think so—looks like this:
@.***
From: Freddy Kristiansen @.> Sent: Thursday, January 26, 2023 10:34 AM To: microsoft/navcontainerhelper @.> Cc: David Baldwin @.>; Author @.> Subject: Re: [microsoft/navcontainerhelper] Manual download of Microsoft packages required? (Issue #2870)
**CAUTION: This email originated from outside of CAI Software, LLC. Do not click links or open attachments unless you recognize the sender and are expecting the attachment or link.
Just a long-shot - you don't have an empty line before the { in the json file, do you?
— Reply to this email directly, view it on GitHubhttps://github.com/microsoft/navcontainerhelper/issues/2870#issuecomment-1405189699, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJTBZITETY66HNMC2MJB2T3WUKKNXANCNFSM6AAAAAAUG2BXBU. You are receiving this because you authored the thread.Message ID: @.**@.>>
Cannot see that in GitHub
But if you could email the file to me freddyk at microsoft dot com?
Replaced the file--I did see it go from its original encoding to UTF-8. Removed the Microsoft artifacts from the appSymbolsFolder on the agent machine. Unfortunately, same result at the compile step. Reproducing that log run here, just in case. FYI, we do have a workaround--manually placing the MS artifacts where they need to be. So this is not mission critical. But would like to know why that workaround seems to be necessary.
2023-01-26T22:22:55.4475357Z ##[section]Starting: Build
2023-01-26T22:22:55.7893981Z ##[section]Starting: Initialize job
2023-01-26T22:22:55.7896051Z Agent name: 'DockerBuild2'
2023-01-26T22:22:55.7896597Z Agent machine name: 'DockerBuild1'
2023-01-26T22:22:55.7896906Z Current agent version: '2.202.1'
2023-01-26T22:22:55.7938462Z Agent running as: 'DockerBuild1$'
2023-01-26T22:22:55.8006294Z Prepare build directory.
2023-01-26T22:22:55.8495412Z Set build variables.
2023-01-26T22:22:55.8548246Z Download all required tasks.
2023-01-26T22:22:55.9116231Z Checking job knob settings.
2023-01-26T22:22:55.9128165Z Finished checking job knob settings.
2023-01-26T22:22:55.9983986Z Start tracking orphan processes.
2023-01-26T22:22:56.0119558Z ##[section]Finishing: Initialize job
2023-01-26T22:22:56.0520744Z ##[section]Starting: Checkout CAI365BC.v20@master to s
2023-01-26T22:22:56.7464709Z ==============================================================================
2023-01-26T22:22:56.7465640Z Task : Get sources
2023-01-26T22:22:56.7466390Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2023-01-26T22:22:56.7466751Z Version : 1.0.0
2023-01-26T22:22:56.7467218Z Author : Microsoft
2023-01-26T22:22:56.7467934Z Help : More Information
2023-01-26T22:22:56.7468347Z ==============================================================================
2023-01-26T22:22:58.4264092Z Syncing repository: CAI365BC.v20 (Git)
2023-01-26T22:22:58.4271253Z Prepending Path environment variable with directory containing 'git.exe'.
2023-01-26T22:22:58.4281680Z ##[command]git version
2023-01-26T22:22:58.4290622Z git version 2.30.2.windows.1
2023-01-26T22:22:58.4292000Z ##[command]git lfs version
2023-01-26T22:22:58.6533728Z git-lfs/2.13.3 (GitHub; windows amd64; go 1.16.2; git a5e65851)
2023-01-26T22:22:58.6856958Z ##[command]git init "C:\agent2_work\7\s"
2023-01-26T22:22:58.8182350Z hint: Using 'master' as the name for the initial branch. This default branch name
2023-01-26T22:22:58.8188159Z Initialized empty Git repository in C:/agent2/_work/7/s/.git/
2023-01-26T22:22:58.8194782Z hint: is subject to change. To configure the initial branch name to use in all
2023-01-26T22:22:58.8203497Z hint: of your new repositories, which will suppress this warning, call:
2023-01-26T22:22:58.8233453Z hint:
2023-01-26T22:22:58.8246857Z hint: git config --global init.defaultBranch
2023-01-26T22:23:01.1763201Z remote:
2023-01-26T22:23:01.1766225Z remote: Found 486 objects to send. (12 ms)
2023-01-26T22:23:01.1769076Z Receiving objects: 0% (1/486)
2023-01-26T22:23:01.1771763Z Receiving objects: 1% (5/486)
2023-01-26T22:23:01.1776391Z Receiving objects: 2% (10/486)
2023-01-26T22:23:01.1778171Z Receiving objects: 3% (15/486)
2023-01-26T22:23:01.1779445Z Receiving objects: 4% (20/486)
2023-01-26T22:23:01.1780650Z Receiving objects: 5% (25/486)
2023-01-26T22:23:01.1781814Z Receiving objects: 6% (30/486)
2023-01-26T22:23:01.1783555Z Receiving objects: 7% (35/486)
2023-01-26T22:23:01.1785073Z Receiving objects: 8% (39/486)
2023-01-26T22:23:01.1785947Z Receiving objects: 9% (44/486)
2023-01-26T22:23:01.1786424Z Receiving objects: 10% (49/486)
2023-01-26T22:23:01.1786822Z Receiving objects: 11% (54/486)
2023-01-26T22:23:01.1787196Z Receiving objects: 12% (59/486)
2023-01-26T22:23:01.1787611Z Receiving objects: 13% (64/486)
2023-01-26T22:23:01.1789751Z Receiving objects: 14% (69/486)
2023-01-26T22:23:01.1790298Z Receiving objects: 15% (73/486)
2023-01-26T22:23:01.1790722Z Receiving objects: 16% (78/486)
2023-01-26T22:23:01.1791126Z Receiving objects: 17% (83/486)
2023-01-26T22:23:01.1791555Z Receiving objects: 18% (88/486)
2023-01-26T22:23:01.1791959Z Receiving objects: 19% (93/486)
2023-01-26T22:23:01.1792337Z Receiving objects: 20% (98/486)
2023-01-26T22:23:01.1792886Z Receiving objects: 21% (103/486)
2023-01-26T22:23:01.1793318Z Receiving objects: 22% (107/486)
2023-01-26T22:23:01.1793720Z Receiving objects: 23% (112/486)
2023-01-26T22:23:01.1794137Z Receiving objects: 24% (117/486)
2023-01-26T22:23:01.1794534Z Receiving objects: 25% (122/486)
2023-01-26T22:23:01.1794928Z Receiving objects: 26% (127/486)
2023-01-26T22:23:01.1795342Z Receiving objects: 27% (132/486)
2023-01-26T22:23:01.1795738Z Receiving objects: 28% (137/486)
2023-01-26T22:23:01.1796128Z Receiving objects: 29% (141/486)
2023-01-26T22:23:01.1796804Z Receiving objects: 30% (146/486)
2023-01-26T22:23:01.1797206Z Receiving objects: 31% (151/486)
2023-01-26T22:23:01.1797623Z Receiving objects: 32% (156/486)
2023-01-26T22:23:01.1798021Z Receiving objects: 33% (161/486)
2023-01-26T22:23:01.1798433Z Receiving objects: 34% (166/486)
2023-01-26T22:23:01.1798840Z Receiving objects: 35% (171/486)
2023-01-26T22:23:01.1799231Z Receiving objects: 36% (175/486)
2023-01-26T22:23:01.1799625Z Receiving objects: 37% (180/486)
2023-01-26T22:23:01.1800042Z Receiving objects: 38% (185/486)
2023-01-26T22:23:01.1800442Z Receiving objects: 39% (190/486)
2023-01-26T22:23:01.1800838Z Receiving objects: 40% (195/486)
2023-01-26T22:23:01.1801255Z Receiving objects: 41% (200/486)
2023-01-26T22:23:01.1801637Z Receiving objects: 42% (205/486)
2023-01-26T22:23:01.1802032Z Receiving objects: 43% (209/486)
2023-01-26T22:23:01.1802423Z Receiving objects: 44% (214/486)
2023-01-26T22:23:01.1803255Z Receiving objects: 45% (219/486)
2023-01-26T22:23:01.1803646Z Receiving objects: 46% (224/486)
2023-01-26T22:23:01.1804051Z Receiving objects: 47% (229/486)
2023-01-26T22:23:01.1804424Z Receiving objects: 48% (234/486)
2023-01-26T22:23:01.1804803Z Receiving objects: 49% (239/486)
2023-01-26T22:23:01.1805215Z Receiving objects: 50% (243/486)
2023-01-26T22:23:01.1805593Z Receiving objects: 51% (248/486)
2023-01-26T22:23:01.1807121Z Receiving objects: 52% (253/486)
2023-01-26T22:23:01.1807483Z Receiving objects: 53% (258/486)
2023-01-26T22:23:01.1807822Z Receiving objects: 54% (263/486)
2023-01-26T22:23:01.1808172Z Receiving objects: 55% (268/486)
2023-01-26T22:23:01.1808507Z Receiving objects: 56% (273/486)
2023-01-26T22:23:01.1808865Z Receiving objects: 57% (278/486)
2023-01-26T22:23:01.1809302Z Receiving objects: 58% (282/486)
2023-01-26T22:23:01.1809694Z Receiving objects: 59% (287/486)
2023-01-26T22:23:01.1810092Z Receiving objects: 60% (292/486)
2023-01-26T22:23:01.1810508Z Receiving objects: 61% (297/486)
2023-01-26T22:23:01.1810940Z Receiving objects: 62% (302/486)
2023-01-26T22:23:01.1811331Z Receiving objects: 63% (307/486)
2023-01-26T22:23:01.1811736Z Receiving objects: 64% (312/486)
2023-01-26T22:23:01.1812138Z Receiving objects: 65% (316/486)
2023-01-26T22:23:01.1813675Z Receiving objects: 66% (321/486)
2023-01-26T22:23:01.1814078Z Receiving objects: 67% (326/486)
2023-01-26T22:23:01.1814482Z Receiving objects: 68% (331/486)
2023-01-26T22:23:01.1814882Z Receiving objects: 69% (336/486)
2023-01-26T22:23:01.1815258Z Receiving objects: 70% (341/486)
2023-01-26T22:23:01.1815629Z Receiving objects: 71% (346/486)
2023-01-26T22:23:01.1816022Z Receiving objects: 72% (350/486)
2023-01-26T22:23:01.1816414Z Receiving objects: 73% (355/486)
2023-01-26T22:23:01.1816955Z Receiving objects: 74% (360/486)
2023-01-26T22:23:01.1817355Z Receiving objects: 75% (365/486)
2023-01-26T22:23:01.1817753Z Receiving objects: 76% (370/486)
2023-01-26T22:23:01.1818185Z Receiving objects: 77% (375/486)
2023-01-26T22:23:01.1819130Z Receiving objects: 78% (380/486)
2023-01-26T22:23:01.1819547Z Receiving objects: 79% (384/486)
2023-01-26T22:23:01.1819953Z Receiving objects: 80% (389/486)
2023-01-26T22:23:01.1820362Z Receiving objects: 81% (394/486)
2023-01-26T22:23:01.1820766Z Receiving objects: 82% (399/486)
2023-01-26T22:23:01.1821183Z Receiving objects: 83% (404/486)
2023-01-26T22:23:01.1821568Z Receiving objects: 84% (409/486)
2023-01-26T22:23:01.1821955Z Receiving objects: 85% (414/486)
2023-01-26T22:23:01.1822728Z Receiving objects: 86% (418/486)
2023-01-26T22:23:01.1823134Z Receiving objects: 87% (423/486)
2023-01-26T22:23:01.1823557Z Receiving objects: 88% (428/486)
2023-01-26T22:23:01.1823949Z Receiving objects: 89% (433/486)
2023-01-26T22:23:01.1824336Z Receiving objects: 90% (438/486)
2023-01-26T22:23:01.1824740Z Receiving objects: 91% (443/486)
2023-01-26T22:23:01.1825124Z Receiving objects: 92% (448/486)
2023-01-26T22:23:01.1825525Z Receiving objects: 93% (452/486)
2023-01-26T22:23:01.1825986Z Receiving objects: 94% (457/486)
2023-01-26T22:23:01.1826392Z Receiving objects: 95% (462/486)
2023-01-26T22:23:01.1826784Z Receiving objects: 96% (467/486)
2023-01-26T22:23:01.1827167Z Receiving objects: 97% (472/486)
2023-01-26T22:23:01.1827617Z Receiving objects: 98% (477/486), 1.38 MiB | 2.65 MiB/s
2023-01-26T22:23:01.1828143Z Receiving objects: 99% (482/486), 1.38 MiB | 2.65 MiB/s
2023-01-26T22:23:01.1828653Z Receiving objects: 100% (486/486), 1.38 MiB | 2.65 MiB/s
2023-01-26T22:23:01.1829182Z Receiving objects: 100% (486/486), 1.52 MiB | 2.80 MiB/s, done.
2023-01-26T22:23:01.1829650Z Resolving deltas: 0% (0/61)
2023-01-26T22:23:01.1830022Z Resolving deltas: 1% (1/61)
2023-01-26T22:23:01.1830409Z Resolving deltas: 3% (2/61)
2023-01-26T22:23:01.1830774Z Resolving deltas: 4% (3/61)
2023-01-26T22:23:01.1831145Z Resolving deltas: 6% (4/61)
2023-01-26T22:23:01.1831530Z Resolving deltas: 8% (5/61)
2023-01-26T22:23:01.1831883Z Resolving deltas: 9% (6/61)
2023-01-26T22:23:01.1832668Z Resolving deltas: 11% (7/61)
2023-01-26T22:23:01.1833096Z Resolving deltas: 13% (8/61)
2023-01-26T22:23:01.1833477Z Resolving deltas: 14% (9/61)
2023-01-26T22:23:01.1833860Z Resolving deltas: 16% (10/61)
2023-01-26T22:23:01.1834258Z Resolving deltas: 18% (11/61)
2023-01-26T22:23:01.1834651Z Resolving deltas: 19% (12/61)
2023-01-26T22:23:01.1835027Z Resolving deltas: 21% (13/61)
2023-01-26T22:23:01.1835420Z Resolving deltas: 22% (14/61)
2023-01-26T22:23:01.1839900Z Resolving deltas: 24% (15/61)
2023-01-26T22:23:01.1840439Z Resolving deltas: 26% (16/61)
2023-01-26T22:23:01.1840813Z Resolving deltas: 27% (17/61)
2023-01-26T22:23:01.1841185Z Resolving deltas: 29% (18/61)
2023-01-26T22:23:01.1841574Z Resolving deltas: 31% (19/61)
2023-01-26T22:23:01.1841957Z Resolving deltas: 32% (20/61)
2023-01-26T22:23:01.1842665Z Resolving deltas: 34% (21/61)
2023-01-26T22:23:01.1843082Z Resolving deltas: 36% (22/61)
2023-01-26T22:23:01.1843814Z Resolving deltas: 37% (23/61)
2023-01-26T22:23:01.1844259Z Resolving deltas: 39% (24/61)
2023-01-26T22:23:01.1844650Z Resolving deltas: 40% (25/61)
2023-01-26T22:23:01.1845033Z Resolving deltas: 42% (26/61)
2023-01-26T22:23:01.1845418Z Resolving deltas: 44% (27/61)
2023-01-26T22:23:01.1846028Z Resolving deltas: 45% (28/61)
2023-01-26T22:23:01.1846392Z Resolving deltas: 47% (29/61)
2023-01-26T22:23:01.1846732Z Resolving deltas: 49% (30/61)
2023-01-26T22:23:01.1847150Z Resolving deltas: 50% (31/61)
2023-01-26T22:23:01.1847517Z Resolving deltas: 52% (32/61)
2023-01-26T22:23:01.1847875Z Resolving deltas: 54% (33/61)
2023-01-26T22:23:01.1848256Z Resolving deltas: 55% (34/61)
2023-01-26T22:23:01.1848625Z Resolving deltas: 57% (35/61)
2023-01-26T22:23:01.1849024Z Resolving deltas: 59% (36/61)
2023-01-26T22:23:01.1849406Z Resolving deltas: 60% (37/61)
2023-01-26T22:23:01.1851597Z Resolving deltas: 62% (38/61)
2023-01-26T22:23:01.1852101Z Resolving deltas: 63% (39/61)
2023-01-26T22:23:01.1853081Z Resolving deltas: 65% (40/61)
2023-01-26T22:23:01.1853513Z Resolving deltas: 67% (41/61)
2023-01-26T22:23:01.1853941Z Resolving deltas: 68% (42/61)
2023-01-26T22:23:01.1854318Z Resolving deltas: 70% (43/61)
2023-01-26T22:23:01.1854683Z Resolving deltas: 72% (44/61)
2023-01-26T22:23:01.1855102Z Resolving deltas: 73% (45/61)
2023-01-26T22:23:01.1855471Z Resolving deltas: 75% (46/61)
2023-01-26T22:23:01.1855840Z Resolving deltas: 77% (47/61)
2023-01-26T22:23:01.1856241Z Resolving deltas: 78% (48/61)
2023-01-26T22:23:01.1857798Z Resolving deltas: 80% (49/61)
2023-01-26T22:23:01.1858176Z Resolving deltas: 81% (50/61)
2023-01-26T22:23:01.1858976Z Resolving deltas: 83% (51/61)
2023-01-26T22:23:01.1859381Z Resolving deltas: 85% (52/61)
2023-01-26T22:23:01.1859759Z Resolving deltas: 86% (53/61)
2023-01-26T22:23:01.1860153Z Resolving deltas: 88% (54/61)
2023-01-26T22:23:01.1860513Z Resolving deltas: 90% (55/61)
2023-01-26T22:23:01.1860899Z Resolving deltas: 91% (56/61)
2023-01-26T22:23:01.1861288Z Resolving deltas: 93% (57/61)
2023-01-26T22:23:01.1861659Z Resolving deltas: 95% (58/61)
2023-01-26T22:23:01.1862045Z Resolving deltas: 96% (59/61)
2023-01-26T22:23:01.1862717Z Resolving deltas: 98% (60/61)
2023-01-26T22:23:01.1863108Z Resolving deltas: 100% (61/61)
2023-01-26T22:23:01.1863539Z Resolving deltas: 100% (61/61), done.
2023-01-26T22:23:01.2991241Z From https://dev.azure.com/CAISoftBC/CAI365BC-20/_git/CAI365BC.v20
2023-01-26T22:23:01.2992443Z * [new ref] 259b2729a0b1d38d003f2f21ac3095e7893e4137 -> origin/259b2729a0b1d38d003f2f21ac3095e7893e4137
2023-01-26T22:23:01.4120065Z ##[command]git -c http.extraheader="AUTHORIZATION: bearer **" fetch --force --tags --prune --prune-tags --progress --no-recurse-submodules origin --depth=1 +259b2729a0b1d38d003f2f21ac3095e7893e4137
2023-01-26T22:23:02.1369423Z remote: Azure Repos
2023-01-26T22:23:02.2105499Z remote:
2023-01-26T22:23:02.2137185Z remote: Found 0 objects to send. (69 ms)
2023-01-26T22:23:02.3608969Z From https://dev.azure.com/CAISoftBC/CAI365BC-20/_git/CAI365BC.v20
2023-01-26T22:23:02.3611047Z branch 259b2729a0b1d38d003f2f21ac3095e7893e4137 -> FETCH_HEAD
2023-01-26T22:23:02.4793304Z ##[command]git checkout --progress --force refs/remotes/origin/259b2729a0b1d38d003f2f21ac3095e7893e4137
2023-01-26T22:23:03.2961381Z Note: switching to 'refs/remotes/origin/259b2729a0b1d38d003f2f21ac3095e7893e4137'.
2023-01-26T22:23:03.3009229Z
2023-01-26T22:23:03.3037068Z You are in 'detached HEAD' state. You can look around, make experimental
2023-01-26T22:23:03.3051488Z changes and commit them, and you can discard any commits you make in this
2023-01-26T22:23:03.3056576Z state without impacting any branches by switching back to a branch.
2023-01-26T22:23:03.3059907Z
2023-01-26T22:23:03.3067728Z If you want to create a new branch to retain commits you create, you may
2023-01-26T22:23:03.3084807Z do so (now or later) by using -c with the switch command. Example:
2023-01-26T22:23:03.3159042Z
2023-01-26T22:23:03.3162071Z git switch -c
2023-01-26T22:23:11.9794622Z ---- ------- ------ -------
2023-01-26T22:23:11.9946325Z nuget 2.8.5.208 https://onege... NuGet provider for the OneGet meta-package manager
2023-01-26T22:23:39.9981180Z
2023-01-26T22:23:39.9987052Z
2023-01-26T22:23:40.0715679Z ##[section]Finishing: Install BCContainerHelper module
2023-01-26T22:23:40.0757870Z ##[section]Starting: Create build container
2023-01-26T22:23:40.0958439Z ==============================================================================
2023-01-26T22:23:40.0958684Z Task : PowerShell
2023-01-26T22:23:40.0958906Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-26T22:23:40.0959100Z Version : 2.212.0
2023-01-26T22:23:40.0959258Z Author : Microsoft Corporation
2023-01-26T22:23:40.0959526Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-26T22:23:40.0959816Z ==============================================================================
2023-01-26T22:23:41.4197049Z Generating script.
2023-01-26T22:23:41.4766049Z ========================== Starting Command Output ===========================
2023-01-26T22:23:41.5103160Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent2_work_temp\0ba5d4f3-15e8-4514-b2aa-ed3eb6317713.ps1'"
2023-01-26T22:23:42.2634030Z BcContainerHelper version 4.0.10
2023-01-26T22:23:42.5660364Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-01-26T22:23:56.1731729Z BcContainerHelper is version 4.0.10
2023-01-26T22:23:56.1743180Z BcContainerHelper is running as administrator
2023-01-26T22:23:57.9602475Z Hyper-V is Enabled
2023-01-26T22:23:57.9629205Z UsePsSession is True
2023-01-26T22:23:57.9650663Z Host is Microsoft Windows 11 Pro - 21H2
2023-01-26T22:23:59.9911995Z Docker Client Version is 20.10.17
2023-01-26T22:23:59.9936021Z Docker Server Version is 20.10.17
2023-01-26T22:24:00.6319082Z Removing Desktop shortcuts
2023-01-26T22:24:00.9982566Z Fetching all docker images
2023-01-26T22:24:01.1806922Z Fetching all docker volumes
2023-01-26T22:24:01.5646200Z Using image mcr.microsoft.com/businesscentral:10.0.20348.1487-dev
2023-01-26T22:24:02.0339484Z Creating Container CAI365BCv20
2023-01-26T22:24:02.0352748Z Style: onprem
2023-01-26T22:24:02.0360042Z Multitenant: No
2023-01-26T22:24:02.0380456Z Version: 21.3.51409.51464
2023-01-26T22:24:02.1300432Z Platform: 21.0.51393.51456
2023-01-26T22:24:02.1314273Z Generic Tag: 1.0.2.13-dev
2023-01-26T22:24:02.1360235Z Container OS Version: 10.0.20348.1487 (ltsc2022)
2023-01-26T22:24:02.1368942Z Host OS Version: 10.0.22000.1455 (21H2)
2023-01-26T22:24:02.1446071Z Using hyperv isolation
2023-01-26T22:24:02.1541781Z Using locale en-US
2023-01-26T22:24:02.1565991Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
2023-01-26T22:24:02.1748516Z Using license file C:_CAI Licenses\CAIv19.flf
2023-01-26T22:24:02.2236136Z Additional Parameters:
2023-01-26T22:24:02.2267529Z --volume "C:\agent\appfiles\:C:\shareddata"
2023-01-26T22:24:02.2276616Z Files in C:\ProgramData\BcContainerHelper\Extensions\CAI365BCv20\my:
2023-01-26T22:24:02.2337810Z - AdditionalOutput.ps1
2023-01-26T22:24:02.2346588Z - license.flf
2023-01-26T22:24:02.2358494Z - MainLoop.ps1
2023-01-26T22:24:02.2366641Z - SetupVariables.ps1
2023-01-26T22:24:02.2378071Z - updatehosts.ps1
2023-01-26T22:24:02.2387051Z Creating container CAI365BCv20 from image mcr.microsoft.com/businesscentral:10.0.20348.1487-dev
2023-01-26T22:24:02.5083603Z 5a62e51b2c5c0984390c18d093b518e392a25d3a8a4a3b447ff2756019154771
2023-01-26T22:24:15.5212056Z Waiting for container CAI365BCv20 to be ready
2023-01-26T22:24:35.7085933Z Using artifactUrl https://bcartifacts.azureedge.net/onprem/21.3.51409.51464/us
2023-01-26T22:24:35.7088554Z Using installer from C:\Run\210-new
2023-01-26T22:24:35.7089842Z Installing Business Central
2023-01-26T22:24:35.7090696Z Installing from artifacts
2023-01-26T22:24:41.7465300Z Starting Local SQL Server
2023-01-26T22:24:41.7467725Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to
2023-01-26T22:24:45.5920519Z start...
2023-01-26T22:24:45.5921661Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to
2023-01-26T22:24:45.5924436Z start...
2023-01-26T22:24:49.1543778Z Starting Internet Information Server
2023-01-26T22:24:49.1545004Z Copying Service Tier Files
2023-01-26T22:25:05.5049116Z c:\dl\onprem\21.3.51409.51464\platform\ServiceTier\Program Files
2023-01-26T22:25:05.5056312Z c:\dl\onprem\21.3.51409.51464\platform\ServiceTier\System64Folder
2023-01-26T22:25:05.5062575Z Copying PowerShell Scripts
2023-01-26T22:25:05.5066493Z c:\dl\onprem\21.3.51409.51464\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
2023-01-26T22:25:05.5070251Z c:\dl\onprem\21.3.51409.51464\platform\WindowsPowerShellScripts\WebSearch
2023-01-26T22:25:05.5071852Z Copying Web Client Files
2023-01-26T22:25:25.0762624Z c:\dl\onprem\21.3.51409.51464\platform\WebClient\Microsoft Dynamics NAV
2023-01-26T22:25:25.0763628Z Copying ModernDev Files
2023-01-26T22:25:25.0764972Z c:\dl\onprem\21.3.51409.51464\platform
2023-01-26T22:25:26.5834393Z c:\dl\onprem\21.3.51409.51464\platform\ModernDev\program files\Microsoft Dynamics NAV
2023-01-26T22:25:26.5836605Z Copying additional files
2023-01-26T22:25:26.5837562Z Copying ConfigurationPackages
2023-01-26T22:25:26.5844598Z C:\dl\onprem\21.3.51409.51464\us\ConfigurationPackages
2023-01-26T22:25:26.5845384Z Copying Test Assemblies
2023-01-26T22:25:26.5846000Z C:\dl\onprem\21.3.51409.51464\platform\Test Assemblies
2023-01-26T22:25:26.5874366Z Copying Applications
2023-01-26T22:25:33.8949902Z C:\dl\onprem\21.3.51409.51464\us\Applications
2023-01-26T22:25:33.8954037Z Copying dependencies
2023-01-26T22:25:59.4936554Z Copying ReportBuilder
2023-01-26T22:26:05.0009474Z Importing PowerShell Modules
2023-01-26T22:26:18.6693439Z Restoring CRONUS Demo Database
2023-01-26T22:26:21.4560806Z Setting CompatibilityLevel for CRONUS on localhost\SQLEXPRESS
2023-01-26T22:26:21.4561485Z Modifying Business Central Service Tier Config File for Docker
2023-01-26T22:26:21.4562071Z Creating Business Central Service Tier
2023-01-26T22:26:21.4562539Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2023-01-26T22:29:59.8198962Z Starting Business Central Service Tier
2023-01-26T22:30:02.5369109Z Importing license file
2023-01-26T22:30:02.5370612Z Stopping Business Central Service Tier
2023-01-26T22:30:02.5371214Z Installation took 327 seconds
2023-01-26T22:30:02.5371650Z Installation complete
2023-01-26T22:30:10.9201189Z Initializing...
2023-01-26T22:30:10.9202139Z Setting host.docker.internal to 10.0.36.59 in container hosts file (copy from host hosts file)
2023-01-26T22:30:10.9204035Z Setting gateway.docker.internal to 10.0.36.59 in container hosts file (copy from host hosts file)
2023-01-26T22:30:10.9204860Z Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
2023-01-26T22:30:10.9205834Z Setting host.containerhelper.internal to 172.26.224.1 in container hosts file
2023-01-26T22:30:10.9206294Z Starting Container
2023-01-26T22:30:10.9206649Z Hostname is CAI365BCv20
2023-01-26T22:30:12.2811980Z PublicDnsName is CAI365BCv20
2023-01-26T22:30:12.2812739Z Using NavUserPassword Authentication
2023-01-26T22:30:13.6404238Z Creating Self Signed Certificate
2023-01-26T22:30:13.6405349Z Self Signed Certificate Thumbprint 181B6BB7D37FA5E97191B663F4E8323CC5AABFF2
2023-01-26T22:30:13.6406669Z DNS identity CAI365BCv20
2023-01-26T22:30:15.0898642Z Modifying Service Tier Config File with Instance Specific Settings
2023-01-26T22:31:04.1276628Z Starting Service Tier
2023-01-26T22:31:04.1284121Z Registering event sources
2023-01-26T22:31:04.1285270Z Creating DotNetCore Web Server Instance
2023-01-26T22:31:04.1286111Z Using application pool name: BC
2023-01-26T22:31:04.1286985Z Using default container name: NavWebApplicationContainer
2023-01-26T22:31:14.9551441Z Copy files to WWW root C:\inetpub\wwwroot\BC
2023-01-26T22:31:16.2257505Z Create the application pool BC
2023-01-26T22:31:17.5602642Z Create website: NavWebApplicationContainer without SSL
2023-01-26T22:31:17.5603173Z Update configuration: navsettings.json
2023-01-26T22:31:18.7855137Z Done Configuring Web Client
2023-01-26T22:31:18.7856986Z Using license file 'c:\run\my\license.flf'
2023-01-26T22:31:20.0626128Z Import License
2023-01-26T22:31:22.6677774Z Creating http download site
2023-01-26T22:31:22.6679161Z Setting SA Password and enabling SA
2023-01-26T22:31:23.9388110Z Creating admin as SQL User and add to sysadmin
2023-01-26T22:31:28.8947449Z WARNING: This license is not compatible with this version of Business Central.
2023-01-26T22:31:28.8948739Z Creating SUPER user
2023-01-26T22:31:32.6510492Z WARNING: This license is not compatible with this version of Business Central.
2023-01-26T22:31:33.9731097Z WARNING: This license is not compatible with this version of Business Central.
2023-01-26T22:31:33.9732289Z Container IP Address: 172.26.235.187
2023-01-26T22:31:33.9732976Z Container Hostname : CAI365BCv20
2023-01-26T22:31:33.9733545Z Container Dns Name : CAI365BCv20
2023-01-26T22:31:33.9734136Z Web Client : http://CAI365BCv20/BC/
2023-01-26T22:31:33.9734819Z Dev. Server : http://CAI365BCv20
2023-01-26T22:31:33.9740702Z Dev. ServerInstance : BC
2023-01-26T22:31:35.4571285Z Setting CAI365BCv20 to 172.26.235.187 in host hosts file
2023-01-26T22:31:35.4573480Z
2023-01-26T22:31:35.4580350Z Files:
2023-01-26T22:31:35.4587099Z http://CAI365BCv20:8080/ALLanguage.vsix
2023-01-26T22:31:35.4587530Z
2023-01-26T22:31:35.4587919Z Container Total Physical Memory is 8.5Gb
2023-01-26T22:31:35.4588322Z Container Free Physical Memory is 6.3Gb
2023-01-26T22:31:35.4588507Z
2023-01-26T22:31:35.4588799Z Initialization took 92 seconds
2023-01-26T22:31:36.4324808Z Ready for connections!
2023-01-26T22:31:37.8844989Z Reading CustomSettings.config from CAI365BCv20
2023-01-26T22:31:38.3775358Z Container CAI365BCv20 successfully created
2023-01-26T22:31:41.1560343Z
2023-01-26T22:31:41.1591915Z Use:
2023-01-26T22:31:41.1632114Z Get-BcContainerEventLog -containerName CAI365BCv20 to retrieve a snapshot of the event log from the container
2023-01-26T22:31:41.1635397Z Get-BcContainerDebugInfo -containerName CAI365BCv20 to get debug information about the container
2023-01-26T22:31:41.1641472Z Enter-BcContainer -containerName CAI365BCv20 to open a PowerShell prompt inside the container
2023-01-26T22:31:41.1642162Z Remove-BcContainer -containerName CAI365BCv20 to remove the container again
2023-01-26T22:31:41.1663571Z docker logs CAI365BCv20 to retrieve information about URL's again
2023-01-26T22:31:43.0429224Z ##[section]Finishing: Create build container
2023-01-26T22:31:43.0536854Z ##[section]Starting: Copy source into container folder
2023-01-26T22:31:43.0939111Z ==============================================================================
2023-01-26T22:31:43.0939452Z Task : PowerShell
2023-01-26T22:31:43.0939782Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-26T22:31:43.0941763Z Version : 2.212.0
2023-01-26T22:31:43.0942083Z Author : Microsoft Corporation
2023-01-26T22:31:43.0942328Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-26T22:31:43.0942632Z ==============================================================================
2023-01-26T22:31:44.8560416Z Generating script.
2023-01-26T22:31:44.8965009Z ========================== Starting Command Output ===========================
2023-01-26T22:31:44.9216802Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent2_work_temp\a8f09612-6e71-48d3-b5dc-6a53456d12c3.ps1'"
2023-01-26T22:31:45.3326953Z
2023-01-26T22:31:45.3327892Z
2023-01-26T22:31:45.3331125Z Directory: C:\ProgramData\BcContainerHelper\Extensions\CAI365BCv20
2023-01-26T22:31:45.3331447Z
2023-01-26T22:31:45.3331560Z
2023-01-26T22:31:45.3343186Z Mode LastWriteTime Length Name
2023-01-26T22:31:45.3344726Z ---- ------------- ------ ----
2023-01-26T22:31:45.3354325Z d----- 1/26/2023 5:31 PM Source
2023-01-26T22:31:46.5169534Z
2023-01-26T22:31:46.5171228Z
2023-01-26T22:31:46.5844375Z ##[section]Finishing: Copy source into container folder
2023-01-26T22:31:46.5884141Z ##[section]Starting: Compile app
2023-01-26T22:31:46.6317294Z ==============================================================================
2023-01-26T22:31:46.6317700Z Task : PowerShell
2023-01-26T22:31:46.6318053Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-26T22:31:46.6318433Z Version : 2.212.0
2023-01-26T22:31:46.6318753Z Author : Microsoft Corporation
2023-01-26T22:31:46.6319189Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-26T22:31:46.6319697Z ==============================================================================
2023-01-26T22:31:48.4005748Z Generating script.
2023-01-26T22:31:48.4558104Z ========================== Starting Command Output ===========================
2023-01-26T22:31:48.4986975Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent2_work_temp\bb198104-6567-44f2-aeb0-c304560d904b.ps1'"
2023-01-26T22:31:49.3897490Z BcContainerHelper version 4.0.10
2023-01-26T22:31:50.0323552Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-01-26T22:31:56.7174650Z Using Symbols Folder: C:\agent\appfiles\
2023-01-26T22:32:31.4548098Z Compiling...
2023-01-26T22:32:31.4884536Z .\alc.exe /project:"C:\ProgramData\BcContainerHelper\Extensions\CAI365BCv20\Source" /packagecachepath:"C:\shareddata" /out:"C:\ProgramData\BcContainerHelper\Extensions\CAI365BCv20\Source\output\CAI Software_CAi Software Precious Metals Solution20.0.1.17.app" /assemblyprobingpaths:"C:\Program Files\Microsoft Dynamics NAV\210\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
2023-01-26T22:32:42.8648637Z Microsoft (R) AL Compiler version 10.3.11.10307
2023-01-26T22:32:42.8655912Z Copyright (C) Microsoft Corporation. All rights reserved
2023-01-26T22:32:42.8663445Z
2023-01-26T22:32:42.8712838Z Compilation started for project 'CAi Software Precious Metals Solution' containing '393' files at '17:32:32.220'.
2023-01-26T22:32:42.8713923Z
2023-01-26T22:32:42.8785027Z ##[error]A package with publisher 'Microsoft', name 'Base Application', and a version compatible with '21.2.0.0' could not be found in the package cache folder 'C:\shareddata'
2023-01-26T22:32:42.8824893Z ##[error]A package with publisher 'Microsoft', name 'System Application', and a version compatible with '21.2.0.0' could not be found in the package cache folder 'C:\shareddata'
2023-01-26T22:32:42.8826003Z
2023-01-26T22:32:42.8826393Z Compilation ended at '17:32:42.748'.
2023-01-26T22:32:42.8826605Z
2023-01-26T22:32:42.8826920Z App generation failed with exit code 1
2023-01-26T22:32:44.9156991Z Compile-AppInNavContainer Telemetry Correlation Id: 767ed661-2c51-4284-833d-677a44df581b
2023-01-26T22:32:44.9825399Z App generation failed with exit code 1
2023-01-26T22:32:44.9826415Z At C:\Windows\ServiceProfiles\NetworkService\Documents\WindowsPowerShell\Modules\BcContainerHelper\4.0.10\AppHandling\C
2023-01-26T22:32:44.9827061Z ompile-AppInNavContainer.ps1:669 char:72
2023-01-26T22:32:44.9827550Z + ... | Where-Object { $ -like "App generation failed" } | % { throw $_ }
2023-01-26T22:32:44.9827964Z + ~~~~
2023-01-26T22:32:44.9828920Z + CategoryInfo : OperationStopped: (App generation failed with exit code 1:String) [], RuntimeException
2023-01-26T22:32:44.9829634Z + FullyQualifiedErrorId : App generation failed with exit code 1
2023-01-26T22:32:44.9829992Z
2023-01-26T22:32:45.1684134Z ##[error]PowerShell exited with code '1'.
2023-01-26T22:32:45.2303963Z ##[section]Finishing: Compile app
2023-01-26T22:32:45.2383961Z ##[section]Starting: Remove build container
2023-01-26T22:32:45.2790356Z ==============================================================================
2023-01-26T22:32:45.2790695Z Task : PowerShell
2023-01-26T22:32:45.2791004Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-26T22:32:45.2791266Z Version : 2.212.0
2023-01-26T22:32:45.2791498Z Author : Microsoft Corporation
2023-01-26T22:32:45.2791869Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-26T22:32:45.2792297Z ==============================================================================
2023-01-26T22:32:47.9459954Z Generating script.
2023-01-26T22:32:47.9840086Z ========================== Starting Command Output ===========================
2023-01-26T22:32:48.0068461Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent2_work_temp\353ba7bd-588f-4f5d-a68a-4e72ff37afce.ps1'"
2023-01-26T22:32:48.6554782Z BcContainerHelper version 4.0.10
2023-01-26T22:32:49.1034885Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-01-26T22:32:55.3603909Z Removing Session CAI365BCv20
2023-01-26T22:32:55.5450377Z Removing container CAI365BCv20
2023-01-26T22:32:58.9135391Z Removing entries from hosts
2023-01-26T22:32:58.9740743Z Removing CAI365BCv20 from container hosts file
2023-01-26T22:32:59.1213522Z Removing CAI365BCv20- from container hosts file
2023-01-26T22:32:59.1441853Z Removing Desktop shortcuts
2023-01-26T22:32:59.1953428Z Removing C:\ProgramData\BcContainerHelper\Extensions\CAI365BCv20
2023-01-26T22:33:02.0996097Z ##[section]Finishing: Remove build container
2023-01-26T22:33:02.1042760Z ##[section]Starting: Checkout CAI365BC.v20@master to s
2023-01-26T22:33:02.1314704Z ==============================================================================
2023-01-26T22:33:02.1316059Z Task : Get sources
2023-01-26T22:33:02.1316470Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2023-01-26T22:33:02.1316887Z Version : 1.0.0
2023-01-26T22:33:02.1317130Z Author : Microsoft
2023-01-26T22:33:02.1317557Z Help : More Information
2023-01-26T22:33:02.1318071Z ==============================================================================
2023-01-26T22:33:02.6999978Z Cleaning any cached credential from repository: CAI365BC.v20 (Git)
2023-01-26T22:33:02.7169730Z ##[section]Finishing: Checkout CAI365BC.v20@master to s
2023-01-26T22:33:02.7267645Z ##[section]Starting: Finalize Job
2023-01-26T22:33:02.7315730Z Cleaning up task key
2023-01-26T22:33:02.7317801Z Start cleaning up orphan processes.
2023-01-26T22:33:02.7521108Z ##[section]Finishing: Finalize Job
2023-01-26T22:33:02.7581924Z ##[section]Finishing: Build
There is something that isn't right here. Looking at the code path, I cannot understand how this output comes from compiling an app with this app.json does this app.json reside in the folder specified in '$(Build.SourcesDirectory)'? or is there a subfolder and a second app.json?
You are right; something is not right. That log output is not from the correct fork repository. However the error is the same. I just made two runs from the correct repository--one with the Microsoft symbol (.app) files in place, one without. Without fails; here is that output:
2023-01-31T14:10:42.7967192Z ##[section]Starting: Build
2023-01-31T14:10:42.9847152Z ##[section]Starting: Initialize job
2023-01-31T14:10:42.9848532Z Agent name: 'DockerBuild1'
2023-01-31T14:10:42.9848848Z Agent machine name: 'DockerBuild1'
2023-01-31T14:10:42.9849025Z Current agent version: '2.202.1'
2023-01-31T14:10:42.9869463Z Agent running as: 'DockerBuild1$'
2023-01-31T14:10:42.9902882Z Prepare build directory.
2023-01-31T14:10:43.0231212Z Set build variables.
2023-01-31T14:10:43.0257315Z Download all required tasks.
2023-01-31T14:10:43.0497140Z Checking job knob settings.
2023-01-31T14:10:43.0504760Z Finished checking job knob settings.
2023-01-31T14:10:43.0795160Z Start tracking orphan processes.
2023-01-31T14:10:43.0864734Z ##[section]Finishing: Initialize job
2023-01-31T14:10:43.1095714Z ##[section]Starting: Checkout CAI365BC-AppSource@master to s
2023-01-31T14:10:43.1676935Z ==============================================================================
2023-01-31T14:10:43.1677551Z Task : Get sources
2023-01-31T14:10:43.1677951Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2023-01-31T14:10:43.1678161Z Version : 1.0.0
2023-01-31T14:10:43.1678423Z Author : Microsoft
2023-01-31T14:10:43.1678826Z Help : More Information
2023-01-31T14:10:43.1679081Z ==============================================================================
2023-01-31T14:10:44.2599492Z Syncing repository: CAI365BC-AppSource (Git)
2023-01-31T14:10:44.2606339Z Prepending Path environment variable with directory containing 'git.exe'.
2023-01-31T14:10:44.2616159Z ##[command]git version
2023-01-31T14:10:44.2624406Z git version 2.30.2.windows.1
2023-01-31T14:10:44.2625977Z ##[command]git lfs version
2023-01-31T14:10:44.2634458Z git-lfs/2.13.3 (GitHub; windows amd64; go 1.16.2; git a5e65851)
2023-01-31T14:10:44.2637022Z ##[command]git config --get remote.origin.url
2023-01-31T14:10:44.2647543Z ##[command]git clean -ffdx
2023-01-31T14:10:45.2063818Z ##[command]git reset --hard HEAD
2023-01-31T14:10:45.2145721Z HEAD is now at 5049ce8 Merged PR 272: Fixed errors in CRONUS setup
2023-01-31T14:10:45.2163824Z ##[command]git config gc.auto 0
2023-01-31T14:10:45.2179428Z ##[command]git config --get-all http.https://CAISoftBC@dev.azure.com/CAISoftBC/CAI365BC-AppSource/_git/CAI365BC-AppSource.extraheader
2023-01-31T14:10:45.2190960Z ##[command]git config --get-all http.extraheader
2023-01-31T14:10:45.2484815Z ##[command]git config --get-regexp .*extraheader
2023-01-31T14:10:45.3221537Z ##[command]git config --get-all http.proxy
2023-01-31T14:10:45.4398029Z ##[command]git config http.version HTTP/1.1
2023-01-31T14:10:45.5029816Z ##[command]git -c http.extraheader="AUTHORIZATION: bearer " fetch --force --tags --prune --prune-tags --progress --no-recurse-submodules origin
2023-01-31T14:10:45.9258564Z ##[command]git -c http.extraheader="AUTHORIZATION: bearer " fetch --force --tags --prune --prune-tags --progress --no-recurse-submodules origin +5049ce84b259c1dbdf7aa90503e7d72d26a5682f
2023-01-31T14:10:46.1385036Z From https://dev.azure.com/CAISoftBC/CAI365BC-AppSource/_git/CAI365BC-AppSource
2023-01-31T14:10:46.1386459Z * branch 5049ce84b259c1dbdf7aa90503e7d72d26a5682f -> FETCH_HEAD
2023-01-31T14:10:46.1926432Z ##[command]git checkout --progress --force 5049ce84b259c1dbdf7aa90503e7d72d26a5682f
2023-01-31T14:10:46.2441464Z HEAD is now at 5049ce8 Merged PR 272: Fixed errors in CRONUS setup
2023-01-31T14:10:46.2519408Z ##[section]Finishing: Checkout CAI365BC-AppSource@master to s
2023-01-31T14:10:46.2560298Z ##[section]Starting: Install BCContainerHelper module
2023-01-31T14:10:46.2740707Z ==============================================================================
2023-01-31T14:10:46.2740964Z Task : PowerShell
2023-01-31T14:10:46.2741187Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-31T14:10:46.2741393Z Version : 2.212.0
2023-01-31T14:10:46.2741583Z Author : Microsoft Corporation
2023-01-31T14:10:46.2743491Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-31T14:10:46.2743940Z ==============================================================================
2023-01-31T14:10:47.4014851Z Generating script.
2023-01-31T14:10:47.4517779Z ========================== Starting Command Output ===========================
2023-01-31T14:10:47.4741259Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent_work_temp\38a4320f-9d52-4da8-aaf9-1f60e367e567.ps1'"
2023-01-31T14:10:50.0371783Z
2023-01-31T14:10:50.0378823Z Name Version Source Summary
2023-01-31T14:10:50.0387996Z ---- ------- ------ -------
2023-01-31T14:10:50.0393751Z nuget 2.8.5.208 https://onege... NuGet provider for the OneGet meta-package manager
2023-01-31T14:11:07.9145933Z
2023-01-31T14:11:07.9152048Z
2023-01-31T14:11:07.9920205Z ##[section]Finishing: Install BCContainerHelper module
2023-01-31T14:11:07.9961732Z ##[section]Starting: Create build container
2023-01-31T14:11:08.0121464Z ==============================================================================
2023-01-31T14:11:08.0121744Z Task : PowerShell
2023-01-31T14:11:08.0121953Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-31T14:11:08.0122149Z Version : 2.212.0
2023-01-31T14:11:08.0122334Z Author : Microsoft Corporation
2023-01-31T14:11:08.0122587Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-31T14:11:08.0122885Z ==============================================================================
2023-01-31T14:11:09.1656408Z Generating script.
2023-01-31T14:11:09.2020547Z ========================== Starting Command Output ===========================
2023-01-31T14:11:09.2231368Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent_work_temp\987458dd-5d7a-41e0-8b7c-e632dd0d9187.ps1'"
2023-01-31T14:11:09.7835010Z BcContainerHelper version 4.0.10
2023-01-31T14:11:10.0874766Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-01-31T14:11:22.2445924Z WARNING: Container name should not exceed 15 characters
2023-01-31T14:11:22.5055124Z BcContainerHelper is version 4.0.10
2023-01-31T14:11:22.5060427Z BcContainerHelper is running as administrator
2023-01-31T14:11:23.9724236Z Hyper-V is Enabled
2023-01-31T14:11:23.9755110Z UsePsSession is True
2023-01-31T14:11:23.9775880Z Host is Microsoft Windows 11 Pro - 21H2
2023-01-31T14:11:24.1403834Z Docker Client Version is 20.10.17
2023-01-31T14:11:24.1479390Z Docker Server Version is 20.10.17
2023-01-31T14:11:24.7773452Z Removing Desktop shortcuts
2023-01-31T14:11:25.1334354Z Fetching all docker images
2023-01-31T14:11:25.2894635Z Fetching all docker volumes
2023-01-31T14:11:25.7405173Z Using image mcr.microsoft.com/businesscentral:10.0.20348.1487-dev
2023-01-31T14:11:26.2588712Z Creating Container RefiningAppSource
2023-01-31T14:11:26.2599198Z Style: onprem
2023-01-31T14:11:26.2624652Z Multitenant: No
2023-01-31T14:11:26.2630935Z Version: 21.3.51409.52692
2023-01-31T14:11:26.2646602Z Platform: 21.0.51393.52554
2023-01-31T14:11:26.2653132Z Generic Tag: 1.0.2.13-dev
2023-01-31T14:11:26.2694599Z Container OS Version: 10.0.20348.1487 (ltsc2022)
2023-01-31T14:11:26.2717296Z Host OS Version: 10.0.22000.1455 (21H2)
2023-01-31T14:11:26.2821181Z Using hyperv isolation
2023-01-31T14:11:26.2865695Z Using locale en-US
2023-01-31T14:11:26.3005406Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
2023-01-31T14:11:26.3015560Z Using license file C:_CAI Licenses\CAIv21.bclicense
2023-01-31T14:11:26.3377579Z Additional Parameters:
2023-01-31T14:11:26.3406803Z --volume "C:\agent\appfiles\:C:\shareddata"
2023-01-31T14:11:26.3414086Z Files in C:\ProgramData\BcContainerHelper\Extensions\RefiningAppSource\my:
2023-01-31T14:11:26.3469416Z - AdditionalOutput.ps1
2023-01-31T14:11:26.3476633Z - license.bclicense
2023-01-31T14:11:26.3488088Z - MainLoop.ps1
2023-01-31T14:11:26.3496287Z - SetupVariables.ps1
2023-01-31T14:11:26.3507520Z - updatehosts.ps1
2023-01-31T14:11:26.3515961Z Creating container RefiningAppSource from image mcr.microsoft.com/businesscentral:10.0.20348.1487-dev
2023-01-31T14:11:26.5850272Z d1ddc7197e254565b49f97038e533f4e6cd0df38c3e7c24681750e9c926f2745
2023-01-31T14:11:32.8433421Z Waiting for container RefiningAppSource to be ready
2023-01-31T14:11:40.3705782Z Adding REFININGAPPSOUR to hosts file
2023-01-31T14:11:41.6114804Z Using artifactUrl https://bcartifacts.azureedge.net/onprem/21.3.51409.52692/us
2023-01-31T14:11:41.6115534Z Using installer from C:\Run\210-new
2023-01-31T14:11:41.6119039Z Installing Business Central
2023-01-31T14:11:41.6121222Z Installing from artifacts
2023-01-31T14:11:45.4016102Z Starting Local SQL Server
2023-01-31T14:11:47.1562656Z Starting Internet Information Server
2023-01-31T14:11:47.1740153Z Copying Service Tier Files
2023-01-31T14:11:50.4756047Z c:\dl\onprem\21.3.51409.52692\platform\ServiceTier\Program Files
2023-01-31T14:11:50.4756989Z c:\dl\onprem\21.3.51409.52692\platform\ServiceTier\System64Folder
2023-01-31T14:11:50.4757765Z Copying PowerShell Scripts
2023-01-31T14:11:51.8124013Z c:\dl\onprem\21.3.51409.52692\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
2023-01-31T14:11:51.8126122Z c:\dl\onprem\21.3.51409.52692\platform\WindowsPowerShellScripts\WebSearch
2023-01-31T14:11:51.8131047Z Copying Web Client Files
2023-01-31T14:12:02.2525990Z c:\dl\onprem\21.3.51409.52692\platform\WebClient\Microsoft Dynamics NAV
2023-01-31T14:12:02.2527024Z Copying ModernDev Files
2023-01-31T14:12:02.2527762Z c:\dl\onprem\21.3.51409.52692\platform
2023-01-31T14:12:03.5159680Z c:\dl\onprem\21.3.51409.52692\platform\ModernDev\program files\Microsoft Dynamics NAV
2023-01-31T14:12:03.5160633Z Copying additional files
2023-01-31T14:12:03.5161539Z Copying ConfigurationPackages
2023-01-31T14:12:03.5162132Z C:\dl\onprem\21.3.51409.52692\us\ConfigurationPackages
2023-01-31T14:12:03.5162536Z Copying Test Assemblies
2023-01-31T14:12:03.5163328Z C:\dl\onprem\21.3.51409.52692\platform\Test Assemblies
2023-01-31T14:12:03.5163717Z Copying Applications
2023-01-31T14:12:10.5641717Z C:\dl\onprem\21.3.51409.52692\us\Applications
2023-01-31T14:12:10.5642730Z Copying dependencies
2023-01-31T14:12:26.9367113Z Copying ReportBuilder
2023-01-31T14:12:30.7223002Z Importing PowerShell Modules
2023-01-31T14:12:39.6894703Z Restoring CRONUS Demo Database
2023-01-31T14:12:40.9794301Z Setting CompatibilityLevel for CRONUS on localhost\SQLEXPRESS
2023-01-31T14:12:40.9795767Z Modifying Business Central Service Tier Config File for Docker
2023-01-31T14:12:40.9796740Z Creating Business Central Service Tier
2023-01-31T14:12:40.9797453Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2023-01-31T14:15:22.0719208Z Starting Business Central Service Tier
2023-01-31T14:15:22.0719998Z Importing license file
2023-01-31T14:15:23.3141304Z Stopping Business Central Service Tier
2023-01-31T14:15:23.3379473Z Installation took 221 seconds
2023-01-31T14:15:23.3384377Z Installation complete
2023-01-31T14:15:28.0731793Z Initializing...
2023-01-31T14:15:28.0733561Z Setting host.docker.internal to 10.0.36.59 in container hosts file (copy from host hosts file)
2023-01-31T14:15:28.0735562Z Setting gateway.docker.internal to 10.0.36.59 in container hosts file (copy from host hosts file)
2023-01-31T14:15:28.0737285Z Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
2023-01-31T14:15:28.0738537Z Setting host.containerhelper.internal to 172.21.112.1 in container hosts file
2023-01-31T14:15:28.0739919Z Starting Container
2023-01-31T14:15:28.0740667Z Hostname is RefiningAppSource
2023-01-31T14:15:29.4593170Z PublicDnsName is RefiningAppSource
2023-01-31T14:15:29.4717022Z Using NavUserPassword Authentication
2023-01-31T14:15:29.4735366Z Creating Self Signed Certificate
2023-01-31T14:15:29.4775411Z Self Signed Certificate Thumbprint 24E033D38350CE846A6F5B2BAD0285E6FCA01002
2023-01-31T14:15:29.4777923Z DNS identity RefiningAppSource
2023-01-31T14:15:30.7320236Z Modifying Service Tier Config File with Instance Specific Settings
2023-01-31T14:16:51.7749176Z Starting Service Tier
2023-01-31T14:16:51.7765755Z Registering event sources
2023-01-31T14:16:51.7778967Z Creating DotNetCore Web Server Instance
2023-01-31T14:16:51.7780022Z Using application pool name: BC
2023-01-31T14:16:51.7780859Z Using default container name: NavWebApplicationContainer
2023-01-31T14:17:04.6060425Z Copy files to WWW root C:\inetpub\wwwroot\BC
2023-01-31T14:17:06.0071790Z Create the application pool BC
2023-01-31T14:17:09.5490107Z Create website: NavWebApplicationContainer without SSL
2023-01-31T14:17:09.5490838Z Update configuration: navsettings.json
2023-01-31T14:17:11.2121512Z Done Configuring Web Client
2023-01-31T14:17:11.2124260Z Using license file 'c:\run\my\license.bclicense'
2023-01-31T14:17:19.2402154Z Import License
2023-01-31T14:17:24.2892181Z Creating http download site
2023-01-31T14:17:24.2894623Z Setting SA Password and enabling SA
2023-01-31T14:17:32.0254269Z Creating admin as SQL User and add to sysadmin
2023-01-31T14:17:38.8908163Z Creating SUPER user
2023-01-31T14:17:38.8908836Z Container IP Address: 172.21.123.170
2023-01-31T14:17:38.8909273Z Container Hostname : RefiningAppSource
2023-01-31T14:17:38.8910369Z Container Dns Name : RefiningAppSource
2023-01-31T14:17:38.8910822Z Web Client : http://RefiningAppSource/BC/
2023-01-31T14:17:38.8911441Z Dev. Server : http://RefiningAppSource
2023-01-31T14:17:38.8911831Z Dev. ServerInstance : BC
2023-01-31T14:17:40.0572158Z Setting RefiningAppSource to 172.21.123.170 in host hosts file
2023-01-31T14:17:40.0572739Z
2023-01-31T14:17:40.0573908Z Files:
2023-01-31T14:17:40.0580125Z http://RefiningAppSource:8080/ALLanguage.vsix
2023-01-31T14:17:40.0580494Z
2023-01-31T14:17:40.0580898Z Container Total Physical Memory is 8.5Gb
2023-01-31T14:17:40.0581312Z Container Free Physical Memory is 5.9Gb
2023-01-31T14:17:40.0581984Z
2023-01-31T14:17:40.0582329Z Initialization took 137 seconds
2023-01-31T14:17:40.5443004Z Ready for connections!
2023-01-31T14:17:41.4717880Z Reading CustomSettings.config from RefiningAppSource
2023-01-31T14:17:41.8802926Z Container RefiningAppSource successfully created
2023-01-31T14:17:42.1411312Z
2023-01-31T14:17:42.1423153Z Use:
2023-01-31T14:17:42.1440440Z Get-BcContainerEventLog -containerName RefiningAppSource to retrieve a snapshot of the event log from the container
2023-01-31T14:17:42.1457067Z Get-BcContainerDebugInfo -containerName RefiningAppSource to get debug information about the container
2023-01-31T14:17:42.1472713Z Enter-BcContainer -containerName RefiningAppSource to open a PowerShell prompt inside the container
2023-01-31T14:17:42.1488851Z Remove-BcContainer -containerName RefiningAppSource to remove the container again
2023-01-31T14:17:42.1506894Z docker logs RefiningAppSource to retrieve information about URL's again
2023-01-31T14:17:43.8717093Z ##[section]Finishing: Create build container
2023-01-31T14:17:43.8857371Z ##[section]Starting: Copy source into container folder
2023-01-31T14:17:43.9281411Z ==============================================================================
2023-01-31T14:17:43.9281796Z Task : PowerShell
2023-01-31T14:17:43.9282128Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-31T14:17:43.9282423Z Version : 2.212.0
2023-01-31T14:17:43.9282668Z Author : Microsoft Corporation
2023-01-31T14:17:43.9285057Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-31T14:17:43.9285802Z ==============================================================================
2023-01-31T14:17:45.6433536Z Generating script.
2023-01-31T14:17:45.6818535Z ========================== Starting Command Output ===========================
2023-01-31T14:17:45.7046609Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent_work_temp\5b827628-a6e0-4d7b-ab04-76c0c0257489.ps1'"
2023-01-31T14:17:46.0087805Z
2023-01-31T14:17:46.0097487Z
2023-01-31T14:17:46.0101599Z Directory: C:\ProgramData\BcContainerHelper\Extensions\RefiningAppSource
2023-01-31T14:17:46.0102064Z
2023-01-31T14:17:46.0102172Z
2023-01-31T14:17:46.0117077Z Mode LastWriteTime Length Name
2023-01-31T14:17:46.0118360Z ---- ------------- ------ ----
2023-01-31T14:17:46.0128505Z d----- 1/31/2023 9:17 AM Source
2023-01-31T14:17:48.2476231Z
2023-01-31T14:17:48.2483527Z
2023-01-31T14:17:48.3552434Z ##[section]Finishing: Copy source into container folder
2023-01-31T14:17:48.3589014Z ##[section]Starting: Compile app
2023-01-31T14:17:48.4217922Z ==============================================================================
2023-01-31T14:17:48.4218342Z Task : PowerShell
2023-01-31T14:17:48.4218698Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-31T14:17:48.4219069Z Version : 2.212.0
2023-01-31T14:17:48.4219375Z Author : Microsoft Corporation
2023-01-31T14:17:48.4219813Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-31T14:17:48.4220383Z ==============================================================================
2023-01-31T14:17:49.8907694Z Generating script.
2023-01-31T14:17:49.9539684Z ========================== Starting Command Output ===========================
2023-01-31T14:17:49.9702669Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent_work_temp\79b14644-d873-4a08-b151-83eb75d99464.ps1'"
2023-01-31T14:17:50.6215963Z BcContainerHelper version 4.0.10
2023-01-31T14:17:51.0185906Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-01-31T14:17:58.1811527Z Using Symbols Folder: C:\agent\appfiles\
2023-01-31T14:18:24.4826851Z Downloading symbols: Microsoft_System_21.0.51393.52554.app
2023-01-31T14:18:24.4891318Z Url : http://172.21.123.170:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=21.0.0.0&tenant=default
2023-01-31T14:18:24.5021802Z Using WebClient
2023-01-31T14:18:39.9955015Z Compiling...
2023-01-31T14:18:40.0254953Z .\alc.exe /project:"C:\ProgramData\BcContainerHelper\Extensions\RefiningAppSource\Source" /packagecachepath:"C:\shareddata" /out:"C:\ProgramData\BcContainerHelper\Extensions\RefiningAppSource\Source\output\CAI Software_CAI Software Precious Metals Solution21.0.1.29.app" /assemblyprobingpaths:"C:\Program Files\Microsoft Dynamics NAV\210\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
2023-01-31T14:18:49.1263745Z Microsoft (R) AL Compiler version 10.3.11.10307
2023-01-31T14:18:49.1285977Z Copyright (C) Microsoft Corporation. All rights reserved
2023-01-31T14:18:49.1294391Z
2023-01-31T14:18:49.1304590Z Compilation started for project 'CAI Software Precious Metals Solution' containing '401' files at '09:18:40.836'.
2023-01-31T14:18:49.1310286Z
2023-01-31T14:18:49.1417029Z ##[error]A package with publisher 'Microsoft', name 'Application', and a version compatible with '21.0.0.0' could not be found in the package cache folder 'C:\shareddata'
2023-01-31T14:18:49.1443168Z
2023-01-31T14:18:49.1443529Z Compilation ended at '09:18:49.068'.
2023-01-31T14:18:49.1445103Z
2023-01-31T14:18:49.1445503Z App generation failed with exit code 1
2023-01-31T14:18:50.8832524Z Compile-AppInNavContainer Telemetry Correlation Id: 960bb891-2d40-4a50-94df-0e70641a099d
2023-01-31T14:18:51.0063905Z App generation failed with exit code 1
2023-01-31T14:18:51.0070631Z At C:\Windows\ServiceProfiles\NetworkService\Documents\WindowsPowerShell\Modules\BcContainerHelper\4.0.10\AppHandling\C
2023-01-31T14:18:51.0072131Z ompile-AppInNavContainer.ps1:669 char:72
2023-01-31T14:18:51.0073101Z + ... | Where-Object { $ -like "App generation failed" } | % { throw $_ }
2023-01-31T14:18:51.0074679Z + ~~~~
2023-01-31T14:18:51.0076614Z + CategoryInfo : OperationStopped: (App generation failed with exit code 1:String) [], RuntimeException
2023-01-31T14:18:51.0077303Z + FullyQualifiedErrorId : App generation failed with exit code 1
2023-01-31T14:18:51.0080633Z
2023-01-31T14:18:51.1824382Z ##[error]PowerShell exited with code '1'.
2023-01-31T14:18:51.2531882Z ##[section]Finishing: Compile app
2023-01-31T14:18:51.2595307Z ##[section]Starting: Remove build container
2023-01-31T14:18:51.2949542Z ==============================================================================
2023-01-31T14:18:51.2950016Z Task : PowerShell
2023-01-31T14:18:51.2950348Z Description : Run a PowerShell script on Linux, macOS, or Windows
2023-01-31T14:18:51.2950640Z Version : 2.212.0
2023-01-31T14:18:51.2950893Z Author : Microsoft Corporation
2023-01-31T14:18:51.2951269Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-01-31T14:18:51.2951739Z ==============================================================================
2023-01-31T14:18:52.6575394Z Generating script.
2023-01-31T14:18:52.6942004Z ========================== Starting Command Output ===========================
2023-01-31T14:18:52.7168598Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent_work_temp\ab9b894c-1161-4273-a9df-3c3d778a95ec.ps1'"
2023-01-31T14:18:53.2707365Z BcContainerHelper version 4.0.10
2023-01-31T14:18:53.5926436Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-01-31T14:18:59.4521898Z Removing Session RefiningAppSource
2023-01-31T14:18:59.6348316Z Removing container RefiningAppSource
2023-01-31T14:19:01.7980385Z Removing entries from hosts
2023-01-31T14:19:01.8368248Z Removing RefiningAppSource from container hosts file
2023-01-31T14:19:01.9741632Z Removing RefiningAppSource- from container hosts file
2023-01-31T14:19:02.0116682Z Removing Desktop shortcuts
2023-01-31T14:19:02.0806730Z Removing C:\ProgramData\BcContainerHelper\Extensions\RefiningAppSource
2023-01-31T14:19:05.8783206Z ##[section]Finishing: Remove build container
2023-01-31T14:19:05.8824095Z ##[section]Starting: Checkout CAI365BC-AppSource@master to s
2023-01-31T14:19:05.9079974Z ==============================================================================
2023-01-31T14:19:05.9080431Z Task : Get sources
2023-01-31T14:19:05.9080875Z Description : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2023-01-31T14:19:05.9081401Z Version : 1.0.0
2023-01-31T14:19:05.9081650Z Author : Microsoft
2023-01-31T14:19:05.9082069Z Help : More Information
2023-01-31T14:19:05.9082605Z ==============================================================================
2023-01-31T14:19:06.3073947Z Cleaning any cached credential from repository: CAI365BC-AppSource (Git)
2023-01-31T14:19:06.3205080Z ##[section]Finishing: Checkout CAI365BC-AppSource@master to s
2023-01-31T14:19:06.3302320Z ##[section]Starting: Finalize Job
2023-01-31T14:19:06.3345322Z Cleaning up task key
2023-01-31T14:19:06.3347403Z Start cleaning up orphan processes.
2023-01-31T14:19:06.3920140Z ##[section]Finishing: Finalize Job
2023-01-31T14:19:06.3964701Z ##[section]Finishing: Build
Thanks - but also with this output - I cannot see how the app.json file you sent to me can produce this output.
This issue can be closed; we are more adept now with AL-Go for GitHub, and will be moving all of our BC repos there so that dependencies can be more conveniently managed. Thanks.
Using a yaml pipeline to build an app in Azure DevOps--each time the base Business Central dependency increments (from, say, 20 to 21), we have had to manually place the Microsoft packages in a shared folder available to the container. I figure we must be missing something, because in VSCode development, these packages are available from the BCContainer. Are they not also available from the container when compiling the app using the script? Full script reproduced below.