microsoft / navcontainerhelper

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

InvalidCredentialsError Run-AlPipeline with tests #2306

Closed achim-t closed 2 years ago

achim-t commented 2 years ago

Describe the issue Since 2021-02-05 the error occurrs for all next-major pipelines on Azure DevOps and could be reproduced on a local machine. Using $artifact = "///us/NextMinor/{INSIDERSASTOKEN}" works.

Scripts used to create container and cause the issue

$artifact = "///us/NextMajor/{INSIDERSASTOKEN}"
Run-AlPipeline -containerName test `
    -artifact $artifact.replace('{INSIDERSASTOKEN}',$insiderSasToken) `
    -licenseFile $licenseFile `
    -installTestFramework `
    -installTestLibraries `
    -baseFolder $basefolder `
    -appFolders "App" `
    -testFolders "Test" 

Full output of scripts

Determining artifacts to use
  _____                               _                
 |  __ \                             | |               
 | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___ 
 |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
 | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
 |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/

Pipeline name               
Container name              test
Image name                  my
ArtifactUrl                 https://bcinsider.azureedge.net/sandbox/20.0.35986.0/us
SasToken                    Specified
BcAuthContext               Not Specified
Environment                 
ReUseContainer              False
KeepContainer               False
Auth                        UserPassword
Credential                  admin/Suva1958
CompanyName                 
MemoryLimit                 8G
Enable Task Scheduler       False
Assign Premium Plan         False
Install Test Runner         False
Install Test Framework      True
Install Test Libraries      True
Install Perf. Toolkit       False
CopySymbolsFromContainer    False
enableCodeCop               False
enableAppSourceCop          False
enableUICop                 False
enablePerTenantExtensionCop False
doNotPerformUpgrade         False
uninstallRemovedApps        False
escapeFromCops              False
doNotBuildTests             False
doNotRunTests               False
doNotRunBcptTests           False
useDefaultAppSourceRuleSet  False
rulesetFile                 
azureDevOps                 False
gitLab                      False
gitHubActions               False
License file                Specified
CodeSignCertPfxFile         Not specified
CodeSignCertPfxPassword     Not specified
CodeSignCertIsSelfSigned    False
KeyVaultCertPfxFile         Not specified
KeyVaultCertPfxPassword     Not specified
KeyVaultClientId            
TestResultsFile             C:\Users\[user]\Documents\AL\[Folder]\TestResults.xml
BcptTestResultsFile         C:\Users\[user]\Documents\AL\[Folder]\bcptTestResults.json
TestResultsFormat           JUnit
AdditionalCountries         
PackagesFolder              C:\Users\[user]\Documents\AL\[Folder]\.packages
OutputFolder                C:\Users\[user]\Documents\AL\[Folder]\.output
BuildArtifactFolder         
CreateRuntimePackages       False
AppVersion                  
AppBuild                    0
AppRevision                 0
Install Apps
- None
Install Test Apps
- None
Previous Apps
- None
Application folders
- C:\Users\[user]\Documents\AL\[Folder]\App
Test application folders
- C:\Users\[user]\Documents\AL\[Folder]\Test
BCPT Test application folders
- None
Custom CodeCops
- None

  _____       _ _ _                                          _        _                            
 |  __ \     | | (_)                                        (_)      (_)                           
 | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___ 
 |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
 | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
 |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
                           __/ |   __/ |                                                 __/ |     
                          |___/   |___/                                                 |___/      

INFO: Windows 10 21H1/21H2 images are not yet available, using 2004 as these are found to work better than 20H2 on 21H1/21H2
Pulling mcr.microsoft.com/businesscentral:10.0.19041.1415

Pulling generic image took 4 seconds

   _____                _   _                               _        _                 
  / ____|              | | (_)                             | |      (_)                
 | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
 | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
 | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |   
  \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
                                     __/ |                                             
                                    |___/                                              

BcContainerHelper is version 3.0.1
BcContainerHelper is running as administrator
Host is Microsoft Windows 10 Enterprise - 21H2
Docker Client Version is 20.10.12
Docker Server Version is 20.10.12
Downloading application artifact /sandbox/20.0.35986.0/us
Downloading C:\Users\[user]\AppData\Local\Temp\c9fb72e8-6e62-45df-b032-d3bc99e09cd2.zip
Unpacking application artifact to tmp folder using 7zip
Fetching all docker images
Fetching all docker volumes
ArtifactUrl and ImageName specified
Building multitenant image my:sandbox-20.0.35986.0-us-mt based on mcr.microsoft.com/businesscentral:10.0.19041.1415 with https://bcinsider.azureedge.net/sandbox/20.0.35986.0/us
Generic Tag: 1.0.2.1
Container OS Version: 10.0.19041.1415 (2004)
Host OS Version: 10.0.19044.1466 (21H2)
WARNING: Host OS is 21H2 and Container OS is 2004, defaulting to process isolation. If you experience problems, add -isolation hyperv.
Using process isolation
Using license file C:\Users\[user]\Desktop\fin.flf
Files in c:\bcartifacts.cache\alvza52f.ozz\my:
Copying Platform Artifacts
c:\bcartifacts.cache\sandbox\20.0.35986.0\platform
Copying Database
Copying Licensefile
Copying ConfigurationPackages
C:\bcartifacts.cache\sandbox\20.0.35986.0\us\ConfigurationPackages
Copying Extensions
C:\bcartifacts.cache\sandbox\20.0.35986.0\us\Extensions
Copying Applications.US
C:\bcartifacts.cache\sandbox\20.0.35986.0\us\Applications.US
c:\bcartifacts.cache\alvza52f.ozz
Sending build context to Docker daemon  2.126GB

Step 1/6 : FROM mcr.microsoft.com/businesscentral:10.0.19041.1415
 ---> 79c82ae35223
Step 2/6 : ENV DatabaseServer=localhost DatabaseInstance=SQLEXPRESS DatabaseName=CRONUS IsBcSandbox=Y artifactUrl=https://bcinsider.azureedge.net/sandbox/20.0.35986.0/us?sv=2019-07-07&sig=Z4a
OlpmCfLvCDd%2BGDmMCqGWJZtZl40PY0ADUoWHWHEo%3D&spr=https&st=2021-09-15T00%3A00%3A00Z&se=2022-04-01T00%3A00%3A00Z&srt=sco&ss=b&sp=rl filesOnly=False
 ---> Running in 8ca9947853b1
Removing intermediate container 8ca9947853b1
 ---> 82383282412e
Step 3/6 : COPY my /run/
 ---> e6acf453413c
Step 4/6 : COPY NAVDVD /NAVDVD/
 ---> c99b0eeda0b4
Step 5/6 : RUN \Run\start.ps1 -installOnly -multitenant
 ---> Running in 82de476a62de
Using installer from C:\Run\150-new
Installing Business Central
Installing from DVD
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
C:\NAVDVD\ServiceTier\Program Files
C:\NAVDVD\ServiceTier\System64Folder
Copying PowerShell Scripts
C:\NAVDVD\WindowsPowerShellScripts\Cloud\NAVAdministration
C:\NAVDVD\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Copying Web Client Files
C:\NAVDVD\WebClient\Microsoft Dynamics NAV
Copying Client Files
C:\NAVDVD\LegacyDlls\program files\Microsoft Dynamics NAV
C:\NAVDVD\LegacyDlls\program files\Microsoft Dynamics NAV
C:\NAVDVD\LegacyDlls\systemFolder
Copying ModernDev Files
C:\NAVDVD
C:\NAVDVD\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\NAVDVD\ConfigurationPackages
Copying Test Assemblies
C:\NAVDVD\Test Assemblies
Copying Extensions
C:\NAVDVD\Extensions
Copying Applications
C:\NAVDVD\Applications
Copying Applications.US
C:\NAVDVD\Applications.US
Starting Business Central Service Tier
Importing CRONUS license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 153 seconds
Installation complete
Removing intermediate container 82de476a62de
 ---> 381c8437a0ed
Step 6/6 : LABEL legal="http://go.microsoft.com/fwlink/?LinkId=837447"       created="202202101117"       nav=""       cu=""       multitenant="Y" country="US"       version="20.0.35986.0"   
    platform="20.0.35916.0"
 ---> Running in 2652118be49d
Removing intermediate container 2652118be49d
 ---> 80c1bbcce74c
Successfully built 80c1bbcce74c
Successfully tagged my:sandbox-20.0.35986.0-us-mt
Building image took 506 seconds
Using image my:sandbox-20.0.35986.0-us-mt
Creating Container test
Style: sandbox
Multitenant: Yes
Version: 20.0.35986.0
Platform: 20.0.35916.0
Generic Tag: 1.0.2.1
Container OS Version: 10.0.19041.1415 (2004)
Host OS Version: 10.0.19044.1466 (21H2)
WARNING: Host OS is 21H1 and Container OS is 2004, defaulting to process isolation. If you experience problems, add -isolation hyperv.
Using process isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file C:\Users\[user]\Desktop\fin.flf
Additional Parameters:
--volume "C:\Users\[user]\Documents\AL\[Folder]:c:\sources"
--env customNavSettings=EnableTaskScheduler=False
Files in C:\ProgramData\BcContainerHelper\Extensions\test\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container test from image my:sandbox-20.0.35986.0-us-mt
d4aa168687ff3a10c907b8f0b17a7490bdd4db5192185bf2f8c46c7a20336800
Waiting for container test to be ready
Initializing...
Setting host.docker.internal to 192.168.244.175 in container hosts file (copy from host hosts file)
Setting gateway.docker.internal to 192.168.244.175 in container hosts file (copy from host hosts file)
Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file)
Setting host.containerhelper.internal to 172.22.64.1 in container hosts file
Starting Container
Hostname is test
PublicDnsName is test
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 4372310BFB92F9B14ECC857D0F9ABE912114C19F
DNS identity test
Modifying Service Tier Config File with Instance Specific Settings
Modifying Service Tier Config File with settings from environment variable
Setting EnableTaskScheduler to False
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Enabling Financials User Experience
Using license file 'c:\run\my\license.flf'
Import License
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
WARNING: This license is not compatible with this version of Business Central.
Creating SUPER user
WARNING: This license is not compatible with this version of Business Central.
WARNING: This license is not compatible with this version of Business Central.
Container IP Address: 172.22.66.190
Container Hostname  : test
Container Dns Name  : test
Web Client          : http://test/BC/?tenant=default
Dev. Server         : http://test
Dev. ServerInstance : BC
Dev. Server Tenant  : default
Setting test to 172.22.66.190 in host hosts file
Setting test-default to 172.22.66.190 in host hosts file
Setting test-default to 172.22.66.190 in container hosts file

Files:
http://test:8080/ALLanguage.vsix

Container Total Physical Memory is 15.8Gb
Container Free Physical Memory is 2.5Gb

Initialization took 109 seconds
Ready for connections!
Reading CustomSettings.config from test
Creating Desktop Shortcuts for test
Container test successfully created

Use:
Get-BcContainerEventLog -containerName test to retrieve a snapshot of the event log from the container
Get-BcContainerDebugInfo -containerName test to get debug information about the container
Enter-BcContainer -containerName test to open a PowerShell prompt inside the container
Remove-BcContainer -containerName test to remove the container again
docker logs test to retrieve information about URL's again

Creating container took 709 seconds

   _____                      _ _ _                                     
  / ____|                    (_) (_)                                    
 | |     ___  _ __ ___  _ __  _| |_ _ __   __ _    __ _ _ __  _ __  ___ 
 | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` |  / _` | '_ \| '_ \/ __|
 | |____ (_) | | | | | | |_) | | | | | | | (_| | | (_| | |_) | |_) \__ \
  \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
                       | |                 __/ |       | |   | |        
                       |_|                |___/        |_|   |_|        

Using Symbols Folder: C:\Users\[user]\Documents\AL\[Folder]\.packages
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
Downloading symbols: Microsoft_Application_20.0.35986.0.app
Url : http://172.22.66.190:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=17.0.0.0&tenant=default
Adding dependency to System Application from Microsoft
Adding dependency to Base Application from Microsoft
Downloading symbols: Microsoft_System_20.0.35916.0.app
Url : http://172.22.66.190:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=17.0.0.0&tenant=default
Downloading symbols: Microsoft_System Application_20.0.35986.0.app
Url : http://172.22.66.190:7049/BC/dev/packages?publisher=Microsoft&appName=System%20Application&versionText=20.0.0.0&tenant=default
Downloading symbols: Microsoft_Base Application_20.0.35986.0.app
Url : http://172.22.66.190:7049/BC/dev/packages?publisher=Microsoft&appName=Base%20Application&versionText=20.0.0.0&tenant=default
Compiling...
.\alc.exe /project:"c:\sources\App" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\[Cronus]_[App]_1.6.0.0.app" /assemblyprobingp
aths:"C:\Program Files (x86)\Microsoft Dynamics NAV\200\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\200\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\M
icrosoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
Microsoft (R) AL Compiler version 9.0.8.54472
Copyright (C) Microsoft Corporation. All rights reserved

Compilation started for project '[App]' containing '201' files at '12:27:41.578'.

c:\sources\App\src\Codeunits\AssistedSetup.Codeunit.al(3,54): warning AL0432: Codeunit 'Assisted Setup' is marked for removal. Reason: The functions from this codeunit have been consolidated 
in the Guided Experience codeunit.. Tag: 18.0.
c:\sources\App\src\Codeunits\AssistedSetup.Codeunit.al(3,72): warning AL0432: Method 'OnRegister' is marked for removal. Reason: Replaced by OnAssistedSetupRegister() in the Guided Experience
 codeunit.. Tag: 18.0.
c:\sources\App\src\Codeunits\AssistedSetup.Codeunit.al(9,54): warning AL0432: Codeunit 'Assisted Setup' is marked for removal. Reason: The functions from this codeunit have been consolidated 
in the Guided Experience codeunit.. Tag: 18.0.
c:\sources\App\src\Codeunits\AssistedSetup.Codeunit.al(9,72): warning AL0432: Method 'OnRegister' is marked for removal. Reason: Replaced by OnAssistedSetupRegister() in the Guided Experience
 codeunit.. Tag: 18.0.
c:\sources\App\src\Codeunits\AssistedSetup.Codeunit.al(17,33): warning AL0432: Codeunit 'Assisted Setup' is marked for removal. Reason: The functions from this codeunit have been consolidated
 in the Guided Experience codeunit.. Tag: 18.0.
c:\sources\App\src\Codeunits\AssistedSetup.Codeunit.al(26,33): warning AL0432: Codeunit 'Assisted Setup' is marked for removal. Reason: The functions from this codeunit have been consolidated
 in the Guided Experience codeunit.. Tag: 18.0.
c:\sources\App\src\Codeunits\AssistedSetup.Codeunit.al(45,33): warning AL0432: Codeunit 'Assisted Setup' is marked for removal. Reason: The functions from this codeunit have been consolidated
 in the Guided Experience codeunit.. Tag: 18.0.
c:\sources\App\src\Table_Extensions\SalesLineArchive.TableExt.al(8,73): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Sales Document Type"' to a value 
of type 'Option'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Page_Extensions\clServiceContractLineList.PageExt.al(7,55): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Service Contract Type"' to
 a value of type 'Integer'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Pages\Wizard.Page.al(564,32): warning AL0432: Table 'Media Resources' is marked for removal. Reason: Internal table which will be moved to the OnPrem scope in next major re
lease..
c:\sources\App\src\Pages\Wizard.Page.al(566,36): warning AL0432: Table 'Media Resources' is marked for removal. Reason: Internal table which will be moved to the OnPrem scope in next major re
lease..
c:\sources\App\src\Page_Extensions\ServiceSontractQuoteSub.PageExt.al(7,55): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Service Contract Type"' to a
 value of type 'Integer'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Pages\Wizard.Page.al(396,33): warning AL0432: Codeunit 'Assisted Setup' is marked for removal. Reason: The functions from this codeunit have been consolidated in the Guided
 Experience codeunit.. Tag: 18.0.
c:\sources\App\src\Pages\Wizard.Page.al(406,33): warning AL0432: Codeunit 'Assisted Setup' is marked for removal. Reason: The functions from this codeunit have been consolidated in the Guided
 Experience codeunit.. Tag: 18.0.
c:\sources\App\src\Page_Extensions\ServiceContractQuote.PageExt.al(7,98): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Service Contract Type"' to a va
lue of type 'Integer'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Page_Extensions\ServiceContractQuote.PageExt.al(18,98): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Service Contract Type"' to a v
alue of type 'Integer'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Page_Extensions\ServiceContractSubform.PageExt.al(7,55): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Service Contract Type"' to a 
value of type 'Integer'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Table_Extensions\PurchaseLineArchive.TableExt.al(8,73): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Purchase Document Type"' to a 
value of type 'Option'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Tables\ArchivePSLongtextLine.Table.al(28,94): warning AL0603: An implicit conversion is being performed from a value of type 'Option' to a value of type 'Enum "Sales Docume
nt Type"'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Tables\ArchivePSLongtextLine.Table.al(30,81): warning AL0603: An implicit conversion is being performed from a value of type 'Option' to a value of type 'Enum "Purchase Doc
ument Type"'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Page_Extensions\ServiceContractQuote.PageExt.al(15,73): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Service Contract Type"' to a v
alue of type 'Integer'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Page_Extensions\ServiceContractQuote.PageExt.al(26,73): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Service Contract Type"' to a v
alue of type 'Integer'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Page_Extensions\ServiceContractSubform.PageExt.al(15,37): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Service Contract Type"' to a
 value of type 'Integer'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Table_Extensions\ServiceContractLine.TableExt.al(22,42): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Service Contract Type"' to a 
value of type 'Integer'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Page_Extensions\ServiceSontractQuoteSub.PageExt.al(15,37): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Service Contract Type"' to 
a value of type 'Integer'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Table_Extensions\SeviceContractHeader.TableExt.al(24,42): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Service Contract Type"' to a
 value of type 'Integer'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Page_Extensions\clServiceContractLineList.PageExt.al(15,37): warning AL0603: An implicit conversion is being performed from a value of type 'Enum "Service Contract Type"' t
o a value of type 'Integer'. This conversion can lead to unexpected runtime issues. This warning will become an error in a future release.
c:\sources\App\src\Codeunits\AssistedSetup.Codeunit.al(20,23): warning AL0432: Method 'Add' is marked for removal. Reason: Replaced by Insert in the Guided Experience codeunit.. Tag: 18.0.
c:\sources\App\src\Codeunits\AssistedSetup.Codeunit.al(28,30): warning AL0432: Method 'IsComplete' is marked for removal. Reason: Replaced by IsAssistedSetupComplete(ObjectType, ObjectID) in 
the Guided Experience codeunit.. Tag: 18.0.
c:\sources\App\src\Codeunits\AssistedSetup.Codeunit.al(49,23): warning AL0432: Method 'Run' is marked for removal. Reason: Replaced by RunAssistedSetup(GuidedExperienceType, ObjectType, Objec
tID) in the Guided Experience codeunit.. Tag: 18.0.
c:\sources\App\src\Pages\Wizard.Page.al(399,34): warning AL0432: Method 'IsComplete' is marked for removal. Reason: Replaced by IsAssistedSetupComplete(ObjectType, ObjectID) in the Guided Exp
erience codeunit.. Tag: 18.0.
c:\sources\App\src\Pages\Wizard.Page.al(411,23): warning AL0432: Method 'Complete' is marked for removal. Reason: Replaced by CompleteAssistedSetup(ObjectType, ObjectID) in the Guided Experie
nce codeunit.. Tag: 18.0.

Compilation ended at '12:27:47.950'.

C:\Users\[user]\Documents\AL\[Folder]\.output\[Cronus]_[App]_1.6.0.0.app successfully created in 29 seconds
[Cronus]_[App]_1.6.0.0.app copied to C:\Users\[user]\Documents\AL\[Folder]\.packages
  _____                            _   _               _______       _     _______          _ _    _ _   
 |_   _|                          | | (_)             |__   __|     | |   |__   __|        | | |  (_) |  
   | |  _ __ ___  _ __   ___  _ __| |_ _ _ __   __ _     | | ___ ___| |_     | | ___   ___ | | | ___| |_ 
   | | | '_ ` _ \| '_ \ / _ \| '__| __| | '_ \ / _` |    | |/ _ \ __| __|    | |/ _ \ / _ \| | |/ / | __|
  _| |_| | | | | | |_) | (_) | |  | |_| | | | | (_| |    | |  __\__ \ |_     | | (_) | (_) | |   <| | |_ 
 |_____|_| |_| |_| .__/ \___/|_|   \__|_|_| |_|\__, |    |_|\___|___/\__|    |_|\___/ \___/|_|_|\_\_|\__|
                 | |                            __/ |                                                    
                 |_|                           |___/                                                     
WARNUNG: This license is not compatible with this version of Business Central.
Synchronizing Permissions Mock on default
WARNUNG: This license is not compatible with this version of Business Central.
App successfully synchronized
Installing Permissions Mock on default
WARNUNG: This license is not compatible with this version of Business Central.
App successfully installed
WARNUNG: This license is not compatible with this version of Business Central.
Synchronizing Test Runner on default
WARNUNG: This license is not compatible with this version of Business Central.
App successfully synchronized
Installing Test Runner on default
WARNUNG: This license is not compatible with this version of Business Central.
App successfully installed
WARNUNG: This license is not compatible with this version of Business Central.
Synchronizing Any on default
WARNUNG: This license is not compatible with this version of Business Central.
App successfully synchronized
Installing Any on default
WARNUNG: This license is not compatible with this version of Business Central.
App successfully installed
WARNUNG: This license is not compatible with this version of Business Central.
Synchronizing Library Assert on default
WARNUNG: This license is not compatible with this version of Business Central.
App successfully synchronized
Installing Library Assert on default
WARNUNG: This license is not compatible with this version of Business Central.
App successfully installed
WARNUNG: This license is not compatible with this version of Business Central.
Skipping app 'C:\Applications.US\Microsoft_Permissions Mock_20.0.35986.0.app' as it is already installed
WARNUNG: This license is not compatible with this version of Business Central.
Synchronizing Library Variable Storage on default
WARNUNG: This license is not compatible with this version of Business Central.
App successfully synchronized
Installing Library Variable Storage on default
WARNUNG: This license is not compatible with this version of Business Central.
App successfully installed
WARNUNG: This license is not compatible with this version of Business Central.
Publishing C:\ProgramData\BcContainerHelper\Extensions\test\a7b2a847-63a0-4a0a-a45e-1839a4ddc119\Microsoft_System Application Test Library_20.0.35986.0.app
WARNUNG: This license is not compatible with this version of Business Central.
Synchronizing System Application Test Library on tenant default
Installing System Application Test Library on tenant default
WARNUNG: This license is not compatible with this version of Business Central.
App Microsoft_System Application Test Library_20.0.35986.0.app successfully published
WARNUNG: This license is not compatible with this version of Business Central.
Publishing C:\ProgramData\BcContainerHelper\Extensions\test\f0818f6f-ad67-4a23-be64-a9bdbfbd89a0\Microsoft_Tests-TestLibraries_20.0.35986.0.app
WARNUNG: This license is not compatible with this version of Business Central.
Synchronizing Tests-TestLibraries on tenant default
Installing Tests-TestLibraries on tenant default
WARNUNG: This license is not compatible with this version of Business Central.
App Microsoft_Tests-TestLibraries_20.0.35986.0.app successfully published
TestToolkit successfully imported

Importing Test Toolkit took 74 seconds
   _____                      _ _ _               _           _                           
  / ____|                    (_) (_)             | |         | |                          
 | |     ___  _ __ ___  _ __  _| |_ _ __   __ _  | |_ ___ ___| |_    __ _ _ __  _ __  ___ 
 | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` | | __/ _ \ __| __|  / _` | '_ \| '_ \/ __|
 | |____ (_) | | | | | | |_) | | | | | | | (_| | | |_  __\__ \ |_  | (_| | |_) | |_) \__ \
  \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__\___|___/\__|  \__,_| .__/| .__/|___/
                       | |                 __/ |                         | |   | |        
                       |_|                |___/                          |_|   |_|        
