HodorNV / ALOps

ALOps
59 stars 24 forks source link

Failing compile on warnings with failed_on_warnings: false #525

Closed peterz84 closed 2 years ago

peterz84 commented 2 years ago

It looks like something changed, one of our build pipelines is failing on warnings while failed_on_warnings parameter is false. 2 weeks ago it did run fine. Any idea?

image

Full yml:

trigger: none
name: $(Build.BuildId)

variables:
- group: 'Secrets'

pool: BHNL Business Central Pool

steps:
- checkout: self
  clean: true 

- task: ALOpsDockerCreate@1
  displayName: 'ALOPS - Create Docker Image'
  inputs:
    artifacttype: OnPrem
    artifactversion: 19.0

- task: ALOpsDockerStart@1
  displayName: 'ALOPS - Start Docker Container'
  inputs:
    docker_parameters: |
      --volume "C:\CustomSQLbak:C:/temp"
      --volume "C:\Licenses:C:/licenses"
      --env licensefile=C:\licenses\19.flf
    sql_backup_file: 'c:\temp\W119_CU00.bak'

- task: ALOpsDockerWait@1
  displayName: 'ALOPS - Wait for Docker Container to start'
  inputs:
    search_string: 'Ready for connections!'

- task: ALOpsAppCompiler@1
  displayName: 'ALOPS - Compile Extension'
  inputs:
    usedocker: true
    nav_app_version: '1.0.0.*'
    failed_on_warnings: false   
    targetproject: './app.json'

- task: ALOpsAppPublish@1
  displayName: 'Publish AL-App'
  inputs:
    usedocker: true
    nav_artifact_app_filter: '*.app'
    skip_verification: true 

- task: ALOpsDockerRemove@1
  displayName: 'ALOPS - Remove Docker Container'
  enabled: true
  condition: always()
waldo1001 commented 2 years ago

Can I please have the complete log (of this step)?

