HodorNV / ALOps

ALOps
59 stars 24 forks source link

System application and Base application seems not to be downloaded anymore #589

Closed acjdekorte closed 1 year ago

acjdekorte commented 1 year ago

Describe the bug Since friday, the system application and base application do not seems to be downloaded anymore during the compile step.

the used yaml please provide the yaml that you used. It helps you put the yaml like this:

- task: ALOpsAppCompiler@1
  displayName: 'ALOPS - Compile Extension: App'
  inputs:
    usedocker: true
    targetproject: '${{parameters.appSourceFolder}}/app.json'
    ruleset: 'c:/Run/DevOps/${{parameters.appSourceFolder}}/MAW.ruleset.json'
    nav_app_version: ${{parameters.appVersion}}
    app_file_suffix: '_APP'

the output Also the complete output is necessary for us to see what is going on. Also use backtics:

2022-12-03T15:55:27.9176949Z ##[section]Starting: ALOPS - Compile Extension: App
2022-12-03T15:55:27.9424943Z ==============================================================================
2022-12-03T15:55:27.9425342Z Task         : ALOps App Compiler
2022-12-03T15:55:27.9425662Z Description  : Compile AL Extensions for Business Central
2022-12-03T15:55:27.9426016Z Version      : 1.454.3371
2022-12-03T15:55:27.9426256Z Author       : Hodor
2022-12-03T15:55:27.9426576Z Help         : Compile a Business Central extension from AL code.
2022-12-03T15:55:27.9426977Z ==============================================================================
2022-12-03T15:55:29.2879078Z *** Configure AMSI for session: disable (in memory)
2022-12-03T15:55:29.3173288Z 0
2022-12-03T15:55:31.2527754Z *** Validate configuration
2022-12-03T15:55:31.6089615Z *** Task Inputs:
2022-12-03T15:55:31.6229952Z 
2022-12-03T15:55:31.6404842Z name                                                                                                   value
2022-12-03T15:55:31.6406045Z ----                                                                                                   -----
2022-12-03T15:55:31.6407546Z usedocker                                                                                               True
2022-12-03T15:55:31.6409017Z fixed_tag                                                                                                   
2022-12-03T15:55:31.6410647Z targetproject                                    C:\ADO Agents\Agent1\_work\1649\s\agriware-w1\Code\app.json
2022-12-03T15:55:31.6411678Z nav_computername                                                                                            
2022-12-03T15:55:31.6413437Z nav_serverinstance                                                                                     BC140
2022-12-03T15:55:31.6414888Z nav_tenant                                                                                           default
2022-12-03T15:55:31.6416314Z nav_ports_dev                                                                                           7049
2022-12-03T15:55:31.6417751Z bc_username                                                                                                 
2022-12-03T15:55:31.6419174Z bc_password                                                                                                 
2022-12-03T15:55:31.6420726Z al_compiler_version                                                                               0.12.15355
2022-12-03T15:55:31.6422164Z ruleset                                                      c:/Run/DevOps/agriware-w1\Code/MAW.ruleset.json
2022-12-03T15:55:31.6423605Z suppresswarnings                                                                                        KEEP
2022-12-03T15:55:31.6424978Z al_analyzer                                                                                                 
2022-12-03T15:55:31.6426506Z ignorepragmas                                                                                               
2022-12-03T15:55:31.6427945Z nav_app_version                                                                                     19.0.0.*
2022-12-03T15:55:31.6429349Z vsix_download_path                                                                                          
2022-12-03T15:55:31.6431019Z use_ssl                                                                                                False
2022-12-03T15:55:31.6432340Z download_test_symbols                                                                                  False
2022-12-03T15:55:31.6433718Z usecompression                                                                                          True
2022-12-03T15:55:31.6435161Z publish_artifact                                                                                        True
2022-12-03T15:55:31.6436618Z publishxlif                                                                                            False
2022-12-03T15:55:31.6439803Z failed_on_warnings                                                                                     False
2022-12-03T15:55:31.6440537Z app_file_suffix                                                                                         _APP
2022-12-03T15:55:31.6442401Z updatebuildnumber                                                                                       True
2022-12-03T15:55:31.6444091Z setup_working_folder                                                                                   False
2022-12-03T15:55:31.6445489Z showmycode                                                                                              Keep
2022-12-03T15:55:31.6446944Z resourceexposurepolicy_allowdebugging                                                                   Keep
2022-12-03T15:55:31.6448560Z resourceexposurepolicy_allowdownloadingsource                                                           Keep
2022-12-03T15:55:31.6450216Z resourceexposurepolicy_includesourceinsymbolfile                                                        Keep
2022-12-03T15:55:31.6451798Z internalsvisibleto                                                                                      Keep
2022-12-03T15:55:31.6453151Z preprocessorsymbols                                                                                         
2022-12-03T15:55:31.6454539Z applicationinsightskey                                                                                      
2022-12-03T15:55:31.6455890Z printappmanifest                                                                                        True
2022-12-03T15:55:31.6457242Z output_alc_logs                                                                                         True
2022-12-03T15:55:31.6458646Z additionalprobingpaths                                                                                      
2022-12-03T15:55:31.6459259Z 
2022-12-03T15:55:31.6483438Z 
2022-12-03T15:55:31.6491542Z 
2022-12-03T15:55:31.7219057Z *** For documentation, please visit   : https://www.alops.be/documentation
2022-12-03T15:55:31.7226970Z 
2022-12-03T15:55:32.0453704Z *** ALOps License:
2022-12-03T15:55:32.0482358Z   * Licensed To: Mprise BV (4x RepositoryPer5 License)
2022-12-03T15:55:32.0485320Z 
2022-12-03T15:55:32.0595690Z *** Importing required PS-Functions
2022-12-03T15:55:32.8739476Z *** Initiate Docker Session
2022-12-03T15:55:33.2186539Z *** Set Docker Container ErrorActionPreference = Stop
2022-12-03T15:55:34.0343164Z *** Import NAV/BC Management DLL's
2022-12-03T15:55:34.0426073Z *** Loading assemblies for ServiceTier [BC].
2022-12-03T15:55:34.2997652Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\190\service]
2022-12-03T15:55:34.3115965Z *** Selected module: [C:\program files\microsoft dynamics nav\190\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2022-12-03T15:55:34.3125465Z *** Loading module: [C:\program files\microsoft dynamics nav\190\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2022-12-03T15:55:34.3399080Z *** Selected module: [C:\program files\microsoft dynamics nav\190\service\Microsoft.Dynamics.Nav.Management.dll]
2022-12-03T15:55:34.3408677Z *** Loading module: [C:\program files\microsoft dynamics nav\190\service\Microsoft.Dynamics.Nav.Management.dll]
2022-12-03T15:55:34.3665773Z *** BC NCL Management DLL: C:\program files\microsoft dynamics nav\190\service\Microsoft.Dynamics.Nav.Ncl.dll
2022-12-03T15:55:34.6383479Z *** BC Types DLL: C:\program files\microsoft dynamics nav\190\service\Microsoft.Dynamics.Nav.Types.dll
2022-12-03T15:55:34.8741835Z *** Setting up AL Compiler [ALLanguage]
2022-12-03T15:55:35.1775364Z *** Downloading AL Compiler [ALLanguage]
2022-12-03T15:55:35.1870564Z *** Get Extension from Local-Disk...[C:\Run\ALLanguage.vsix]
2022-12-03T15:55:35.1880978Z *** Resolving Path [C:\Run\ALLanguage.vsix]
2022-12-03T15:55:35.4262140Z *** VSIX Path Resolved: [C:\Run\ALLanguage.vsix]
2022-12-03T15:55:35.4290413Z *** Unpacking Extension to folder...
2022-12-03T15:55:42.1935237Z *** Loading Json Object: [c:\Run\Microsoft.al\al-ALLanguage\extension\package.json]
2022-12-03T15:55:42.2192843Z *** Using AL Compiler [vALLanguage] located [C:\Run\Microsoft.al\al-ALLanguage\extension\bin\win32\alc.exe]
2022-12-03T15:55:42.2199857Z ***
2022-12-03T15:55:42.2209740Z *** Working folder: C:\ADO Agents\Agent1\_work\1649\s
2022-12-03T15:55:42.2216507Z ***
2022-12-03T15:55:42.2223331Z *** Copy Working folder to Docker Container: d8f57aa869d74df7c992af8b79613d4dcb8e44f61f5bf092f4486cc5285c9df6
2022-12-03T15:55:42.2229643Z *** Docker Working Folder: c:\Run\DevOps\
2022-12-03T15:55:42.2236827Z *** Copy from [C:\ADO Agents\Agent1\_work\1649\s] to [c:\Run\DevOps\]
2022-12-03T15:55:42.2278381Z *** Source File setup completed
2022-12-03T15:55:42.8072359Z *** Target Project: \agriware-w1\Code\app.json
2022-12-03T15:55:42.8088802Z *** Check for app.json files: c:\Run\DevOps\
2022-12-03T15:55:42.8535901Z *** Multiple projects found:
2022-12-03T15:55:42.8604796Z    - C:\Run\DevOps\agriware-w1\Code
2022-12-03T15:55:42.8613779Z    - C:\Run\DevOps\agriware-w1\Test
2022-12-03T15:55:42.8694456Z *** Retrieving App-Info [\agriware-w1\Code\app.json]
2022-12-03T15:55:42.8757746Z *** Loading Json Object: [c:\Run\DevOps\agriware-w1\Code\app.json]
2022-12-03T15:55:42.8793279Z   * App.ID          = 41602dbb-b7fe-4ce5-9eb9-0783dda7f345
2022-12-03T15:55:42.8813697Z   * App.Name        = Agriware W1
2022-12-03T15:55:42.8840410Z   * App.Publisher   = Mprise Agriware
2022-12-03T15:55:42.8861863Z   * App.Version     = 19.1.0.0
2022-12-03T15:55:42.8883908Z   * App.Platform    = 19.0.0.0
2022-12-03T15:55:42.8906416Z   * App.Application = 19.0.0.0
2022-12-03T15:55:42.8971096Z *** Check Runtime: [8.0]
2022-12-03T15:55:42.9100461Z ***
2022-12-03T15:55:42.9604920Z *** Setting Managed App Version [c:\Run\DevOps\agriware-w1\Code\app.json] =>  19.0.0.63864
2022-12-03T15:55:43.0116357Z *** Final app.json:
2022-12-03T15:55:43.0116725Z {
2022-12-03T15:55:43.0117094Z     "id":  "41602dbb-b7fe-4ce5-9eb9-0783dda7f345",
2022-12-03T15:55:43.0117518Z     "name":  "Agriware W1",
2022-12-03T15:55:43.0117882Z     "publisher":  "Mprise Agriware",
2022-12-03T15:55:43.0118252Z     "version":  "19.0.0.63864",
2022-12-03T15:55:43.0118824Z     "brief":  "The no. 1 solution for horticultural businesses. This extension provides the core functionality for every producing company.",
2022-12-03T15:55:43.0119612Z     "description":  "The no. 1 solution for horticultural businesses. This extension provides the core functionality for every producing company.",
2022-12-03T15:55:43.0120272Z     "privacyStatement":  "http://www.mprise.nl/PrivacyStatement.html",
2022-12-03T15:55:43.0120725Z     "EULA":  "http://www.mprise.nl/EULA",
2022-12-03T15:55:43.0121198Z     "help":  "http://help.mprise-products.nl:49012",
2022-12-03T15:55:43.0121647Z     "url":  "http://www.mprise.nl",
2022-12-03T15:55:43.0122058Z     "logo":  "miscellaneous/logo_agriware_klein.png",
2022-12-03T15:55:43.0122441Z     "dependencies":  [
2022-12-03T15:55:43.0122759Z                          {
2022-12-03T15:55:43.0123142Z                              "id":  "8c972578-fe72-4aa5-ae51-cc5575fef2ea",
2022-12-03T15:55:43.0123580Z                              "name":  "Send To Email Printer",
2022-12-03T15:55:43.0123983Z                              "publisher":  "Microsoft",
2022-12-03T15:55:43.0124998Z                              "version":  "17.4.21491.21531"
2022-12-03T15:55:43.0125346Z                          }
2022-12-03T15:55:43.0125638Z                      ],
2022-12-03T15:55:43.0125942Z     "screenshots":  [
2022-12-03T15:55:43.0126083Z 
2022-12-03T15:55:43.0126362Z                     ],
2022-12-03T15:55:43.0126660Z     "idRanges":  [
2022-12-03T15:55:43.0127033Z                      {
2022-12-03T15:55:43.0127359Z                          "from":  11151039,
2022-12-03T15:55:43.0127836Z                          "to":  11151538
2022-12-03T15:55:43.0128153Z                      },
2022-12-03T15:55:43.0128437Z                      {
2022-12-03T15:55:43.0129066Z                          "from":  11197749,
2022-12-03T15:55:43.0129416Z                          "to":  11198248
2022-12-03T15:55:43.0129730Z                      },
2022-12-03T15:55:43.0130018Z                      {
2022-12-03T15:55:43.0130337Z                          "from":  11268462,
2022-12-03T15:55:43.0130688Z                          "to":  11268869
2022-12-03T15:55:43.0131007Z                      },
2022-12-03T15:55:43.0131292Z                      {
2022-12-03T15:55:43.0131612Z                          "from":  11268890,
2022-12-03T15:55:43.0131962Z                          "to":  11269299
2022-12-03T15:55:43.0132273Z                      },
2022-12-03T15:55:43.0132558Z                      {
2022-12-03T15:55:43.0132883Z                          "from":  11269350,
2022-12-03T15:55:43.0133229Z                          "to":  11269461
2022-12-03T15:55:43.0133537Z                      }
2022-12-03T15:55:43.0133826Z                  ],
2022-12-03T15:55:43.0134312Z     "contextSensitiveHelpUrl":  "http://help.mprise-products.nl:49012/businesscentral/",
2022-12-03T15:55:43.0134786Z     "features":  [
2022-12-03T15:55:43.0135113Z                      "TranslationFile"
2022-12-03T15:55:43.0135434Z                  ],
2022-12-03T15:55:43.0135740Z     "target":  "OnPrem",
2022-12-03T15:55:43.0136086Z     "preprocessorSymbols":  [
2022-12-03T15:55:43.0136432Z                                 "OnPrem",
2022-12-03T15:55:43.0136786Z                                 "ITEMREPLENISHSYSTEM",
2022-12-03T15:55:43.0137131Z                                 "BC19"
2022-12-03T15:55:43.0137437Z                             ],
2022-12-03T15:55:43.0152454Z     "resourceExposurePolicy":  {
2022-12-03T15:55:43.0152926Z                                    "allowDownloadingSource":  false,
2022-12-03T15:55:43.0153330Z                                    "allowDebugging":  true,
2022-12-03T15:55:43.0153738Z                                    "includeSourceInSymbolFile":  true
2022-12-03T15:55:43.0154120Z                                },
2022-12-03T15:55:43.0154431Z     "runtime":  "8.0",
2022-12-03T15:55:43.0154766Z     "platform":  "19.0.0.0",
2022-12-03T15:55:43.0155184Z     "application":  "19.0.0.0"
2022-12-03T15:55:43.0155492Z }
2022-12-03T15:55:43.0155605Z 
2022-12-03T15:55:43.0155885Z ***
2022-12-03T15:55:43.1151845Z *** Working Direcotry: [c:\Run\DevOps\]
2022-12-03T15:55:43.1279954Z *** Target Project: [\agriware-w1\Code\app.json]
2022-12-03T15:55:43.1294190Z *** Project Directory: [c:\Run\DevOps\agriware-w1\Code]
2022-12-03T15:55:43.1334774Z *** Overrule VSCode settings RuleSetPath: c:/Run/DevOps/agriware-w1\Code/MAW.ruleset.json
2022-12-03T15:55:43.1345146Z *** Using Ruleset: [c:/Run/DevOps/agriware-w1\Code/MAW.ruleset.json]
2022-12-03T15:55:43.1354789Z ***
2022-12-03T15:55:43.4080031Z *** Resolve Docker Credentials
2022-12-03T15:55:43.4207923Z *** Setup BC Username/Password from Container info
2022-12-03T15:55:43.4323516Z *** Download Symbols
2022-12-03T15:55:43.9181737Z *** Working Dir: c:\Run\DevOps\
2022-12-03T15:55:44.0796938Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\190\service]
2022-12-03T15:55:44.1503080Z *** PackageCache path created [c:\Run\DevOps\PackageCache]
2022-12-03T15:55:44.1511976Z ***
2022-12-03T15:55:44.1591241Z *** Propagated Dependency: Microsoft - Send To Email Printer - 17.4.21491.21531
2022-12-03T15:55:44.1656015Z *** Download System-Symbols for [19.0.0.0]
2022-12-03T15:55:44.2106225Z *** Downloading NAV Symbols for [System v19.0.0.0]
2022-12-03T15:55:44.2115244Z *** Downloading NAV Symbols from [https://d8f57aa869d7:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=19.0.0.0&tenant=default]
2022-12-03T15:55:44.2423235Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2022-12-03T15:55:44.2445138Z ##[command]Invoke-RestMethod -Method Get -Uri https://d8f57aa869d7:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=19.0.0.0&tenant=default
2022-12-03T15:55:45.2146835Z *** Content-Disposition: attachment; filename=Microsoft_System_19.0.36528.36625.app
2022-12-03T15:55:45.2329193Z *** Saving symbol file [Microsoft_System_19.0.36528.36625.app] to [c:\Run\DevOps\PackageCache]
2022-12-03T15:55:45.2642826Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_System_19.0.36528.36625.app].
2022-12-03T15:55:45.3292402Z ***
2022-12-03T15:55:45.3301502Z *** Download Application-Symbols for [19.0.0.0]
2022-12-03T15:55:45.3310268Z *** Downloading NAV Symbols for [Application v19.0.0.0]
2022-12-03T15:55:45.3332986Z *** Downloading NAV Symbols from [https://d8f57aa869d7:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=19.0.0.0&tenant=default]
2022-12-03T15:55:45.3403016Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2022-12-03T15:55:45.3415394Z ##[command]Invoke-RestMethod -Method Get -Uri https://d8f57aa869d7:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=19.0.0.0&tenant=default
2022-12-03T15:55:45.7772457Z *** Content-Disposition: attachment; filename=Microsoft_Application_19.5.36567.36700.app
2022-12-03T15:55:45.7844541Z *** Saving symbol file [Microsoft_Application_19.5.36567.36700.app] to [c:\Run\DevOps\PackageCache]
2022-12-03T15:55:45.7881991Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_Application_19.5.36567.36700.app].
2022-12-03T15:55:45.8152792Z *** Exception: 
2022-12-03T15:55:45.8161268Z ***
2022-12-03T15:55:45.8210808Z *** Check for Depency Apps 1
2022-12-03T15:55:45.8240457Z *** Download Application-Symbols for [Send To Email Printer v17.4.21491.21531]
2022-12-03T15:55:45.8255198Z *** Downloading NAV Symbols for [Send To Email Printer v17.4.21491.21531]
2022-12-03T15:55:45.8271690Z *** Downloading NAV Symbols from [https://d8f57aa869d7:7049/BC/dev/packages?publisher=Microsoft&appName=Send+To+Email+Printer&versionText=17.4.21491.21531&tenant=default&appid=8c972578-fe72-4aa5-ae51-cc5575fef2ea]
2022-12-03T15:55:45.8283355Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2022-12-03T15:55:45.8307519Z ##[command]Invoke-RestMethod -Method Get -Uri https://d8f57aa869d7:7049/BC/dev/packages?publisher=Microsoft&appName=Send+To+Email+Printer&versionText=17.4.21491.21531&tenant=default&appid=8c972578-fe72-4aa5-ae51-cc5575fef2ea
2022-12-03T15:55:46.2493347Z *** Content-Disposition: attachment; filename="Microsoft_Send To Email Printer_19.5.36567.36700.app"
2022-12-03T15:55:46.2561471Z *** Saving symbol file [Microsoft_Send To Email Printer_19.5.36567.36700.app] to [c:\Run\DevOps\PackageCache]
2022-12-03T15:55:46.2625300Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_Send To Email Printer_19.5.36567.36700.app].
2022-12-03T15:55:46.3129633Z *** Exception: 
2022-12-03T15:55:46.3149447Z ***
2022-12-03T15:55:46.8740441Z *** Starting AL Compiler...
2022-12-03T15:55:46.8748405Z *** App.Name         = Agriware W1
2022-12-03T15:55:46.8757694Z *** App.Publisher    = Mprise Agriware
2022-12-03T15:55:46.8766436Z *** App.Compiler Path= C:\Run\Microsoft.al\al-ALLanguage\extension\bin\win32\alc.exe
2022-12-03T15:55:46.8875342Z *** Checking for Assemblies in App
2022-12-03T15:55:46.9286120Z *** Assemblies in App found. Adding Probing Paths (1).
2022-12-03T15:55:46.9297197Z   * C:\Run\DevOps\agriware-w1\Code\.netpackages
2022-12-03T15:55:46.9305823Z *** Add Windows Assembly Path [C:\Windows\assembly]
2022-12-03T15:55:46.9391984Z *** Detect ALC.EXE Features.
2022-12-03T15:55:46.9403027Z ##[command]& C:\Run\Microsoft.al\al-ALLanguage\extension\bin\win32\alc.exe /?
2022-12-03T15:55:48.1444206Z   * PARALLEL+
2022-12-03T15:55:48.1454027Z   * MAXDEGREEOFPARALLELISM
2022-12-03T15:55:48.1466819Z   * ASSEMBLYPROBINGPATHS
2022-12-03T15:55:48.1500045Z ##[command]& C:\Run\Microsoft.al\al-ALLanguage\extension\bin\win32\alc.exe /packagecachepath:"c:\Run\DevOps\PackageCache" /project:"c:\Run\DevOps\agriware-w1\Code" /out:"c:\Run\DevOps\Mprise Agriware_Agriware W1_19.0.0.63864_APP.app" /fullpaths /parallel+ /maxDegreeOfParallelism:2 /assemblyprobingpaths:"C:\Run\DevOps\agriware-w1\Code\.netpackages","C:\Windows\assembly","C:\Windows\Microsoft.NET\assembly","C:\program files\microsoft dynamics nav\190\service" /ruleset:"c:/Run/DevOps/agriware-w1\Code/MAW.ruleset.json"
2022-12-03T15:55:53.9997408Z *** AL Compiler Exit Code: 1
2022-12-03T15:55:54.0055228Z *** Full Compile Log:
2022-12-03T15:55:54.0125205Z Microsoft (R) AL Compiler version 8.4.8.62331 Copyright (C) Microsoft Corporation. All rights reserved  Compilation started for project 'Agriware W1' containing '2280' files at '16:55:49.097'.  error AL1022: A package with publisher 'Microsoft', name 'System Application', and a version compatible with '19.5.0.0' could not be found in the package cache folder 'c:\Run\DevOps\PackageCache' error AL1022: A package with publisher 'Microsoft', name 'Base Application', and a version compatible with '19.5.0.0' could not be found in the package cache folder 'c:\Run\DevOps\PackageCache'  Compilation ended at '16:55:53.966'. 
2022-12-03T15:55:54.0129371Z 
2022-12-03T15:55:54.0450963Z *** AL Compiler raw logs: Start
2022-12-03T15:55:54.0459359Z Microsoft (R) AL Compiler version 8.4.8.62331
2022-12-03T15:55:54.0470380Z Copyright (C) Microsoft Corporation. All rights reserved
2022-12-03T15:55:54.0489807Z Compilation started for project 'Agriware W1' containing '2280' files at '16:55:49.097'.
2022-12-03T15:55:54.0503136Z error AL1022: A package with publisher 'Microsoft', name 'System Application', and a version compatible with '19.5.0.0' could not be found in the package cache folder 'c:\Run\DevOps\PackageCache'
2022-12-03T15:55:54.0510430Z error AL1022: A package with publisher 'Microsoft', name 'Base Application', and a version compatible with '19.5.0.0' could not be found in the package cache folder 'c:\Run\DevOps\PackageCache'
2022-12-03T15:55:54.0520800Z Compilation ended at '16:55:53.966'.
2022-12-03T15:55:54.0527029Z *** AL Compiler raw logs: End
2022-12-03T15:55:54.0540153Z *** Start processing compile results.
2022-12-03T15:55:54.0611564Z ##[error]error AL1022: A package with publisher 'Microsoft', name 'System Application', and a version compatible with '19.5.0.0' could not be found in the package cache folder 'c:\Run\DevOps\PackageCache'
2022-12-03T15:55:54.0628493Z ##[error]error AL1022: A package with publisher 'Microsoft', name 'Base Application', and a version compatible with '19.5.0.0' could not be found in the package cache folder 'c:\Run\DevOps\PackageCache'
2022-12-03T15:55:54.0631245Z ##[error]Compilation ended at '16:55:53.966'.
2022-12-03T15:55:54.0632704Z *** Store compile log to [c:\Run\DevOps\compilelog.txt]
2022-12-03T15:55:54.0633464Z *** Start processing compile results done.
2022-12-03T15:55:54.0634190Z *** Transfer App Artifact from Docker container.
2022-12-03T15:55:54.4843005Z ##[error]Cannot find path 'c:\Run\DevOps\Mprise Agriware_Agriware W1_19.0.0.63864_APP.app' because it does not exist.
2022-12-03T15:55:54.5388957Z ##[section]Async Command Start: Add Build Tag
2022-12-03T15:55:54.5391416Z Build '63864' has following tags now: AL.Compiler.ALLanguage, BC.Platform.19.0.36528.36625, BC.Version.19.5.36567.36700, myimage-onprem-19.5.36567.36700-w1-10.0.17763.3650-ltsc2019
2022-12-03T15:55:54.5393303Z ##[section]Async Command End: Add Build Tag
2022-12-03T15:55:54.5398413Z ##[section]Async Command Start: Update Build Number
2022-12-03T15:55:54.5400714Z Update build number to 19.0.0.63864 for build 63864
2022-12-03T15:55:54.5401796Z ##[section]Async Command End: Update Build Number
2022-12-03T15:55:54.5407544Z ##[section]Finishing: ALOPS - Compile Extension: App

Expected behavior Download of the dependent apps

Screenshots If applicable, add screenshots to help explain your problem. You can easily paste them in here.

Additional context Add any other context about the problem here.

acjdekorte commented 1 year ago

There have been no changes to the yaml file (and it also for multiple versions of BC, branches and repositories). The only difference I see is that broken in between version 1.454.3362 and 1.454.3371 of ALOps

The following versions are the same al_compiler_version 0.12.15355 BcContainerHelper version 4.0.2 Microsoft (R) AL Compiler version 8.4.8.62331

acjdekorte commented 1 year ago

Line 200 !

image

panas78 commented 1 year ago

Same Here

LogAndYaml.zip

DanielGoehler commented 1 year ago

@waldo1001 Same here

petertijsma commented 1 year ago

Same here

kasperdj commented 1 year ago

Same issue. All pipelines are failing on both BC20 and BC21.

But I am not sure this is an ALOps issue as publishing a new app version on AppSource seams to case a simular problem:

image

..also reported this to Microsoft on the Yammer Group: https://www.yammer.com/dynamicsnavdev/threads/2034273455472640

waldo1001 commented 1 year ago

That is so weird.. 🤔

But it's something we can fix! Asap!

AdminHodor commented 1 year ago

Dear @DanielGoehler, @acjdekorte , @kasperdj , @panas78 ,

Could you please try again, we just released a hotfix v1.454.3383. Note it could take a couple of pipeline runs to pickup the new version.

Kind regards

acjdekorte commented 1 year ago

Dear @AdminHodor

Yes, it is working again. Thank you

best regards

kasperdj commented 1 year ago

I can confirm that the AlOps hotfix is working - thx!, then I just need to find out, with Microsoft, why they have the same kind of problem when reading the manifast file during an AppSource app update (cannot read application from app.json)

panas78 commented 1 year ago

@waldo1001 @AdminHodor i also confirm that now its working