Using Symbols Folder: C:\Users\[user]\Documents\AL\[Folder]\.packages
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
Downloading symbols: Microsoft_Library Assert_20.0.35986.0.app
Url : http://172.22.66.190:7049/BC/dev/packages?publisher=Microsoft&appName=Library%20Assert&versionText=16.0.0.0&tenant=default
Downloading symbols: Microsoft_Any_20.0.35986.0.app
Url : http://172.22.66.190:7049/BC/dev/packages?publisher=Microsoft&appName=Any&versionText=16.0.0.0&tenant=default
Downloading symbols: Microsoft_Test Runner_20.0.35986.0.app
Url : http://172.22.66.190:7049/BC/dev/packages?publisher=Microsoft&appName=Test%20Runner&versionText=16.0.0.0&tenant=default
Downloading symbols: Microsoft_Tests-TestLibraries_20.0.35986.0.app
Url : http://172.22.66.190:7049/BC/dev/packages?publisher=Microsoft&appName=Tests-TestLibraries&versionText=16.0.0.0&tenant=default
Adding dependency to System Application Test Library from Microsoft
Adding dependency to Library Variable Storage from Microsoft
Adding dependency to Permissions Mock from Microsoft
Downloading symbols: Microsoft_System Application Test Library_20.0.35986.0.app
Url : http://172.22.66.190:7049/BC/dev/packages?publisher=Microsoft&appName=System%20Application%20Test%20Library&versionText=20.0.0.0&tenant=default
Adding dependency to System Application from Microsoft
Downloading symbols: Microsoft_Library Variable Storage_20.0.35986.0.app
Url : http://172.22.66.190:7049/BC/dev/packages?publisher=Microsoft&appName=Library%20Variable%20Storage&versionText=20.0.0.0&tenant=default
Downloading symbols: Microsoft_Permissions Mock_20.0.35986.0.app
Url : http://172.22.66.190:7049/BC/dev/packages?publisher=Microsoft&appName=Permissions%20Mock&versionText=20.0.0.0&tenant=default
Compiling...
.\alc.exe /project:"c:\sources\Test" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\[Cronus]_[Name] Test App_1.2.0.0.app" /assemblyp
robingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\200\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\200\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Wi
ndows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
Microsoft (R) AL Compiler version 9.0.8.54472
Copyright (C) Microsoft Corporation. All rights reserved