peterz84 commented 2 years ago
2022-06-09T12:54:12.0511994Z ##[section]Starting: ALOPS - Compile Extension
2022-06-09T12:54:12.0740109Z ==============================================================================
2022-06-09T12:54:12.0740512Z Task         : ALOps App Compiler
2022-06-09T12:54:12.0740814Z Description  : Compile AL Extensions for Business Central
2022-06-09T12:54:12.0741094Z Version      : 1.449.3024
2022-06-09T12:54:12.0741306Z Author       : Hodor
2022-06-09T12:54:12.0741624Z Help         : Compile a Business Central extension from AL code.
2022-06-09T12:54:12.0742010Z ==============================================================================
2022-06-09T12:54:15.3612940Z *** Validate configuration
2022-06-09T12:54:15.7132222Z *** Task Inputs:
2022-06-09T12:54:15.7211949Z 
2022-06-09T12:54:15.7283612Z name                                                                   value
2022-06-09T12:54:15.7285782Z ----                                                                   -----
2022-06-09T12:54:15.7287555Z usedocker                                                               True
2022-06-09T12:54:15.7289416Z fixed_tag                                                                   
2022-06-09T12:54:15.7291157Z targetproject                                    C:\agent\_work\4\s\app.json
2022-06-09T12:54:15.7292901Z nav_computername                                                            
2022-06-09T12:54:15.7294644Z nav_serverinstance                                                     BC140
2022-06-09T12:54:15.7296346Z nav_tenant                                                           default
2022-06-09T12:54:15.7298066Z nav_ports_dev                                                           7049
2022-06-09T12:54:15.7299762Z bc_username                                                                 
2022-06-09T12:54:15.7301455Z bc_password                                                                 
2022-06-09T12:54:15.7303200Z al_compiler_version                                               0.12.15355
2022-06-09T12:54:15.7304975Z ruleset                                                                     
2022-06-09T12:54:15.7306725Z suppresswarnings                                                        KEEP
2022-06-09T12:54:15.7308423Z al_analyzer                                                                 
2022-06-09T12:54:15.7310131Z nav_app_version                                                      1.0.0.*
2022-06-09T12:54:15.7311818Z vsix_download_path                                                          
2022-06-09T12:54:15.7313546Z use_ssl                                                                False
2022-06-09T12:54:15.7315265Z download_test_symbols                                                  False
2022-06-09T12:54:15.7316983Z usecompression                                                          True
2022-06-09T12:54:15.7318684Z publish_artifact                                                        True
2022-06-09T12:54:15.7320397Z publishxlif                                                            False
2022-06-09T12:54:15.7322126Z failed_on_warnings                                                     False
2022-06-09T12:54:15.7323865Z app_file_suffix                                                             
2022-06-09T12:54:15.7325561Z updatebuildnumber                                                       True
2022-06-09T12:54:15.7327311Z setup_working_folder                                                   False
2022-06-09T12:54:15.7329019Z showmycode                                                              Keep
2022-06-09T12:54:15.7333149Z resourceexposurepolicy_allowdebugging                                   Keep
2022-06-09T12:54:15.7335020Z resourceexposurepolicy_allowdownloadingsource                           Keep
2022-06-09T12:54:15.7336794Z resourceexposurepolicy_includesourceinsymbolfile                        Keep
2022-06-09T12:54:15.7338817Z applicationinsightskey                                                      
2022-06-09T12:54:15.7342356Z printappmanifest                                                        True
2022-06-09T12:54:15.7344091Z output_alc_logs                                                         True
2022-06-09T12:54:15.7345791Z additionalprobingpaths                                                      
2022-06-09T12:54:15.7365770Z 
2022-06-09T12:54:15.7370604Z 
2022-06-09T12:54:15.7563525Z 
2022-06-09T12:54:15.7570026Z *** For documentation, please visit   : https://www.alops.be/documentation
2022-06-09T12:54:15.7738713Z 
2022-06-09T12:54:16.0019551Z *** ALOps License:
2022-06-09T12:54:16.0044756Z   * Licensed To: ****** (Per Run License)
2022-06-09T12:54:16.0047959Z 
2022-06-09T12:54:16.0147703Z *** Importing required PS-Functions
2022-06-09T12:54:16.5594309Z *** Initiate Docker Session
2022-06-09T12:54:16.7995841Z *** Set Docker Container ErrorActionPreference = Stop
2022-06-09T12:54:17.3569317Z *** Import NAV/BC Management DLL's
2022-06-09T12:54:17.3600816Z *** Loading assemblies for ServiceTier [BC].
2022-06-09T12:54:17.9971707Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\190\service]
2022-06-09T12:54:18.0096894Z *** Selected module: [C:\program files\microsoft dynamics nav\190\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2022-06-09T12:54:18.0100109Z *** Loading module: [C:\program files\microsoft dynamics nav\190\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2022-06-09T12:54:18.0373033Z *** Selected module: [C:\program files\microsoft dynamics nav\190\service\Microsoft.Dynamics.Nav.Management.dll]
2022-06-09T12:54:18.0376202Z *** Loading module: [C:\program files\microsoft dynamics nav\190\service\Microsoft.Dynamics.Nav.Management.dll]
2022-06-09T12:54:18.2924155Z *** Setting up AL Compiler [ALLanguage]
2022-06-09T12:54:18.4989378Z *** Downloading AL Compiler [ALLanguage]
2022-06-09T12:54:22.6804046Z *** Get Extension from Local-Disk...[C:\Run\ALLanguage.vsix]
2022-06-09T12:54:22.6804605Z *** Resolving Path [C:\Run\ALLanguage.vsix]
2022-06-09T12:54:22.7200729Z *** VSIX Path Resolved: [C:\Run\ALLanguage.vsix]
2022-06-09T12:54:22.7533391Z *** Unpacking Extension to folder...
2022-06-09T12:54:31.3406777Z *** Loading Json Object: [c:\Run\Microsoft.al\al-ALLanguage\extension\package.json]
2022-06-09T12:54:31.8101169Z *** Using AL Compiler [vALLanguage] located [C:\Run\Microsoft.al\al-ALLanguage\extension\bin\alc.exe]
2022-06-09T12:54:32.1791579Z ***
2022-06-09T12:54:32.2140571Z *** Working folder: C:\agent\_work\4\s
2022-06-09T12:54:32.2427448Z ***
2022-06-09T12:54:32.3475057Z *** Copy Working folder to Docker Container: 8d1fdd16197f8486d7847e47fc0e853403867f66f99fecf2a10e1c6401fd5b4d
2022-06-09T12:54:32.6410534Z *** Docker Working Folder: c:\Run\DevOps\
2022-06-09T12:54:33.0529287Z *** Copy from [C:\agent\_work\4\s] to [c:\Run\DevOps\]
2022-06-09T12:54:33.1760468Z *** Source File setup completed
2022-06-09T12:54:34.2801413Z *** Target Project: \app.json
2022-06-09T12:54:34.4920199Z *** Check for app.json files: c:\Run\DevOps\
2022-06-09T12:54:34.6690057Z *** Project found:
2022-06-09T12:54:34.8286228Z    - C:\Run\DevOps
2022-06-09T12:54:34.9758426Z *** Retrieving App-Info [\app.json]
2022-06-09T12:54:34.9893125Z *** Loading Json Object: [c:\Run\DevOps\app.json]
2022-06-09T12:54:35.0036202Z   * App.ID          = 289ca976-2ce1-4451-a15c-f33668fe4724
2022-06-09T12:54:35.0764609Z   * App.Name        = ****** (W1)
2022-06-09T12:54:35.1276019Z   * App.Publisher   = ******
2022-06-09T12:54:35.1728678Z   * App.Version     = 1.0.7.1
2022-06-09T12:54:35.3253204Z   * App.Platform    = 18.0.0.0
2022-06-09T12:54:35.3989944Z   * App.Application = 18.0.0.0
2022-06-09T12:54:35.3992510Z *** Check Runtime: [7.0]
2022-06-09T12:54:35.3996355Z *** Removing ResourceExposurePolicy
2022-06-09T12:54:35.3998775Z ***
2022-06-09T12:54:35.4011675Z *** Setting Managed App Version [c:\Run\DevOps\app.json] =>  1.0.0.33609
2022-06-09T12:54:35.7262781Z *** Final app.json:
2022-06-09T12:54:35.7960902Z {
2022-06-09T12:54:35.7988478Z     "id":  "289ca976-2ce1-4451-a15c-f33668fe4724",
2022-06-09T12:54:35.8073049Z     "name":  "******",
2022-06-09T12:54:35.8082388Z     "publisher":  "******",
2022-06-09T12:54:35.8083432Z     "version":  "1.0.0.33609",
2022-06-09T12:54:35.8088691Z     "brief":  "",
2022-06-09T12:54:35.8153766Z     "description":  "",
2022-06-09T12:54:35.8207480Z     "privacyStatement":  "",
2022-06-09T12:54:35.8246189Z     "EULA":  "",
2022-06-09T12:54:35.8314315Z     "help":  "",
2022-06-09T12:54:35.8332962Z     "url":  "",
2022-06-09T12:54:35.8334186Z     "logo":  ".logo/******.jpg",
2022-06-09T12:54:35.8334880Z     "dependencies":  [
2022-06-09T12:54:35.8335489Z                          {
2022-06-09T12:54:35.8336897Z                              "id":  "63ca2fa4-4f03-4f2b-a480-172fef340d3f",
2022-06-09T12:54:35.8376279Z                              "publisher":  "Microsoft",
2022-06-09T12:54:35.8392292Z                              "name":  "System Application",
2022-06-09T12:54:35.8393436Z                              "version":  "18.0.0.0"
2022-06-09T12:54:35.8401073Z                          },
2022-06-09T12:54:35.8420028Z                          {
2022-06-09T12:54:35.8453329Z                              "id":  "437dbf0e-84ff-417a-965d-ed2bb9650972",
2022-06-09T12:54:35.8482403Z                              "publisher":  "Microsoft",
2022-06-09T12:54:35.8508330Z                              "name":  "Base Application",
2022-06-09T12:54:35.8510442Z                              "version":  "18.0.0.0"
2022-06-09T12:54:35.8560899Z                          },
2022-06-09T12:54:35.8567119Z                          {
2022-06-09T12:54:35.8580007Z                              "id":  "1e8772cd-2a3e-496d-9364-ef2e1ac0af40",
2022-06-09T12:54:35.8581850Z                              "publisher":  "knk Business Software AG",
2022-06-09T12:54:35.8637793Z                              "name":  "knkPublishing",
2022-06-09T12:54:35.8737443Z                              "version":  "3.1.0.0"
2022-06-09T12:54:35.8783345Z                          }
2022-06-09T12:54:35.8886633Z                      ],
2022-06-09T12:54:35.9254596Z     "screenshots":  [
2022-06-09T12:54:35.9480733Z 
2022-06-09T12:54:35.9501506Z                     ],
2022-06-09T12:54:35.9698006Z     "platform":  "18.0.0.0",
2022-06-09T12:54:35.9823608Z     "application":  "18.0.0.0",
2022-06-09T12:54:35.9865837Z     "propagateDependencies":  true,
2022-06-09T12:54:35.9963444Z     "idRanges":  [
2022-06-09T12:54:35.9991715Z                      {
2022-06-09T12:54:36.0159704Z                          "from":  50000,
2022-06-09T12:54:36.0173279Z                          "to":  50099
2022-06-09T12:54:36.0208591Z                      }
2022-06-09T12:54:36.0316318Z                  ],
2022-06-09T12:54:36.0425435Z     "showMyCode":  true,
2022-06-09T12:54:36.0464256Z     "runtime":  "7.0",
2022-06-09T12:54:36.0930275Z     "features":  [
2022-06-09T12:54:36.0981641Z                      "TranslationFile"
2022-06-09T12:54:36.1004536Z                  ],
2022-06-09T12:54:36.1006062Z     "target":  "OnPrem"
2022-06-09T12:54:36.1007768Z }
2022-06-09T12:54:36.1017832Z 
2022-06-09T12:54:36.1020139Z ***
2022-06-09T12:54:36.1026342Z *** Working Direcotry: [c:\Run\DevOps\]
2022-06-09T12:54:36.1027478Z *** Target Project: [\app.json]
2022-06-09T12:54:36.1028524Z *** Project Directory: [c:\Run\DevOps]
2022-06-09T12:54:36.1032064Z *** VSCode Settings: [c:\Run\DevOps\.vscode\settings.json]
2022-06-09T12:54:36.1033715Z *** VSCode-Settings json found.
2022-06-09T12:54:36.1290834Z *** Loading Json Object: [c:\Run\DevOps\.vscode\settings.json]
2022-06-09T12:54:36.1306774Z *** Using Ruleset: [c:\Run\DevOps\.codeAnalysis\ELSLEV.ruleset.json]
2022-06-09T12:54:36.1312859Z ***
2022-06-09T12:54:36.2276779Z *** Resolve Docker Credentials
2022-06-09T12:54:36.2331302Z *** Setup BC Username/Password from Container info
2022-06-09T12:54:36.2390651Z *** Download Symbols
2022-06-09T12:54:36.6094278Z *** Working Dir: c:\Run\DevOps\
2022-06-09T12:54:36.7630564Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\190\service]
2022-06-09T12:54:36.8764548Z *** PackageCache path created [c:\Run\DevOps\PackageCache]
2022-06-09T12:54:36.8777329Z ***
2022-06-09T12:54:36.8857096Z *** Propagated Dependency: Microsoft - System Application - 18.0.0.0
2022-06-09T12:54:36.8920753Z *** Propagated Dependency: Microsoft - Base Application - 18.0.0.0
2022-06-09T12:54:36.8931571Z *** Propagated Dependency: knk Business Software AG - knkPublishing - 3.1.0.0
2022-06-09T12:54:36.8939746Z *** Download System-Symbols for [18.0.0.0]
2022-06-09T12:54:36.9325082Z *** Downloading NAV Symbols for [System v18.0.0.0]
2022-06-09T12:54:36.9337950Z *** Downloading NAV Symbols from [https://8d1fdd16197f:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=18.0.0.0&tenant=default]
2022-06-09T12:54:36.9626596Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2022-06-09T12:54:36.9647878Z ##[command]Invoke-RestMethod -Method Get -Uri https://8d1fdd16197f:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=18.0.0.0&tenant=default
2022-06-09T12:54:37.9711110Z *** Content-Disposition: attachment; filename=Microsoft_System_19.0.29884.30666.app
2022-06-09T12:54:37.9890547Z *** Saving symbol file [Microsoft_System_19.0.29884.30666.app] to [c:\Run\DevOps\PackageCache]
2022-06-09T12:54:38.0045023Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_System_19.0.29884.30666.app].
2022-06-09T12:54:38.0725555Z ***
2022-06-09T12:54:38.0738240Z *** Download Application-Symbols for [18.0.0.0]
2022-06-09T12:54:38.0758467Z *** Downloading NAV Symbols for [Application v18.0.0.0]
2022-06-09T12:54:38.0761619Z *** Downloading NAV Symbols from [https://8d1fdd16197f:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=18.0.0.0&tenant=default]
2022-06-09T12:54:38.0771797Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2022-06-09T12:54:38.0784480Z ##[command]Invoke-RestMethod -Method Get -Uri https://8d1fdd16197f:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=18.0.0.0&tenant=default
2022-06-09T12:54:38.4831689Z *** Content-Disposition: attachment; filename=Microsoft_Application_19.0.29894.30693.app
2022-06-09T12:54:38.4881014Z *** Saving symbol file [Microsoft_Application_19.0.29894.30693.app] to [c:\Run\DevOps\PackageCache]
2022-06-09T12:54:38.4884046Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_Application_19.0.29894.30693.app].
2022-06-09T12:54:38.5230664Z *** Propagated Dependency: Microsoft - System Application - 19.0.0.0
2022-06-09T12:54:38.5271232Z *** Propagated Dependency: Microsoft - Base Application - 19.0.0.0
2022-06-09T12:54:38.5280939Z ***
2022-06-09T12:54:38.5314667Z *** Check for Depency Apps 5
2022-06-09T12:54:38.5344298Z *** Download Application-Symbols for [System Application v18.0.0.0]
2022-06-09T12:54:38.5356407Z *** Downloading NAV Symbols for [System Application v18.0.0.0]
2022-06-09T12:54:38.5364927Z *** Downloading NAV Symbols from [https://8d1fdd16197f:7049/BC/dev/packages?publisher=Microsoft&appName=System+Application&versionText=18.0.0.0&tenant=default]
2022-06-09T12:54:38.5377802Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2022-06-09T12:54:38.5389875Z ##[command]Invoke-RestMethod -Method Get -Uri https://8d1fdd16197f:7049/BC/dev/packages?publisher=Microsoft&appName=System+Application&versionText=18.0.0.0&tenant=default
2022-06-09T12:54:39.4565644Z *** Content-Disposition: attachment; filename="Microsoft_System Application_19.0.29894.30693.app"
2022-06-09T12:54:39.4586241Z *** Saving symbol file [Microsoft_System Application_19.0.29894.30693.app] to [c:\Run\DevOps\PackageCache]
2022-06-09T12:54:39.4624898Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_System Application_19.0.29894.30693.app].
2022-06-09T12:54:39.4718043Z ***
2022-06-09T12:54:39.4734480Z *** Download Application-Symbols for [Base Application v18.0.0.0]
2022-06-09T12:54:39.4745652Z *** Downloading NAV Symbols for [Base Application v18.0.0.0]
2022-06-09T12:54:39.4758525Z *** Downloading NAV Symbols from [https://8d1fdd16197f:7049/BC/dev/packages?publisher=Microsoft&appName=Base+Application&versionText=18.0.0.0&tenant=default]
2022-06-09T12:54:39.4765107Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2022-06-09T12:54:39.4782722Z ##[command]Invoke-RestMethod -Method Get -Uri https://8d1fdd16197f:7049/BC/dev/packages?publisher=Microsoft&appName=Base+Application&versionText=18.0.0.0&tenant=default
2022-06-09T12:54:39.9963962Z *** Content-Disposition: attachment; filename="Microsoft_Base Application_19.0.29894.30693.app"
2022-06-09T12:54:39.9987133Z *** Saving symbol file [Microsoft_Base Application_19.0.29894.30693.app] to [c:\Run\DevOps\PackageCache]
2022-06-09T12:54:40.0429676Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_Base Application_19.0.29894.30693.app].
2022-06-09T12:54:40.1692376Z ***
2022-06-09T12:54:40.1709307Z *** Download Application-Symbols for [knkPublishing v3.1.0.0]
2022-06-09T12:54:40.1729076Z *** Downloading NAV Symbols for [knkPublishing v3.1.0.0]
2022-06-09T12:54:40.1732350Z *** Downloading NAV Symbols from [https://8d1fdd16197f:7049/BC/dev/packages?publisher=knk+Business+Software+AG&appName=knkPublishing&versionText=3.1.0.0&tenant=default]
2022-06-09T12:54:40.1752024Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2022-06-09T12:54:40.1757693Z ##[command]Invoke-RestMethod -Method Get -Uri https://8d1fdd16197f:7049/BC/dev/packages?publisher=knk+Business+Software+AG&appName=knkPublishing&versionText=3.1.0.0&tenant=default
2022-06-09T12:54:41.2949671Z *** Content-Disposition: attachment; filename="knk Business Software AG_knkPublishing_4.0.0.0.app"
2022-06-09T12:54:41.2974677Z *** Saving symbol file [knk Business Software AG_knkPublishing_4.0.0.0.app] to [c:\Run\DevOps\PackageCache]
2022-06-09T12:54:41.4632440Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\knk Business Software AG_knkPublishing_4.0.0.0.app].
2022-06-09T12:54:42.2770559Z ***
2022-06-09T12:54:42.2821124Z *** Download Application-Symbols for [System Application v19.0.0.0]
2022-06-09T12:54:42.2864956Z *** Downloading NAV Symbols for [System Application v19.0.0.0]
2022-06-09T12:54:42.2869432Z *** Downloading NAV Symbols from [https://8d1fdd16197f:7049/BC/dev/packages?publisher=Microsoft&appName=System+Application&versionText=19.0.0.0&tenant=default]
2022-06-09T12:54:42.2893088Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2022-06-09T12:54:42.2897537Z ##[command]Invoke-RestMethod -Method Get -Uri https://8d1fdd16197f:7049/BC/dev/packages?publisher=Microsoft&appName=System+Application&versionText=19.0.0.0&tenant=default
2022-06-09T12:54:42.7562177Z *** Content-Disposition: attachment; filename="Microsoft_System Application_19.0.29894.30693.app"
2022-06-09T12:54:42.7610621Z *** Saving symbol file [Microsoft_System Application_19.0.29894.30693.app] to [c:\Run\DevOps\PackageCache]
2022-06-09T12:54:42.7613759Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_System Application_19.0.29894.30693.app].
2022-06-09T12:54:42.7712876Z ***
2022-06-09T12:54:42.7726160Z *** Download Application-Symbols for [Base Application v19.0.0.0]
2022-06-09T12:54:42.7746201Z *** Downloading NAV Symbols for [Base Application v19.0.0.0]
2022-06-09T12:54:42.7750692Z *** Downloading NAV Symbols from [https://8d1fdd16197f:7049/BC/dev/packages?publisher=Microsoft&appName=Base+Application&versionText=19.0.0.0&tenant=default]
2022-06-09T12:54:42.7770282Z *** Downloading NAV Symbols with BasicAuthentication [admin]
2022-06-09T12:54:42.7774015Z ##[command]Invoke-RestMethod -Method Get -Uri https://8d1fdd16197f:7049/BC/dev/packages?publisher=Microsoft&appName=Base+Application&versionText=19.0.0.0&tenant=default
2022-06-09T12:54:43.4398619Z *** Content-Disposition: attachment; filename="Microsoft_Base Application_19.0.29894.30693.app"
2022-06-09T12:54:43.4423545Z *** Saving symbol file [Microsoft_Base Application_19.0.29894.30693.app] to [c:\Run\DevOps\PackageCache]
2022-06-09T12:54:43.4811295Z *** Read App Manifest: [c:\Run\DevOps\PackageCache\Microsoft_Base Application_19.0.29894.30693.app].
2022-06-09T12:54:43.6284387Z ***
2022-06-09T12:54:44.1318527Z *** Starting AL Compiler...
2022-06-09T12:54:44.1325388Z *** App.Name         = ****** (W1)
2022-06-09T12:54:44.1332964Z *** App.Publisher    = ******
2022-06-09T12:54:44.1335882Z *** App.Compiler Path= C:\Run\Microsoft.al\al-ALLanguage\extension\bin\alc.exe
2022-06-09T12:54:44.1382102Z *** Checking for Assemblies in App
2022-06-09T12:54:44.1874935Z *** Add Windows Assembly Path [C:\Windows\assembly]
2022-06-09T12:54:44.1920573Z *** Detect ALC.EXE Features.
2022-06-09T12:54:44.1923497Z ##[command]& C:\Run\Microsoft.al\al-ALLanguage\extension\bin\alc.exe /?
2022-06-09T12:54:44.7624420Z   * PARALLEL+
2022-06-09T12:54:44.7642932Z   * MAXDEGREEOFPARALLELISM
2022-06-09T12:54:44.7645764Z   * ASSEMBLYPROBINGPATHS
2022-06-09T12:54:44.7682089Z ##[command]& C:\Run\Microsoft.al\al-ALLanguage\extension\bin\alc.exe /packagecachepath:"c:\Run\DevOps\PackageCache" /project:"c:\Run\DevOps" /out:"c:\Run\DevOps\******_****** (W1)_1.0.0.33609.app" /fullpaths /parallel+ /maxDegreeOfParallelism:2 /assemblyprobingpaths:"C:\Windows\assembly","C:\Windows\Microsoft.NET\assembly","C:\program files\microsoft dynamics nav\190\service" /ruleset:"c:\Run\DevOps\.codeAnalysis\ELSLEV.ruleset.json"
2022-06-09T12:55:27.4278397Z *** AL Compiler Exit Code: 1
2022-06-09T12:55:27.4299544Z *** Full Compile Log:
2022-06-09T12:55:27.4353386Z Microsoft (R) AL Compiler version 8.0.7.55163 Copyright (C) Microsoft Corporation. All rights reserved  Compilation started for project '****** (W1)' containing '72' files at '14:54:45.289'.  c:\Run\DevOps\Objecten\TabExt\ELSLEVCustomerTemplate.TableExt.al(5,22): warning AL0468: Length of the table field name 'ELSLEV KnkMediaDist. Shipm. Type Code' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release. c:\Run\DevOps\Objecten\TabExt\ELSLEVCustomerTemplate.TableExt.al(10,22): warning AL0468: Length of the table field name 'ELSLEV KnkShipm. Optimization Allowed' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release. c:\Run\DevOps\Objecten\TabExt\ELSLEVCustomerTemplate.TableExt.al(1,57): warning AL0432: Table 'Customer Template' is marked for removal. Reason: Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions.. Tag: 18.0. c:\Run\DevOps\Objecten\TabExt\ELSLEVKnkContractHeader.TableExt.al(12,22): warning AL0468: Length of the table field name 'ELSLEV Disable Activation Email' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release. c:\Run\DevOps\Objecten\TabExt\ELSLEVKnkContractHeader.TableExt.al(21,22): warning AL0468: Length of the table field name 'ELSLEV Last External Invoice Date' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release. c:\Run\DevOps\Objecten\TabExt\ELSLEVSalesHeader.TableExt.al(5,22): warning AL0468: Length of the table field name 'ELSLEV Compl. Shipped Excl. Backorder' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release. c:\Run\DevOps\Objecten\Cod\ELSLEVApiPostCodeSubscribers.Codeunit.al(7,55): warning AL0593: The type of the parameter 'CityTxt' on the event subscriber 'BeforeValidatePostCodeHandler' has a smaller capacity than the parameter type 'Text[50]' on the publisher. This warning will become an error in a future release. c:\Run\DevOps\Objecten\Cod\ELSLEVContactSubscriber.Codeunit.al(7,122): warning AL0432: Table 'Customer Template' is marked for removal. Reason: Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions.. Tag: 18.0. c:\Run\DevOps\Objecten\Cod\ELSLEVContactSubscriber.Codeunit.al(6,60): warning AL0432: Method 'OnCreateCustomerOnTransferFieldsFromTemplate' is marked for removal. Reason: Will be removed with other functionality related to "old" templates. Replaced by OnCreateCustomerFromTemplateOnAfterApplyCustomerTemplate(). Tag: 18.0. c:\Run\DevOps\Objecten\Cod\ELSLEVPackageTracking.Codeunit.al(7,76): warning AL0432: Method 'OnBeforeGetTrackingInternetAddr' is marked for removal. Reason: Moved to table 291 Shipping Agent OnBeforeGetTrackingInternetAddr. Tag: 17.0. c:\Run\DevOps\WebServices\ELSLEVSalesPriceCardOData.Page.al(5,19): warning AL0432: Table 'Sales Price' is marked for removal. Reason: Replaced by the new implementation (V16) of price calculation: table Price List Line. Tag: 16.0. c:\Run\DevOps\Objecten\PagExt\ELSLEVCustomerTemplateCard.PageExt.al(7,64): warning AL0432: Field 'ELSLEV KnkMediaDist. Shipm. Type Code' is marked for removal. Reason: Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions.. Tag: 18.0. c:\Run\DevOps\Objecten\PagExt\ELSLEVCustomerTemplateCard.PageExt.al(10,64): warning AL0432: Field 'ELSLEV KnkShipm. Optimization Allowed' is marked for removal. Reason: Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions.. Tag: 18.0. c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPIContact.Query.al(141,39): warning AL0432: Field 'Business Relation' is marked for removal. Reason: Replaced by the Contact Business Relation field.. Tag: 18.1. c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPIGLAccount.Query.al(113,24): warning AL0432: Field 'Id' is marked for removal. Reason: This functionality will be replaced by the systemID field. Tag: 15.0. c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPICustomer.Query.al(289,24): warning AL0432: Field 'Id' is marked for removal. Reason: This functionality will be replaced by the systemID field. Tag: 15.0. c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPICountryRegio.Query.al(57,34): error AL0345: The source of a Column or Filter must be a field defined on the table referenced by its parent DataItem c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPICountryRegio.Query.al(57,20): error AL0353: A Column must have a valid data source or have the 'Method' property set to 'Count'  Compilation ended at '14:55:27.293'. 
2022-06-09T12:55:27.4366538Z 
2022-06-09T12:55:27.4552205Z *** AL Compiler raw logs: Start
2022-06-09T12:55:27.4560588Z Microsoft (R) AL Compiler version 8.0.7.55163
2022-06-09T12:55:27.4568907Z Copyright (C) Microsoft Corporation. All rights reserved
2022-06-09T12:55:27.4577581Z Compilation started for project '****** (W1)' containing '72' files at '14:54:45.289'.
2022-06-09T12:55:27.4587226Z c:\Run\DevOps\Objecten\TabExt\ELSLEVCustomerTemplate.TableExt.al(5,22): warning AL0468: Length of the table field name 'ELSLEV KnkMediaDist. Shipm. Type Code' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release.
2022-06-09T12:55:27.4607123Z c:\Run\DevOps\Objecten\TabExt\ELSLEVCustomerTemplate.TableExt.al(10,22): warning AL0468: Length of the table field name 'ELSLEV KnkShipm. Optimization Allowed' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release.
2022-06-09T12:55:27.4616715Z c:\Run\DevOps\Objecten\TabExt\ELSLEVCustomerTemplate.TableExt.al(1,57): warning AL0432: Table 'Customer Template' is marked for removal. Reason: Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions.. Tag: 18.0.
2022-06-09T12:55:27.4626985Z c:\Run\DevOps\Objecten\TabExt\ELSLEVKnkContractHeader.TableExt.al(12,22): warning AL0468: Length of the table field name 'ELSLEV Disable Activation Email' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release.
2022-06-09T12:55:27.4637085Z c:\Run\DevOps\Objecten\TabExt\ELSLEVKnkContractHeader.TableExt.al(21,22): warning AL0468: Length of the table field name 'ELSLEV Last External Invoice Date' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release.
2022-06-09T12:55:27.4647626Z c:\Run\DevOps\Objecten\TabExt\ELSLEVSalesHeader.TableExt.al(5,22): warning AL0468: Length of the table field name 'ELSLEV Compl. Shipped Excl. Backorder' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release.
2022-06-09T12:55:27.4658474Z c:\Run\DevOps\Objecten\Cod\ELSLEVApiPostCodeSubscribers.Codeunit.al(7,55): warning AL0593: The type of the parameter 'CityTxt' on the event subscriber 'BeforeValidatePostCodeHandler' has a smaller capacity than the parameter type 'Text[50]' on the publisher. This warning will become an error in a future release.
2022-06-09T12:55:27.4668602Z c:\Run\DevOps\Objecten\Cod\ELSLEVContactSubscriber.Codeunit.al(7,122): warning AL0432: Table 'Customer Template' is marked for removal. Reason: Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions.. Tag: 18.0.
2022-06-09T12:55:27.4677915Z c:\Run\DevOps\Objecten\Cod\ELSLEVContactSubscriber.Codeunit.al(6,60): warning AL0432: Method 'OnCreateCustomerOnTransferFieldsFromTemplate' is marked for removal. Reason: Will be removed with other functionality related to "old" templates. Replaced by OnCreateCustomerFromTemplateOnAfterApplyCustomerTemplate(). Tag: 18.0.
2022-06-09T12:55:27.4746427Z c:\Run\DevOps\Objecten\Cod\ELSLEVPackageTracking.Codeunit.al(7,76): warning AL0432: Method 'OnBeforeGetTrackingInternetAddr' is marked for removal. Reason: Moved to table 291 Shipping Agent OnBeforeGetTrackingInternetAddr. Tag: 17.0.
2022-06-09T12:55:27.4847995Z c:\Run\DevOps\WebServices\ELSLEVSalesPriceCardOData.Page.al(5,19): warning AL0432: Table 'Sales Price' is marked for removal. Reason: Replaced by the new implementation (V16) of price calculation: table Price List Line. Tag: 16.0.
2022-06-09T12:55:27.4889086Z c:\Run\DevOps\Objecten\PagExt\ELSLEVCustomerTemplateCard.PageExt.al(7,64): warning AL0432: Field 'ELSLEV KnkMediaDist. Shipm. Type Code' is marked for removal. Reason: Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions.. Tag: 18.0.
2022-06-09T12:55:27.4899798Z c:\Run\DevOps\Objecten\PagExt\ELSLEVCustomerTemplateCard.PageExt.al(10,64): warning AL0432: Field 'ELSLEV KnkShipm. Optimization Allowed' is marked for removal. Reason: Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions.. Tag: 18.0.
2022-06-09T12:55:27.4910482Z c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPIContact.Query.al(141,39): warning AL0432: Field 'Business Relation' is marked for removal. Reason: Replaced by the Contact Business Relation field.. Tag: 18.1.
2022-06-09T12:55:27.4941199Z c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPIGLAccount.Query.al(113,24): warning AL0432: Field 'Id' is marked for removal. Reason: This functionality will be replaced by the systemID field. Tag: 15.0.
2022-06-09T12:55:27.4956167Z c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPICustomer.Query.al(289,24): warning AL0432: Field 'Id' is marked for removal. Reason: This functionality will be replaced by the systemID field. Tag: 15.0.
2022-06-09T12:55:27.4959900Z c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPICountryRegio.Query.al(57,34): error AL0345: The source of a Column or Filter must be a field defined on the table referenced by its parent DataItem
2022-06-09T12:55:27.4963187Z c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPICountryRegio.Query.al(57,20): error AL0353: A Column must have a valid data source or have the 'Method' property set to 'Count'
2022-06-09T12:55:27.4966119Z Compilation ended at '14:55:27.293'.
2022-06-09T12:55:27.4969100Z *** AL Compiler raw logs: End
2022-06-09T12:55:27.4976640Z *** Start processing compile results.
2022-06-09T12:55:27.5036283Z ##[error]c:\Run\DevOps\Objecten\TabExt\ELSLEVCustomerTemplate.TableExt.al(5,22): warning AL0468: Length of the table field name 'ELSLEV KnkMediaDist. Shipm. Type Code' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release.
2022-06-09T12:55:27.5057198Z ##[error]c:\Run\DevOps\Objecten\TabExt\ELSLEVCustomerTemplate.TableExt.al(10,22): warning AL0468: Length of the table field name 'ELSLEV KnkShipm. Optimization Allowed' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release.
2022-06-09T12:55:27.5096649Z ##[error]c:\Run\DevOps\Objecten\TabExt\ELSLEVCustomerTemplate.TableExt.al(1,57): warning AL0432: Table 'Customer Template' is marked for removal. Reason: Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions.. Tag: 18.0.
2022-06-09T12:55:27.5107460Z ##[error]c:\Run\DevOps\Objecten\TabExt\ELSLEVKnkContractHeader.TableExt.al(12,22): warning AL0468: Length of the table field name 'ELSLEV Disable Activation Email' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release.
2022-06-09T12:55:27.5115513Z ##[error]c:\Run\DevOps\Objecten\TabExt\ELSLEVKnkContractHeader.TableExt.al(21,22): warning AL0468: Length of the table field name 'ELSLEV Last External Invoice Date' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release.
2022-06-09T12:55:27.5121027Z ##[error]c:\Run\DevOps\Objecten\TabExt\ELSLEVSalesHeader.TableExt.al(5,22): warning AL0468: Length of the table field name 'ELSLEV Compl. Shipped Excl. Backorder' must not exceed 30 characters. Longer field names are prone to cause SQL errors. This warning will become an error in a future release.
2022-06-09T12:55:27.5127142Z ##[error]c:\Run\DevOps\Objecten\Cod\ELSLEVApiPostCodeSubscribers.Codeunit.al(7,55): warning AL0593: The type of the parameter 'CityTxt' on the event subscriber 'BeforeValidatePostCodeHandler' has a smaller capacity than the parameter type 'Text[50]' on the publisher. This warning will become an error in a future release.
2022-06-09T12:55:27.5133042Z ##[error]c:\Run\DevOps\Objecten\Cod\ELSLEVContactSubscriber.Codeunit.al(7,122): warning AL0432: Table 'Customer Template' is marked for removal. Reason: Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions.. Tag: 18.0.
2022-06-09T12:55:27.5138283Z ##[error]c:\Run\DevOps\Objecten\Cod\ELSLEVContactSubscriber.Codeunit.al(6,60): warning AL0432: Method 'OnCreateCustomerOnTransferFieldsFromTemplate' is marked for removal. Reason: Will be removed with other functionality related to "old" templates. Replaced by OnCreateCustomerFromTemplateOnAfterApplyCustomerTemplate(). Tag: 18.0.
2022-06-09T12:55:27.5143124Z ##[error]c:\Run\DevOps\Objecten\Cod\ELSLEVPackageTracking.Codeunit.al(7,76): warning AL0432: Method 'OnBeforeGetTrackingInternetAddr' is marked for removal. Reason: Moved to table 291 Shipping Agent OnBeforeGetTrackingInternetAddr. Tag: 17.0.
2022-06-09T12:55:27.5147768Z ##[error]c:\Run\DevOps\WebServices\ELSLEVSalesPriceCardOData.Page.al(5,19): warning AL0432: Table 'Sales Price' is marked for removal. Reason: Replaced by the new implementation (V16) of price calculation: table Price List Line. Tag: 16.0.
2022-06-09T12:55:27.5152520Z ##[error]c:\Run\DevOps\Objecten\PagExt\ELSLEVCustomerTemplateCard.PageExt.al(7,64): warning AL0432: Field 'ELSLEV KnkMediaDist. Shipm. Type Code' is marked for removal. Reason: Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions.. Tag: 18.0.
2022-06-09T12:55:27.5157402Z ##[error]c:\Run\DevOps\Objecten\PagExt\ELSLEVCustomerTemplateCard.PageExt.al(10,64): warning AL0432: Field 'ELSLEV KnkShipm. Optimization Allowed' is marked for removal. Reason: Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions.. Tag: 18.0.
2022-06-09T12:55:27.5162184Z ##[error]c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPIContact.Query.al(141,39): warning AL0432: Field 'Business Relation' is marked for removal. Reason: Replaced by the Contact Business Relation field.. Tag: 18.1.
2022-06-09T12:55:27.5167638Z ##[error]c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPIGLAccount.Query.al(113,24): warning AL0432: Field 'Id' is marked for removal. Reason: This functionality will be replaced by the systemID field. Tag: 15.0.
2022-06-09T12:55:27.5172166Z ##[error]c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPICustomer.Query.al(289,24): warning AL0432: Field 'Id' is marked for removal. Reason: This functionality will be replaced by the systemID field. Tag: 15.0.
2022-06-09T12:55:27.5176816Z ##[error]c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPICountryRegio.Query.al(57,34): error AL0345: The source of a Column or Filter must be a field defined on the table referenced by its parent DataItem
2022-06-09T12:55:27.5187810Z ##[error]c:\Run\DevOps\Objecten\Qry\ELSLEVDWHAPICountryRegio.Query.al(57,20): error AL0353: A Column must have a valid data source or have the 'Method' property set to 'Count'
2022-06-09T12:55:27.5190112Z ##[error]Compilation ended at '14:55:27.293'.
2022-06-09T12:55:27.5192935Z *** Store compile log to [c:\Run\DevOps\compilelog.txt]
2022-06-09T12:55:27.5195626Z *** Start processing compile results done.
2022-06-09T12:55:27.5208720Z *** Transfer App Artifact from Docker container.
2022-06-09T12:55:27.8844048Z ##[error]Cannot find path 'c:\Run\DevOps\******_****** (W1)_1.0.0.33609.app' because it does not exist.
2022-06-09T12:55:27.9177710Z ##[section]Async Command Start: Add Build Tag
2022-06-09T12:55:27.9178451Z Build '33609' has following tags now: AL.Compiler.ALLanguage, BC.Version.19.0.29894.30693, BC.Platform.19.0.29884.30666, myimage-onprem-19.0.29894.30693-w1-10.0.17763.2928-ltsc2019
2022-06-09T12:55:27.9179034Z ##[section]Async Command End: Add Build Tag
2022-06-09T12:55:27.9179904Z ##[section]Async Command Start: Update Build Number
2022-06-09T12:55:27.9180386Z Update build number to 1.0.0.33609 for build 33609
2022-06-09T12:55:27.9180711Z ##[section]Async Command End: Update Build Number
2022-06-09T12:55:27.9181835Z ##[section]Finishing: ALOPS - Compile Extension
waldo1001 commented 2 years ago

There are actual errors here - try to solve them first, and then try again: image

peterz84 commented 2 years ago

I'm sorry, I did totally oversee this.... Long day.

waldo1001 commented 2 years ago

I totally understand ;-)