microsoft / navcontainerhelper

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

Missing manifest.json during AL-Validation #2727

Closed cbrandemann closed 2 years ago

cbrandemann commented 2 years ago

The Run-AlValidation is not stable. There is an error about a missing manifest.json. In this example, it's a "gr" artifact. The country of the missing manifest.json is not always the same.

Unexpected error while validating app. Error is: Cannot find path 'C:\bcartifacts.cache\sandbox\21.1.47652.0\gr\manifest.json' because it does not exist.

2022-10-10T13:47:08.6348448Z ##[section]Starting: Run AL Validation
2022-10-10T13:47:08.6478923Z ==============================================================================
2022-10-10T13:47:08.6479194Z Task         : PowerShell
2022-10-10T13:47:08.6479425Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2022-10-10T13:47:08.6479635Z Version      : 2.210.0
2022-10-10T13:47:08.6479809Z Author       : Microsoft Corporation
2022-10-10T13:47:08.6480091Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2022-10-10T13:47:08.6480411Z ==============================================================================
2022-10-10T13:47:09.5888091Z Generating script.
2022-10-10T13:47:09.5937658Z Formatted command: . 'C:\agent\_work\5\s\Build\Scripts\RunALValidation.ps1' -containerName "TI-IEM-Bld" -apps "Quality Management,TI-Common" -CurrentAppsFolder "C:\agent\_work\5\b/CurrentVersion" -PreviousAppsFolder "C:\agent\_work\5\b/PrevVersion" -affixes "PEM" -countries "at,au,be,ca,cz,dk,ee,es,fi,fr,gb,gr,hr,hu,ie,is,it,lt,lu,lv,mt,nl,no,nz,pl,pt,rs,se,si,sk,us" -ValidateNextMinor:("true" -eq "True") -ValidateNextMajor:("false" -eq "True")
2022-10-10T13:47:09.6296266Z ========================== Starting Command Output ===========================
2022-10-10T13:47:09.6517724Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent\_work\_temp\0ec19134-9b20-4145-a904-eb528a7014f8.ps1'"
2022-10-10T13:47:09.9220612Z Current Apps Folders: C:\agent\_work\5\b/CurrentVersion
2022-10-10T13:47:09.9227634Z Previous App Folders: C:\agent\_work\5\b/PrevVersion
2022-10-10T13:47:09.9234475Z Previous App Foldersa: at,au,be,ca,cz,dk,ee,es,fi,fr,gb,gr,hr,hu,ie,is,it,lt,lu,lv,mt,nl,no,nz,pl,pt,rs,se,si,sk,us
2022-10-10T13:47:09.9288784Z Previous App Foldersa: at,au,be,ca,cz,dk,ee,es,fi,fr,gb,gr,hr,hu,ie,is,it,lt,lu,lv,mt,nl,no,nz,pl,pt,rs,se,si,sk,us
2022-10-10T13:47:09.9416644Z VERBOSE: Loading module from path 'C:\agent\_work\5\s\Build\Scripts\GetAppFolders.psm1'.
2022-10-10T13:47:09.9536148Z VERBOSE: Importing function 'GetAppFolders'.
2022-10-10T13:47:10.0526714Z Apps: Quality Management,TI-Common
2022-10-10T13:47:10.0544610Z Current Apps Folders: 21.0.79153.0/QM Cloud/apps/QualityMgt/app 21.0.79153.0/TIC19.0.78390.0/apps/TISystem/app
2022-10-10T13:47:10.0551513Z Previous App Folders: 20.5.79077.0/QM Cloud/apps/QualityMgt/app 20.5.79077.0/TIC19.0.78390.0/apps/TISystem/app
2022-10-10T13:47:10.0669640Z C:\agent\_work\5\b\PrevVersion\20.5.79077.0\QM Cloud\apps\QualityMgt\app
2022-10-10T13:47:10.0742480Z C:\agent\_work\5\b\PrevVersion\20.5.79077.0\QM Cloud\apps\QualityMgt\app
2022-10-10T13:47:10.0955075Z C:\agent\_work\5\b\PrevVersion\20.5.79077.0\TIC19.0.78390.0\apps\TISystem\app
2022-10-10T13:47:10.0979758Z Current Apps: C:\agent\_work\5\b\CurrentVersion\21.0.79153.0\QM Cloud\apps\QualityMgt\app\To-Increase B.V._Quality Management_20.0.79153.0.app
2022-10-10T13:47:10.0986349Z Previous Apps: C:\agent\_work\5\b\PrevVersion\20.5.79077.0\QM Cloud\apps\QualityMgt\app\To-Increase B.V._Quality Management_20.0.79077.0.app
2022-10-10T13:47:10.0992836Z Dependency Apps: C:\agent\_work\5\b\CurrentVersion\21.0.79153.0\TIC19.0.78390.0\apps\TISystem\app\To-Increase B.V._TI-Common_19.0.78390.0.app
2022-10-10T13:47:10.1900316Z BcContainerHelper version 4.0.5
2022-10-10T13:47:10.3589085Z BcContainerHelper emits usage statistics telemetry to Microsoft
2022-10-10T13:47:13.1091852Z   _____                               _                
2022-10-10T13:47:13.1092206Z  |  __ \                             | |               
2022-10-10T13:47:13.1092476Z  | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___ 
2022-10-10T13:47:13.1092735Z  |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
2022-10-10T13:47:13.1092981Z  | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
2022-10-10T13:47:13.1093290Z  |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/
2022-10-10T13:47:13.1093428Z 
2022-10-10T13:47:13.1114533Z Container name                  TI-IEM-Bld
2022-10-10T13:47:13.1246245Z Credential                      admin/Jany1548
2022-10-10T13:47:13.2049170Z MemoryLimit                     8G
2022-10-10T13:47:13.2060187Z validateVersion                 
2022-10-10T13:47:13.2074228Z validateCurrent                 False
2022-10-10T13:47:13.2088120Z validateNextMinor               True
2022-10-10T13:47:13.2102357Z validateNextMajor               False
2022-10-10T13:47:13.2130400Z SasToken                        Specified
2022-10-10T13:47:13.2169397Z countries                       at,au,be,ca,cz,dk,ee,es,fi,fr,gb,gr,hr,hu,ie,is,it,lt,lu,lv,mt,nl,no,nz,pl,pt,rs,se,si,sk,us
2022-10-10T13:47:13.2184441Z validateCountries               at,au,be,ca,cz,dk,ee,es,fi,fr,gb,gr,hr,hu,ie,is,it,lt,w1,lv,nl,no,nz,pl,pt,rs,se,si,sk,us
2022-10-10T13:47:13.2213154Z affixes                         PEM
2022-10-10T13:47:13.2240313Z supportedCountries              
2022-10-10T13:47:13.2251993Z ObsoleteTagMinAllowedMajorMinor 
2022-10-10T13:47:13.2262455Z vsixFile                        
2022-10-10T13:47:13.2268932Z Install Apps
2022-10-10T13:47:13.2349496Z - C:\agent\_work\5\b\CurrentVersion\21.0.79153.0\TIC19.0.78390.0\apps\TISystem\app\To-Increase B.V._TI-Common_19.0.78390.0.app
2022-10-10T13:47:13.2355939Z Previous Apps
2022-10-10T13:47:13.2371350Z - C:\agent\_work\5\b\PrevVersion\20.5.79077.0\QM Cloud\apps\QualityMgt\app\To-Increase B.V._Quality Management_20.0.79077.0.app
2022-10-10T13:47:13.2377799Z Apps
2022-10-10T13:47:13.2392000Z - C:\agent\_work\5\b\CurrentVersion\21.0.79153.0\QM Cloud\apps\QualityMgt\app\To-Increase B.V._Quality Management_20.0.79153.0.app
2022-10-10T13:47:13.2544908Z 
2022-10-10T13:47:13.2545578Z   _____       _ _ _                                          _        _                            
2022-10-10T13:47:13.2546094Z  |  __ \     | | (_)                                        (_)      (_)                           
2022-10-10T13:47:13.2546450Z  | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___ 
2022-10-10T13:47:13.2546801Z  |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
2022-10-10T13:47:13.2547090Z  | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
2022-10-10T13:47:13.2547410Z  |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
2022-10-10T13:47:13.2547706Z                            __/ |   __/ |                                                 __/ |     
2022-10-10T13:47:13.2547959Z                           |___/   |___/                                                 |___/      
2022-10-10T13:47:13.2548075Z 
2022-10-10T13:47:13.2555065Z Pulling mcr.microsoft.com/businesscentral:10.0.20348.1006-filesonly
2022-10-10T13:47:13.4938377Z 
2022-10-10T13:47:13.4941583Z Pulling generic image took 0 seconds
2022-10-10T13:47:13.5251295Z   _____       _                      _                         _   _  __           _       
2022-10-10T13:47:13.5251728Z  |  __ \     | |                    (_)                       | | (_)/ _|         | |      
2022-10-10T13:47:13.5252048Z  | |  | | ___| |_ ___ _ __ _ __ ___  _ _ __   ___    __ _ _ __| |_ _| |_ __ _  ___| |_ ___ 
2022-10-10T13:47:13.5252373Z  | |  | |/ _ \ __/ _ \ '__| '_ ` _ \| | '_ \ / _ \  / _` | '__| __| |  _/ _` |/ __| __/ __|
2022-10-10T13:47:13.5252670Z  | |__| |  __/ |_  __/ |  | | | | | | | | | |  __/ | (_| | |  | |_| | || (_| | (__| |_\__ \
2022-10-10T13:47:13.5253019Z  |_____/ \___|\__\___|_|  |_| |_| |_|_|_| |_|\___|  \__,_|_|   \__|_|_| \__,_|\___|\__|___/
2022-10-10T13:47:13.5253306Z                                                                                            
2022-10-10T13:47:31.3153145Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/at
2022-10-10T13:47:48.0165155Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/au
2022-10-10T13:48:01.1477274Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/be
2022-10-10T13:48:19.1575722Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/ca
2022-10-10T13:48:32.8437489Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/cz
2022-10-10T13:48:50.4180829Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/dk
2022-10-10T13:49:13.1866182Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/ee
2022-10-10T13:49:31.8990029Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/es
2022-10-10T13:49:48.5845086Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/fi
2022-10-10T13:50:04.9106242Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/fr
2022-10-10T13:50:21.9728278Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/gb
2022-10-10T13:50:37.6717881Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/gr
2022-10-10T13:50:51.0080384Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/hr
2022-10-10T13:51:06.3064118Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/hu
2022-10-10T13:51:22.4502974Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/ie
2022-10-10T13:51:36.2770464Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/is
2022-10-10T13:51:50.6395987Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/it
2022-10-10T13:52:04.1548862Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/lt
2022-10-10T13:52:21.2350958Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/w1
2022-10-10T13:52:36.0938445Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/lv
2022-10-10T13:52:52.4323104Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/nl
2022-10-10T13:53:09.9720456Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/no
2022-10-10T13:53:26.5070387Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/nz
2022-10-10T13:53:43.0818588Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/pl
2022-10-10T13:53:56.2864659Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/pt
2022-10-10T13:54:08.8463743Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/rs
2022-10-10T13:54:22.6177281Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/se
2022-10-10T13:54:35.6653262Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/si
2022-10-10T13:54:48.7498442Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/sk
2022-10-10T13:55:03.9678193Z Found https://bcinsider.azureedge.net/sandbox/21.1.47623.0/us
2022-10-10T13:55:04.0278320Z Using https://bcinsider.azureedge.net/sandbox/21.1.47623.0/at
2022-10-10T13:55:04.0474403Z 
2022-10-10T13:55:04.0474938Z    _____                _   _                               _        _                 
2022-10-10T13:55:04.0475219Z   / ____|              | | (_)                             | |      (_)                
2022-10-10T13:55:04.0476079Z  | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
2022-10-10T13:55:04.0476543Z  | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2022-10-10T13:55:04.0476845Z  | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |   
2022-10-10T13:55:04.0477162Z   \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
2022-10-10T13:55:04.0477440Z                                      __/ |                                             
2022-10-10T13:55:04.0477678Z                                     |___/                                              
2022-10-10T13:55:04.0477786Z 
2022-10-10T13:55:04.0592304Z Creating container for country at
2022-10-10T13:55:04.4704244Z BcContainerHelper is version 4.0.5
2022-10-10T13:55:04.4711609Z BcContainerHelper is running as administrator
2022-10-10T13:55:05.3199189Z Hyper-V is Disabled
2022-10-10T13:55:05.3223458Z UsePsSession is True
2022-10-10T13:55:05.3246215Z Host is Microsoft Windows Server 2022 Datacenter Azure Edition - ltsc2022
2022-10-10T13:55:05.3856350Z Docker Client Version is 20.10.9
2022-10-10T13:55:05.3866247Z Docker Server Version is 20.10.9
2022-10-10T13:55:05.5731129Z Removing Desktop shortcuts
2022-10-10T13:55:05.6294495Z Downloading application artifact /sandbox/21.1.47623.0/at
2022-10-10T13:55:05.6826747Z Downloading C:\Windows\TEMP\f3f1aebc-b8f6-4932-a0a4-9007acb5c6c3.zip
2022-10-10T13:55:28.6290757Z Unpacking application artifact to tmp folder using 7zip
2022-10-10T13:55:36.5525671Z Fetching all docker images
2022-10-10T13:55:36.6086418Z Fetching all docker volumes
2022-10-10T13:55:36.7402152Z Using image mcr.microsoft.com/businesscentral:10.0.20348.1006-filesonly
2022-10-10T13:55:37.2064206Z Creating Container TI-IEM-Bld
2022-10-10T13:55:37.2071282Z Style: sandbox
2022-10-10T13:55:37.2078889Z Multitenant: Yes
2022-10-10T13:55:37.2094884Z Version: 21.1.47623.0
2022-10-10T13:55:37.2102066Z Platform: 21.0.47580.0
2022-10-10T13:55:37.2112404Z Generic Tag: 1.0.2.13
2022-10-10T13:55:37.2139326Z Container OS Version: 10.0.20348.1006 (ltsc2022)
2022-10-10T13:55:37.2146515Z Host OS Version: 10.0.20348.1006 (ltsc2022)
2022-10-10T13:55:37.2192291Z Using process isolation
2022-10-10T13:55:37.2225946Z Using locale de-AT
2022-10-10T13:55:37.2260093Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
2022-10-10T13:55:37.2541586Z Additional Parameters:
2022-10-10T13:55:37.2616940Z --env customNavSettings=EnableTaskScheduler=True
2022-10-10T13:55:37.2623740Z Files in C:\ProgramData\BcContainerHelper\Extensions\TI-IEM-Bld\my:
2022-10-10T13:55:37.2715806Z - AdditionalOutput.ps1
2022-10-10T13:55:37.2724417Z - MainLoop.ps1
2022-10-10T13:55:37.2732380Z - SetupVariables.ps1
2022-10-10T13:55:37.2740013Z - updatehosts.ps1
2022-10-10T13:55:37.2747564Z Creating container TI-IEM-Bld from image mcr.microsoft.com/businesscentral:10.0.20348.1006-filesonly
2022-10-10T13:55:39.5523290Z 95f3e32edfea17409ab47c1044031d6a52f7181b930b17c0ce399d26e0af8fcc
2022-10-10T13:55:43.1010302Z Waiting for container TI-IEM-Bld to be ready
2022-10-10T13:55:49.5679652Z Using artifactUrl https://bcinsider.azureedge.net/sandbox/21.1.47623.0/at
2022-10-10T13:55:49.5680152Z Using installer from C:\Run\210-new
2022-10-10T13:55:49.5680399Z Installing Business Central
2022-10-10T13:55:49.5680628Z Installing from artifacts
2022-10-10T13:55:49.5680847Z Copying Service Tier Files
2022-10-10T13:55:51.7226805Z c:\dl\sandbox\21.1.47623.0\platform\ServiceTier\Program Files
2022-10-10T13:55:51.7227286Z c:\dl\sandbox\21.1.47623.0\platform\ServiceTier\System64Folder
2022-10-10T13:55:51.7227563Z Copying PowerShell Scripts
2022-10-10T13:55:51.7227890Z c:\dl\sandbox\21.1.47623.0\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
2022-10-10T13:55:51.7228262Z c:\dl\sandbox\21.1.47623.0\platform\WindowsPowerShellScripts\WebSearch
2022-10-10T13:55:51.7228553Z Copying Web Client Files
2022-10-10T13:55:53.8657683Z c:\dl\sandbox\21.1.47623.0\platform\WebClient\Microsoft Dynamics NAV
2022-10-10T13:55:53.8658156Z Copying ModernDev Files
2022-10-10T13:55:53.8658397Z c:\dl\sandbox\21.1.47623.0\platform
2022-10-10T13:55:54.9408062Z c:\dl\sandbox\21.1.47623.0\platform\ModernDev\program files\Microsoft Dynamics NAV
2022-10-10T13:55:54.9408562Z Copying additional files
2022-10-10T13:55:54.9408791Z Copying ConfigurationPackages
2022-10-10T13:55:54.9409066Z C:\dl\sandbox\21.1.47623.0\at\ConfigurationPackages
2022-10-10T13:55:54.9409318Z Copying Test Assemblies
2022-10-10T13:55:54.9409580Z C:\dl\sandbox\21.1.47623.0\platform\Test Assemblies
2022-10-10T13:55:54.9409830Z Copying Extensions
2022-10-10T13:55:54.9410066Z C:\dl\sandbox\21.1.47623.0\at\Extensions
2022-10-10T13:55:54.9410299Z Copying Applications
2022-10-10T13:55:57.0835641Z C:\dl\sandbox\21.1.47623.0\platform\Applications
2022-10-10T13:55:57.0836044Z Copying Applications.AT
2022-10-10T13:55:57.0836298Z C:\dl\sandbox\21.1.47623.0\at\Applications.AT
2022-10-10T13:55:58.1535969Z Copying dependencies
2022-10-10T13:56:06.7138809Z Copying ReportBuilder
2022-10-10T13:56:08.8476727Z Importing PowerShell Modules
2022-10-10T13:56:08.8477426Z Skipping restore of Cronus database
2022-10-10T13:56:08.8477718Z Modifying Business Central Service Tier Config File for Docker
2022-10-10T13:56:08.8478066Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2022-10-10T13:56:08.8478343Z Installation took 19 seconds
2022-10-10T13:56:08.8478568Z Installation complete
2022-10-10T13:56:10.6595293Z Ready for connections!
2022-10-10T13:56:10.6614512Z Reading CustomSettings.config from TI-IEM-Bld
2022-10-10T13:56:11.7176804Z 
2022-10-10T13:56:11.7177755Z Creating container took 68 seconds
2022-10-10T13:56:11.7415657Z   _____                   _                                    _____                           _____            
2022-10-10T13:56:11.7416049Z  |  __ \                 (_)                 /\               / ____|                         / ____|           
2022-10-10T13:56:11.7416612Z  | |__) |   _ _ __  _ __  _ _ __   __ _     /  \   _ __  _ __| (___   ___  _   _ _ __ ___ ___| |     ___  _ __  
2022-10-10T13:56:11.7416956Z  |  _  / | | | '_ \| '_ \| | '_ \ / _` |   / /\ \ | '_ \| '_ \\___ \ / _ \| | | | '__/ __/ _ \ |    / _ \| '_ \ 
2022-10-10T13:56:11.7417293Z  | | \ \ |_| | | | | | | | | | | | (_| |  / ____ \| |_) | |_) |___) | (_) | |_| | | | (__  __/ |____ (_) | |_) |
2022-10-10T13:56:11.7417652Z  |_|  \_\__,_|_| |_|_| |_|_|_| |_|\__, | /_/    \_\ .__/| .__/_____/ \___/ \__,_|_|  \___\___|\_____\___/| .__/ 
2022-10-10T13:56:11.7417975Z                                    __/ |          | |   | |                                              | |    
2022-10-10T13:56:11.7418234Z                                   |___/           |_|   |_|                                              |_|    
2022-10-10T13:56:12.4878914Z Copying previous apps to packages folder
2022-10-10T13:56:12.6177837Z Extracting C:\ProgramData\BcContainerHelper\d9b3a1f3-27e2-49dd-9cde-9f8b2a81e270\To-Increase B.V._Quality Management_20.0.79077.0.app
2022-10-10T13:56:13.3412670Z To-Increase B.V._Quality Management = 20.0.79077.0
2022-10-10T13:56:14.0223226Z To-Increase B.V._Quality Management_20.0.79153.0.app is Signed with Authenticode certificate: CN=To-Increase B.V, O=To-Increase B.V, L=Veenendaal, S=Utrecht, C=NL
2022-10-10T13:56:14.0967749Z Extracting C:\ProgramData\BcContainerHelper\658e13a3-ba4b-44e4-acb2-7a3d38f17de5\To-Increase B.V._Quality Management_20.0.79153.0.app
2022-10-10T13:56:14.4079372Z Analyzing: To-Increase B.V._Quality Management_20.0.79153.0.app
2022-10-10T13:56:14.4087383Z Using affixes: PEM
2022-10-10T13:56:14.4128566Z Using previous app: To-Increase B.V._Quality Management_20.0.79077.0.app
2022-10-10T13:56:14.4175948Z Downloading C:\ProgramData\BcContainerHelper\5448cb46-3d3f-45df-9fe7-eaba1f744a95\appsource.default.ruleset.json
2022-10-10T13:56:14.6127408Z AppSourceCop.json content:
2022-10-10T13:56:14.6148826Z {
2022-10-10T13:56:14.6149969Z     "Publisher":  "To-Increase B.V.",
2022-10-10T13:56:14.6150749Z     "Name":  "Quality Management",
2022-10-10T13:56:14.6151573Z     "mandatoryAffixes":  [
2022-10-10T13:56:14.6152293Z                              "PEM"
2022-10-10T13:56:14.6153041Z                          ],
2022-10-10T13:56:14.6153777Z     "Version":  "20.0.79077.0"
2022-10-10T13:56:14.6154475Z }
2022-10-10T13:56:14.6233681Z Ruleset.json content:
2022-10-10T13:56:14.6300600Z {
2022-10-10T13:56:14.6301342Z     "name":  "Run-AlCops RuleSet",
2022-10-10T13:56:14.6302112Z     "description":  "Generated by Run-AlCops",
2022-10-10T13:56:14.6302893Z     "includedRuleSets":  [
2022-10-10T13:56:14.6303554Z                              {
2022-10-10T13:56:14.6304490Z                                  "path":  "C:\\ProgramData\\BcContainerHelper\\5448cb46-3d3f-45df-9fe7-eaba1f744a95\\appsource.default.ruleset.json",
2022-10-10T13:56:14.6304950Z                                  "action":  "Default"
2022-10-10T13:56:14.6305807Z                              }
2022-10-10T13:56:14.6306563Z                          ]
2022-10-10T13:56:14.6307278Z }
2022-10-10T13:56:15.0178963Z Using Symbols Folder: C:\ProgramData\BcContainerHelper\d9b3a1f3-27e2-49dd-9cde-9f8b2a81e270
2022-10-10T13:56:15.0623595Z Copying System.app from Container
2022-10-10T13:56:15.0883731Z Copying Microsoft_AMC Banking 365 Fundamentals_21.1.47623.0.app from Container
2022-10-10T13:56:15.1265301Z Copying Microsoft_Any_21.1.47623.0.app from Container
2022-10-10T13:56:15.1332426Z Copying Microsoft_API Reports - Finance_21.1.47623.0.app from Container
2022-10-10T13:56:15.1458959Z Copying Microsoft_Application_21.1.47623.0.app from Container
2022-10-10T13:56:15.1596433Z Copying Microsoft_Base Application_21.1.47623.0.app from Container
2022-10-10T13:56:15.1949874Z Copying Microsoft_Business Central Cloud Migration - Previous Release (AT)_21.1.47623.0.app from Container
2022-10-10T13:56:15.2076161Z Copying Microsoft_Business Central Cloud Migration - Previous Release_21.1.47623.0.app from Container
2022-10-10T13:56:15.2223731Z Copying Microsoft_Business Central Cloud Migration API_21.1.47623.0.app from Container
2022-10-10T13:56:15.2387263Z Copying Microsoft_Business Central Intelligent Cloud_21.1.47623.0.app from Container
2022-10-10T13:56:15.2522226Z Copying Microsoft_Company Hub_21.1.47623.0.app from Container
2022-10-10T13:56:15.2643156Z Copying Microsoft_Contoso Coffee Demo Dataset (AT)_21.1.47623.0.app from Container
2022-10-10T13:56:15.2756986Z Copying Microsoft_Contoso Coffee Demo Dataset_21.1.47623.0.app from Container
2022-10-10T13:56:15.2873354Z Copying Microsoft_Czech language (Czechia)_21.1.47623.0.app from Container
2022-10-10T13:56:15.3065620Z Copying Microsoft_Danish language (Denmark)_21.1.47623.0.app from Container
2022-10-10T13:56:15.3221228Z Copying Microsoft_Data Archive_21.1.47623.0.app from Container
2022-10-10T13:56:15.3331580Z Copying Microsoft_Data Search_21.1.47623.0.app from Container
2022-10-10T13:56:15.3506260Z Copying Microsoft_Dutch language (Belgium)_21.1.47623.0.app from Container
2022-10-10T13:56:15.3689606Z Copying Microsoft_Dutch language (Netherlands)_21.1.47623.0.app from Container
2022-10-10T13:56:15.5459870Z Copying Microsoft_Email - Current User Connector_21.1.47623.0.app from Container
2022-10-10T13:56:15.5618386Z Copying Microsoft_Email - Microsoft 365 Connector_21.1.47623.0.app from Container
2022-10-10T13:56:15.5759366Z Copying Microsoft_Email - Outlook REST API_21.1.47623.0.app from Container
2022-10-10T13:56:15.5900136Z Copying Microsoft_Email - SMTP API_21.1.47623.0.app from Container
2022-10-10T13:56:15.6012745Z Copying Microsoft_Email - SMTP Connector_21.1.47623.0.app from Container
2022-10-10T13:56:15.6209304Z Copying Microsoft_English language (Australia)_21.1.47623.0.app from Container
2022-10-10T13:56:15.6348402Z Copying Microsoft_English language (Canada)_21.1.47623.0.app from Container
2022-10-10T13:56:15.6523338Z Copying Microsoft_English language (New Zealand)_21.1.47623.0.app from Container
2022-10-10T13:56:15.6669642Z Copying Microsoft_English language (United Kingdom)_21.1.47623.0.app from Container
2022-10-10T13:56:15.6810477Z Copying Microsoft_English language (United States)_21.1.47623.0.app from Container
2022-10-10T13:56:15.8491668Z Copying Microsoft_Essential Business Headlines_21.1.47623.0.app from Container
2022-10-10T13:56:15.9039270Z Copying Microsoft_Finnish language (Finland)_21.1.47623.0.app from Container
2022-10-10T13:56:16.0804517Z Copying Microsoft_French language (Belgium)_21.1.47623.0.app from Container
2022-10-10T13:56:16.0967145Z Copying Microsoft_French language (Canada)_21.1.47623.0.app from Container
2022-10-10T13:56:16.1122327Z Copying Microsoft_French language (France)_21.1.47623.0.app from Container
2022-10-10T13:56:16.1297773Z Copying Microsoft_French language (Switzerland)_21.1.47623.0.app from Container
2022-10-10T13:56:16.1450389Z Copying Microsoft_German language (Austria)_21.1.47623.0.app from Container
2022-10-10T13:56:16.1631464Z Copying Microsoft_German language (Germany)_21.1.47623.0.app from Container
2022-10-10T13:56:16.1779649Z Copying Microsoft_German language (Switzerland)_21.1.47623.0.app from Container
2022-10-10T13:56:16.1956240Z Copying Microsoft_Icelandic language (Iceland)_21.1.47623.0.app from Container
2022-10-10T13:56:16.2106912Z Copying Microsoft_Intelligent Cloud Base_21.1.47623.0.app from Container
2022-10-10T13:56:16.2222153Z Copying Microsoft_Intrastat AT_21.1.47623.0.app from Container
2022-10-10T13:56:16.2330977Z Copying Microsoft_Intrastat Core_21.1.47623.0.app from Container
2022-10-10T13:56:16.2464152Z Copying Microsoft_Italian language (Italy)_21.1.47623.0.app from Container
2022-10-10T13:56:16.4088163Z Copying Microsoft_Italian language (Switzerland)_21.1.47623.0.app from Container
2022-10-10T13:56:16.4257746Z Copying Microsoft_Late Payment Prediction_21.1.47623.0.app from Container
2022-10-10T13:56:16.4389867Z Copying Microsoft_Library Assert_21.1.47623.0.app from Container
2022-10-10T13:56:16.4555051Z Copying Microsoft_Library Variable Storage_21.1.47623.0.app from Container
2022-10-10T13:56:16.4616321Z Copying Microsoft_Microsoft Pay Payments_21.1.47623.0.app from Container
2022-10-10T13:56:16.4745331Z Copying Microsoft_Norwegian language (Norway)_21.1.47623.0.app from Container
2022-10-10T13:56:16.4894581Z Copying Microsoft_Payment Links to PayPal_21.1.47623.0.app from Container
2022-10-10T13:56:16.5427504Z Copying Microsoft_Performance Toolkit_21.1.47623.0.app from Container
2022-10-10T13:56:16.5545249Z Copying Microsoft_Permissions Mock_21.1.47623.0.app from Container
2022-10-10T13:56:16.5604743Z Copying Microsoft_Recommended Apps_21.1.47623.0.app from Container
2022-10-10T13:56:16.5712289Z Copying Microsoft_Russian language (Russia)_21.1.47623.0.app from Container
2022-10-10T13:56:16.6518877Z Copying Microsoft_Sales and Inventory Forecast_21.1.47623.0.app from Container
2022-10-10T13:56:16.6650043Z Copying Microsoft_Send To Email Printer_21.1.47623.0.app from Container
2022-10-10T13:56:16.6759465Z Copying Microsoft_Shopify Connector_21.1.47623.0.app from Container
2022-10-10T13:56:16.6879180Z Copying Microsoft_Simplified Bank Statement Import_21.1.47623.0.app from Container
2022-10-10T13:56:16.7042276Z Copying Microsoft_Spanish language (Mexico)_21.1.47623.0.app from Container
2022-10-10T13:56:16.7195536Z Copying Microsoft_Spanish language (Spain)_21.1.47623.0.app from Container
2022-10-10T13:56:16.7346200Z Copying Microsoft_Swedish language (Sweden)_21.1.47623.0.app from Container
2022-10-10T13:56:16.7494606Z Copying Microsoft_System Application_21.1.47623.0.app from Container
2022-10-10T13:56:16.9165997Z Copying Microsoft_Test Runner_21.1.47623.0.app from Container
2022-10-10T13:56:16.9296163Z Copying Microsoft_Troubleshoot FA Ledger Entries_21.1.47623.0.app from Container
2022-10-10T13:56:17.1034986Z Copying Microsoft_Universal Print Integration_21.1.47623.0.app from Container
2022-10-10T13:56:17.1950924Z Copying Microsoft_VAT Group Management_21.1.47623.0.app from Container
2022-10-10T13:56:17.2102484Z Copying Microsoft__Exclude_AnonymizedDataSharing__21.1.47623.0.app from Container
2022-10-10T13:56:17.2213202Z Copying Microsoft__Exclude_APIV1__21.1.47623.0.app from Container
2022-10-10T13:56:17.2330627Z Copying Microsoft__Exclude_APIV2__21.1.47623.0.app from Container
2022-10-10T13:56:17.2445246Z Copying Microsoft__Exclude_Bank Deposits_21.1.47623.0.app from Container
2022-10-10T13:56:17.2582440Z Copying Microsoft__Exclude_ClientAddIns__21.1.47623.0.app from Container
2022-10-10T13:56:17.2712745Z Copying Microsoft__Exclude_Connectivity Apps_21.1.47623.0.app from Container
2022-10-10T13:56:17.2825770Z Copying Microsoft__Exclude_Email Logging Using Graph API_21.1.47623.0.app from Container
2022-10-10T13:56:17.2969112Z Copying Microsoft__Exclude_Microsoft Dynamics 365 - SmartList_21.1.47623.0.app from Container
2022-10-10T13:56:17.3115295Z Copying Microsoft__Exclude_PlanConfiguration__21.1.47623.0.app from Container
2022-10-10T13:56:17.3226897Z Copying Microsoft__Exclude_ReportLayouts_21.1.47623.0.app from Container
2022-10-10T13:56:17.3343851Z Copying Microsoft__Exclude_SyncBaseApp__21.1.47623.0.app from Container
2022-10-10T13:56:24.5800235Z INFO: You have to specify AuthContext and Environment if you are compiling in a filesOnly container in order to download dependencies
2022-10-10T13:56:24.6217021Z Compiling...
2022-10-10T13:56:24.6686923Z .\alc.exe /project:"C:\ProgramData\BcContainerHelper\5448cb46-3d3f-45df-9fe7-eaba1f744a95" /packagecachepath:"C:\ProgramData\BcContainerHelper\d9b3a1f3-27e2-49dd-9cde-9f8b2a81e270" /out:"C:\ProgramData\BcContainerHelper\5448cb46-3d3f-45df-9fe7-eaba1f744a95\To-Increase B.V._Quality Management_20.0.79153.0.app" /GenerateReportLayout- /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /ruleset:C:\ProgramData\BcContainerHelper\5448cb46-3d3f-45df-9fe7-eaba1f744a95\ruleset.json /reportsuppresseddiagnostics /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"
2022-10-10T13:56:35.4926226Z Microsoft (R) AL Compiler version 10.1.10.34981
2022-10-10T13:56:35.4948367Z Copyright (C) Microsoft Corporation. All rights reserved
2022-10-10T13:56:35.4953280Z 
2022-10-10T13:56:35.4962327Z Compilation started for project 'Quality Management' containing '206' files at '13:56:26.654'.
2022-10-10T13:56:35.4966675Z 
2022-10-10T13:56:35.4975617Z C:\ProgramData\BcContainerHelper\5448cb46-3d3f-45df-9fe7-eaba1f744a95\src\src\Implementations\PEMQMIncdtProdOrdRoutingLine.Codeunit.al(40,43): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Prod. Order Routing Status"' to a value of type 'Option'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
2022-10-10T13:56:35.4993752Z 
2022-10-10T13:56:35.5002608Z Compilation ended at '13:56:35.378'.
2022-10-10T13:56:35.5007276Z 
2022-10-10T13:56:35.5084269Z C:\ProgramData\BcContainerHelper\5448cb46-3d3f-45df-9fe7-eaba1f744a95\To-Increase B.V._Quality Management_20.0.79153.0.app successfully created in 21 seconds
2022-10-10T13:56:35.9033734Z Ignoring warnings
2022-10-10T13:56:35.9116420Z Ignoring infos
2022-10-10T13:56:36.0464694Z Copy C:\ProgramData\BcContainerHelper\658e13a3-ba4b-44e4-acb2-7a3d38f17de5\To-Increase B.V._Quality Management_20.0.79153.0.app to C:\ProgramData\BcContainerHelper\d9b3a1f3-27e2-49dd-9cde-9f8b2a81e270
2022-10-10T13:56:36.5347394Z 
2022-10-10T13:56:36.5348386Z Running AppSourceCop took 25 seconds
2022-10-10T13:56:36.5355265Z 
2022-10-10T13:56:36.5355818Z    _____                _   _                               _        _                 
2022-10-10T13:56:36.5356081Z   / ____|              | | (_)                             | |      (_)                
2022-10-10T13:56:36.5356381Z  | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
2022-10-10T13:56:36.5356781Z  | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2022-10-10T13:56:36.5357104Z  | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |   
2022-10-10T13:56:36.5357434Z   \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
2022-10-10T13:56:36.5357724Z                                      __/ |                                             
2022-10-10T13:56:36.5357951Z                                     |___/                                              
2022-10-10T13:56:36.5358055Z 
2022-10-10T13:56:36.5365414Z Creating container for country au
2022-10-10T13:56:36.7703786Z BcContainerHelper is version 4.0.5
2022-10-10T13:56:36.7710658Z BcContainerHelper is running as administrator
2022-10-10T13:56:37.5679384Z Hyper-V is Disabled
2022-10-10T13:56:37.5687352Z UsePsSession is True
2022-10-10T13:56:37.5695241Z Host is Microsoft Windows Server 2022 Datacenter Azure Edition - ltsc2022
2022-10-10T13:56:37.6256652Z Docker Client Version is 20.10.9
2022-10-10T13:56:37.6266758Z Docker Server Version is 20.10.9
2022-10-10T13:56:37.8515062Z Removing Session TI-IEM-Bld
2022-10-10T13:56:37.9262561Z Removing container TI-IEM-Bld
2022-10-10T13:56:40.0074277Z Removing entries from hosts
2022-10-10T13:56:40.0261734Z Removing TI-IEM-Bld from container hosts file
2022-10-10T13:56:40.0937316Z Removing TI-IEM-Bld-* from container hosts file
2022-10-10T13:56:40.0971547Z Removing Desktop shortcuts
2022-10-10T13:56:40.1091855Z Removing C:\ProgramData\BcContainerHelper\Extensions\TI-IEM-Bld
2022-10-10T13:56:40.1255578Z Downloading application artifact /sandbox/21.1.47623.0/au
2022-10-10T13:56:40.1281398Z Downloading C:\Windows\TEMP\3ca07bec-e83f-40cd-b9a5-c6e4d721a4ad.zip
2022-10-10T13:56:59.9146529Z Unpacking application artifact to tmp folder using 7zip
2022-10-10T13:56:59.9427440Z 
2022-10-10T13:56:59.9428025Z ERRORS:
2022-10-10T13:56:59.9428226Z Unexpected end of archive
2022-10-10T13:56:59.9428399Z 
2022-10-10T13:57:04.0455072Z ERROR: Data Error : BusinessCentral-AU.bak
2022-10-10T13:57:04.5652825Z Download-Artifacts Telemetry Correlation Id: 7f5265bf-301d-4610-87e7-59bb83ccdab0
2022-10-10T13:57:04.9430231Z New-BcContainer Telemetry Correlation Id: f81c6b8c-9bd7-4e9c-82c3-c22399b5ac1a
2022-10-10T13:57:04.9490975Z Unexpected error while validating app. Error is: Cannot find path 'C:\bcartifacts.cache\sandbox\21.1.47623.0\au\manifest.json' because it does not exist.
2022-10-10T13:57:04.9508957Z at Download-Artifacts, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.5\Misc\Download-Artifacts.ps1: line 109
2022-10-10T13:57:04.9509517Z at New-BcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.5\ContainerHandling\New-NavContainer.ps1: line 534
2022-10-10T13:57:04.9510063Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.5\AppHandling\Run-AlValidation.ps1: line 319
2022-10-10T13:57:04.9510576Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.5\AppHandling\Run-AlValidation.ps1: line 465
2022-10-10T13:57:04.9511134Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.5\AppHandling\Run-AlValidation.ps1: line 444
2022-10-10T13:57:04.9511649Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.5\AppHandling\Run-AlValidation.ps1: line 428
2022-10-10T13:57:04.9512176Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.5\AppHandling\Run-AlValidation.ps1: line 392
2022-10-10T13:57:04.9512688Z at Run-AlValidation, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.5\AppHandling\Run-AlValidation.ps1: line 390
2022-10-10T13:57:04.9513153Z at <ScriptBlock>, C:\agent\_work\5\s\Build\Scripts\RunALValidation.ps1: line 106
2022-10-10T13:57:04.9513542Z at <ScriptBlock>, C:\agent\_work\_temp\0ec19134-9b20-4145-a904-eb528a7014f8.ps1: line 4
2022-10-10T13:57:04.9513884Z at <ScriptBlock>, <No file>: line 1
2022-10-10T13:57:05.1012618Z 
2022-10-10T13:57:05.1013269Z   _____                           _                _____            _        _                 
2022-10-10T13:57:05.1013568Z  |  __ \                         (_)              / ____|          | |      (_)                
2022-10-10T13:57:05.1013915Z  | |__) |___ _ __ ___   _____   ___ _ __   __ _  | |     ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
2022-10-10T13:57:05.1014228Z  |  _  // _ \ '_ ` _ \ / _ \ \ / / | '_ \ / _` | | |    / _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2022-10-10T13:57:05.1014532Z  | | \ \  __/ | | | | | (_) \ V /| | | | | (_| | | |____ (_) | | | | |_ (_| | | | | |  __/ |   
2022-10-10T13:57:05.1014843Z  |_|  \_\___|_| |_| |_|\___/ \_/ |_|_| |_|\__, |  \_____\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
2022-10-10T13:57:05.1015138Z                                            __/ |                                               
2022-10-10T13:57:05.1015369Z                                           |___/                                                
2022-10-10T13:57:05.1015475Z 
2022-10-10T13:57:05.2794784Z Removing Desktop shortcuts
2022-10-10T13:57:05.2991542Z 
2022-10-10T13:57:05.2993224Z Removing container took 0 seconds
2022-10-10T13:57:05.3066441Z 
2022-10-10T13:57:05.3067904Z AL Validation finished in 592 seconds
2022-10-10T13:57:05.3075228Z  __      __   _ _     _       _   _               _____                _ _       
2022-10-10T13:57:05.3075531Z  \ \    / /  | (_)   | |     | | (_)             |  __ \              | | |      
2022-10-10T13:57:05.3075805Z   \ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__) |___ ___ _   _| | |_ ___ 
2022-10-10T13:57:05.3076107Z    \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  _  // _ \ __| | | | | __/ __|
2022-10-10T13:57:05.3076370Z     \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | \ \  __\__ \ |_| | | |_\__ \
2022-10-10T13:57:05.3076688Z      \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \_\___|___/\__,_|_|\__|___/
2022-10-10T13:57:05.3076846Z 
2022-10-10T13:57:05.3087496Z Unexpected error while validating app. Error is: Cannot find path 'C:\bcartifacts.cache\sandbox\21.1.47623.0\au\manifest.json' because it does not exist.
2022-10-10T13:57:05.3093081Z   _____                          ___      __   _ _     _       _   _               ______    _ _                
2022-10-10T13:57:05.3093434Z  |  __ \                   /\   | \ \    / /  | (_)   | |     | | (_)             |  ____|  (_) |               
2022-10-10T13:57:05.3093759Z  | |__) |   _ _ __ ______ /  \  | |\ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__ __ _ _| |_   _ _ __ ___ 
2022-10-10T13:57:05.3094116Z  |  _  / | | | '_ \______/ /\ \ | | \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  __/ _` | | | | | | '__/ _ \
2022-10-10T13:57:05.3094415Z  | | \ \ |_| | | | |    / ____ \| |  \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | | (_| | | | |_| | | |  __/
2022-10-10T13:57:05.3094765Z  |_|  \_\__,_|_| |_|   /_/    \_\_|   \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \__,_|_|_|\__,_|_|  \___|
2022-10-10T13:57:05.3094947Z 
2022-10-10T13:57:05.7171314Z Validation Results
2022-10-10T13:57:05.7183456Z ******************
2022-10-10T13:57:05.7190349Z Unexpected error while validating app. Error is: Cannot find path 'C:\bcartifacts.cache\sandbox\21.1.47623.0\au\manifest.json' because it does not exist.
2022-10-10T13:57:05.8033911Z Unexpected error while validating app. Error is: Cannot find path 
2022-10-10T13:57:05.8034678Z 'C:\bcartifacts.cache\sandbox\21.1.47623.0\au\manifest.json' because it does not exist.
2022-10-10T13:57:05.8035135Z At C:\agent\_work\5\s\Build\Scripts\RunALValidation.ps1:116 char:9
2022-10-10T13:57:05.8035426Z +         throw $test
2022-10-10T13:57:05.8035628Z +         ~~~~~~~~~~~
2022-10-10T13:57:05.8035970Z     + CategoryInfo          : OperationStopped: (Unexpected erro...does not exist.:String) [], RuntimeException
2022-10-10T13:57:05.8036466Z     + FullyQualifiedErrorId : Unexpected error while validating app. Error is: Cannot find path 'C:\bcartifacts.cache\ 
2022-10-10T13:57:05.8036866Z    sandbox\21.1.47623.0\au\manifest.json' because it does not exist.
2022-10-10T13:57:05.8037146Z  
2022-10-10T13:57:05.8902266Z ##[error]PowerShell exited with code '1'.
2022-10-10T13:57:05.9764695Z ##[section]Finishing: Run AL Validation
freddydk commented 2 years ago

This might be because the artifacts are being built at the same time. Will check whether I can detect that and do something about it.

freddydk commented 2 years ago

The real problem here is that the artifact downloaded is corrupt: Unexpected end of architve. and you do have sufficient disk space to download and unpack the artifacts?

cbrandemann commented 2 years ago

The real problem here is that the artifact downloaded is corrupt: Unexpected end of architve. and you do have sufficient disk space to download and unpack the artifacts?

Diskspace is not the issue (more than 200 gb free space)

cbrandemann commented 2 years ago

This might be because the artifacts are being built at the same time. Will check whether I can detect that and do something about it.

Yes, maybe this is the issue. Cleaning up the cache will solve the issue, however in the next run the error occurs with a different country

freddydk commented 2 years ago

So, it is almost every time? That is very weird - that more sounds like something is wrong with the download.

cbrandemann commented 2 years ago

So, it is almost every time? That is very weird - that more sounds like something is wrong with the download.

Yes, its almost every time. Sometime it's stable a couple of hours. Normally only 1 country has been checked, however in a release build we are checking more countries. I have checked the download. And indeed, the manifest.json is missing.

freddydk commented 2 years ago

But I expect that more is missing due to this:

2022-10-10T13:56:40.1255578Z Downloading application artifact /sandbox/21.1.47623.0/au
2022-10-10T13:56:40.1281398Z Downloading C:\Windows\TEMP\3ca07bec-e83f-40cd-b9a5-c6e4d721a4ad.zip
2022-10-10T13:56:59.9146529Z Unpacking application artifact to tmp folder using 7zip
2022-10-10T13:56:59.9427440Z 
2022-10-10T13:56:59.9428025Z ERRORS:
2022-10-10T13:56:59.9428226Z Unexpected end of archive
2022-10-10T13:56:59.9428399Z 
2022-10-10T13:57:04.0455072Z ERROR: Data Error : BusinessCentral-AU.bak

Looks like the file is not complete and it will expand what it can.

The artifacts you are using in this build were uploaded 40 minutes before the run - maybe the CDN isn't completely updated. I will add some resilience to this - if the file is corrupt - then I will re-download from the blob.windows.core endpoint to avoid issues with the CDN. I will let you know when you can test this.

freddydk commented 2 years ago

Will be in a prerelease in a few hours

cbrandemann commented 2 years ago

The same error occurs. I am using BCContainerhelper version: 4.0.6-preview731

Starting: Run AL Validation
==============================================================================
Task         : PowerShell
Description  : Run a PowerShell script on Linux, macOS, or Windows
Version      : 2.210.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
==============================================================================
Generating script.
Formatted command: . 'C:\agent\_work\1\s\Build\Scripts\RunALValidation.ps1' -containerName "TI-IEM-Bld" -apps "TI-Advanced Job Management,TI-Common" -CurrentAppsFolder "C:\agent\_work\1\b/CurrentVersion" -PreviousAppsFolder "C:\agent\_work\1\b/PrevVersion" -affixes "IEM" -countries "at,au,be,ca,ch,cz,dk,ee,es,fi,fr,gb,gr,hr,hu,ie,is,it,lt,lu,lv,mt,nl,no,nz,pl,pt,rs,se,si,sk,us" -ValidateNextMinor:("true" -eq "True") -ValidateNextMajor:("false" -eq "True")
========================== Starting Command Output ===========================
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent\_work\_temp\9f67e995-4eea-406f-80bb-a329aeea963e.ps1'"
Current Apps Folders: C:\agent\_work\1\b/CurrentVersion
Previous App Folders: C:\agent\_work\1\b/PrevVersion
Previous App Foldersa: at,au,be,ca,ch,cz,dk,ee,es,fi,fr,gb,gr,hr,hu,ie,is,it,lt,lu,lv,mt,nl,no,nz,pl,pt,rs,se,si,sk,us
Previous App Foldersa: at,au,be,ca,ch,cz,dk,ee,es,fi,fr,gb,gr,hr,hu,ie,is,it,lt,lu,lv,mt,nl,no,nz,pl,pt,rs,se,si,sk,us
VERBOSE: Loading module from path 'C:\agent\_work\1\s\Build\Scripts\GetAppFolders.psm1'.
VERBOSE: Importing function 'GetAppFolders'.
Apps: TI-Advanced Job Management,TI-Common
Current Apps Folders: 21.0.79543.0/IEM Cloud/apps/IEM Budgetting/app 21.0.79543.0/TIC19.0.78390.0/apps/TISystem/app
Previous App Folders: 21.0.79222.0/IEM Cloud/apps/IEM Budgetting/app 21.0.79222.0/TIC19.0.78390.0/apps/TISystem/app
C:\agent\_work\1\b\PrevVersion\21.0.79222.0\IEM Cloud\apps\IEM Budgetting\app
C:\agent\_work\1\b\PrevVersion\21.0.79222.0\IEM Cloud\apps\IEM Budgetting\app
C:\agent\_work\1\b\PrevVersion\21.0.79222.0\TIC19.0.78390.0\apps\TISystem\app
Current Apps: C:\agent\_work\1\b\CurrentVersion\21.0.79543.0\IEM Cloud\apps\IEM Budgetting\app\To-Increase B.V._TI-Advanced Job Management_20.4.79543.0.app
Previous Apps: C:\agent\_work\1\b\PrevVersion\21.0.79222.0\IEM Cloud\apps\IEM Budgetting\app\To-Increase B.V._TI-Advanced Job Management_20.4.79222.0.app
Dependency Apps: C:\agent\_work\1\b\CurrentVersion\21.0.79543.0\TIC19.0.78390.0\apps\TISystem\app\To-Increase B.V._TI-Common_19.0.78390.0.app
BcContainerHelper version 4.0.6-preview731
BcContainerHelper emits usage statistics telemetry to Microsoft

2022-10-18T08:13:50.8614396Z Running AppSourceCop took 29 seconds
2022-10-18T08:13:50.8621411Z 
2022-10-18T08:13:50.8621907Z    _____                _   _                               _        _                 
2022-10-18T08:13:50.8622172Z   / ____|              | | (_)                             | |      (_)                
2022-10-18T08:13:50.8623224Z  | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
2022-10-18T08:13:50.8623695Z  | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2022-10-18T08:13:50.8624162Z  | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |   
2022-10-18T08:13:50.8624698Z   \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
2022-10-18T08:13:50.8624978Z                                      __/ |                                             
2022-10-18T08:13:50.8625219Z                                     |___/                                              
2022-10-18T08:13:50.8625327Z 
2022-10-18T08:13:50.8632070Z Creating container for country lt
2022-10-18T08:13:51.0688363Z BcContainerHelper is version 4.0.6-preview731
2022-10-18T08:13:51.0695013Z BcContainerHelper is running as administrator
2022-10-18T08:13:51.8036840Z Hyper-V is Disabled
2022-10-18T08:13:51.8044708Z UsePsSession is True
2022-10-18T08:13:51.8052639Z Host is Microsoft Windows Server 2022 Datacenter Azure Edition - ltsc2022
2022-10-18T08:13:51.8628873Z Docker Client Version is 20.10.9
2022-10-18T08:13:51.8638462Z Docker Server Version is 20.10.9
2022-10-18T08:13:52.0829815Z Removing Session TI-IEM-Bld
2022-10-18T08:13:52.1413594Z Removing container TI-IEM-Bld
2022-10-18T08:13:53.0149867Z Removing entries from hosts
2022-10-18T08:13:53.0254154Z Removing TI-IEM-Bld from container hosts file
2022-10-18T08:13:53.0362458Z Removing TI-IEM-Bld-* from container hosts file
2022-10-18T08:13:53.0390532Z Removing Desktop shortcuts
2022-10-18T08:13:53.0503878Z Removing C:\ProgramData\BcContainerHelper\Extensions\TI-IEM-Bld
2022-10-18T08:13:53.0632120Z Downloading application artifact /sandbox/21.1.47907.0/lt
2022-10-18T08:13:53.0646940Z https://bcinsider.azureedge.net/sandbox/21.1.47907.0/lt?sv=2021-06-08&ss=b&srt=sco&spr=https&st=2022-09-15T00%3A00%3A00Z&se=2023-04-01T00%3A00%3A00Z&sp=rl&sig=rBQiC8y0zbuWC66i2BJcVhydR3XD2aaz47aJ6q6zEss%3D
2022-10-18T08:13:53.0663228Z Downloading C:\Windows\TEMP\bc7ce879-ba9f-42d9-8444-4b6d3d363673.zip
2022-10-18T08:14:36.8891415Z Unpacking application artifact to tmp folder using 7zip
2022-10-18T08:14:36.9179171Z 
2022-10-18T08:14:36.9179620Z ERRORS:
2022-10-18T08:14:36.9179882Z Unexpected end of archive
2022-10-18T08:14:36.9179985Z 
2022-10-18T08:14:40.4252595Z ERROR: Data Error : BusinessCentral-LT.bak
2022-10-18T08:14:40.9552479Z Download-Artifacts Telemetry Correlation Id: 0f58f1f8-2f09-4676-bfad-9f7ecb9c0990
2022-10-18T08:14:41.3774159Z New-BcContainer Telemetry Correlation Id: 161cd02f-e63b-4669-8ec1-787b64477450
2022-10-18T08:14:41.9924761Z Unexpected error while validating app. Error is: Cannot find path 'C:\bcartifacts.cache\sandbox\21.1.47907.0\lt\manifest.json' because it does not exist.
2022-10-18T08:14:41.9942147Z at Download-Artifacts, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.6\Misc\Download-Artifacts.ps1: line 135
2022-10-18T08:14:41.9942746Z at New-BcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.6\ContainerHandling\New-NavContainer.ps1: line 534
2022-10-18T08:14:41.9943271Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.6\AppHandling\Run-AlValidation.ps1: line 319
2022-10-18T08:14:41.9943798Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.6\AppHandling\Run-AlValidation.ps1: line 465
2022-10-18T08:14:41.9944539Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.6\AppHandling\Run-AlValidation.ps1: line 444
2022-10-18T08:14:41.9945048Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.6\AppHandling\Run-AlValidation.ps1: line 428
2022-10-18T08:14:41.9945586Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.6\AppHandling\Run-AlValidation.ps1: line 392
2022-10-18T08:14:41.9946097Z at Run-AlValidation, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.6\AppHandling\Run-AlValidation.ps1: line 390
2022-10-18T08:14:41.9946560Z at <ScriptBlock>, C:\agent\_work\1\s\Build\Scripts\RunALValidation.ps1: line 106
2022-10-18T08:14:41.9946942Z at <ScriptBlock>, C:\agent\_work\_temp\9f67e995-4eea-406f-80bb-a329aeea963e.ps1: line 4
2022-10-18T08:14:41.9947484Z at <ScriptBlock>, <No file>: line 1
2022-10-18T08:14:42.2719183Z 
2022-10-18T08:14:42.2719786Z   _____                           _                _____            _        _                 
2022-10-18T08:14:42.2720093Z  |  __ \                         (_)              / ____|          | |      (_)                
2022-10-18T08:14:42.2720413Z  | |__) |___ _ __ ___   _____   ___ _ __   __ _  | |     ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
2022-10-18T08:14:42.2720745Z  |  _  // _ \ '_ ` _ \ / _ \ \ / / | '_ \ / _` | | |    / _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2022-10-18T08:14:42.2721029Z  | | \ \  __/ | | | | | (_) \ V /| | | | | (_| | | |____ (_) | | | | |_ (_| | | | | |  __/ |   
2022-10-18T08:14:42.2721379Z  |_|  \_\___|_| |_| |_|\___/ \_/ |_|_| |_|\__, |  \_____\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
2022-10-18T08:14:42.2721662Z                                            __/ |                                               
2022-10-18T08:14:42.2721915Z                                           |___/                                                
2022-10-18T08:14:42.2722030Z 
2022-10-18T08:14:42.4530841Z Removing Desktop shortcuts
2022-10-18T08:14:42.4766110Z 
2022-10-18T08:14:42.4767693Z Removing container took 0 seconds
2022-10-18T08:14:42.4842845Z 
2022-10-18T08:14:42.4844256Z AL Validation finished in 2203 seconds
2022-10-18T08:14:42.4851236Z  __      __   _ _     _       _   _               _____                _ _       
2022-10-18T08:14:42.4851545Z  \ \    / /  | (_)   | |     | | (_)             |  __ \              | | |      
2022-10-18T08:14:42.4851818Z   \ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__) |___ ___ _   _| | |_ ___ 
2022-10-18T08:14:42.4852356Z    \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  _  // _ \ __| | | | | __/ __|
2022-10-18T08:14:42.4852618Z     \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | \ \  __\__ \ |_| | | |_\__ \
2022-10-18T08:14:42.4852928Z      \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \_\___|___/\__,_|_|\__|___/
2022-10-18T08:14:42.4853578Z 
2022-10-18T08:14:42.4864133Z Unexpected error while validating app. Error is: Cannot find path 'C:\bcartifacts.cache\sandbox\21.1.47907.0\lt\manifest.json' because it does not exist.
2022-10-18T08:14:42.4869401Z   _____                          ___      __   _ _     _       _   _               ______    _ _                
2022-10-18T08:14:42.4869733Z  |  __ \                   /\   | \ \    / /  | (_)   | |     | | (_)             |  ____|  (_) |               
2022-10-18T08:14:42.4870056Z  | |__) |   _ _ __ ______ /  \  | |\ \  / /_ _| |_  __| | __ _| |_ _  ___  _ __   | |__ __ _ _| |_   _ _ __ ___ 
2022-10-18T08:14:42.4870420Z  |  _  / | | | '_ \______/ /\ \ | | \ \/ / _` | | |/ _` |/ _` | __| |/ _ \| '_ \  |  __/ _` | | | | | | '__/ _ \
2022-10-18T08:14:42.4870727Z  | | \ \ |_| | | | |    / ____ \| |  \  / (_| | | | (_| | (_| | |_| | (_) | | | | | | | (_| | | | |_| | | |  __/
2022-10-18T08:14:42.4871082Z  |_|  \_\__,_|_| |_|   /_/    \_\_|   \/ \__,_|_|_|\__,_|\__,_|\__|_|\___/|_| |_| |_|  \__,_|_|_|\__,_|_|  \___|
2022-10-18T08:14:42.4871270Z 
2022-10-18T08:14:43.0918911Z Validation Results
2022-10-18T08:14:43.0925298Z ******************
2022-10-18T08:14:43.0931746Z Unexpected error while validating app. Error is: Cannot find path 'C:\bcartifacts.cache\sandbox\21.1.47907.0\lt\manifest.json' because it does not exist.
2022-10-18T08:14:43.1790783Z Unexpected error while validating app. Error is: Cannot find path 
2022-10-18T08:14:43.1791260Z 'C:\bcartifacts.cache\sandbox\21.1.47907.0\lt\manifest.json' because it does not exist.
2022-10-18T08:14:43.1791686Z At C:\agent\_work\1\s\Build\Scripts\RunALValidation.ps1:116 char:9
2022-10-18T08:14:43.1792007Z +         throw $test
2022-10-18T08:14:43.1792215Z +         ~~~~~~~~~~~
2022-10-18T08:14:43.1792545Z     + CategoryInfo          : OperationStopped: (Unexpected erro...does not exist.:String) [], RuntimeException
2022-10-18T08:14:43.1793033Z     + FullyQualifiedErrorId : Unexpected error while validating app. Error is: Cannot find path 'C:\bcartifacts.cache\ 
2022-10-18T08:14:43.1793681Z    sandbox\21.1.47907.0\lt\manifest.json' because it does not exist.
2022-10-18T08:14:43.1793935Z  
2022-10-18T08:14:43.3263017Z ##[error]PowerShell exited with code '1'.
2022-10-18T08:14:43.3582752Z ##[section]Finishing: Run AL Validation
freddydk commented 2 years ago

Shipped in 4.0.6