Compilation started for project '[Name] Test App' containing '1' files at '12:29:15.817'.

Compilation ended at '12:29:19.352'.

C:\Users\[user]\Documents\AL\[Folder]\.output\[Cronus]_[Name] Test App_1.2.0.0.app successfully created in 17 seconds
[Cronus]_[Name] Test App_1.2.0.0.app copied to C:\Users\[user]\Documents\AL\[Folder]\.packages

Compiling apps, test apps and importing test toolkit took 121 seconds

  _____       _     _ _     _     _                                        
 |  __ \     | |   | (_)   | |   (_)                 /\                    
 | |__) |   _| |__ | |_ ___| |__  _ _ __   __ _     /  \   _ __  _ __  ___ 
 |  ___/ | | | '_ \| | / __| '_ \| | '_ \ / _` |   / /\ \ | '_ \| '_ \/ __|
 | |   | |_| | |_) | | \__ \ | | | | | | | (_| |  / ____ \| |_) | |_) \__ \
 |_|    \__,_|_.__/|_|_|___/_| |_|_|_| |_|\__, | /_/    \_\ .__/| .__/|___/
                                           __/ |          | |   | |        
                                          |___/           |_|   |_|        

WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
WARNUNG: This license is not compatible with this version of Business Central.
Publishing C:\ProgramData\BcContainerHelper\Extensions\test\c01a7a2e-9089-4fc4-bfa3-4713bdcea0f9\[Cronus]_[App]_1.6.0.0.app
WARNUNG: This license is not compatible with this version of Business Central.
Synchronizing [App] on tenant default
Installing [App] on tenant default
WARNUNG: This license is not compatible with this version of Business Central.
App [Cronus]_[App]_1.6.0.0.app successfully published
Publishing C:\ProgramData\BcContainerHelper\Extensions\test\2f2a0c42-eb17-4f4a-bb5f-aa2c024c4430\[Cronus]_[Name] Test App_1.2.0.0.app
WARNUNG: This license is not compatible with this version of Business Central.
Synchronizing [Name] Test App on tenant default
Installing [Name] Test App on tenant default
WARNUNG: This license is not compatible with this version of Business Central.
App [Cronus]_[Name] Test App_1.2.0.0.app successfully published

Publishing apps took 16 seconds

  _____                   _               _______       _       
 |  __ \                 (_)             |__   __|     | |      
 | |__) |   _ _ __  _ __  _ _ __   __ _     | | ___ ___| |_ ___ 
 |  _  / | | | '_ \| '_ \| | '_ \ / _` |    | |/ _ \ __| __/ __|
 | | \ \ |_| | | | | | | | | | | | (_| |    | |  __\__ \ |_\__ \
 |_|  \_\__,_|_| |_|_| |_|_|_| |_|\__, |    |_|\___|___/\__|___/
                                   __/ |                        
                                  |___/                         

Running tests for App [app-guid] in C:\Users\[user]\Documents\AL\[Folder]\Test
Connecting to http://localhost:80/BC/cs?tenant=default
InvalidCredentialsError
at <ScriptBlock>, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\ClientContext.ps1: line 162
at AwaitState, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\ClientContext.ps1: line 239
at OpenSession, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\ClientContext.ps1: line 217
at Initialize, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\ClientContext.ps1: line 78
at ClientContext, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\ClientContext.ps1: line 45
at New-ClientContext, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\PsTestFunctions.ps1: line 40
at <ScriptBlock>, <No file>: line 59
at AwaitState, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\ClientContext.ps1: line 251
at OpenSession, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\ClientContext.ps1: line 217
at Initialize, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\ClientContext.ps1: line 78
at ClientContext, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\ClientContext.ps1: line 45
at New-ClientContext, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\PsTestFunctions.ps1: line 40
at <ScriptBlock>, <No file>: line 59
ClientSession State is Uninitialized (Wait time 10 seconds)
at AwaitState, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\ClientContext.ps1: line 251
at OpenSession, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\ClientContext.ps1: line 217
at Initialize, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\ClientContext.ps1: line 78
at ClientContext, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\ClientContext.ps1: line 45
at New-ClientContext, C:\ProgramData\BcContainerHelper\Extensions\test\PsTestTool\PsTestFunctions.ps1: line 40
at <ScriptBlock>, <No file>: line 59
bei Invoke-ScriptInBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.1\ContainerHandling\Invoke-ScriptInNavContainer.ps1: Zeile 43
bei Run-TestsInBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.1\AppHandling\Run-TestsInNavContainer.ps1: Zeile 360
bei <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.1\AppHandling\Run-AlPipeline.ps1: Zeile 659
bei <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.1\AppHandling\Run-AlPipeline.ps1: Zeile 1778
bei <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.1\AppHandling\Run-AlPipeline.ps1: Zeile 1727
bei <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.1\AppHandling\Run-AlPipeline.ps1: Zeile 1673
bei <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.1\AppHandling\Run-AlPipeline.ps1: Zeile 718
bei Run-AlPipeline, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.1\AppHandling\Run-AlPipeline.ps1: Zeile 683
bei <ScriptBlock>, <Keine Datei>: Zeile 1
Run-TestsInBcContainer Telemetry Correlation Id: 53a94f58-2ff0-4736-815d-14da8ef6a8ec
Removing container test
Removing test from container hosts file
Removing test-* from container hosts file
Removing C:\ProgramData\BcContainerHelper\Extensions\test
Run-AlPipeline Telemetry Correlation Id: 6be40566-e28f-4292-8fb3-4a90b9be9540
ClientSession State is Uninitialized (Wait time 10 seconds)
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.1\AppHandling\Run-TestsInNavContainer.ps1:490 Zeichen:17
+                 throw $_.Exception.Message
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (ClientSession S...ime 10 seconds):String) [], RuntimeException
    + FullyQualifiedErrorId : ClientSession State is Uninitialized (Wait time 10 seconds)
freddydk commented 2 years ago

I think this is another "duplicate" of #2298 - let's retest this when we have a fix for that.

freddydk commented 2 years ago

Please retry this with insider build 20.0.36207.0 or later, thanks

achim-t commented 2 years ago

Same error with 20.0.36214.0, unfortunately.

freddydk commented 2 years ago

This might be the same as #2288 then

freddydk commented 2 years ago

You could try this workaround:

As a workaround, you should be able to add:

 -additionalParameters @("--env customWebSettings=AuthenticateServer=false")

to the New-BcContainer call, then the problem should go away.

You can also specify this in the BcContainerhelper.config.json for all sessions on that machine:

    "defaultNewContainerParameters":  {
                                          "additionalParameters":  [
                                                                       "--env customWebSettings=AuthenticateServer=false"
                                                                   ]
                                      }

or set the variable for one session:

$bccontainerhelperconfig.defaultNewContainerParameters = @{ "additionalParameters" = @("--env customWebSettings=AuthenticateServer=false") }

All should work.

achim-t commented 2 years ago

That didn't work, same error.

freddydk commented 2 years ago

I would want to see the full output to see whether the fix was applied or for some other reason ignored.

