microsoft / navcontainerhelper

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

Cannot locate signtool.exe after installation #3580

Open achim-t opened 2 weeks ago

achim-t commented 2 weeks ago

Describe the issue In DevOps Pipelines the sign tool can not be installed.

2024-06-20T08:54:24.9674628Z   _____ _             _
2024-06-20T08:54:24.9690642Z  / ____(_)           (_)
2024-06-20T08:54:24.9706721Z  | (__  _  __ _ _ __  _ _ __   __ _    __ _ _ __  _ __  ___
2024-06-20T08:54:24.9722259Z  \___ \| |/ _` | '_ \| | '_ \ / _` |  / _` | '_ \| '_ \/ __|
2024-06-20T08:54:24.9737475Z  ____) | | (_| | | | | | | | | (_| | | (_| | |_) | |_) \__ \
2024-06-20T08:54:24.9753080Z |_____/|_|\__, |_| |_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
2024-06-20T08:54:24.9768760Z            __/ |               __/ |       | |   | |
2024-06-20T08:54:24.9786877Z           |___/               |___/        |_|   |_|
2024-06-20T08:54:25.5510358Z Downloading certificate file to container
2024-06-20T08:54:25.5544866Z Downloading C:\ProgramData\BcContainerHelper\Extensions\lvserver19-lebit-current\my\22c6284b-ddcb-4400-b43d-03b4d6caabd2.pfx
2024-06-20T08:54:30.7191026Z Downloading Signing Tools
2024-06-20T08:54:31.2826648Z Installing Signing Tools
2024-06-20T08:54:33.1413792Z Cannot locate signtool.exe after installation
Full output of scripts ``` 2024-06-20T08:47:35.2049573Z ##[section]Starting: Run Pipeline 2024-06-20T08:47:35.2293831Z ============================================================================== 2024-06-20T08:47:35.2294722Z Task : PowerShell 2024-06-20T08:47:35.2295455Z Description : Run a PowerShell script on Linux, macOS, or Windows 2024-06-20T08:47:35.2296198Z Version : 2.239.1 2024-06-20T08:47:35.2296777Z Author : Microsoft Corporation 2024-06-20T08:47:35.2297662Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell 2024-06-20T08:47:35.2298744Z ============================================================================== 2024-06-20T08:47:37.3937481Z Generating script. 2024-06-20T08:47:37.5370084Z Formatted command: . 'C:\agent\_work\313\s\scripts\DevOps-Pipeline.ps1' -environment "AzureDevOps" -version "current" -appBuild 23127 -appRevision 0 2024-06-20T08:47:37.6170386Z ========================== Starting Command Output =========================== 2024-06-20T08:47:37.6796449Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent\_work\_temp\3f3c9b65-c77b-41e5-bf48-06920ccb77d5.ps1'" 2024-06-20T08:47:38.6252015Z Set artifact = ///de/Current 2024-06-20T08:47:38.6344682Z Set pipelineName = LeBit-current 2024-06-20T08:47:38.6486999Z Set containerName = lvserver19-lebit-current 2024-06-20T08:47:38.6906381Z Set installApps = '' 2024-06-20T08:47:38.6927390Z Set installTestApps = '' 2024-06-20T08:47:38.6985986Z Set previousApps = '' 2024-06-20T08:47:38.7008286Z Set appSourceCopMandatoryAffixes = '' 2024-06-20T08:47:38.7030009Z Set appSourceCopSupportedCountries = '' 2024-06-20T08:47:38.7092323Z Set appFolders = 'Ticket,Base,PA' 2024-06-20T08:47:38.7150866Z Set testFolders = 'test' 2024-06-20T08:47:38.7173099Z Set memoryLimit = '' 2024-06-20T08:47:38.7201105Z Set additionalCountries = '' 2024-06-20T08:47:38.7229278Z Set genericImageName = '' 2024-06-20T08:47:38.7257041Z Set vaultNameForLocal = '' 2024-06-20T08:47:38.7279276Z Set bcContainerHelperVersion = '' 2024-06-20T08:47:38.7300818Z Set licenseFile = '' 2024-06-20T08:47:38.7322801Z Set rulesetFile = '' 2024-06-20T08:47:38.7422019Z Set installTestRunner = True 2024-06-20T08:47:38.7506685Z Set installTestFramework = True 2024-06-20T08:47:38.7568678Z Set installTestLibraries = True 2024-06-20T08:47:38.7590466Z Set installPerformanceToolkit = False 2024-06-20T08:47:38.7651163Z Set enableCodeCop = False 2024-06-20T08:47:38.7711020Z Set enableAppSourceCop = False 2024-06-20T08:47:38.7770249Z Set enablePerTenantExtensionCop = False 2024-06-20T08:47:38.7829735Z Set enableUICop = False 2024-06-20T08:47:38.7850855Z Set enableBcLntrCop = False 2024-06-20T08:47:38.7874802Z Set doNotSignApps = False 2024-06-20T08:47:38.7894673Z Set doNotRunTests = False 2024-06-20T08:47:38.7917084Z Set cacheImage = False 2024-06-20T08:47:38.7976137Z Set CreateRuntimePackages = True 2024-06-20T08:47:40.1541765Z BcContainerHelper version 6.0.18 2024-06-20T08:47:40.6522807Z Setting hostHelperFolder = C:\ProgramData\BcContainerHelper 2024-06-20T08:47:40.6713344Z Setting bcartifactsCacheFolder = c:\bcartifacts.cache 2024-06-20T08:47:40.7202627Z Setting genericImageName = mcr.microsoft.com/businesscentral:{0} 2024-06-20T08:47:40.7460297Z BC.HelperFunctions emits usage statistics telemetry to Microsoft 2024-06-20T08:47:41.0983353Z Running on Windows, PowerShell 5.1.17763.3770 2024-06-20T08:47:47.0272762Z After Install-BcContainerHelper.ps1 2024-06-20T08:47:49.1675224Z Using AL Language Extension: https://ms-dynamics-smb.gallerycdn.vsassets.io/extensions/ms-dynamics-smb/al/13.0.1027618/1716970921654/Microsoft.VisualStudio.Services.VSIXPackage 2024-06-20T08:47:49.5097567Z Determining artifacts to use 2024-06-20T08:48:28.4519598Z _____ _ 2024-06-20T08:48:28.4534171Z | __ \ | | 2024-06-20T08:48:28.4548386Z | |__) |_ _ _ __ __ _ _ __ ___ ___| |_ ___ _ __ ___ 2024-06-20T08:48:28.4563418Z | ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __| 2024-06-20T08:48:28.4579357Z | | | (_| | | | (_| | | | | | | __/ |_ __/ | \__ \ 2024-06-20T08:48:28.4595850Z |_| \__,_|_| \__,_|_| |_| |_|\___|\__\___|_| |___/ 2024-06-20T08:48:28.4606718Z 2024-06-20T08:48:28.4623879Z Pipeline name LeBit-current 2024-06-20T08:48:28.4639015Z Container name lvserver19-lebit-current 2024-06-20T08:48:28.4654571Z Image name bcimage 2024-06-20T08:48:28.4671116Z ArtifactUrl https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/sandbox/24.2.20227.20970/de 2024-06-20T08:48:28.4685988Z BcAuthContext Not Specified 2024-06-20T08:48:28.4706118Z Environment 2024-06-20T08:48:28.4740332Z ReUseContainer False 2024-06-20T08:48:28.4771358Z KeepContainer False 2024-06-20T08:48:28.4799821Z useCompilerFolder False 2024-06-20T08:48:28.4823837Z artifactCachePath 2024-06-20T08:48:28.4854584Z useDevEndpoint False 2024-06-20T08:48:28.4886284Z Auth UserPassword 2024-06-20T08:48:28.4911091Z CompanyName 2024-06-20T08:48:28.4941617Z MemoryLimit 8G 2024-06-20T08:48:28.4971782Z FailOn error 2024-06-20T08:48:28.5004709Z TreatTestFailuresAsWarnings False 2024-06-20T08:48:28.5036344Z Enable Task Scheduler False 2024-06-20T08:48:28.5068080Z Assign Premium Plan False 2024-06-20T08:48:28.5098634Z Install Test Runner True 2024-06-20T08:48:28.5130854Z Install Test Framework True 2024-06-20T08:48:28.5161792Z Install Test Libraries True 2024-06-20T08:48:28.5192670Z Install Perf. Toolkit False 2024-06-20T08:48:28.5223511Z InstallOnlyReferencedApps False 2024-06-20T08:48:28.5255483Z generateDependencyArtifact False 2024-06-20T08:48:28.5287203Z CopySymbolsFromContainer False 2024-06-20T08:48:28.5319413Z enableCodeCop False 2024-06-20T08:48:28.5350893Z enableAppSourceCop False 2024-06-20T08:48:28.5382034Z enableUICop False 2024-06-20T08:48:28.5413218Z enablePerTenantExtensionCop False 2024-06-20T08:48:28.5444194Z enableCodeAnalyzersOnTestApps False 2024-06-20T08:48:28.5478008Z doNotPerformUpgrade False 2024-06-20T08:48:28.5508419Z doNotPublishApps False 2024-06-20T08:48:28.5540611Z uninstallRemovedApps False 2024-06-20T08:48:28.5572173Z escapeFromCops False 2024-06-20T08:48:28.5602403Z doNotBuildTests False 2024-06-20T08:48:28.5633448Z doNotRunTests False 2024-06-20T08:48:28.5663865Z doNotRunBcptTests False 2024-06-20T08:48:28.5695598Z useDefaultAppSourceRuleSet False 2024-06-20T08:48:28.5720558Z rulesetFile 2024-06-20T08:48:28.5749555Z generateErrorLog False 2024-06-20T08:48:28.5782038Z enableExternalRulesets False 2024-06-20T08:48:28.5811340Z azureDevOps True 2024-06-20T08:48:28.5841579Z gitLab False 2024-06-20T08:48:28.5874068Z gitHubActions False 2024-06-20T08:48:28.5904018Z vsixFile https://ms-dynamics-smb.gallerycdn.vsassets.io/extensions/ms-dynamics-smb/al/13.0.1027618/1716970921654/Microsoft.VisualStudio.Services.VSIXPackage 2024-06-20T08:48:28.5935519Z License file Specified 2024-06-20T08:48:28.5966272Z CodeSignCertPfxFile Specified 2024-06-20T08:48:28.6031089Z CodeSignCertPfxPassword Specified 2024-06-20T08:48:28.6099787Z CodeSignCertIsSelfSigned False 2024-06-20T08:48:28.6140748Z KeyVaultCertPfxFile Not specified 2024-06-20T08:48:28.6176787Z KeyVaultCertPfxPassword Not specified 2024-06-20T08:48:28.6200944Z KeyVaultClientId 2024-06-20T08:48:28.6223899Z BuildOutputFile 2024-06-20T08:48:28.6247859Z ContainerEventLogFile 2024-06-20T08:48:28.6275836Z TestResultsFile C:\agent\_work\313\s\TestResults.xml 2024-06-20T08:48:28.6306021Z BcptTestResultsFile C:\agent\_work\313\s\bcptTestResults.json 2024-06-20T08:48:28.6337015Z TestResultsFormat JUnit 2024-06-20T08:48:28.6415535Z AdditionalCountries 2024-06-20T08:48:28.6445275Z PackagesFolder C:\agent\_work\313\s\.packages 2024-06-20T08:48:28.6475398Z OutputFolder C:\agent\_work\313\s\.output 2024-06-20T08:48:28.6509200Z BuildArtifactFolder C:\agent\_work\313\a 2024-06-20T08:48:28.6539608Z CreateRuntimePackages True 2024-06-20T08:48:28.6565306Z AppVersion 2024-06-20T08:48:28.6596011Z AppBuild 23127 2024-06-20T08:48:28.6626308Z AppRevision 0 2024-06-20T08:48:28.6652583Z SourceRepositoryUrl 2024-06-20T08:48:28.6675451Z SourceCommit 2024-06-20T08:48:28.6706319Z BuildBy BcContainerHelper,6.0.18 2024-06-20T08:48:28.6729764Z BuildUrl 2024-06-20T08:48:28.6739376Z Install Apps 2024-06-20T08:48:28.6749561Z - None 2024-06-20T08:48:28.6758868Z Install Test Apps 2024-06-20T08:48:28.6770763Z - None 2024-06-20T08:48:28.6829675Z Previous Apps 2024-06-20T08:48:28.6830872Z - None 2024-06-20T08:48:28.6832078Z Application folders 2024-06-20T08:48:28.6833458Z - C:\agent\_work\313\s\Ticket 2024-06-20T08:48:28.6834908Z - C:\agent\_work\313\s\Base 2024-06-20T08:48:28.6845390Z - C:\agent\_work\313\s\PA 2024-06-20T08:48:28.6855133Z Test application folders 2024-06-20T08:48:28.6865717Z - None 2024-06-20T08:48:28.6875137Z BCPT Test application folders 2024-06-20T08:48:28.6884751Z - None 2024-06-20T08:48:28.6894338Z BCPT Test suites 2024-06-20T08:48:28.6904550Z - None 2024-06-20T08:48:28.7258452Z Custom CodeCops 2024-06-20T08:48:28.7267987Z - None 2024-06-20T08:48:28.7279444Z NewBccontainer override 2024-06-20T08:48:28.7289109Z 2024-06-20T08:48:28.7298428Z 2024-06-20T08:48:28.7308192Z Param([Hashtable]$parameters) 2024-06-20T08:48:28.7313061Z 2024-06-20T08:48:28.7323492Z $items = Get-ChildItem -Path $baseFolder -Recurse -Filter "*.dll" 2024-06-20T08:48:28.7328526Z 2024-06-20T08:48:28.7339357Z $dllFolder = Join-Path $ENV:AGENT_HOMEDIRECTORY "dlls" 2024-06-20T08:48:28.7348171Z if (-not (Test-Path $dllFolder)) { 2024-06-20T08:48:28.7357798Z New-Item -ItemType Directory -Path $dllFolder 2024-06-20T08:48:28.7367243Z } 2024-06-20T08:48:28.7376762Z if ($items.Count -gt 0) { 2024-06-20T08:48:28.7386267Z $items | ForEach-Object { 2024-06-20T08:48:28.7397298Z if (-not (Test-Path (Join-Path $dllFolder $_.Name) -PathType Leaf)) { 2024-06-20T08:48:28.7406455Z Copy-Item $_.FullName -Destination $dllFolder 2024-06-20T08:48:28.7415216Z } 2024-06-20T08:48:28.7425538Z } 2024-06-20T08:48:28.7436831Z $parameters.additionalParameters += @("--volume $($dllFolder):c:\run\Add-Ins\mydlls") 2024-06-20T08:48:28.7446083Z } 2024-06-20T08:48:28.7456536Z $parameters.additionalParameters += @("--env customWebSettings=AuthenticateServer=false") 2024-06-20T08:48:28.7465949Z $parameters += @{ 2024-06-20T08:48:28.7475829Z "includeTestToolkit" = $true 2024-06-20T08:48:28.7485022Z "includeTestLibrariesOnly" = $true 2024-06-20T08:48:28.7494655Z } 2024-06-20T08:48:28.7504072Z 2024-06-20T08:48:28.7515807Z New-BcContainer @parameters 2024-06-20T08:48:28.7527938Z Invoke-ScriptInBcContainer $parameters.ContainerName -scriptblock { 2024-06-20T08:48:28.7538314Z $progressPreference = 'SilentlyContinue' 2024-06-20T08:48:28.7547622Z } 2024-06-20T08:48:28.7552845Z 2024-06-20T08:48:28.7563054Z CompileAppInBcContainer override 2024-06-20T08:48:28.7567911Z 2024-06-20T08:48:28.7578007Z Param([Hashtable]$parameters) 2024-06-20T08:48:28.7583481Z 2024-06-20T08:48:28.7594568Z $appJsonFile = Join-Path $parameters.appProjectFolder "app.json" 2024-06-20T08:48:28.7603811Z $appJson = Get-Content $appJsonFile | ConvertFrom-Json 2024-06-20T08:48:28.7613162Z if ($appJson.preprocessorSymbols) { 2024-06-20T08:48:28.7622718Z $appJson.preprocessorSymbols = @() 2024-06-20T08:48:28.7632429Z $appJson | ConvertTo-Json -Depth 99 | Set-Content $appJsonFile 2024-06-20T08:48:28.7641592Z } 2024-06-20T08:48:28.7651158Z 2024-06-20T08:48:28.7660912Z Compile-AppInBcContainer @parameters 2024-06-20T08:48:28.7665766Z 2024-06-20T08:48:28.7671085Z 2024-06-20T08:48:28.7681146Z _____ _ _ _ _ _ 2024-06-20T08:48:28.7690653Z | __ \ | | (_) (_) (_) 2024-06-20T08:48:28.7700172Z | |__) | _| | |_ _ __ __ _ __ _ ___ _ __ ___ _ __ _ ___ _ _ __ ___ __ _ __ _ ___ 2024-06-20T08:48:28.7710988Z | ___/ | | | | | | '_ \ / _` | / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \ 2024-06-20T08:48:28.7726262Z | | | |_| | | | | | | | (_| | | (_| | __/ | | | __/ | | | (__ | | | | | | | (_| | (_| | __/ 2024-06-20T08:48:28.7740458Z |_| \__,_|_|_|_|_| |_|\__, | \__, |\___|_| |_|\___|_| |_|\___| |_|_| |_| |_|\__,_|\__, |\___| 2024-06-20T08:48:28.7752262Z __/ | __/ | __/ | 2024-06-20T08:48:28.7761925Z |___/ |___/ |___/ 2024-06-20T08:48:28.7766753Z 2024-06-20T08:48:29.0448386Z Pulling mcr.microsoft.com/businesscentral:ltsc2019 2024-06-20T08:48:29.8645807Z 2024-06-20T08:48:29.8663046Z Pulling generic image took 1 seconds 2024-06-20T08:48:29.9059123Z 2024-06-20T08:48:29.9078750Z _____ _ _ _ _ 2024-06-20T08:48:29.9094131Z / ____| | | (_) | | (_) 2024-06-20T08:48:29.9109471Z | | _ __ ___ __ _| |_ _ _ __ __ _ ___ ___ _ __ | |_ __ _ _ _ __ ___ _ __ 2024-06-20T08:48:29.9125192Z | | | '__/ _ \/ _` | __| | '_ \ / _` | / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__| 2024-06-20T08:48:29.9140123Z | |____| | | __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | | __/ | 2024-06-20T08:48:29.9155744Z \_____|_| \___|\__,_|\__|_|_| |_|\__, | \___\___/|_| |_|\__\__,_|_|_| |_|\___|_| 2024-06-20T08:48:29.9171206Z __/ | 2024-06-20T08:48:29.9186591Z |___/ 2024-06-20T08:48:29.9194588Z 2024-06-20T08:48:30.6509841Z Creaing docker container 2024-06-20T08:48:30.8708894Z WARNING: Container name should not exceed 15 characters 2024-06-20T08:48:31.1078102Z BcContainerHelper is version 6.0.18 2024-06-20T08:48:31.1093259Z BcContainerHelper is running as administrator 2024-06-20T08:48:33.3222081Z HyperV is Disabled 2024-06-20T08:48:33.3245514Z Host is Microsoft Windows Server 2019 Standard - 10.0.17763.4499 2024-06-20T08:48:33.3277445Z UsePsSession is True 2024-06-20T08:48:33.3310774Z UsePwshForBc24 is True 2024-06-20T08:48:33.3323913Z UseWinRmSession is allow 2024-06-20T08:48:33.3356218Z UseSslForWinRmSession is True 2024-06-20T08:48:33.6346503Z Docker Client Version is 19.03.4 2024-06-20T08:48:33.6366831Z Docker Server Version is 19.03.4 2024-06-20T08:48:34.8616345Z Removing Desktop shortcuts 2024-06-20T08:48:35.5643188Z Fetching all docker images 2024-06-20T08:48:35.9774570Z Fetching all docker volumes 2024-06-20T08:48:36.3107850Z ArtifactUrl and ImageName specified 2024-06-20T08:48:37.1539770Z Image bcimage:sandbox-24.2.20227.20970-de-mt already exists 2024-06-20T08:48:38.2775241Z Using image bcimage:sandbox-24.2.20227.20970-de-mt 2024-06-20T08:48:38.7991991Z Creating Container lvserver19-lebit-current 2024-06-20T08:48:38.8156262Z Style: sandbox 2024-06-20T08:48:38.8174525Z Multitenant: Yes 2024-06-20T08:48:38.8190616Z Version: 24.2.20227.20970 2024-06-20T08:48:38.8237430Z Platform: 24.0.20957.0 2024-06-20T08:48:38.8258820Z Generic Tag: 1.0.2.36 2024-06-20T08:48:38.8307279Z Container OS Version: 10.0.17763.5936 (ltsc2019) 2024-06-20T08:48:38.8325710Z Host OS Version: 10.0.17763.4499 (ltsc2019) 2024-06-20T08:48:40.1117070Z WARNING: Host OS and Base Image Container OS doesn't match and HyperV is not installed. If you encounter issues, you could try to install HyperV. 2024-06-20T08:48:40.1135507Z Using process isolation 2024-06-20T08:48:40.1230101Z Using locale de-DE 2024-06-20T08:48:40.1330811Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable) 2024-06-20T08:48:40.2159654Z Downloading C:\ProgramData\BcContainerHelper\Extensions\lvserver19-lebit-current\Microsoft.VisualStudio.Services.VSIXPackage.vsix 2024-06-20T08:49:05.6140929Z Using license file https://devlbstorage.blob.core.windows.net/files/4804634%20LeBit%20Dev%2024%20BC%20on%20premises%20DE%20610%20ISV%2003.05.24.bclicense 2024-06-20T08:49:05.6210110Z Downloading C:\ProgramData\BcContainerHelper\Extensions\lvserver19-lebit-current\my\license.bclicense 2024-06-20T08:49:06.0431810Z Additional Parameters: 2024-06-20T08:49:06.0456138Z --volume "C:\agent\_work\313\s:c:\sources" 2024-06-20T08:49:06.0480359Z --env customWebSettings=AuthenticateServer=false 2024-06-20T08:49:06.0499621Z --expose 5986 2024-06-20T08:49:06.0516553Z --env customNavSettings=EnableTaskScheduler=False 2024-06-20T08:49:06.0532389Z Files in C:\ProgramData\BcContainerHelper\Extensions\lvserver19-lebit-current\my: 2024-06-20T08:49:06.0628303Z - AdditionalOutput.ps1 2024-06-20T08:49:06.0646744Z - AdditionalSetup.ps1 2024-06-20T08:49:06.0661605Z - HelperFunctions.ps1 2024-06-20T08:49:06.0678659Z - license.bclicense 2024-06-20T08:49:06.0695969Z - MainLoop.ps1 2024-06-20T08:49:06.0719382Z - SetupVariables.ps1 2024-06-20T08:49:06.0734413Z - updatehosts.ps1 2024-06-20T08:49:06.0751643Z Creating container lvserver19-lebit-current from image bcimage:sandbox-24.2.20227.20970-de-mt 2024-06-20T08:49:06.5439562Z fd4847575518bf8eebdb756b9e77b7d82da7e32bbc44a55692eb2914382a4948 2024-06-20T08:49:10.2999528Z Waiting for container lvserver19-lebit-current to be ready 2024-06-20T08:50:01.5563350Z Adding LVSERVER19-LEBI to hosts file 2024-06-20T08:50:03.0928062Z Initializing... 2024-06-20T08:50:03.0945976Z Setting host.containerhelper.internal to 172.24.0.1 in container hosts file 2024-06-20T08:50:03.0962965Z Starting Container 2024-06-20T08:50:03.0980897Z Hostname is lvserver19-lebit-current 2024-06-20T08:50:04.5937676Z PublicDnsName is lvserver19-lebit-current 2024-06-20T08:50:04.5959206Z Using NavUserPassword Authentication 2024-06-20T08:50:09.0144644Z Starting Local SQL Server 2024-06-20T08:50:13.5108854Z Starting Internet Information Server 2024-06-20T08:50:15.0625461Z Creating Self Signed Certificate 2024-06-20T08:50:15.0643520Z Self Signed Certificate Thumbprint FA1DA9175EE5084A554126BD4153899CDA5EF2B0 2024-06-20T08:50:15.0660394Z DNS identity lvserver19-lebit-current 2024-06-20T08:50:15.0676212Z Modifying Service Tier Config File with Instance Specific Settings 2024-06-20T08:50:15.0692178Z Modifying Service Tier Config File with settings from environment variable 2024-06-20T08:50:16.4848596Z Setting EnableTaskScheduler to False 2024-06-20T08:50:37.9840953Z Starting Service Tier 2024-06-20T08:50:37.9857473Z Registering event sources 2024-06-20T08:50:39.3930446Z Creating DotNetCore Web Server Instance 2024-06-20T08:50:39.3944664Z Using application pool name: BC 2024-06-20T08:50:39.3956271Z Using default container name: NavWebApplicationContainer 2024-06-20T08:50:46.6374402Z Copy files to WWW root C:\inetpub\wwwroot\BC 2024-06-20T08:50:48.1526794Z Create the application pool BC 2024-06-20T08:50:49.6318353Z Create website: NavWebApplicationContainer without SSL 2024-06-20T08:50:49.6332495Z Update configuration: navsettings.json 2024-06-20T08:50:49.6347493Z Done Configuring Web Client 2024-06-20T08:50:49.6362881Z Modifying Web Client config with settings from environment variable 2024-06-20T08:50:49.6377354Z Setting AuthenticateServer to false 2024-06-20T08:50:49.6392425Z Enabling Financials User Experience 2024-06-20T08:50:49.6407313Z Using license file 'c:\run\my\license.bclicense' 2024-06-20T08:51:24.2710550Z Import License 2024-06-20T08:51:27.2417387Z Dismounting Tenant 2024-06-20T08:51:27.2426013Z Mounting Tenant 2024-06-20T08:51:31.7417051Z Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False 2024-06-20T08:51:37.6084840Z Sync'ing Tenant 2024-06-20T08:51:37.6099750Z Tenant is Operational 2024-06-20T08:51:39.0263209Z Creating http download site 2024-06-20T08:51:40.4103415Z Setting SA Password and enabling SA 2024-06-20T08:51:44.7686320Z Creating admin as SQL User and add to sysadmin 2024-06-20T08:51:50.5840790Z Creating SUPER user 2024-06-20T08:52:31.2883613Z Enable PSRemoting and setup user for winrm 2024-06-20T08:52:34.1758322Z Creating self-signed certificate for winrm 2024-06-20T08:52:34.1767898Z Container IP Address: 172.24.3.20 2024-06-20T08:52:34.1778868Z Container Hostname : lvserver19-lebit-current 2024-06-20T08:52:34.1788708Z Container Dns Name : lvserver19-lebit-current 2024-06-20T08:52:34.1798621Z Web Client : http://lvserver19-lebit-current/BC/?tenant=default 2024-06-20T08:52:34.1808836Z Dev. Server : http://lvserver19-lebit-current 2024-06-20T08:52:34.1818911Z Dev. ServerInstance : BC 2024-06-20T08:52:34.1828787Z Dev. Server Tenant : default 2024-06-20T08:52:35.6266306Z Setting lvserver19-lebit-current to 172.24.3.20 in host hosts file 2024-06-20T08:52:35.6284559Z Setting lvserver19-lebit-current-default to 172.24.3.20 in host hosts file 2024-06-20T08:52:37.1346804Z Setting lvserver19-lebit-current-default to 172.24.3.20 in container hosts file 2024-06-20T08:52:37.1355136Z 2024-06-20T08:52:37.1365058Z Files: 2024-06-20T08:52:37.1375692Z http://lvserver19-lebit-current:8080/Microsoft.VisualStudio.Services.VSIXPackage.vsix 2024-06-20T08:52:37.1379336Z 2024-06-20T08:52:37.1389259Z Container Total Physical Memory is 28.0Gb 2024-06-20T08:52:37.1398579Z Container Free Physical Memory is 15.4Gb 2024-06-20T08:52:37.1403357Z 2024-06-20T08:52:37.1413176Z Initialization took 156 seconds 2024-06-20T08:52:37.1422341Z Ready for connections! 2024-06-20T08:52:48.6341582Z Reading CustomSettings.config from lvserver19-lebit-current 2024-06-20T08:52:49.6748799Z Creating Desktop Shortcuts for lvserver19-lebit-current 2024-06-20T08:52:56.0194376Z Skipping app 'C:\Applications.DE\Microsoft_Permissions Mock_24.2.20227.20970.app' as it is already installed 2024-06-20T08:52:56.2086803Z Skipping app 'C:\Applications.DE\Microsoft_Test Runner_24.2.20227.20970.app' as it is already installed 2024-06-20T08:52:56.4092339Z Skipping app 'C:\Applications.DE\Microsoft_Any_24.2.20227.20970.app' as it is already installed 2024-06-20T08:52:56.5879201Z Skipping app 'C:\Applications.DE\Microsoft_Library Assert_24.2.20227.20970.app' as it is already installed 2024-06-20T08:52:56.7342581Z Skipping app 'C:\Applications.DE\Microsoft_Permissions Mock_24.2.20227.20970.app' as it is already installed 2024-06-20T08:52:56.9322968Z Skipping app 'C:\Applications.DE\Microsoft_Library Variable Storage_24.2.20227.20970.app' as it is already installed 2024-06-20T08:52:57.1201534Z Skipping app 'C:\Applications.DE\Microsoft_System Application Test Library_24.2.20227.20970.app' as it is already installed 2024-06-20T08:52:57.2689394Z Skipping app 'C:\Applications.DE\Microsoft_Business Foundation Test Libraries_24.2.20227.20970.app' as it is already installed 2024-06-20T08:52:57.4562706Z Skipping app 'C:\Applications.DE\Microsoft_Tests-TestLibraries_24.2.20227.20970.app' as it is already installed 2024-06-20T08:52:57.4578379Z TestToolkit successfully imported 2024-06-20T08:52:58.6258546Z Cleanup old dotnet core assemblies 2024-06-20T08:52:58.6298295Z Container lvserver19-lebit-current successfully created 2024-06-20T08:52:59.0189020Z 2024-06-20T08:52:59.0211360Z Use: 2024-06-20T08:52:59.0240607Z Get-BcContainerEventLog -containerName lvserver19-lebit-current to retrieve a snapshot of the event log from the container 2024-06-20T08:52:59.0271883Z Get-BcContainerDebugInfo -containerName lvserver19-lebit-current to get debug information about the container 2024-06-20T08:52:59.0304482Z Enter-BcContainer -containerName lvserver19-lebit-current to open a PowerShell prompt inside the container 2024-06-20T08:52:59.0336679Z Remove-BcContainer -containerName lvserver19-lebit-current to remove the container again 2024-06-20T08:52:59.0369199Z docker logs lvserver19-lebit-current to retrieve information about URL's again 2024-06-20T08:52:59.6220516Z 2024-06-20T08:52:59.6230570Z Creating container took 270 seconds 2024-06-20T08:52:59.6238824Z 2024-06-20T08:52:59.6254750Z _____ _ _ _ _ _ 2024-06-20T08:52:59.6269843Z | __ \ | | (_) | | | | (_) 2024-06-20T08:52:59.6285189Z | |__) |___ ___ ___ | |_ ___ _ __ __ _ __| | ___ _ __ ___ _ __ __| | ___ _ __ ___ _ ___ ___ 2024-06-20T08:52:59.6300081Z | _ // _ \ __|/ _ \| \ \ / / | '_ \ / _` | / _` |/ _ \ '_ \ / _ \ '_ \ / _` |/ _ \ '_ \ / __| |/ _ \ __| 2024-06-20T08:52:59.6314946Z | | \ \ __\__ \ (_) | |\ V /| | | | | (_| | | (_| | __/ |_) | __/ | | | (_| | __/ | | | (__| | __\__ \ 2024-06-20T08:52:59.6331523Z |_| \_\___|___/\___/|_| \_/ |_|_| |_|\__, | \__,_|\___| .__/ \___|_| |_|\__,_|\___|_| |_|\___|_|\___|___/ 2024-06-20T08:52:59.6344787Z __/ | | | 2024-06-20T08:52:59.6359876Z |___/ |_| 2024-06-20T08:52:59.6368050Z 2024-06-20T08:52:59.8892481Z Sorted App folders 2024-06-20T08:52:59.8906822Z - C:\agent\_work\313\s\Ticket 2024-06-20T08:52:59.8918309Z - C:\agent\_work\313\s\Base 2024-06-20T08:52:59.8930171Z - C:\agent\_work\313\s\PA 2024-06-20T08:52:59.8942511Z External dependencies 2024-06-20T08:52:59.8954799Z - 437dbf0e-84ff-417a-965d-ed2bb9650972:Microsoft_Base Application_23.0.0.0.app 2024-06-20T08:52:59.8968529Z - 63ca2fa4-4f03-4f2b-a480-172fef340d3f:Microsoft_System Application_23.0.0.0.app 2024-06-20T08:52:59.8984950Z Sorted TestApp folders 2024-06-20T08:52:59.9026470Z - None 2024-06-20T08:52:59.9031584Z 2024-06-20T08:52:59.9046931Z _____ _ _ _ 2024-06-20T08:52:59.9062768Z / ____| (_) (_) 2024-06-20T08:52:59.9075952Z | | ___ _ __ ___ _ __ _| |_ _ __ __ _ __ _ _ __ _ __ ___ 2024-06-20T08:52:59.9091277Z | | / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` | / _` | '_ \| '_ \/ __| 2024-06-20T08:52:59.9105200Z | |____ (_) | | | | | | |_) | | | | | | | (_| | | (_| | |_) | |_) \__ \ 2024-06-20T08:52:59.9117225Z \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, | \__,_| .__/| .__/|___/ 2024-06-20T08:52:59.9126631Z | | __/ | | | | | 2024-06-20T08:52:59.9136074Z |_| |___/ |_| |_| 2024-06-20T08:52:59.9140830Z 2024-06-20T08:52:59.9346073Z Using Version 20.0.23127.0 2024-06-20T08:52:59.9665910Z 2024-06-20T08:52:59.9682480Z Compiling C:\agent\_work\313\s\Ticket 2024-06-20T08:53:02.2854344Z Copying DLLs from C:\Program Files\Microsoft Dynamics NAV\240\Service to assemblyProbingPath 2024-06-20T08:53:21.9735113Z Removing dotnet Framework Assemblies 2024-06-20T08:53:22.8914241Z Using Symbols Folder: C:\agent\_work\313\s\.packages 2024-06-20T08:53:38.5848353Z Processing dependency Microsoft_Application_23.0.0.0 () 2024-06-20T08:53:38.6430524Z Downloading symbols: Microsoft_Application_24.2.20227.20970.app 2024-06-20T08:53:38.6495647Z Url : http://172.24.3.20:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=23.0.0.0&tenant=default 2024-06-20T08:53:40.8471871Z Adding dependency to System Application from Microsoft 2024-06-20T08:53:40.8500467Z Adding dependency to Business Foundation from Microsoft 2024-06-20T08:53:40.8518537Z Adding dependency to Base Application from Microsoft 2024-06-20T08:53:40.8540476Z Processing dependency Microsoft_System_23.0.0.0 () 2024-06-20T08:53:40.8638624Z Downloading symbols: Microsoft_System_24.0.20957.0.app 2024-06-20T08:53:40.8649718Z Url : http://172.24.3.20:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=23.0.0.0&tenant=default 2024-06-20T08:53:42.3549990Z Processing dependency Microsoft_System Application_24.2.0.0 (63ca2fa4-4f03-4f2b-a480-172fef340d3f) 2024-06-20T08:53:42.3716238Z Downloading symbols: Microsoft_System Application_24.2.20227.20970.app 2024-06-20T08:53:42.3726205Z Url : http://172.24.3.20:7049/BC/dev/packages?appId=63ca2fa4-4f03-4f2b-a480-172fef340d3f&versionText=24.2.0.0&tenant=default 2024-06-20T08:53:43.8150174Z Processing dependency Microsoft_Business Foundation_24.2.0.0 (f3552374-a1f2-4356-848e-196002525837) 2024-06-20T08:53:43.8243552Z Downloading symbols: Microsoft_Business Foundation_24.2.20227.20970.app 2024-06-20T08:53:43.8261425Z Url : http://172.24.3.20:7049/BC/dev/packages?appId=f3552374-a1f2-4356-848e-196002525837&versionText=24.2.0.0&tenant=default 2024-06-20T08:53:45.2167505Z Processing dependency Microsoft_Base Application_24.2.0.0 (437dbf0e-84ff-417a-965d-ed2bb9650972) 2024-06-20T08:53:45.2253638Z Downloading symbols: Microsoft_Base Application_24.2.20227.20970.app 2024-06-20T08:53:45.2264207Z Url : http://172.24.3.20:7049/BC/dev/packages?appId=437dbf0e-84ff-417a-965d-ed2bb9650972&versionText=24.2.0.0&tenant=default 2024-06-20T08:53:47.8650667Z Compiling... 2024-06-20T08:53:47.8669092Z .\alc.exe /project:"c:\sources\Ticket" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\LeBit Software & Consult GmbH_LeBit Ticket_20.0.23127.0.app" /BuildBy:"BcContainerHelper,6.0.18" /assemblyprobingpaths:"C:\Program Files\dotnet\shared","C:\ProgramData\BcContainerHelper\Extensions\lvserver19-lebit-current\.netPackages\Service" 2024-06-20T08:53:58.9956128Z Microsoft (R) AL Compiler version 13.0.15.44608 2024-06-20T08:53:58.9992618Z Copyright (C) Microsoft Corporation. All rights reserved 2024-06-20T08:53:58.9998596Z 2024-06-20T08:53:59.0011458Z Compilation started for project 'LeBit Ticket' containing '80' files at '10:53:47.888'. 2024-06-20T08:53:59.0016607Z 2024-06-20T08:53:59.0117813Z ##[warning]./c:/sources/Ticket/src/profile/Ticket.Profile.al(1,9): warning AL0571: The property 'Description' should only be used for internal comments. Use the property 'Caption' or 'CaptionML' in order to specify the profile caption displayed to end users. This warning will become an error in a future release. 2024-06-20T08:53:59.0148639Z ##[warning]./c:/sources/Ticket/src/table/DBSTART.Table.al(162,32): warning AL0685: The length '100' of the calculation formula's target field 'Name' is greater than the length '50' of the source flow field 'KontaktName'. This could result in a runtime error. Please make sure that the target field's length is less than equal to the source field length. This warning will become an error in a future release. 2024-06-20T08:53:59.0160463Z ##[warning]./c:/sources/Ticket/src/table/TicketUser.Table.al(143,41): warning AL0685: The length '20' of the calculation formula's target field 'Resource Group No.' is greater than the length '10' of the source flow field '"Ressourcen Gruppe"'. This could result in a runtime error. Please make sure that the target field's length is less than equal to the source field length. This warning will become an error in a future release. 2024-06-20T08:53:59.0170599Z ##[warning]./c:/sources/Ticket/src/table/Ticketdelivered.Table.al(188,12): warning AL0667: 'Internal' is being deprecated in the versions: '4.0' or greater. The Internal scope is being deprecated. Use OnPrem instead. This warning will become an error in a future release. 2024-06-20T08:53:59.0179887Z ##[warning]./c:/sources/Ticket/src/table/TicketCue.Table.al(686,12): warning AL0667: 'Internal' is being deprecated in the versions: '4.0' or greater. The Internal scope is being deprecated. Use OnPrem instead. This warning will become an error in a future release. 2024-06-20T08:53:59.0189619Z ##[warning]./c:/sources/Ticket/src/table/TicketCue.Table.al(719,12): warning AL0667: 'Internal' is being deprecated in the versions: '4.0' or greater. The Internal scope is being deprecated. Use OnPrem instead. This warning will become an error in a future release. 2024-06-20T08:53:59.0198936Z ##[warning]./c:/sources/Ticket/src/table/TicketCue.Table.al(743,12): warning AL0667: 'Internal' is being deprecated in the versions: '4.0' or greater. The Internal scope is being deprecated. Use OnPrem instead. This warning will become an error in a future release. 2024-06-20T08:53:59.0208881Z ##[warning]./c:/sources/Ticket/src/table/TicketCue.Table.al(757,12): warning AL0667: 'Internal' is being deprecated in the versions: '4.0' or greater. The Internal scope is being deprecated. Use OnPrem instead. This warning will become an error in a future release. 2024-06-20T08:53:59.0217683Z ##[warning]./c:/sources/Ticket/src/page/AppsCard.Page.al(66,32): warning AL0269: The referenced page '"lbtH Assigned Apps"' should be a list part or a card part. This warning will become an error in a future release. 2024-06-20T08:53:59.0226777Z ##[warning]./c:/sources/Ticket/src/table/TicketCue.Table.al(1058,58): warning AL0805: The object ID '36' should not be surrounded with quotes. This warning will become an error when targeting a runtime with version '14.0' or higher. 2024-06-20T08:53:59.0235874Z ##[warning]./c:/sources/Ticket/src/table/DBSTART.Table.al(496,25): warning AL0805: The object ID '5050' should not be surrounded with quotes. This warning will become an error when targeting a runtime with version '14.0' or higher. 2024-06-20T08:53:59.0248001Z ##[warning]./c:/sources/Ticket/src/table/ArbeitszeitBuchblatt.Table.al(105,32): warning AL0685: The length '100' of the calculation formula's target field 'Name' is greater than the length '50' of the source flow field 'Kontaktname'. This could result in a runtime error. Please make sure that the target field's length is less than equal to the source field length. This warning will become an error in a future release. 2024-06-20T08:53:59.0258274Z ##[warning]./c:/sources/Ticket/src/page/TicketCalculationLines.Page.al(142,9): warning AL0667: 'InDataSet' is being deprecated in the versions: '11.0' or greater. The InDataset attribute is unused. This warning will become an error in a future release. 2024-06-20T08:53:59.0266707Z ##[warning]./c:/sources/Ticket/src/page/DBOverview.Page.al(150,29): warning AL0482: The image setup is not valid in this context 2024-06-20T08:53:59.0280338Z ##[warning]./c:/sources/Ticket/src/page/TicketCalculationLines.Page.al(144,9): warning AL0667: 'InDataSet' is being deprecated in the versions: '11.0' or greater. The InDataset attribute is unused. This warning will become an error in a future release. 2024-06-20T08:53:59.0316980Z ##[warning]./c:/sources/Ticket/src/page/DBOverview.Page.al(263,29): warning AL0482: The image Sharepoint is not valid in this context 2024-06-20T08:53:59.0321805Z ##[warning]./c:/sources/Ticket/src/page/DBOverview.Page.al(282,25): warning AL0482: The image Admin is not valid in this context 2024-06-20T08:53:59.0334655Z ##[warning]./c:/sources/Ticket/src/page/TicketCard.Page.al(224,49): warning AL0805: The object ID '1003' should not be surrounded with quotes. This warning will become an error when targeting a runtime with version '14.0' or higher. 2024-06-20T08:53:59.0352672Z ##[warning]./c:/sources/Ticket/src/table/TicketLine.Table.al(329,28): warning AL0685: The length '50' of the calculation formula's target field 'Branch' is greater than the length '20' of the source flow field 'Branch'. This could result in a runtime error. Please make sure that the target field's length is less than equal to the source field length. This warning will become an error in a future release. 2024-06-20T08:53:59.0371410Z ##[warning]./c:/sources/Ticket/src/table/TicketLine.Table.al(362,46): warning AL0685: The length '100' of the calculation formula's target field 'Name' is greater than the length '50' of the source flow field '"Anfrage Kontakt Name"'. This could result in a runtime error. Please make sure that the target field's length is less than equal to the source field length. This warning will become an error in a future release. 2024-06-20T08:53:59.0439011Z ##[warning]./c:/sources/Ticket/src/page/DBStarterSetup.Page.al(104,50): warning AL0805: The object ID '419' should not be surrounded with quotes. This warning will become an error when targeting a runtime with version '14.0' or higher. 2024-06-20T08:53:59.0452971Z ##[warning]./c:/sources/Ticket/src/page/DBStarterSetup.Page.al(332,37): warning AL0805: The object ID '5050' should not be surrounded with quotes. This warning will become an error when targeting a runtime with version '14.0' or higher. 2024-06-20T08:53:59.0473591Z ##[warning]./c:/sources/Ticket/src/table/Ticket.Table.al(1179,31): warning AL0432: Codeunit 'NoSeriesManagement' is marked for removal. Reason: Please use the "No. Series" and "No. Series - Batch" codeunits instead. Tag: 24.0. 2024-06-20T08:53:59.0487943Z ##[warning]./c:/sources/Ticket/src/table/TicketAttachment.Table.al(242,28): warning AL0805: The object ID '5062' should not be surrounded with quotes. This warning will become an error when targeting a runtime with version '14.0' or higher. 2024-06-20T08:53:59.0499101Z ##[warning]./c:/sources/Ticket/src/table/TicketAttachment.Table.al(243,25): warning AL0805: The object ID '5077' should not be surrounded with quotes. This warning will become an error when targeting a runtime with version '14.0' or higher. 2024-06-20T08:53:59.0512201Z ##[warning]./c:/sources/Ticket/src/table/TicketCue.Table.al(672,29): warning AL0805: The object ID '36' should not be surrounded with quotes. This warning will become an error when targeting a runtime with version '14.0' or higher. 2024-06-20T08:53:59.0521540Z ##[warning]./c:/sources/Ticket/src/table/TicketCue.Table.al(689,33): warning AL0805: The object ID '9060' should not be surrounded with quotes. This warning will become an error when targeting a runtime with version '14.0' or higher. 2024-06-20T08:53:59.0534476Z ##[warning]./c:/sources/Ticket/src/table/TicketCue.Table.al(746,32): warning AL0805: The object ID '5700' should not be surrounded with quotes. This warning will become an error when targeting a runtime with version '14.0' or higher. 2024-06-20T08:53:59.0547113Z ##[warning]./c:/sources/Ticket/src/table/TicketCue.Table.al(760,29): warning AL0805: The object ID '36' should not be surrounded with quotes. This warning will become an error when targeting a runtime with version '14.0' or higher. 2024-06-20T08:53:59.0557806Z ##[warning]./c:/sources/Ticket/src/table/TicketCue.Table.al(1013,31): warning AL0805: The object ID '2000000053' should not be surrounded with quotes. This warning will become an error when targeting a runtime with version '14.0' or higher. 2024-06-20T08:53:59.0576009Z ##[warning]./c:/sources/Ticket/src/page/TicketStatus.Page.al(40,22): warning AL0604: Use of implicit 'with' will be removed in the future. Qualify with 'Rec'. This warning will become an error in a future release. 2024-06-20T08:53:59.0592008Z ##[warning]./c:/sources/Ticket/src/table/TicketCalculation.Table.al(143,12): warning AL0667: 'FindSet' is being deprecated in the versions: '11.0' or greater. This method has been deprecated because the parameter 'UpdateKey' is not used by the runtime. Use the overload without the 'UpdateKey' parameter instead. This warning will become an error in a future release. 2024-06-20T08:53:59.0603290Z ##[warning]./c:/sources/Ticket/src/page/TicketRoleCenter.Page.al(192,21): warning AL0729: The Property 'Promoted' can only be used if the property 'PageType' is set with any of the values of: 'Card,Document,List,ListPlus,Worksheet' This warning will become an error in a future release. 2024-06-20T08:53:59.0617906Z ##[warning]./c:/sources/Ticket/src/page/TicketRoleCenter.Page.al(193,21): warning AL0729: The Property 'PromotedIsBig' can only be used if the property 'PageType' is set with any of the values of: 'Card,Document,List,ListPlus,Worksheet' This warning will become an error in a future release. 2024-06-20T08:53:59.0629604Z ##[warning]./c:/sources/Ticket/src/page/TicketRoleCenter.Page.al(201,21): warning AL0729: The Property 'Promoted' can only be used if the property 'PageType' is set with any of the values of: 'Card,Document,List,ListPlus,Worksheet' This warning will become an error in a future release. 2024-06-20T08:53:59.0642355Z ##[warning]./c:/sources/Ticket/src/page/TicketRoleCenter.Page.al(202,21): warning AL0729: The Property 'PromotedIsBig' can only be used if the property 'PageType' is set with any of the values of: 'Card,Document,List,ListPlus,Worksheet' This warning will become an error in a future release. 2024-06-20T08:53:59.0656675Z ##[warning]./c:/sources/Ticket/src/page/TicketRoleCenter.Page.al(210,21): warning AL0729: The Property 'Promoted' can only be used if the property 'PageType' is set with any of the values of: 'Card,Document,List,ListPlus,Worksheet' This warning will become an error in a future release. 2024-06-20T08:53:59.0668268Z ##[warning]./c:/sources/Ticket/src/page/TicketRoleCenter.Page.al(211,21): warning AL0729: The Property 'PromotedIsBig' can only be used if the property 'PageType' is set with any of the values of: 'Card,Document,List,ListPlus,Worksheet' This warning will become an error in a future release. 2024-06-20T08:53:59.0675815Z ##[warning]./c:/sources/Ticket/src/page/TicketRoleCenter.Page.al(219,21): warning AL0729: The Property 'Promoted' can only be used if the property 'PageType' is set with any of the values of: 'Card,Document,List,ListPlus,Worksheet' This warning will become an error in a future release. 2024-06-20T08:53:59.0689527Z ##[warning]./c:/sources/Ticket/src/page/TicketRoleCenter.Page.al(220,21): warning AL0729: The Property 'PromotedIsBig' can only be used if the property 'PageType' is set with any of the values of: 'Card,Document,List,ListPlus,Worksheet' This warning will become an error in a future release. 2024-06-20T08:53:59.0701840Z ##[warning]./c:/sources/Ticket/src/page/TicketCard.Page.al(252,25): warning AL0604: Use of implicit 'with' will be removed in the future. Qualify with 'Rec'. This warning will become an error in a future release. 2024-06-20T08:53:59.0720064Z ##[warning]./c:/sources/Ticket/src/_sharepoint/Codeunits/SharepointManagement.Codeunit.al(120,29): warning AL0432: Method 'CreateAuthorizationCode' is marked for removal. Reason: Use CreateAuthorizationCode with SecretText data type for ClientSecret.. Tag: 24.0. 2024-06-20T08:53:59.0731702Z ##[warning]./c:/sources/Ticket/src/table/DBSTART.Table.al(613,28): warning AL0667: 'IsServiceTier' is being deprecated in the versions: '1.0' or greater. This warning will become an error in a future release. 2024-06-20T08:53:59.0733303Z 2024-06-20T08:53:59.0749246Z Compilation ended at '10:53:58.834'. 2024-06-20T08:53:59.0754368Z 2024-06-20T08:53:59.0895602Z C:\agent\_work\313\s\.output\LeBit Software & Consult GmbH_LeBit Ticket_20.0.23127.0.app successfully created in 59 seconds 2024-06-20T08:53:59.0939531Z LeBit Software & Consult GmbH_LeBit Ticket_20.0.23127.0.app copied to C:\agent\_work\313\s\.packages 2024-06-20T08:53:59.6221755Z Using Version 20.0.23127.0 2024-06-20T08:53:59.6262272Z 2024-06-20T08:53:59.6277975Z Compiling C:\agent\_work\313\s\Base 2024-06-20T08:54:02.2176633Z Using Symbols Folder: C:\agent\_work\313\s\.packages 2024-06-20T08:54:03.6692949Z Processing dependency Microsoft_Application_23.0.0.0 () 2024-06-20T08:54:03.6829831Z Dependency App exists 2024-06-20T08:54:03.6846933Z Processing dependency Microsoft_System_23.0.0.0 () 2024-06-20T08:54:03.6877043Z Dependency App exists 2024-06-20T08:54:04.8357261Z Compiling... 2024-06-20T08:54:04.8379149Z .\alc.exe /project:"c:\sources\Base" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\LeBit Software & Consult GmbH_LeBit Base_20.0.23127.0.app" /BuildBy:"BcContainerHelper,6.0.18" /assemblyprobingpaths:"C:\Program Files\dotnet\shared","C:\ProgramData\BcContainerHelper\Extensions\lvserver19-lebit-current\.netPackages\Service" 2024-06-20T08:54:11.1666275Z Microsoft (R) AL Compiler version 13.0.15.44608 2024-06-20T08:54:11.1684401Z Copyright (C) Microsoft Corporation. All rights reserved 2024-06-20T08:54:11.1693031Z 2024-06-20T08:54:11.1713296Z Compilation started for project 'LeBit Base' containing '0' files at '10:54:04.298'. 2024-06-20T08:54:11.1722047Z 2024-06-20T08:54:11.1730974Z 2024-06-20T08:54:11.1752177Z Compilation ended at '10:54:11.086'. 2024-06-20T08:54:11.1760113Z 2024-06-20T08:54:11.1801889Z C:\agent\_work\313\s\.output\LeBit Software & Consult GmbH_LeBit Base_20.0.23127.0.app successfully created in 12 seconds 2024-06-20T08:54:11.1869331Z LeBit Software & Consult GmbH_LeBit Base_20.0.23127.0.app copied to C:\agent\_work\313\s\.packages 2024-06-20T08:54:11.7598462Z Using Version 20.0.23127.0 2024-06-20T08:54:11.7634581Z 2024-06-20T08:54:11.8418721Z Compiling C:\agent\_work\313\s\PA 2024-06-20T08:54:14.2802221Z Using Symbols Folder: C:\agent\_work\313\s\.packages 2024-06-20T08:54:15.7248686Z Processing dependency Microsoft_Application_23.0.0.0 () 2024-06-20T08:54:15.7278494Z Dependency App exists 2024-06-20T08:54:15.7295978Z Processing dependency Microsoft_System_23.0.0.0 () 2024-06-20T08:54:15.7329413Z Dependency App exists 2024-06-20T08:54:16.7498475Z Compiling... 2024-06-20T08:54:16.7514628Z .\alc.exe /project:"c:\sources\PA" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\LeBit Software & Consult GmbH_LeBit PA_20.0.23127.0.app" /BuildBy:"BcContainerHelper,6.0.18" /assemblyprobingpaths:"C:\Program Files\dotnet\shared","C:\ProgramData\BcContainerHelper\Extensions\lvserver19-lebit-current\.netPackages\Service" 2024-06-20T08:54:24.3957983Z Microsoft (R) AL Compiler version 13.0.15.44608 2024-06-20T08:54:24.3973005Z Copyright (C) Microsoft Corporation. All rights reserved 2024-06-20T08:54:24.3981940Z 2024-06-20T08:54:24.3997457Z Compilation started for project 'LeBit PA' containing '1' files at '10:54:16.228'. 2024-06-20T08:54:24.4005179Z 2024-06-20T08:54:24.4014415Z 2024-06-20T08:54:24.4037730Z Compilation ended at '10:54:24.339'. 2024-06-20T08:54:24.4046828Z 2024-06-20T08:54:24.4086060Z C:\agent\_work\313\s\.output\LeBit Software & Consult GmbH_LeBit PA_20.0.23127.0.app successfully created in 13 seconds 2024-06-20T08:54:24.4149538Z LeBit Software & Consult GmbH_LeBit PA_20.0.23127.0.app copied to C:\agent\_work\313\s\.packages 2024-06-20T08:54:24.9640652Z 2024-06-20T08:54:24.9658594Z Compiling apps took 85 seconds 2024-06-20T08:54:24.9674628Z _____ _ _ 2024-06-20T08:54:24.9690642Z / ____(_) (_) 2024-06-20T08:54:24.9706721Z | (__ _ __ _ _ __ _ _ __ __ _ __ _ _ __ _ __ ___ 2024-06-20T08:54:24.9722259Z \___ \| |/ _` | '_ \| | '_ \ / _` | / _` | '_ \| '_ \/ __| 2024-06-20T08:54:24.9737475Z ____) | | (_| | | | | | | | | (_| | | (_| | |_) | |_) \__ \ 2024-06-20T08:54:24.9753080Z |_____/|_|\__, |_| |_|_|_| |_|\__, | \__,_| .__/| .__/|___/ 2024-06-20T08:54:24.9768760Z __/ | __/ | | | | | 2024-06-20T08:54:24.9786877Z |___/ |___/ |_| |_| 2024-06-20T08:54:25.5510358Z Downloading certificate file to container 2024-06-20T08:54:25.5544866Z Downloading C:\ProgramData\BcContainerHelper\Extensions\lvserver19-lebit-current\my\22c6284b-ddcb-4400-b43d-03b4d6caabd2.pfx 2024-06-20T08:54:30.7191026Z Downloading Signing Tools 2024-06-20T08:54:31.2826648Z Installing Signing Tools 2024-06-20T08:54:33.1413792Z Cannot locate signtool.exe after installation 2024-06-20T08:54:33.1422114Z 2024-06-20T08:54:33.4232060Z Container Free Physical Memory: 15.6Gb 2024-06-20T08:54:33.6013045Z Disk C: Free 16Gb from 20Gb 2024-06-20T08:54:33.6021918Z 2024-06-20T08:54:33.6039190Z Services in container lvserver19-lebit-current: 2024-06-20T08:54:33.7916873Z - MicrosoftDynamicsNavServer$BC is Running 2024-06-20T08:54:33.8140047Z - MSSQL$SQLEXPRESS is Running 2024-06-20T08:54:34.0703544Z 2024-06-20T08:54:35.0725830Z Sign-BcContainerApp Telemetry Correlation Id: fbe290b1-42ec-4fcc-9aff-099f9744a8a3 2024-06-20T08:54:36.8835880Z Removing Session lvserver19-lebit-current 2024-06-20T08:54:37.2657254Z Removing container lvserver19-lebit-current 2024-06-20T08:54:40.3228747Z Removing entries from hosts 2024-06-20T08:54:40.3622086Z Removing lvserver19-lebit-current from container hosts file 2024-06-20T08:54:40.5225382Z Removing lvserver19-lebit-current-* from container hosts file 2024-06-20T08:54:40.5319474Z Removing Desktop shortcuts 2024-06-20T08:54:40.6045006Z Removing C:\ProgramData\BcContainerHelper\Extensions\lvserver19-lebit-current 2024-06-20T08:54:43.8525119Z Run-AlPipeline Telemetry Correlation Id: 52257dcb-7403-4b39-b0f6-139122b0996b 2024-06-20T08:54:44.1560588Z ##[error]Cannot locate signtool.exe after installation In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.18\ContainerHandling\Invoke-ScriptInNavContainer.ps1:301 Zeichen:25 + throw $errorMessage + ~~~~~~~~~~~~~~~~~~~ + CategoryInfo : OperationStopped: (Cannot locate s...er installation:String) [], RuntimeException + FullyQualifiedErrorId : Cannot locate signtool.exe after installation 2024-06-20T08:54:44.1785371Z ##[error]PowerShell exited with code '1'. 2024-06-20T08:54:44.2782310Z ##[section]Finishing: Run Pipeline ```

Additional context

jonaswre commented 1 week ago

I've encountered the same issue on a customers system. (Azure DevOps) It started around the same time. I've tried a lot of things:

I've made sure network connectivity is not the issue. I've tried to disable defender in the container (before realizing its not there) I've tried to get any outputs from the installer. Called the install with /log. https://forums.docker.com/t/windows-2019-start-process-is-not-installing-application-in-docker-container/109811/11

Nothing worked it just looks like the exe is called but not executed.

@achim-t have you tried upgrading docker? Maybe there is an issure with the lower docker version that surfaces now. You have 19 and our customer has 20 and you both have the issue. We have 23 and don't have the issue. (We are also on AL-Go, but I pretty sure our customer calls the SignCode exactly as we do.)

@freddydk any insight here?

freddydk commented 1 week ago

Looked at the code:

Write-Host "Downloading Signing Tools"
$winSdkSetupExe = "c:\run\install\winsdksetup.exe"
$winSdkSetupUrl = "https://bcartifacts.blob.core.windows.net/prerequisites/winsdksetup.exe"
(New-Object System.Net.WebClient).DownloadFile($winSdkSetupUrl,$winSdkSetupExe)
Write-Host "Installing Signing Tools"
Start-Process $winSdkSetupExe -ArgumentList "/features OptionId.SigningTools /q" -Wait
if (!(Test-Path "C:\Program Files (x86)\Windows Kits\10\bin\*\x64\SignTool.exe")) {
    throw "Cannot locate signtool.exe after installation"
}
$signToolExe = (get-item "C:\Program Files (x86)\Windows Kits\10\bin\*\x64\SignTool.exe").FullName

and tried running it on my machine - works fine (as expected) Not sure what can be different on your runners - maybe a pre-requisite for the signtool installer?

Note that this is the same signtool version that has been used for ages? maybe it needs an old version of something?

achim-t commented 1 week ago

I created a new container by running New-BcContainer on the same machine where the runners are.

Then I entered that container and ran your code (up to the install step). There were no errors, but there is also no "Windows Kits" directory.

jonaswre commented 1 week ago

I've used the following prompts: docker run -it --memory 8G mcr.microsoft.com/businesscentral:ltsc2019 powershell.exe

  if (Test-Path "C:\Program Files (x86)\Windows Kits\10\bin\*\x64\SignTool.exe") {
      throw "Can locate signtool.exe before installation"
  }
  Write-Host "Downloading Signing Tools"
  $winSdkSetupExe = "c:\winsdksetup.exe"
  $winSdkSetupUrl = "https://bcartifacts.blob.core.windows.net/prerequisites/winsdksetup.exe"
  (New-Object System.Net.WebClient).DownloadFile($winSdkSetupUrl,$winSdkSetupExe)
  Write-Host "Installing Signing Tools"
  Start-Process $winSdkSetupExe -ArgumentList "/features OptionId.SigningTools /q" -Wait
  if (!(Test-Path "C:\Program Files (x86)\Windows Kits\10\bin\*\x64\SignTool.exe")) {
      throw "Cannot locate signtool.exe after installation"
  }
  $signToolExe = (get-item "C:\Program Files (x86)\Windows Kits\10\bin\*\x64\SignTool.exe").FullName

This works on my device but not on the runner of our customer. There shouldn't be any missing prerequirements because they are need in the container not the server. The only thing I can come up with is a docker issue.

jonaswre commented 1 week ago

I really can't pinpoint it. But for some reason all build agents fail while the local install can run the script above.

achim-t commented 1 week ago

I updated docker to 27.0.2, that didn't change anything.

I also ran a windows update, after noticing the warning about Host and Container OS not matching. They do match now, but the error persists.

freddydk commented 1 week ago

Have you tried hyperv / non hyperv?

The functionality of signing inside the container will soon no longer be supported because you cannot buy a certificate, which you get handed out like a pfx anymore.

Recommended workaround is to place your certificate in an Azure KeyVault and use dotnet sign.

Described here: https://github.com/microsoft/AL-Go/blob/main/Scenarios/Codesigning.md and implemented in AL-Go for GitHub for automatic signing.

achim-t commented 1 week ago

HyperV is not available on that machine, unfortunately.

freddydk commented 1 week ago

Sorry, I cannot do magic. If you use one of the azure devops or github hosted agents - it seems to work.