achim-t commented 2 years ago
2022-02-16T15:07:26.4242084Z ##[section]Starting: Run Pipeline
2022-02-16T15:07:26.4470922Z ==============================================================================
2022-02-16T15:07:26.4471868Z Task         : PowerShell
2022-02-16T15:07:26.4472690Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2022-02-16T15:07:26.4473472Z Version      : 2.198.0
2022-02-16T15:07:26.4474226Z Author       : Microsoft Corporation
2022-02-16T15:07:26.4475222Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2022-02-16T15:07:26.4476359Z ==============================================================================
2022-02-16T15:07:28.4169264Z Generating script.
2022-02-16T15:07:28.4243047Z Formatted command: . 'C:\agent\_work\156\s\scripts\DevOps-Pipeline.ps1' -environment "AzureDevOps" -version "nextmajor" -appBuild 40124 -appRevision 0
2022-02-16T15:07:28.4890882Z ========================== Starting Command Output ===========================
2022-02-16T15:07:28.5229067Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent\_work\_temp\66b29315-1f1c-44f4-a9cc-fa428bda0c19.ps1'"
2022-02-16T15:07:29.5143931Z Set artifact = ///us/NextMajor/{INSIDERSASTOKEN}
2022-02-16T15:07:29.5159433Z Set pipelineName = Admincenter-nextmajor
2022-02-16T15:07:29.5175725Z Set containerName = lvserver19-***center-nextmajor
2022-02-16T15:07:29.5365921Z Set installApps = ''
2022-02-16T15:07:29.5381243Z Set installTestApps = ''
2022-02-16T15:07:29.5428036Z Set previousApps = ''
2022-02-16T15:07:29.5442703Z Set appSourceCopMandatoryAffixes = ''
2022-02-16T15:07:29.5458461Z Set appSourceCopSupportedCountries = ''
2022-02-16T15:07:29.5502028Z Set appFolders = 'App'
2022-02-16T15:07:29.5546177Z Set testFolders = 'Test'
2022-02-16T15:07:29.5561823Z Set memoryLimit = ''
2022-02-16T15:07:29.5577029Z Set additionalCountries = ''
2022-02-16T15:07:29.5592199Z Set genericImageName = ''
2022-02-16T15:07:29.5609234Z Set vaultNameForLocal = ''
2022-02-16T15:07:29.5624280Z Set bcContainerHelperVersion = ''
2022-02-16T15:07:29.5723225Z Set installTestRunner = True
2022-02-16T15:07:29.5759137Z Set installTestFramework = False
2022-02-16T15:07:29.5774405Z Set installTestLibraries = False
2022-02-16T15:07:29.5792197Z Set installPerformanceToolkit = False
2022-02-16T15:07:29.5855356Z Set enableCodeCop = True
2022-02-16T15:07:29.5899551Z Set enableAppSourceCop = False
2022-02-16T15:07:29.5943908Z Set enablePerTenantExtensionCop = False
2022-02-16T15:07:29.5987288Z Set enableUICop = True
2022-02-16T15:07:29.6002725Z Set doNotSignApps = False
2022-02-16T15:07:29.6019154Z Set doNotRunTests = False
2022-02-16T15:07:29.6036333Z Set cacheImage = False
2022-02-16T15:07:29.6052675Z Set CreateRuntimePackages = False
2022-02-16T15:07:30.7121363Z Setting hostHelperFolder = C:\ProgramData\BcContainerHelper
2022-02-16T15:07:30.7189670Z Setting bcartifactsCacheFolder = c:\bcartifacts.cache
2022-02-16T15:07:30.7249309Z Setting genericImageName = mcr.microsoft.com/businesscentral:{0}
2022-02-16T15:07:31.1152000Z BcContainerHelper version 3.0.2
2022-02-16T15:07:31.1283051Z BcContainerHelper emits usage statistics telemetry to Microsoft
2022-02-16T15:07:36.0907991Z Determining artifacts to use
2022-02-16T15:07:52.6826406Z   _____                               _                
2022-02-16T15:07:52.6839894Z  |  __ \                             | |               
2022-02-16T15:07:52.6853175Z  | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___ 
2022-02-16T15:07:52.6867280Z  |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
2022-02-16T15:07:52.6881279Z  | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
2022-02-16T15:07:52.6895330Z  |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/
2022-02-16T15:07:52.6902286Z 
2022-02-16T15:07:52.6916415Z Pipeline name               Admincenter-nextmajor
2022-02-16T15:07:52.6931052Z Container name              lvserver19-***center-nextmajor
2022-02-16T15:07:52.6943782Z Image name                  
2022-02-16T15:07:52.6958652Z ArtifactUrl                 https://bcinsider.azureedge.net/sandbox/20.0.36282.0/us
2022-02-16T15:07:52.6971366Z SasToken                    Specified
2022-02-16T15:07:52.6985450Z BcAuthContext               Not Specified
2022-02-16T15:07:52.6998872Z Environment                 
2022-02-16T15:07:52.7013112Z ReUseContainer              False
2022-02-16T15:07:52.7027156Z KeepContainer               False
2022-02-16T15:07:52.7041268Z Auth                        UserPassword
2022-02-16T15:07:52.7207483Z Credential                  ***/Sifo6292
2022-02-16T15:07:52.7242011Z CompanyName                 
2022-02-16T15:07:52.7258798Z MemoryLimit                 8G
2022-02-16T15:07:52.7276328Z Enable Task Scheduler       False
2022-02-16T15:07:52.7294331Z Assign Premium Plan         False
2022-02-16T15:07:52.7312960Z Install Test Runner         True
2022-02-16T15:07:52.7331839Z Install Test Framework      False
2022-02-16T15:07:52.7349941Z Install Test Libraries      False
2022-02-16T15:07:52.7368093Z Install Perf. Toolkit       False
2022-02-16T15:07:52.7389820Z CopySymbolsFromContainer    False
2022-02-16T15:07:52.7411116Z enableCodeCop               True
2022-02-16T15:07:52.7428127Z enableAppSourceCop          False
2022-02-16T15:07:52.7444642Z enableUICop                 True
2022-02-16T15:07:52.7462881Z enablePerTenantExtensionCop False
2022-02-16T15:07:52.7483146Z doNotPerformUpgrade         False
2022-02-16T15:07:52.7499325Z uninstallRemovedApps        False
2022-02-16T15:07:52.7518498Z escapeFromCops              False
2022-02-16T15:07:52.7538532Z doNotBuildTests             False
2022-02-16T15:07:52.7560660Z doNotRunTests               False
2022-02-16T15:07:52.7582305Z doNotRunBcptTests           False
2022-02-16T15:07:52.7602063Z useDefaultAppSourceRuleSet  False
2022-02-16T15:07:52.7618367Z rulesetFile                 
2022-02-16T15:07:52.7641272Z azureDevOps                 True
2022-02-16T15:07:52.7662400Z gitLab                      False
2022-02-16T15:07:52.7681226Z gitHubActions               False
2022-02-16T15:07:52.7701666Z License file                Specified
2022-02-16T15:07:52.7726266Z CodeSignCertPfxFile         Specified
2022-02-16T15:07:52.7783743Z CodeSignCertPfxPassword     Specified
2022-02-16T15:07:52.7895378Z CodeSignCertIsSelfSigned    False
2022-02-16T15:07:52.7927726Z KeyVaultCertPfxFile         Not specified
2022-02-16T15:07:52.7957794Z KeyVaultCertPfxPassword     Not specified
2022-02-16T15:07:52.7978358Z KeyVaultClientId            
2022-02-16T15:07:52.8010675Z TestResultsFile             C:\agent\_work\156\s\TestResults.xml
2022-02-16T15:07:52.8041932Z BcptTestResultsFile         C:\agent\_work\156\s\bcptTestResults.json
2022-02-16T15:07:52.8074559Z TestResultsFormat           JUnit
2022-02-16T15:07:52.8140689Z AdditionalCountries         
2022-02-16T15:07:52.8172182Z PackagesFolder              C:\agent\_work\156\s\.packages
2022-02-16T15:07:52.8204059Z OutputFolder                C:\agent\_work\156\s\.output
2022-02-16T15:07:52.8233301Z BuildArtifactFolder         C:\agent\_work\156\a
2022-02-16T15:07:52.8259503Z CreateRuntimePackages       False
2022-02-16T15:07:52.8278718Z AppVersion                  
2022-02-16T15:07:52.8303881Z AppBuild                    40124
2022-02-16T15:07:52.8338385Z AppRevision                 0
2022-02-16T15:07:52.8354168Z Install Apps
2022-02-16T15:07:52.8368807Z - None
2022-02-16T15:07:52.8384205Z Install Test Apps
2022-02-16T15:07:52.8741426Z - None
2022-02-16T15:07:52.8757542Z Previous Apps
2022-02-16T15:07:52.8775620Z - None
2022-02-16T15:07:52.8791830Z Application folders
2022-02-16T15:07:52.8808658Z - C:\agent\_work\156\s\App
2022-02-16T15:07:52.8824819Z Test application folders
2022-02-16T15:07:52.8841099Z - C:\agent\_work\156\s\Test
2022-02-16T15:07:52.8857621Z BCPT Test application folders
2022-02-16T15:07:52.8872545Z - None
2022-02-16T15:07:52.8887862Z Custom CodeCops
2022-02-16T15:07:52.8902852Z - None
2022-02-16T15:07:52.8918433Z NewBccontainer override
2022-02-16T15:07:52.8946302Z  
2022-02-16T15:07:52.8961324Z     
2022-02-16T15:07:52.8977392Z     Param([Hashtable]$parameters) 
2022-02-16T15:07:52.8983975Z 
2022-02-16T15:07:52.8999865Z     $items = Get-ChildItem -Path $baseFolder -Recurse -Filter "*.dll"
2022-02-16T15:07:52.9006367Z 
2022-02-16T15:07:52.9021835Z     $dllFolder = Join-Path $ENV:AGENT_HOMEDIRECTORY "dlls"
2022-02-16T15:07:52.9036296Z     if (-not (Test-Path $dllFolder)) {
2022-02-16T15:07:52.9051382Z         New-Item -ItemType Directory -Path $dllFolder
2022-02-16T15:07:52.9065612Z     }
2022-02-16T15:07:52.9080338Z     if ($items.Count -gt 0) {
2022-02-16T15:07:52.9094936Z         $items | ForEach-Object {
2022-02-16T15:07:52.9109687Z             if (-not (Test-Path (Join-Path $dllFolder $_.Name) -PathType Leaf)) {
2022-02-16T15:07:52.9124451Z                 Copy-Item $_.FullName -Destination $dllFolder
2022-02-16T15:07:52.9140947Z             }
2022-02-16T15:07:52.9155732Z         }
2022-02-16T15:07:52.9171017Z         $parameters.additionalParameters += @("--volume $($dllFolder):c:\run\Add-Ins\mydlls")
2022-02-16T15:07:52.9185620Z         $parameters.additionalParameters += @("--env customWebSettings=AuthenticateServer=false")
2022-02-16T15:07:52.9204741Z     }   
2022-02-16T15:07:52.9219460Z     
2022-02-16T15:07:52.9234212Z     New-BcContainer @parameters
2022-02-16T15:07:52.9249478Z     Invoke-ScriptInBcContainer $parameters.ContainerName -scriptblock { $progressPreference = 'SilentlyContinue' } 
2022-02-16T15:07:52.9256012Z 
2022-02-16T15:07:52.9271009Z CompileAppInBcContainer override
2022-02-16T15:07:52.9277915Z 
2022-02-16T15:07:52.9293050Z     Param([Hashtable]$parameters) 
2022-02-16T15:07:52.9299895Z 
2022-02-16T15:07:52.9315494Z     $appJsonFile = Join-Path $parameters.appProjectFolder "app.json"
2022-02-16T15:07:52.9330396Z     $appJson = Get-Content $appJsonFile | ConvertFrom-Json
2022-02-16T15:07:52.9344942Z     if ($appJson.preprocessorSymbols) {
2022-02-16T15:07:52.9360140Z         $appJson.preprocessorSymbols = @()
2022-02-16T15:07:52.9374691Z         $appJson | ConvertTo-Json -Depth 99 | Set-Content $appJsonFile
2022-02-16T15:07:52.9388940Z     }
2022-02-16T15:07:52.9403555Z     
2022-02-16T15:07:52.9420117Z     Compile-AppInBcContainer @parameters    
2022-02-16T15:07:52.9426830Z 
2022-02-16T15:07:53.1099656Z 
2022-02-16T15:07:53.1116616Z   _____       _ _ _                                          _        _                            
2022-02-16T15:07:53.1132435Z  |  __ \     | | (_)                                        (_)      (_)                           
2022-02-16T15:07:53.1148295Z  | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___ 
2022-02-16T15:07:53.1164017Z  |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
2022-02-16T15:07:53.1179864Z  | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
2022-02-16T15:07:53.1195680Z  |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
2022-02-16T15:07:53.1211817Z                            __/ |   __/ |                                                 __/ |     
2022-02-16T15:07:53.1227419Z                           |___/   |___/                                                 |___/      
2022-02-16T15:07:53.1234300Z 
2022-02-16T15:07:54.0982769Z Pulling mcr.microsoft.com/businesscentral:10.0.17763.437
2022-02-16T15:07:54.8481190Z 
2022-02-16T15:07:54.8498431Z Pulling generic image took 2 seconds
2022-02-16T15:07:54.8986163Z 
2022-02-16T15:07:54.9002756Z    _____                _   _                               _        _                 
2022-02-16T15:07:54.9018615Z   / ____|              | | (_)                             | |      (_)                
2022-02-16T15:07:54.9033968Z  | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
2022-02-16T15:07:54.9050298Z  | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2022-02-16T15:07:54.9066018Z  | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |   
2022-02-16T15:07:54.9082538Z   \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
2022-02-16T15:07:54.9098184Z                                      __/ |                                             
2022-02-16T15:07:54.9113390Z                                     |___/                                              
2022-02-16T15:07:54.9120177Z 
2022-02-16T15:07:56.0009000Z WARNING: Container name should not exceed 15 characters
2022-02-16T15:07:56.6967593Z BcContainerHelper is version 3.0.2
2022-02-16T15:07:56.6982304Z BcContainerHelper is running as ***istrator
2022-02-16T15:07:56.7004965Z Host is Microsoft Windows Server 2019 Standard - ltsc2019
2022-02-16T15:07:57.0069983Z Docker Client Version is 19.03.4
2022-02-16T15:07:57.0120062Z Docker Server Version is 19.03.4
2022-02-16T15:07:59.9070428Z Fetching all docker images
2022-02-16T15:08:00.2216118Z Fetching all docker volumes
2022-02-16T15:08:00.9603960Z Using image mcr.microsoft.com/businesscentral:10.0.17763.437
2022-02-16T15:08:02.1475630Z Creating Container lvserver19-***center-nextmajor
2022-02-16T15:08:02.1488651Z Style: sandbox
2022-02-16T15:08:02.1504769Z Multitenant: Yes
2022-02-16T15:08:02.1545076Z Version: 20.0.36282.0
2022-02-16T15:08:02.1560132Z Platform: 20.0.36211.0
2022-02-16T15:08:02.1579751Z Generic Tag: 1.0.2.1
2022-02-16T15:08:02.1671602Z Container OS Version: 10.0.17763.437 (ltsc2019)
2022-02-16T15:08:02.1686495Z Host OS Version: 10.0.17763.107 (ltsc2019)
2022-02-16T15:08:04.9365465Z WARNING: Host OS and Base Image Container OS doesn't match and Hyper-V is not installed. If you encounter issues, you could try to install Hyper-V.
2022-02-16T15:08:04.9380119Z Using process isolation
2022-02-16T15:08:04.9477528Z Using locale en-US
2022-02-16T15:08:04.9567424Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
2022-02-16T15:08:04.9898572Z Using license file https://devlbstorage.blob.core.windows.net/files/4804634%20LeBit%20Dev%2019%20BC%20on%20premises%20DE%20610%20ISV%2009.02.22.flf
2022-02-16T15:08:05.0414379Z Downloading C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\my\license.flf
2022-02-16T15:08:05.3136231Z Additional Parameters:
2022-02-16T15:08:05.3309794Z --volume "C:\agent\_work\156\s:c:\sources"
2022-02-16T15:08:05.3324693Z --env customNavSettings=EnableTaskScheduler=False
2022-02-16T15:08:05.3341215Z Files in C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\my:
2022-02-16T15:08:05.3582447Z - AdditionalOutput.ps1
2022-02-16T15:08:05.3599101Z - license.flf
2022-02-16T15:08:05.3617323Z - MainLoop.ps1
2022-02-16T15:08:05.3632332Z - SetupVariables.ps1
2022-02-16T15:08:05.3648950Z - updatehosts.ps1
2022-02-16T15:08:05.3666230Z Creating container lvserver19-***center-nextmajor from image mcr.microsoft.com/businesscentral:10.0.17763.437
2022-02-16T15:08:05.7860019Z 978bc5c0aa7af10b2460ce62d5fb1754ffed2024cfc4f651288851dd61d0209a
2022-02-16T15:08:08.4424687Z Waiting for container lvserver19-***center-nextmajor to be ready
2022-02-16T15:08:13.8750483Z Adding LVSERVER19-ADMI to hosts file
2022-02-16T15:08:13.8765023Z Using artifactUrl https://bcinsider.azureedge.net/sandbox/20.0.36282.0/us
2022-02-16T15:08:13.8780347Z Using installer from C:\Run\150-new
2022-02-16T15:08:13.8795422Z Installing Business Central
2022-02-16T15:08:13.8810434Z Installing from artifacts
2022-02-16T15:08:22.4595130Z Starting Local SQL Server
2022-02-16T15:08:23.7541114Z Starting Internet Information Server
2022-02-16T15:08:23.7553549Z Copying Service Tier Files
2022-02-16T15:08:25.1028087Z c:\dl\sandbox\20.0.36282.0\platform\ServiceTier\Program Files
2022-02-16T15:08:25.1041405Z c:\dl\sandbox\20.0.36282.0\platform\ServiceTier\System64Folder
2022-02-16T15:08:25.1054806Z Copying PowerShell Scripts
2022-02-16T15:08:25.1068195Z c:\dl\sandbox\20.0.36282.0\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
2022-02-16T15:08:25.1081704Z c:\dl\sandbox\20.0.36282.0\platform\WindowsPowerShellScripts\WebSearch
2022-02-16T15:08:25.1096671Z Copying dependencies
2022-02-16T15:08:26.4225312Z Copying ReportBuilder
2022-02-16T15:08:26.4238669Z Importing PowerShell Modules
2022-02-16T15:08:28.9530683Z Determining Database Collation from c:\dl\sandbox\20.0.36282.0\us\BusinessCentral-US.bak
2022-02-16T15:08:41.2884892Z Restoring CRONUS Demo Database
2022-02-16T15:08:44.1018343Z Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
2022-02-16T15:10:04.1768331Z Exporting Application to CRONUS
2022-02-16T15:10:17.5234317Z Removing Application from tenant
2022-02-16T15:10:17.5250285Z Modifying Business Central Service Tier Config File for Docker
2022-02-16T15:10:17.5265760Z Creating Business Central Service Tier
2022-02-16T15:10:18.9364161Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2022-02-16T15:10:18.9376581Z Copying Web Client Files
2022-02-16T15:10:18.9389229Z c:\dl\sandbox\20.0.36282.0\platform\WebClient\Microsoft Dynamics NAV
2022-02-16T15:10:18.9400879Z Copying Client Files
2022-02-16T15:10:18.9419115Z c:\dl\sandbox\20.0.36282.0\platform\LegacyDlls\program files\Microsoft Dynamics NAV
2022-02-16T15:10:18.9429921Z c:\dl\sandbox\20.0.36282.0\platform\LegacyDlls\program files\Microsoft Dynamics NAV
2022-02-16T15:10:18.9442784Z c:\dl\sandbox\20.0.36282.0\platform\LegacyDlls\systemFolder
2022-02-16T15:10:18.9455045Z Copying ModernDev Files
2022-02-16T15:10:18.9469215Z c:\dl\sandbox\20.0.36282.0\platform
2022-02-16T15:10:18.9482912Z c:\dl\sandbox\20.0.36282.0\platform\ModernDev\program files\Microsoft Dynamics NAV
2022-02-16T15:10:18.9495907Z Copying additional files
2022-02-16T15:10:18.9509454Z Copying ConfigurationPackages
2022-02-16T15:10:18.9522904Z C:\dl\sandbox\20.0.36282.0\us\ConfigurationPackages
2022-02-16T15:10:18.9536517Z Copying Test Assemblies
2022-02-16T15:10:18.9549925Z C:\dl\sandbox\20.0.36282.0\platform\Test Assemblies
2022-02-16T15:10:18.9563416Z Copying Extensions
2022-02-16T15:10:18.9577516Z C:\dl\sandbox\20.0.36282.0\us\Extensions
2022-02-16T15:10:18.9589622Z Copying Applications
2022-02-16T15:10:18.9602212Z C:\dl\sandbox\20.0.36282.0\platform\Applications
2022-02-16T15:10:18.9614174Z Copying Applications.US
2022-02-16T15:10:18.9627731Z C:\dl\sandbox\20.0.36282.0\us\Applications.US
2022-02-16T15:10:44.6251916Z Starting Business Central Service Tier
2022-02-16T15:10:46.0466152Z Importing license file
2022-02-16T15:10:46.0482379Z Copying Database on localhost\SQLEXPRESS from tenant to default
2022-02-16T15:10:47.4772046Z Taking database tenant offline
2022-02-16T15:10:51.8724301Z Copying database files
2022-02-16T15:10:53.3166399Z Attaching files as new Database default
2022-02-16T15:10:53.3185647Z Putting database tenant back online
2022-02-16T15:10:53.3201148Z Mounting tenant database
2022-02-16T15:15:39.4379746Z Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
2022-02-16T15:15:39.4390912Z Sync'ing Tenant
2022-02-16T15:15:39.4402265Z Tenant is Operational
2022-02-16T15:15:39.4414704Z Stopping Business Central Service Tier
2022-02-16T15:15:39.4426362Z Installation took 446 seconds
2022-02-16T15:15:39.4438334Z Installation complete
2022-02-16T15:15:40.8127712Z Initializing...
2022-02-16T15:15:40.8141572Z Setting host.containerhelper.internal to 172.23.160.1 in container hosts file
2022-02-16T15:15:40.8154759Z Starting Container
2022-02-16T15:15:40.8169267Z Hostname is lvserver19-***center-nextmajor
2022-02-16T15:15:42.2183380Z PublicDnsName is lvserver19-***center-nextmajor
2022-02-16T15:15:42.2191437Z Using NavUserPassword Authentication
2022-02-16T15:15:43.6658337Z Creating Self Signed Certificate
2022-02-16T15:15:43.6675419Z Self Signed Certificate Thumbprint A85EEEDD42D368C50E6575282B91272E8764326C
2022-02-16T15:15:43.6692576Z DNS identity lvserver19-***center-nextmajor
2022-02-16T15:15:43.6707671Z Modifying Service Tier Config File with Instance Specific Settings
2022-02-16T15:15:43.6724010Z Modifying Service Tier Config File with settings from environment variable
2022-02-16T15:15:45.1120361Z Setting EnableTaskScheduler to False
2022-02-16T15:15:58.4592343Z Starting Service Tier
2022-02-16T15:15:58.4606828Z Registering event sources
2022-02-16T15:17:03.4874970Z Creating DotNetCore Web Server Instance
2022-02-16T15:17:03.4885295Z Enabling Financials User Experience
2022-02-16T15:17:03.4896193Z Using license file 'c:\run\my\license.flf'
2022-02-16T15:17:07.7219579Z Import License
2022-02-16T15:17:07.7229666Z Dismounting Tenant
2022-02-16T15:17:07.7239984Z Mounting Tenant
2022-02-16T15:17:30.4990425Z Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
2022-02-16T15:17:31.8834805Z Sync'ing Tenant
2022-02-16T15:17:31.8845988Z Tenant is Operational
2022-02-16T15:17:31.8856434Z Creating http download site
2022-02-16T15:17:31.8867783Z Setting SA Password and enabling SA
2022-02-16T15:17:31.8880080Z Creating *** as SQL User and add to sys***
2022-02-16T15:17:39.2871548Z WARNING: This license is not compatible with this version of Business Central.
2022-02-16T15:17:39.2884933Z Creating SUPER user
2022-02-16T15:17:54.4681547Z WARNING: This license is not compatible with this version of Business Central.
2022-02-16T15:17:55.8809924Z WARNING: This license is not compatible with this version of Business Central.
2022-02-16T15:17:55.8824018Z Container IP Address: 172.23.168.143
2022-02-16T15:17:55.8839277Z Container Hostname  : lvserver19-***center-nextmajor
2022-02-16T15:17:55.8853120Z Container Dns Name  : lvserver19-***center-nextmajor
2022-02-16T15:17:55.8866108Z Web Client          : http://lvserver19-***center-nextmajor/BC/?tenant=default
2022-02-16T15:17:55.8880832Z Dev. Server         : http://lvserver19-***center-nextmajor
2022-02-16T15:17:55.8895426Z Dev. ServerInstance : BC
2022-02-16T15:17:55.8910415Z Dev. Server Tenant  : default
2022-02-16T15:17:57.3995230Z Setting lvserver19-***center-nextmajor to 172.23.168.143 in host hosts file
2022-02-16T15:17:57.4007657Z Setting lvserver19-***center-nextmajor-default to 172.23.168.143 in host hosts file
2022-02-16T15:17:57.4019901Z Setting lvserver19-***center-nextmajor-default to 172.23.168.143 in container hosts file
2022-02-16T15:17:57.4024529Z 
2022-02-16T15:17:57.4036681Z Files:
2022-02-16T15:17:57.4048990Z http://lvserver19-***center-nextmajor:8080/ALLanguage.vsix
2022-02-16T15:17:57.4053571Z 
2022-02-16T15:17:57.4065825Z WARNING: You are running a container which is 450 days old.
2022-02-16T15:17:57.4077979Z Microsoft recommends that you always run the latest version of our containers.
2022-02-16T15:17:57.4082783Z 
2022-02-16T15:17:57.4095210Z Container Total Physical Memory is 28.0Gb
2022-02-16T15:17:57.4107069Z Container Free Physical Memory is 18.7Gb
2022-02-16T15:17:57.4112478Z 
2022-02-16T15:17:57.4125188Z Initialization took 137 seconds
2022-02-16T15:17:57.4138047Z Ready for connections!
2022-02-16T15:17:58.5326840Z Reading CustomSettings.config from lvserver19-***center-nextmajor
2022-02-16T15:18:00.2310881Z Creating Desktop Shortcuts for lvserver19-***center-nextmajor
2022-02-16T15:18:00.5475769Z Container lvserver19-***center-nextmajor successfully created
2022-02-16T15:18:00.5483424Z 
2022-02-16T15:18:00.5500077Z Use:
2022-02-16T15:18:00.5527378Z Get-BcContainerEventLog -containerName lvserver19-***center-nextmajor to retrieve a snapshot of the event log from the container
2022-02-16T15:18:00.5556937Z Get-BcContainerDebugInfo -containerName lvserver19-***center-nextmajor to get debug information about the container
2022-02-16T15:18:00.5586170Z Enter-BcContainer -containerName lvserver19-***center-nextmajor to open a PowerShell prompt inside the container
2022-02-16T15:18:00.5618062Z Remove-BcContainer -containerName lvserver19-***center-nextmajor to remove the container again
2022-02-16T15:18:00.5649836Z docker logs lvserver19-***center-nextmajor to retrieve information about URL's again
2022-02-16T15:18:02.3486966Z 
2022-02-16T15:18:02.3503224Z Creating container took 607 seconds
2022-02-16T15:18:02.3510037Z 
2022-02-16T15:18:02.3525441Z    _____                      _ _ _                                     
2022-02-16T15:18:02.3539992Z   / ____|                    (_) (_)                                    
2022-02-16T15:18:02.3554460Z  | |     ___  _ __ ___  _ __  _| |_ _ __   __ _    __ _ _ __  _ __  ___ 
2022-02-16T15:18:02.3574420Z  | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` |  / _` | '_ \| '_ \/ __|
2022-02-16T15:18:02.3590814Z  | |____ (_) | | | | | | |_) | | | | | | | (_| | | (_| | |_) | |_) \__ \
2022-02-16T15:18:02.3605800Z   \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
2022-02-16T15:18:02.3621519Z                        | |                 __/ |       | |   | |        
2022-02-16T15:18:02.3636787Z                        |_|                |___/        |_|   |_|        
2022-02-16T15:18:02.3644086Z 
2022-02-16T15:18:02.7362349Z Using Version 1.0.40124.0
2022-02-16T15:18:04.9556701Z Using Symbols Folder: C:\agent\_work\156\s\.packages
2022-02-16T15:19:19.2647205Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:19:19.4523904Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:19:20.9392915Z Downloading symbols: Microsoft_Application_20.0.36282.0.app
2022-02-16T15:19:20.9451522Z Url : http://172.23.168.143:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=15.0.0.0&tenant=default
2022-02-16T15:19:26.0279036Z Adding dependency to System Application from Microsoft
2022-02-16T15:19:26.0322655Z Adding dependency to Base Application from Microsoft
2022-02-16T15:19:26.0459368Z Downloading symbols: Microsoft_System_20.0.36211.0.app
2022-02-16T15:19:26.0473234Z Url : http://172.23.168.143:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=15.0.0.0&tenant=default
2022-02-16T15:19:27.6100765Z Downloading symbols: Microsoft_System Application_20.0.36282.0.app
2022-02-16T15:19:27.6111532Z Url : http://172.23.168.143:7049/BC/dev/packages?publisher=Microsoft&appName=System%20Application&versionText=20.0.0.0&tenant=default
2022-02-16T15:19:29.1998560Z Downloading symbols: Microsoft_Base Application_20.0.36282.0.app
2022-02-16T15:19:29.2010727Z Url : http://172.23.168.143:7049/BC/dev/packages?publisher=Microsoft&appName=Base%20Application&versionText=20.0.0.0&tenant=default
2022-02-16T15:19:32.0888086Z Compiling...
2022-02-16T15:19:32.1080238Z .\alc.exe /project:"c:\sources\App" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\LeBit Software & Consult GmbH_LeBit Admin Center_1.0.40124.0.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll /assemblyprobingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\200\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\200\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
2022-02-16T15:19:41.9934693Z Microsoft (R) AL Compiler version 9.0.8.57974
2022-02-16T15:19:41.9969387Z Copyright (C) Microsoft Corporation. All rights reserved
2022-02-16T15:19:41.9977843Z 
2022-02-16T15:19:41.9992711Z Compilation started for project 'LeBit Admin Center' containing '10' files at '16:19:32.701'.
2022-02-16T15:19:41.9999512Z 
2022-02-16T15:19:42.0016866Z c:\sources\App\src\Pages\UserPageExt.PageExt.al(21,9): info AA0072: The name of LBAdmin is not valid. The name of variables and parameters must be suffixed with the type or object name.
2022-02-16T15:19:42.0031375Z c:\sources\App\src\Tables\ObjectStarterLine.Table.al(141,9): info AA0072: The name of recRef is not valid. The name of variables and parameters must be suffixed with the type or object name.
2022-02-16T15:19:42.0045916Z c:\sources\App\src\Tables\ObjectStarter.Table.al(28,9): info AA0072: The name of ObjStarterLn is not valid. The name of variables and parameters must be suffixed with the type or object name.
2022-02-16T15:19:42.0060017Z c:\sources\App\src\CodeUnit\AppInstallLogic.Codeunit.al(8,9): info AA0072: The name of lbtAdminCenter is not valid. The name of variables and parameters must be suffixed with the type or object name.
2022-02-16T15:19:42.0075189Z c:\sources\App\src\Tables\LeBitAdminCenter.Table.al(30,30): info AA0072: The name of userAction is not valid. The name of variables and parameters must be suffixed with the type or object name.
2022-02-16T15:19:42.0089136Z c:\sources\App\src\Tables\ObjectStarterLine.Table.al(142,9): info AA0072: The name of vari is not valid. The name of variables and parameters must be suffixed with the type or object name.
2022-02-16T15:19:42.0103282Z c:\sources\App\src\Tables\ObjectStarterLine.Table.al(155,9): info AA0072: The name of recRef is not valid. The name of variables and parameters must be suffixed with the type or object name.
2022-02-16T15:19:42.0117179Z c:\sources\App\src\Tables\ObjectStarterLine.Table.al(156,9): info AA0072: The name of vari is not valid. The name of variables and parameters must be suffixed with the type or object name.
2022-02-16T15:19:42.0131887Z c:\sources\App\src\Tables\ObjectStarterLine.Table.al(169,9): info AA0072: The name of recRef is not valid. The name of variables and parameters must be suffixed with the type or object name.
2022-02-16T15:19:42.0145567Z c:\sources\App\src\Tables\ObjectStarterLine.Table.al(170,9): info AA0072: The name of vari is not valid. The name of variables and parameters must be suffixed with the type or object name.
2022-02-16T15:19:42.0162821Z c:\sources\App\src\Pages\RunAllObjects.Page.al(85,9): info AA0072: The name of NavApp is not valid. The name of variables and parameters must be suffixed with the type or object name.
2022-02-16T15:19:42.0176503Z c:\sources\App\src\Pages\ObjectStarterCard.Page.al(1,12): info AW0006: The page 'lbt Object Starter Card' should use the UsageCategory and ApplicationArea properties to be searchable.
2022-02-16T15:19:42.0190290Z c:\sources\App\src\Pages\LeBitAdminCenter.Page.al(36,20): info AW0011: Group "Processing" only contains promoted actions that are not set to PromotedOnly="true".
2022-02-16T15:19:42.0196498Z 
2022-02-16T15:19:42.0211136Z Compilation ended at '16:19:41.835'.
2022-02-16T15:19:42.0217957Z 
2022-02-16T15:19:42.0518257Z C:\agent\_work\156\s\.output\LeBit Software & Consult GmbH_LeBit Admin Center_1.0.40124.0.app successfully created in 99 seconds
2022-02-16T15:19:42.0584305Z LeBit Software & Consult GmbH_LeBit Admin Center_1.0.40124.0.app copied to C:\agent\_work\156\s\.packages
2022-02-16T15:19:43.5521968Z   _____                            _   _               _______       _     _______          _ _    _ _   
2022-02-16T15:19:43.5536894Z  |_   _|                          | | (_)             |__   __|     | |   |__   __|        | | |  (_) |  
2022-02-16T15:19:43.5551879Z    | |  _ __ ___  _ __   ___  _ __| |_ _ _ __   __ _     | | ___ ___| |_     | | ___   ___ | | | ___| |_ 
2022-02-16T15:19:43.5567093Z    | | | '_ ` _ \| '_ \ / _ \| '__| __| | '_ \ / _` |    | |/ _ \ __| __|    | |/ _ \ / _ \| | |/ / | __|
2022-02-16T15:19:43.5583604Z   _| |_| | | | | | |_) | (_) | |  | |_| | | | | (_| |    | |  __\__ \ |_     | | (_) | (_) | |   <| | |_ 
2022-02-16T15:19:43.5598558Z  |_____|_| |_| |_| .__/ \___/|_|   \__|_|_| |_|\__, |    |_|\___|___/\__|    |_|\___/ \___/|_|_|\_\_|\__|
2022-02-16T15:19:43.5613318Z                  | |                            __/ |                                                    
2022-02-16T15:19:43.5628079Z                  |_|                           |___/                                                     
2022-02-16T15:19:45.6002902Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:19:45.7699665Z Synchronizing Permissions Mock on default
2022-02-16T15:19:45.9133288Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:19:46.4871554Z App successfully synchronized
2022-02-16T15:19:46.5273470Z Installing Permissions Mock on default
2022-02-16T15:19:46.5509472Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:20:58.0047688Z App successfully installed
2022-02-16T15:20:58.0336967Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:20:58.0630083Z Synchronizing Test Runner on default
2022-02-16T15:20:58.0971770Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:20:59.3140776Z App successfully synchronized
2022-02-16T15:20:59.3289144Z Installing Test Runner on default
2022-02-16T15:20:59.3402584Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:00.5464579Z App successfully installed
2022-02-16T15:21:00.5480970Z TestToolkit successfully imported
2022-02-16T15:21:01.8392875Z 
2022-02-16T15:21:01.8406840Z Importing Test Toolkit took 78 seconds
2022-02-16T15:21:01.8423156Z    _____                      _ _ _               _           _                           
2022-02-16T15:21:01.8439886Z   / ____|                    (_) (_)             | |         | |                          
2022-02-16T15:21:01.8456261Z  | |     ___  _ __ ___  _ __  _| |_ _ __   __ _  | |_ ___ ___| |_    __ _ _ __  _ __  ___ 
2022-02-16T15:21:01.8472140Z  | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` | | __/ _ \ __| __|  / _` | '_ \| '_ \/ __|
2022-02-16T15:21:01.8487204Z  | |____ (_) | | | | | | |_) | | | | | | | (_| | | |_  __\__ \ |_  | (_| | |_) | |_) \__ \
2022-02-16T15:21:01.8502656Z   \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__\___|___/\__|  \__,_| .__/| .__/|___/
2022-02-16T15:21:01.8518895Z                        | |                 __/ |                         | |   | |        
2022-02-16T15:21:01.8534347Z                        |_|                |___/                          |_|   |_|        
2022-02-16T15:21:01.8548770Z Using Version 1.0.40124.0
2022-02-16T15:21:03.8347103Z Using Symbols Folder: C:\agent\_work\156\s\.packages
2022-02-16T15:21:05.1433991Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:05.1960435Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:05.3617987Z Downloading symbols: Microsoft_Test Runner_20.0.36282.0.app
2022-02-16T15:21:05.3636060Z Url : http://172.23.168.143:7049/BC/dev/packages?publisher=Microsoft&appName=Test%20Runner&versionText=17.0.0.0&tenant=default
2022-02-16T15:21:06.9150747Z Compiling...
2022-02-16T15:21:06.9176611Z .\alc.exe /project:"c:\sources\Test" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\LeBit Software & Consult GmbH_LeBit Admin Center Test App_1.0.40124.0.app" /assemblyprobingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\200\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\200\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
2022-02-16T15:21:15.2389449Z Microsoft (R) AL Compiler version 9.0.8.57974
2022-02-16T15:21:15.2402717Z Copyright (C) Microsoft Corporation. All rights reserved
2022-02-16T15:21:15.2407308Z 
2022-02-16T15:21:15.2429424Z Compilation started for project 'LeBit Admin Center Test App' containing '1' files at '16:21:07.427'.
2022-02-16T15:21:15.2432706Z 
2022-02-16T15:21:15.2442776Z 
2022-02-16T15:21:15.2466827Z Compilation ended at '16:21:15.152'.
2022-02-16T15:21:15.2470581Z 
2022-02-16T15:21:15.2511557Z C:\agent\_work\156\s\.output\LeBit Software & Consult GmbH_LeBit Admin Center Test App_1.0.40124.0.app successfully created in 13 seconds
2022-02-16T15:21:15.2582541Z LeBit Software & Consult GmbH_LeBit Admin Center Test App_1.0.40124.0.app copied to C:\agent\_work\156\s\.packages
2022-02-16T15:21:16.1102723Z 
2022-02-16T15:21:16.1119088Z Compiling apps, test apps and importing test toolkit took 194 seconds
2022-02-16T15:21:16.1125545Z 
2022-02-16T15:21:16.1140797Z    _____ _             _                                        
2022-02-16T15:21:16.1156021Z   / ____(_)           (_)                 /\                    
2022-02-16T15:21:16.1170702Z  | (___  _  __ _ _ __  _ _ __   __ _     /  \   _ __  _ __  ___ 
2022-02-16T15:21:16.1185901Z   \___ \| |/ _` | '_ \| | '_ \ / _` |   / /\ \ | '_ \| '_ \/ __|
2022-02-16T15:21:16.1755817Z   ____) | | (_| | | | | | | | | (_| |  / ____ \| |_) | |_) \__ \
2022-02-16T15:21:16.1771844Z  |_____/|_|\__, |_| |_|_|_| |_|\__, | /_/    \_\ .__/| .__/|___/
2022-02-16T15:21:16.1787196Z             __/ |               __/ |          | |   | |        
2022-02-16T15:21:16.1802808Z            |___/               |___/           |_|   |_|        
2022-02-16T15:21:16.1809755Z 
2022-02-16T15:21:16.7420722Z Downloading certificate file to container
2022-02-16T15:21:17.9834273Z Downloading Signing Tools
2022-02-16T15:21:18.5713982Z Installing Signing Tools
2022-02-16T15:21:28.5304569Z Signing c:\sources\.output\LeBit Software & Consult GmbH_LeBit Admin Center_1.0.40124.0.app
2022-02-16T15:21:29.4684047Z Done Adding Additional Store
2022-02-16T15:21:29.9576909Z Successfully signed: c:\sources\.output\LeBit Software & Consult GmbH_LeBit Admin Center_1.0.40124.0.app
2022-02-16T15:21:29.9582733Z 
2022-02-16T15:21:31.0714741Z 
2022-02-16T15:21:31.0732172Z Signing apps took 15 seconds
2022-02-16T15:21:31.0740882Z 
2022-02-16T15:21:31.0757579Z   _____       _     _ _     _     _                                        
2022-02-16T15:21:31.0774067Z  |  __ \     | |   | (_)   | |   (_)                 /\                    
2022-02-16T15:21:31.0790443Z  | |__) |   _| |__ | |_ ___| |__  _ _ __   __ _     /  \   _ __  _ __  ___ 
2022-02-16T15:21:31.0806013Z  |  ___/ | | | '_ \| | / __| '_ \| | '_ \ / _` |   / /\ \ | '_ \| '_ \/ __|
2022-02-16T15:21:31.0820876Z  | |   | |_| | |_) | | \__ \ | | | | | | | (_| |  / ____ \| |_) | |_) \__ \
2022-02-16T15:21:31.0835770Z  |_|    \__,_|_.__/|_|_|___/_| |_|_|_| |_|\__, | /_/    \_\ .__/| .__/|___/
2022-02-16T15:21:31.0850990Z                                            __/ |          | |   | |        
2022-02-16T15:21:31.0866363Z                                           |___/           |_|   |_|        
2022-02-16T15:21:31.0873551Z 
2022-02-16T15:21:31.1723071Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.2204668Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.2481915Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.2686004Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.2876270Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.3062697Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.3249806Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.3448651Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.3633246Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.3820839Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.4009944Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.4196732Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.4387403Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.4582840Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.4767782Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.4961830Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.5148956Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.5337294Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.5525547Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.5713633Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.5900130Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.6092076Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.6288330Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.6525718Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.6702999Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.6877906Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.7076543Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.7267533Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.7461125Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.7668898Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.7864697Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.8056816Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.8248972Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.8447992Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.8646407Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.8834656Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.9031672Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.9226486Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.9413716Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.9607324Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.9796049Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:31.9983990Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.0173462Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.0362915Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.0553294Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.0746460Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.0931562Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.1131272Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.1323804Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.1518391Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.1715025Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.1912471Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.2100915Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.2296563Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.2488629Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.2713024Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.2911161Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.3104293Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.3295061Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.3484579Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.3674208Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.3860998Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.4039440Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.4223058Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.4408872Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.4591149Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.4776939Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.4968401Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.5153799Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.5342608Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.5527213Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.5712054Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.5898428Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.6100151Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.6291810Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:32.6512987Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:35.4920099Z Publishing C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\41402f63-f846-43e7-a03c-a396761f635b\LeBit Software & Consult GmbH_LeBit Admin Center_1.0.40124.0.app
2022-02-16T15:21:35.5186374Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:46.9926077Z Synchronizing LeBit Admin Center on tenant default
2022-02-16T15:21:48.1022979Z Installing LeBit Admin Center on tenant default
2022-02-16T15:21:48.1171428Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:49.1160484Z App LeBit Software & Consult GmbH_LeBit Admin Center_1.0.40124.0.app successfully published
2022-02-16T15:21:52.1263901Z Publishing C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\a0f0b1c9-9497-4db2-9c26-38e95c49520f\LeBit Software & Consult GmbH_LeBit Admin Center Test App_1.0.40124.0.app
2022-02-16T15:21:52.1430105Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:52.4682620Z Synchronizing LeBit Admin Center Test App on tenant default
2022-02-16T15:21:52.6057874Z Installing LeBit Admin Center Test App on tenant default
2022-02-16T15:21:52.6204919Z WARNUNG: This license is not compatible with this version of Business Central.
2022-02-16T15:21:53.1013429Z App LeBit Software & Consult GmbH_LeBit Admin Center Test App_1.0.40124.0.app successfully published
2022-02-16T15:21:53.9604705Z 
2022-02-16T15:21:53.9620144Z Publishing apps took 23 seconds
2022-02-16T15:21:53.9686891Z 
2022-02-16T15:21:53.9702616Z   _____                   _               _______       _       
2022-02-16T15:21:53.9717124Z  |  __ \                 (_)             |__   __|     | |      
2022-02-16T15:21:53.9732001Z  | |__) |   _ _ __  _ __  _ _ __   __ _     | | ___ ___| |_ ___ 
2022-02-16T15:21:53.9746770Z  |  _  / | | | '_ \| '_ \| | '_ \ / _` |    | |/ _ \ __| __/ __|
2022-02-16T15:21:53.9761532Z  | | \ \ |_| | | | | | | | | | | | (_| |    | |  __\__ \ |_\__ \
2022-02-16T15:21:53.9776774Z  |_|  \_\__,_|_| |_|_| |_|_|_| |_|\__, |    |_|\___|___/\__|___/
2022-02-16T15:21:53.9792738Z                                    __/ |                        
2022-02-16T15:21:53.9807374Z                                   |___/                         
2022-02-16T15:21:53.9813498Z 
2022-02-16T15:21:54.0493609Z Running tests for App 8d78581d-a960-4117-8880-30804388f52b in C:\agent\_work\156\s\Test
2022-02-16T15:21:58.0422706Z Connecting to http://localhost:80/BC/cs?tenant=default
2022-02-16T15:22:03.3007529Z InvalidCredentialsError
2022-02-16T15:22:03.3021289Z at <ScriptBlock>, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\ClientContext.ps1: line 162
2022-02-16T15:22:03.3040185Z at AwaitState, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\ClientContext.ps1: line 239
2022-02-16T15:22:03.3048821Z at OpenSession, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\ClientContext.ps1: line 217
2022-02-16T15:22:03.3063887Z at Initialize, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\ClientContext.ps1: line 78
2022-02-16T15:22:03.3076170Z at ClientContext, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\ClientContext.ps1: line 45
2022-02-16T15:22:03.3086487Z at New-ClientContext, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\PsTestFunctions.ps1: line 40
2022-02-16T15:22:03.3097577Z at <ScriptBlock>, <No file>: line 59
2022-02-16T15:22:09.3572338Z at AwaitState, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\ClientContext.ps1: line 251
2022-02-16T15:22:09.3586284Z at OpenSession, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\ClientContext.ps1: line 217
2022-02-16T15:22:09.3601584Z at Initialize, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\ClientContext.ps1: line 78
2022-02-16T15:22:09.3616482Z at ClientContext, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\ClientContext.ps1: line 45
2022-02-16T15:22:09.3631764Z at New-ClientContext, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\PsTestFunctions.ps1: line 40
2022-02-16T15:22:09.3646619Z at <ScriptBlock>, <No file>: line 59
2022-02-16T15:22:09.3873257Z ClientSession State is Uninitialized (Wait time 10 seconds)
2022-02-16T15:22:09.3908474Z at AwaitState, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\ClientContext.ps1: line 251
2022-02-16T15:22:09.3924079Z at OpenSession, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\ClientContext.ps1: line 217
2022-02-16T15:22:09.3938443Z at Initialize, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\ClientContext.ps1: line 78
2022-02-16T15:22:09.3953574Z at ClientContext, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\ClientContext.ps1: line 45
2022-02-16T15:22:09.3969144Z at New-ClientContext, C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\PsTestTool\PsTestFunctions.ps1: line 40
2022-02-16T15:22:09.3983790Z at <ScriptBlock>, <No file>: line 59
2022-02-16T15:22:09.4000242Z bei Invoke-ScriptInBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.2\ContainerHandling\Invoke-ScriptInNavContainer.ps1: Zeile 43
2022-02-16T15:22:09.4015866Z bei Run-TestsInBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.2\AppHandling\Run-TestsInNavContainer.ps1: Zeile 360
2022-02-16T15:22:09.4031777Z bei <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.2\AppHandling\Run-AlPipeline.ps1: Zeile 659
2022-02-16T15:22:09.4046597Z bei <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.2\AppHandling\Run-AlPipeline.ps1: Zeile 1778
2022-02-16T15:22:09.4061763Z bei <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.2\AppHandling\Run-AlPipeline.ps1: Zeile 1727
2022-02-16T15:22:09.4077209Z bei <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.2\AppHandling\Run-AlPipeline.ps1: Zeile 1673
2022-02-16T15:22:09.4095074Z bei <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.2\AppHandling\Run-AlPipeline.ps1: Zeile 718
2022-02-16T15:22:09.4111043Z bei Run-AlPipeline, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.2\AppHandling\Run-AlPipeline.ps1: Zeile 683
2022-02-16T15:22:09.4125865Z bei <ScriptBlock>, C:\agent\_work\156\s\scripts\DevOps-Pipeline.ps1: Zeile 115
2022-02-16T15:22:09.4141216Z bei <ScriptBlock>, C:\agent\_work\_temp\66b29315-1f1c-44f4-a9cc-fa428bda0c19.ps1: Zeile 3
2022-02-16T15:22:09.4157139Z bei <ScriptBlock>, <Keine Datei>: Zeile 1
2022-02-16T15:22:10.0504031Z Run-TestsInBcContainer Telemetry Correlation Id: 4d4a9579-13aa-412c-a2c7-246e40e8824a
2022-02-16T15:22:12.1976545Z Removing container lvserver19-***center-nextmajor
2022-02-16T15:22:15.1080586Z Removing lvserver19-***center-nextmajor from container hosts file
2022-02-16T15:22:15.2023755Z Removing lvserver19-***center-nextmajor-* from container hosts file
2022-02-16T15:22:15.2636235Z Removing C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor
2022-02-16T15:22:16.0280667Z Run-AlPipeline Telemetry Correlation Id: 28ae894d-41d1-483a-b103-9e66882eb6f2
2022-02-16T15:22:16.3960509Z ##[error]ClientSession State is Uninitialized (Wait time 10 seconds)
In C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.2\AppHandling\Run-TestsInNavContainer.ps1:490 
Zeichen:17

+                 throw $_.Exception.Message

+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : OperationStopped: (ClientSession S...ime 10 seconds):String) [], RuntimeException

    + FullyQualifiedErrorId : ClientSession State is Uninitialized (Wait time 10 seconds)
2022-02-16T15:22:16.4088481Z ##[error]PowerShell exited with code '1'.
2022-02-16T15:22:16.4767773Z ##[section]Finishing: Run Pipeline
freddydk commented 2 years ago

The suggested fix doesn't seem to work in run-alpipeline - the output shows:

2022-02-16T15:08:04.9898572Z Using license file https://devlbstorage.blob.core.windows.net/files/4804634%20LeBit%20Dev%2019%20BC%20on%20premises%20DE%20610%20ISV%2009.02.22.flf
2022-02-16T15:08:05.0414379Z Downloading C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\my\license.flf
2022-02-16T15:08:05.3136231Z Additional Parameters:
2022-02-16T15:08:05.3309794Z --volume "C:\agent\_work\156\s:c:\sources"
2022-02-16T15:08:05.3324693Z --env customNavSettings=EnableTaskScheduler=False
2022-02-16T15:08:05.3341215Z Files in C:\ProgramData\BcContainerHelper\Extensions\lvserver19-***center-nextmajor\my:
2022-02-16T15:08:05.3582447Z - AdditionalOutput.ps1
2022-02-16T15:08:05.3599101Z - license.flf
2022-02-16T15:08:05.3617323Z - MainLoop.ps1
2022-02-16T15:08:05.3632332Z - SetupVariables.ps1
2022-02-16T15:08:05.3648950Z - updatehosts.ps1
2022-02-16T15:08:05.3666230Z Creating container lvserver19-***center-nextmajor from image mcr.microsoft.com/businesscentral:10.0.17763.437
2022-02-16T15:08:05.7860019Z 978bc5c0aa7af10b2460ce62d5fb1754ffed2024cfc4f651288851dd61d

In the additionalParameters, there should be a customWebSettings as well. You can insert the line in your New-BcContainer override where you add a couple of additionalparameters yourself.

achim-t commented 2 years ago

I thought I did that though.

2022-02-16T15:07:52.8918433Z NewBccontainer override
2022-02-16T15:07:52.8946302Z  
2022-02-16T15:07:52.8961324Z     
2022-02-16T15:07:52.8977392Z     Param([Hashtable]$parameters) 
2022-02-16T15:07:52.8983975Z 
2022-02-16T15:07:52.8999865Z     $items = Get-ChildItem -Path $baseFolder -Recurse -Filter "*.dll"
2022-02-16T15:07:52.9006367Z 
2022-02-16T15:07:52.9021835Z     $dllFolder = Join-Path $ENV:AGENT_HOMEDIRECTORY "dlls"
2022-02-16T15:07:52.9036296Z     if (-not (Test-Path $dllFolder)) {
2022-02-16T15:07:52.9051382Z         New-Item -ItemType Directory -Path $dllFolder
2022-02-16T15:07:52.9065612Z     }
2022-02-16T15:07:52.9080338Z     if ($items.Count -gt 0) {
2022-02-16T15:07:52.9094936Z         $items | ForEach-Object {
2022-02-16T15:07:52.9109687Z             if (-not (Test-Path (Join-Path $dllFolder $_.Name) -PathType Leaf)) {
2022-02-16T15:07:52.9124451Z                 Copy-Item $_.FullName -Destination $dllFolder
2022-02-16T15:07:52.9140947Z             }
2022-02-16T15:07:52.9155732Z         }
2022-02-16T15:07:52.9171017Z         $parameters.additionalParameters += @("--volume $($dllFolder):c:\run\Add-Ins\mydlls")
2022-02-16T15:07:52.9185620Z         $parameters.additionalParameters += @("--env customWebSettings=AuthenticateServer=false")
2022-02-16T15:07:52.9204741Z     }   
2022-02-16T15:07:52.9219460Z     
2022-02-16T15:07:52.9234212Z     New-BcContainer @parameters
2022-02-16T15:07:52.9249478Z     Invoke-ScriptInBcContainer $parameters.ContainerName -scriptblock { $progressPreference = 'SilentlyContinue' } 
freddydk commented 2 years ago

Yeah - I can see that the other one also isn't applied

@("--volume $($dllFolder):c:\run\Add-Ins\mydlls")

That actually might be a bug.

freddydk commented 2 years ago

It is a bug... - but not in Run-AlPipeline (just tested)

I assume that items.count is 0 - and hence you have no add-ins (which is the reason for that --volume not to be added You should move the line with customWebSetting out of the if (items.count -gt 0) construct (didn't see that until now)

jonaswre commented 2 years ago

@freddydk are you going to provide a fix in the artifact or will I need to apply the suggested workaround from now on?

freddydk commented 2 years ago

The WebClient team will fix the bug

freddydk commented 2 years ago

@achim-t I noticed that the host is running an un-updated Windows 1809 (10.0.17763.107), using a newer container OS. You should try to re-run the pipeline on an updated Windows Server. You can also try hyperv isolation as suggested in the output.

achim-t commented 2 years ago

The original workaround works, now that I fixed the bug in the NewBccontainer override. Thanks for pointing that out.

freddydk commented 2 years ago

Ok, so you are saying that the customwebsettings fixed the invalidcredentials, thanks.

jonaswre commented 2 years ago

This is likely an issue with the docker/windows server version.

I've updated the docker from 20.10.5 to 20.10.9 this resolved the issue for me.

EDIT: Maybe not Artifact changed in between testing...