microsoft / navcontainerhelper

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

NextMajor builds are broken #2891

Closed freddydk closed 1 year ago

freddydk commented 1 year ago

As of February 1st, we have a new nextmajor insider build running on dotnet 6 Unfortunately, this breaks some of the functions in ContainerHelper.

The first error I ran into was that Get-NavAppInfo cmdlet is not available in the container.

This probably means that all Next Major builds are broken until fixed. Will get this resolved asap.

freddydk commented 1 year ago

The reason for this problem was that the Microsoft.Dynamics.Nav.Apps.Management.psd1 powershell module was moved to a subfolder (Management) with the move to dotnet 6. The right fix for this is in the generic image, but the next containerhelper will perform a patch if the generic image is 1.0.2.13

lvanvugt commented 1 year ago

Looking forward to it as I am experiencing the issue too.

freddydk commented 1 year ago

4.0.13 should work with both New-BcContainer and New-BcImage with new Next Major builds.

lvanvugt commented 1 year ago

Ran script again with 4.0.13 and working well. Thanx!

FranRodriguez commented 1 year ago

In my case I am having problems publishing the applications, with an error "An internal WebSocket error occurred. Please see the innerException, if present, for more details":

  _____       _     _ _     _     _                                     
 |  __ \     | |   | (_)   | |   (_)                                    
 | |__) |   _| |__ | |_ ___| |__  _ _ __   __ _    __ _ _ __  _ __  ___ 
 |  ___/ | | | '_ \| | / __| '_ \| | '_ \ / _` |  / _` | '_ \| '_ \/ __|
 | |   | |_| | |_) | | \__ \ | | | | | | | (_| | | (_| | |_) | |_) \__ \
 |_|    \__,_|_.__/|_|_|___/_| |_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
                                           __/ |       | |   | |        
                                          |___/        |_|   |_|        
Publishing C:\ProgramData\BcContainerHelper\Extensions\majorManufacturing310\0f7c7694-9f7e-4c2a-ba56-19de3a9a84ef\manufacturing.app
An internal WebSocket error occurred. Please see the innerException, if present, for more details. 

Exception Script Stack Trace:
at <ScriptBlock>, <No file>: line 41

PowerShell Call Stack:
at Invoke-ScriptInBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 71
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Publish-NavContainerApp.ps1: line 293
at Publish-BcContainerApp, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Publish-NavContainerApp.ps1: line 144
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Run-AlPipeline.ps1: line 683
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Run-AlPipeline.ps1: line 1869
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Run-AlPipeline.ps1: line 1839
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Run-AlPipeline.ps1: line 1824
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Run-AlPipeline.ps1: line 787
at Run-AlPipeline, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Run-AlPipeline.ps1: line 749
at <ScriptBlock>, C:\agent\_work\_temp\6f5ffe1e-e54d-44d1-9397-488ce3be83ff.ps1: line 55
at <ScriptBlock>, <No file>: line 1

Container Free Physical Memory: 10.4Gb

Services in container majorManufacturing310:
- MicrosoftDynamicsNavServer$BC is Running
- MSSQL$SQLEXPRESS is Running

Publish-BcContainerApp Telemetry Correlation Id: 371ec662-661d-44e3-856b-557f68a00660
Removing Session majorManufacturing310
Removing container majorManufacturing310
Removing entries from hosts
Removing majorManufacturing310 from container hosts file
Removing majorManufacturing310-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\majorManufacturing310
Run-AlPipeline Telemetry Correlation Id: 5451a3a5-fe9e-4db8-84c4-ab9e5ca5a031
An internal WebSocket error occurred. Please see the innerException, if present, for more details. 
At C:\Program 
Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\ContainerHandling\Invoke-ScriptInNavContainer.ps1:112 char:13
+             throw $errorMessage
+             ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (An internal Web... more details. :String) [], RuntimeException
    + FullyQualifiedErrorId : An internal WebSocket error occurred. Please see the innerException, if present, for mor 
   e details. 
freddydk commented 1 year ago

You need to supply the full output. The reason for the problems are typically not shown in the error, but revealed in how you got there.

FranRodriguez commented 1 year ago

Sorry, below is the full output of the error. The compilation seems to be correct:

2023-02-07T07:55:21.0137407Z ##[debug]Evaluating condition for step: 'Run ALPipeline'
2023-02-07T07:55:21.0140086Z ##[debug]Evaluating: SucceededNode()
2023-02-07T07:55:21.0140868Z ##[debug]Evaluating SucceededNode:
2023-02-07T07:55:21.0142624Z ##[debug]=> True
2023-02-07T07:55:21.0143521Z ##[debug]Result: True
2023-02-07T07:55:21.0144171Z ##[section]Starting: Run ALPipeline
2023-02-07T07:55:21.0310131Z ==============================================================================
2023-02-07T07:55:21.0310638Z Task         : PowerShell
2023-02-07T07:55:21.0311052Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2023-02-07T07:55:21.0311445Z Version      : 2.212.0
2023-02-07T07:55:21.0311766Z Author       : Microsoft Corporation
2023-02-07T07:55:21.0312283Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-02-07T07:55:21.0312889Z ==============================================================================
2023-02-07T07:55:21.7543912Z ##[debug]VstsTaskSdk 0.11.0 commit 7ff27a3e0bdd6f7b06690ae5f5b63cb84d0f23f4
2023-02-07T07:55:21.9260081Z ##[debug]Entering C:\agent\_work\_tasks\PowerShell_e213ff0f-5d5c-4791-802d-52ea3e7be1f1\2.212.0\powershell.ps1.
2023-02-07T07:55:21.9360783Z ##[debug]Loading resource strings from: C:\agent\_work\_tasks\PowerShell_e213ff0f-5d5c-4791-802d-52ea3e7be1f1\2.212.0\task.json
2023-02-07T07:55:21.9737365Z ##[debug]Loaded 13 strings.
2023-02-07T07:55:21.9801597Z ##[debug]SYSTEM_CULTURE: 'en-US'
2023-02-07T07:55:21.9870029Z ##[debug]Loading resource strings from: C:\agent\_work\_tasks\PowerShell_e213ff0f-5d5c-4791-802d-52ea3e7be1f1\2.212.0\Strings\resources.resjson\en-US\resources.resjson
2023-02-07T07:55:22.0184115Z ##[debug]Loaded 13 strings.
2023-02-07T07:55:22.0459171Z ##[debug]INPUT_ERRORACTIONPREFERENCE: 'stop'
2023-02-07T07:55:22.0524577Z ##[debug]INPUT_WARNINGPREFERENCE: 'default'
2023-02-07T07:55:22.0554692Z ##[debug]INPUT_INFORMATIONPREFERENCE: 'default'
2023-02-07T07:55:22.0581728Z ##[debug]INPUT_VERBOSEPREFERENCE: 'default'
2023-02-07T07:55:22.0611272Z ##[debug]INPUT_DEBUGPREFERENCE: 'default'
2023-02-07T07:55:22.0638411Z ##[debug]INPUT_PROGRESSPREFERENCE: 'silentlyContinue'
2023-02-07T07:55:22.0663352Z ##[debug]INPUT_SHOWWARNINGS: 'false'
2023-02-07T07:55:22.0694181Z ##[debug] Converted to bool: False
2023-02-07T07:55:22.0717859Z ##[debug]INPUT_FAILONSTDERR: 'false'
2023-02-07T07:55:22.0737114Z ##[debug] Converted to bool: False
2023-02-07T07:55:22.0762721Z ##[debug]INPUT_IGNORELASTEXITCODE: 'false'
2023-02-07T07:55:22.0781350Z ##[debug] Converted to bool: False
2023-02-07T07:55:22.0808108Z ##[debug]INPUT_PWSH: 'false'
2023-02-07T07:55:22.0826875Z ##[debug] Converted to bool: False
2023-02-07T07:55:22.0850716Z ##[debug]INPUT_WORKINGDIRECTORY: 'C:\agent\_work\2\s'
2023-02-07T07:55:22.1004551Z ##[debug]Asserting container path exists: 'C:\agent\_work\2\s'
2023-02-07T07:55:22.1031762Z ##[debug]INPUT_TARGETTYPE: 'inline'
2023-02-07T07:55:22.1068596Z ##[debug]INPUT_SCRIPT: '$password = '*_45ASsdfg';
2023-02-07T07:55:22.1081999Z ##[debug]$company = 'MyCompany';
2023-02-07T07:55:22.1096947Z ##[debug][PSCredential] $credential = (New-Object pscredential 'admin', (ConvertTo-SecureString -String $password -AsPlainText -Force))
2023-02-07T07:55:22.1109799Z ##[debug]if ('True' -eq "True") {
2023-02-07T07:55:22.1123899Z ##[debug]  $NewBcContainer = { Param([Hashtable]$parameters)
2023-02-07T07:55:22.1138107Z ##[debug]                    New-BcContainer  @parameters; Invoke-ScriptInBcContainer $parameters.ContainerName -scriptblock { $progressPreference = 'SilentlyContinue' }
2023-02-07T07:55:22.1155435Z ##[debug]                    Import-TestToolkitToBcContainer -includeTestLibrariesOnly -containerName 'majorManufacturing310'
2023-02-07T07:55:22.1196212Z ##[debug]                    Import-TestToolkitToBcContainer -includeTestRunnerOnly -containerName 'majorManufacturing310'
2023-02-07T07:55:22.1364568Z ##[debug]                    New-CompanyInBcContainer -containerName 'majorManufacturing310' -companyName $company
2023-02-07T07:55:22.1368112Z ##[debug]                    Run-ConnectionTestToBcContainer -containerName 'majorManufacturing310' -companyName $company -credential $credential
2023-02-07T07:55:22.1381153Z ##[debug]                    UploadImportAndApply-ConfigPackageInBcContainer -containerName 'majorManufacturing310' -company $company -configPackage W1.ENU.EVALUATION -credential $credential}
2023-02-07T07:55:22.1393756Z ##[debug]} else {
2023-02-07T07:55:22.1406714Z ##[debug]  $NewBcContainer = { Param([Hashtable]$parameters)
2023-02-07T07:55:22.1419312Z ##[debug]                    New-BcContainer   @parameters; Invoke-ScriptInBcContainer $parameters.ContainerName -scriptblock { $progressPreference = 'SilentlyContinue' }
2023-02-07T07:55:22.1432076Z ##[debug]                    Import-TestToolkitToBcContainer -includeTestLibrariesOnly -containerName 'majorManufacturing310'
2023-02-07T07:55:22.1444888Z ##[debug]                    Import-TestToolkitToBcContainer -includeTestRunnerOnly -containerName 'majorManufacturing310'}
2023-02-07T07:55:22.1457418Z ##[debug]}
2023-02-07T07:55:22.1469926Z ##[debug]$parameters = @{};
2023-02-07T07:55:22.1479409Z ##[debug]$majorVersionStart = 19;
2023-02-07T07:55:22.1508425Z ##[debug]$currentVersion = [regex]::Matches('https://bcinsider.azureedge.net/sandbox/22.0.52977.0/w1?sv=2021-06-08&ss=b&srt=sco&spr=https&st=2022-09-15T00%3A00%3A00Z&se=2023-04-01T00%3A00%3A00Z&sp=rl&sig=rBQiC8y0zbuWC66i2BJcVhydR3XD2aaz47aJ6q6zEss%3D', "([0-9]{2}).([0-9]{1}).([0-9]{5})").value.Split(".");
2023-02-07T07:55:22.1524280Z ##[debug]$majorVersionStop = $currentVersion[0];
2023-02-07T07:55:22.1537116Z ##[debug]$PreprocessorSymbols = @();
2023-02-07T07:55:22.1570012Z ##[debug]$Constant = "CLEAN";
2023-02-07T07:55:22.1582905Z ##[debug]for ($i=$majorVersionStart; $i -le $majorVersionStop; $i++) {
2023-02-07T07:55:22.1596675Z ##[debug]  $PreprocessorSymbols += "$Constant$i"
2023-02-07T07:55:22.1607795Z ##[debug]}
2023-02-07T07:55:22.1612298Z ##[debug]$PreprocessorSymbols
2023-02-07T07:55:22.1624935Z ##[debug]$parameters.Add("preProcessorSymbols", $PreprocessorSymbols);
2023-02-07T07:55:22.2412650Z ##[debug]$parameters.Add("companyName", $company);
2023-02-07T07:55:22.2464309Z ##[debug]$parameters.Add("credential", $credential);
2023-02-07T07:55:22.2496586Z ##[debug]$parameters.Add("pipelineName", 'majorManufacturing')
2023-02-07T07:55:22.2526512Z ##[debug]$parameters.Add("memoryLimit", '12G')
2023-02-07T07:55:22.2539793Z ##[debug]$parameters.Add("buildArtifactFolder", $ENV:BUILD_ARTIFACTSTAGINGDIRECTORY)
2023-02-07T07:55:22.2554377Z ##[debug]$parameters.Add("containerName", 'majorManufacturing310')
2023-02-07T07:55:22.2574748Z ##[debug]$parameters.Add("licenseFile", 'C:\agent\_work\_temp\MyCompanyLicense.bclicense')
2023-02-07T07:55:22.2607096Z ##[debug]$parameters.Add("artifact", 'https://bcinsider.azureedge.net/sandbox/22.0.52977.0/w1?sv=2021-06-08&ss=b&srt=sco&spr=https&st=2022-09-15T00%3A00%3A00Z&se=2023-04-01T00%3A00%3A00Z&sp=rl&sig=rBQiC8y0zbuWC66i2BJcVhydR3XD2aaz47aJ6q6zEss%3D')
2023-02-07T07:55:22.2634553Z ##[debug]$parameters.Add("baseFolder", 'C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310')
2023-02-07T07:55:22.2655801Z ##[debug]$parameters.Add("appFolders", 'coreapp,manufacturingapp,coretest')
2023-02-07T07:55:22.2675204Z ##[debug]$parameters.Add("testResultsFile", 'Results.xml')
2023-02-07T07:55:22.2694872Z ##[debug]$parameters.Add("testResultsFormat", 'XUnit')
2023-02-07T07:55:22.2718202Z ##[debug]$parameters.Add("buildOutputFile", 'C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\BuildOutput.txt')
2023-02-07T07:55:22.2736042Z ##[debug]if (-not [string]::IsNullOrEmpty('')) {
2023-02-07T07:55:22.2747379Z ##[debug]  $parameters.Add("additionalCountries", '')
2023-02-07T07:55:22.2759787Z ##[debug]}
2023-02-07T07:55:22.2769747Z ##[debug]if (-not [string]::IsNullOrEmpty('')) {
2023-02-07T07:55:22.2780388Z ##[debug]  $parameters.Add("installApps", '')
2023-02-07T07:55:22.2790704Z ##[debug]}
2023-02-07T07:55:22.2801651Z ##[debug]if (-not [string]::IsNullOrEmpty('manufacturingtest')) {
2023-02-07T07:55:22.2812115Z ##[debug]  $parameters.Add("testFolders", 'manufacturingtest')
2023-02-07T07:55:22.2825459Z ##[debug]}
2023-02-07T07:55:22.2837493Z ##[debug]$outfile = "C:\agent\_work\2\s\alpipeline_log.txt"
2023-02-07T07:55:22.2854562Z ##[debug]Run-AlPipeline  @parameters -assignPremiumPlan -installTestFramework -installTestLibraries -NewBcContainer $NewBcContainer -enableTaskScheduler'
2023-02-07T07:55:22.2879396Z ##[debug]INPUT_RUNSCRIPTINSEPARATESCOPE: 'false'
2023-02-07T07:55:22.2897516Z ##[debug] Converted to bool: False
2023-02-07T07:55:22.2948260Z Generating script.
2023-02-07T07:55:22.3133190Z ##[debug]AGENT_VERSION: '2.210.1'
2023-02-07T07:55:22.3230858Z ##[debug]AGENT_TEMPDIRECTORY: 'C:\agent\_work\_temp'
2023-02-07T07:55:22.3250756Z ##[debug]Asserting container path exists: 'C:\agent\_work\_temp'
2023-02-07T07:55:22.3416770Z ##[debug]Asserting leaf path exists: 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
2023-02-07T07:55:22.3427544Z ========================== Starting Command Output ===========================
2023-02-07T07:55:22.3543383Z ##[debug]Entering Invoke-VstsTool.
2023-02-07T07:55:22.3679822Z ##[debug] Arguments: '-NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent\_work\_temp\6f5ffe1e-e54d-44d1-9397-488ce3be83ff.ps1'"'
2023-02-07T07:55:22.3681327Z ##[debug] FileName: 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe'
2023-02-07T07:55:22.3738605Z ##[debug] WorkingDirectory: 'C:\agent\_work\2\s'
2023-02-07T07:55:22.3784795Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\agent\_work\_temp\6f5ffe1e-e54d-44d1-9397-488ce3be83ff.ps1'"
2023-02-07T07:55:22.6594195Z CLEAN19
2023-02-07T07:55:22.6595641Z CLEAN20
2023-02-07T07:55:22.6596565Z CLEAN21
2023-02-07T07:55:22.6597456Z CLEAN22
2023-02-07T07:55:22.8677804Z BcContainerHelper version 4.0.14
2023-02-07T07:55:23.0966263Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-02-07T07:55:25.6755093Z   _____                               _                
2023-02-07T07:55:25.6756829Z  |  __ \                             | |               
2023-02-07T07:55:25.6757891Z  | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___ 
2023-02-07T07:55:25.6760626Z  |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
2023-02-07T07:55:25.6762168Z  | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
2023-02-07T07:55:25.6763517Z  |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/
2023-02-07T07:55:25.6764014Z 
2023-02-07T07:55:25.6824116Z Pipeline name                   majorManufacturing
2023-02-07T07:55:25.6851059Z Container name                  majorManufacturing310
2023-02-07T07:55:25.6872961Z Image name                      my
2023-02-07T07:55:25.6901057Z ArtifactUrl                     https://bcinsider.azureedge.net/sandbox/22.0.52977.0/w1
2023-02-07T07:55:25.6933802Z SasToken                        Specified
2023-02-07T07:55:25.6956099Z BcAuthContext                   Not Specified
2023-02-07T07:55:25.6973401Z Environment                     
2023-02-07T07:55:25.6992344Z ReUseContainer                  False
2023-02-07T07:55:25.7014782Z KeepContainer                   False
2023-02-07T07:55:25.7033995Z Auth                            UserPassword
2023-02-07T07:55:25.7071655Z Credential                      Specified
2023-02-07T07:55:25.7089777Z CompanyName                     MyCompany
2023-02-07T07:55:25.7107049Z MemoryLimit                     12G
2023-02-07T07:55:25.7123415Z FailOn                          none
2023-02-07T07:55:25.7140604Z TreatTestFailuresAsWarnings     False
2023-02-07T07:55:25.7156701Z Enable Task Scheduler           True
2023-02-07T07:55:25.7171517Z Assign Premium Plan             True
2023-02-07T07:55:25.7187098Z Install Test Runner             False
2023-02-07T07:55:25.7208266Z Install Test Framework          True
2023-02-07T07:55:25.7229600Z Install Test Libraries          True
2023-02-07T07:55:25.7255810Z Install Perf. Toolkit           False
2023-02-07T07:55:25.7278618Z InstallOnlyReferencedApps       False
2023-02-07T07:55:25.7304352Z generateDependencyArtifact      False
2023-02-07T07:55:25.7323283Z CopySymbolsFromContainer        False
2023-02-07T07:55:25.7339222Z enableCodeCop                   False
2023-02-07T07:55:25.7357777Z enableAppSourceCop              False
2023-02-07T07:55:25.7374312Z enableUICop                     False
2023-02-07T07:55:25.7392607Z enablePerTenantExtensionCop     False
2023-02-07T07:55:25.7410536Z doNotPerformUpgrade             False
2023-02-07T07:55:25.7426516Z doNotPublishApps                False
2023-02-07T07:55:25.7443947Z uninstallRemovedApps            False
2023-02-07T07:55:25.7458913Z escapeFromCops                  False
2023-02-07T07:55:25.7473816Z doNotBuildTests                 False
2023-02-07T07:55:25.7490631Z doNotRunTests                   False
2023-02-07T07:55:25.7506971Z doNotRunBcptTests               False
2023-02-07T07:55:25.7535194Z useDefaultAppSourceRuleSet      False
2023-02-07T07:55:25.7557265Z rulesetFile                     
2023-02-07T07:55:25.7584543Z azureDevOps                     False
2023-02-07T07:55:25.7611232Z gitLab                          False
2023-02-07T07:55:25.7632186Z gitHubActions                   False
2023-02-07T07:55:25.7651664Z License file                    Specified
2023-02-07T07:55:25.7664539Z CodeSignCertPfxFile             Not specified
2023-02-07T07:55:25.7690749Z CodeSignCertPfxPassword         Not specified
2023-02-07T07:55:25.7761094Z CodeSignCertIsSelfSigned        False
2023-02-07T07:55:25.7776836Z KeyVaultCertPfxFile             Not specified
2023-02-07T07:55:25.7788842Z KeyVaultCertPfxPassword         Not specified
2023-02-07T07:55:25.7805359Z KeyVaultClientId                
2023-02-07T07:55:25.7828617Z BuildOutputFile                 C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\BuildOutput.txt
2023-02-07T07:55:25.7845431Z ContainerEventLogFile           
2023-02-07T07:55:25.7875241Z TestResultsFile                 C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\Results.xml
2023-02-07T07:55:25.7901632Z BcptTestResultsFile             C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\bcptTestResults.json
2023-02-07T07:55:25.7927039Z TestResultsFormat               XUnit
2023-02-07T07:55:25.7978234Z AdditionalCountries             
2023-02-07T07:55:25.7997225Z PackagesFolder                  C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\.packages
2023-02-07T07:55:25.8014730Z OutputFolder                    C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\.output
2023-02-07T07:55:25.8032217Z BuildArtifactFolder             C:\agent\_work\2\a
2023-02-07T07:55:25.8049462Z CreateRuntimePackages           False
2023-02-07T07:55:25.8064188Z AppVersion                      
2023-02-07T07:55:25.8081062Z AppBuild                        0
2023-02-07T07:55:25.8097814Z AppRevision                     0
2023-02-07T07:55:25.8107143Z Install Apps
2023-02-07T07:55:25.8114192Z - None
2023-02-07T07:55:25.8123622Z Install Test Apps
2023-02-07T07:55:25.8131834Z - None
2023-02-07T07:55:25.8139043Z Previous Apps
2023-02-07T07:55:25.8146442Z - None
2023-02-07T07:55:25.8157348Z Application folders
2023-02-07T07:55:25.8174874Z - C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\coreapp
2023-02-07T07:55:25.8186094Z - C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\manufacturingapp
2023-02-07T07:55:25.8195343Z - C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\coretest
2023-02-07T07:55:25.8204082Z Test application folders
2023-02-07T07:55:25.8220573Z - C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\manufacturingtest
2023-02-07T07:55:25.8228445Z BCPT Test application folders
2023-02-07T07:55:25.8237057Z - None
2023-02-07T07:55:25.8244397Z Custom CodeCops
2023-02-07T07:55:25.8253399Z - None
2023-02-07T07:55:25.8303978Z NewBccontainer override
2023-02-07T07:55:25.8339877Z  Param([Hashtable]$parameters)
2023-02-07T07:55:25.8341044Z                     New-BcContainer  @parameters; Invoke-ScriptInBcContainer $parameters.ContainerName -scriptblock { $progressPreference = 'SilentlyContinue' }
2023-02-07T07:55:25.8342255Z                     Import-TestToolkitToBcContainer -includeTestLibrariesOnly -containerName 'majorManufacturing310'
2023-02-07T07:55:25.8343330Z                     Import-TestToolkitToBcContainer -includeTestRunnerOnly -containerName 'majorManufacturing310'
2023-02-07T07:55:25.8344346Z                     New-CompanyInBcContainer -containerName 'majorManufacturing310' -companyName $company
2023-02-07T07:55:25.8345442Z                     Run-ConnectionTestToBcContainer -containerName 'majorManufacturing310' -companyName $company -credential $credential
2023-02-07T07:55:25.8346823Z                     UploadImportAndApply-ConfigPackageInBcContainer -containerName 'majorManufacturing310' -company $company -configPackage W1.ENU.EVALUATION -credential $credential
2023-02-07T07:55:25.8464576Z 
2023-02-07T07:55:25.8465510Z   _____       _ _ _                                          _        _                            
2023-02-07T07:55:25.8466193Z  |  __ \     | | (_)                                        (_)      (_)                           
2023-02-07T07:55:25.8466948Z  | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___ 
2023-02-07T07:55:25.8467740Z  |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
2023-02-07T07:55:25.8468538Z  | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
2023-02-07T07:55:25.8469575Z  |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
2023-02-07T07:55:25.8470355Z                            __/ |   __/ |                                                 __/ |     
2023-02-07T07:55:25.8470985Z                           |___/   |___/                                                 |___/      
2023-02-07T07:55:25.8471305Z 
2023-02-07T07:55:27.4119968Z Pulling mcr.microsoft.com/businesscentral:10.0.20348.473
2023-02-07T07:55:28.0295519Z 
2023-02-07T07:55:28.0296717Z Pulling generic image took 2 seconds
2023-02-07T07:55:28.0470195Z 
2023-02-07T07:55:28.0471221Z    _____                _   _                               _        _                 
2023-02-07T07:55:28.0471575Z   / ____|              | | (_)                             | |      (_)                
2023-02-07T07:55:28.0471941Z  | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
2023-02-07T07:55:28.0472300Z  | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2023-02-07T07:55:28.0472642Z  | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |   
2023-02-07T07:55:28.0473037Z   \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
2023-02-07T07:55:28.0473367Z                                      __/ |                                             
2023-02-07T07:55:28.0473629Z                                     |___/                                              
2023-02-07T07:55:28.0473751Z 
2023-02-07T07:55:28.3916124Z WARNING: Container name should not exceed 15 characters
2023-02-07T07:55:28.7306420Z BcContainerHelper is version 4.0.14
2023-02-07T07:55:28.7316364Z BcContainerHelper is running as administrator
2023-02-07T07:55:29.5542960Z HyperV is Disabled
2023-02-07T07:55:29.5573886Z UsePsSession is True
2023-02-07T07:55:29.5604815Z Host is Microsoft Windows Server 2022 Datacenter - 10.0.20348.502
2023-02-07T07:55:29.6513167Z Docker Client Version is 20.10.9
2023-02-07T07:55:29.6529445Z Docker Server Version is 20.10.9
2023-02-07T07:55:29.9478758Z Removing Desktop shortcuts
2023-02-07T07:55:30.0916751Z Downloading platform artifact /sandbox/22.0.52977.0/platform
2023-02-07T07:55:30.1289263Z https://bcinsider.azureedge.net/sandbox/22.0.52977.0/platform?sv=2021-06-08&ss=b&srt=sco&spr=https&st=2022-09-15T00%3A00%3A00Z&se=2023-04-01T00%3A00%3A00Z&sp=rl&sig=rBQiC8y0zbuWC66i2BJcVhydR3XD2aaz47aJ6q6zEss%3D
2023-02-07T07:55:30.1619957Z Downloading C:\Users\gitops.SMBS-BA-129\AppData\Local\Temp\3894d4a4-9df1-4d84-b263-3457c51b2760.zip
2023-02-07T07:55:30.1820316Z Using WebClient
2023-02-07T07:56:40.0686123Z Unpacking platform artifact to tmp folder using Expand-Archive
2023-02-07T07:57:01.0759047Z Downloading Prerequisite Components
2023-02-07T07:57:01.0894374Z Downloading c:\bcartifacts.cache\sandbox\22.0.52977.0\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
2023-02-07T07:57:01.0923008Z Using WebClient
2023-02-07T07:57:01.5546637Z Downloading c:\bcartifacts.cache\sandbox\22.0.52977.0\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
2023-02-07T07:57:01.5556380Z Using WebClient
2023-02-07T07:57:09.3659434Z Fetching all docker images
2023-02-07T07:57:09.4535903Z Fetching all docker volumes
2023-02-07T07:57:09.5389316Z ArtifactUrl and ImageName specified
2023-02-07T07:57:11.3856045Z Building multitenant image my:sandbox-22.0.52977.0-w1-mt based on mcr.microsoft.com/businesscentral:10.0.20348.473 with https://bcinsider.azureedge.net/sandbox/22.0.52977.0/w1
2023-02-07T07:57:11.3874016Z Pulling latest image mcr.microsoft.com/businesscentral:10.0.20348.473
2023-02-07T07:57:11.9300525Z 10.0.20348.473: Pulling from businesscentral
2023-02-07T07:57:12.0278068Z Generic Tag: 1.0.2.14
2023-02-07T07:57:12.1171218Z Container OS Version: 10.0.20348.473 (ltsc2022)
2023-02-07T07:57:12.1183671Z Host OS Version: 10.0.20348.502 (ltsc2022)
2023-02-07T07:57:12.1231613Z Using process isolation
2023-02-07T07:57:12.2412103Z Using license file C:\agent\_work\_temp\MyCompanyLicense.bclicense
2023-02-07T07:57:12.2421429Z Files in c:\bcartifacts.cache\u5jndv1a.ool\my:
2023-02-07T07:57:12.2603761Z Copying Platform Artifacts
2023-02-07T07:57:12.2674007Z c:\bcartifacts.cache\sandbox\22.0.52977.0\platform
2023-02-07T07:57:16.0385655Z Copying Database
2023-02-07T07:57:16.5870667Z Copying Licensefile
2023-02-07T07:57:16.5996538Z Copying Extensions
2023-02-07T07:57:16.6028581Z C:\bcartifacts.cache\sandbox\22.0.52977.0\w1\Extensions
2023-02-07T07:57:16.8249532Z c:\bcartifacts.cache\u5jndv1a.ool
2023-02-07T07:57:33.1117754Z Sending build context to Docker daemon  2.253GB
2023-02-07T07:57:33.1121141Z 
2023-02-07T07:57:33.1648665Z Step 1/6 : FROM mcr.microsoft.com/businesscentral:10.0.20348.473
2023-02-07T07:57:33.1659992Z  ---> 9de542711a8e
2023-02-07T07:57:33.1675721Z Step 2/6 : ENV DatabaseServer=localhost DatabaseInstance=SQLEXPRESS DatabaseName=CRONUS IsBcSandbox=Y artifactUrl=https://bcinsider.azureedge.net/sandbox/22.0.52977.0/w1?sv=2021-06-08&ss=b&srt=sco&spr=https&st=2022-09-15T00%3A00%3A00Z&se=2023-04-01T00%3A00%3A00Z&sp=rl&sig=rBQiC8y0zbuWC66i2BJcVhydR3XD2aaz47aJ6q6zEss%3D filesOnly=False
2023-02-07T07:57:33.2034714Z  ---> Running in 91f0c71b5fb7
2023-02-07T07:57:33.6638458Z Removing intermediate container 91f0c71b5fb7
2023-02-07T07:57:33.6640618Z  ---> 38b8862015c0
2023-02-07T07:57:33.6641707Z Step 3/6 : COPY my /run/
2023-02-07T07:57:34.1498053Z  ---> 693bece318e5
2023-02-07T07:57:34.1499697Z Step 4/6 : COPY NAVDVD /NAVDVD/
2023-02-07T07:58:17.1415456Z  ---> 454e981eb09e
2023-02-07T07:58:17.1422045Z Step 5/6 : RUN \Run\start.ps1 -installOnly -multitenant
2023-02-07T07:58:17.1601928Z  ---> Running in 2cef1751aa58
2023-02-07T07:58:20.9119445Z c:\run\my folder doesn't exist, creating it
2023-02-07T07:58:21.1870782Z Using installer from C:\Run\210-new
2023-02-07T07:58:21.3139321Z Installing Business Central
2023-02-07T07:58:21.3572858Z Installing from DVD
2023-02-07T07:58:21.3816667Z Starting Local SQL Server
2023-02-07T07:58:23.1368829Z Starting Internet Information Server
2023-02-07T07:58:23.5173687Z Copying Service Tier Files
2023-02-07T07:58:23.5287129Z C:\NAVDVD\ServiceTier\Program Files
2023-02-07T07:58:24.7782267Z C:\NAVDVD\ServiceTier\System64Folder
2023-02-07T07:58:24.8515818Z Copying PowerShell Scripts
2023-02-07T07:58:24.8531298Z C:\NAVDVD\WindowsPowerShellScripts\Cloud\NAVAdministration
2023-02-07T07:58:24.9199466Z C:\NAVDVD\WindowsPowerShellScripts\WebSearch
2023-02-07T07:58:24.9503044Z Copying Web Client Files
2023-02-07T07:58:24.9510082Z C:\NAVDVD\WebClient\Microsoft Dynamics NAV
2023-02-07T07:58:27.2235899Z Copying ModernDev Files
2023-02-07T07:58:27.2261134Z C:\NAVDVD
2023-02-07T07:58:27.2532354Z C:\NAVDVD\ModernDev\program files\Microsoft Dynamics NAV
2023-02-07T07:58:27.6481452Z Copying additional files
2023-02-07T07:58:27.6684944Z Copying ConfigurationPackages
2023-02-07T07:58:27.6708502Z C:\NAVDVD\ConfigurationPackages
2023-02-07T07:58:27.7205119Z Copying Test Assemblies
2023-02-07T07:58:27.7221163Z C:\NAVDVD\Test Assemblies
2023-02-07T07:58:27.7842081Z Copying Extensions
2023-02-07T07:58:27.7871657Z C:\NAVDVD\Extensions
2023-02-07T07:58:27.9925881Z Copying Applications
2023-02-07T07:58:27.9935676Z C:\NAVDVD\Applications
2023-02-07T07:58:28.6112331Z Copying dependencies
2023-02-07T07:58:28.6329342Z Copying ReportBuilder
2023-02-07T07:58:46.9227041Z Importing PowerShell Modules
2023-02-07T07:58:49.2607946Z Restoring CRONUS Demo Database
2023-02-07T07:58:52.2310712Z Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
2023-02-07T07:58:53.4280282Z Exporting Application to CRONUS
2023-02-07T07:59:35.8289701Z Removing Application from tenant
2023-02-07T07:59:38.7605486Z Modifying Business Central Service Tier Config File for Docker
2023-02-07T07:59:38.7974595Z Creating Business Central Service Tier
2023-02-07T07:59:38.8793269Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2023-02-07T07:59:39.1132020Z Starting Business Central Service Tier
2023-02-07T07:59:47.9031666Z Importing CRONUS license file
2023-02-07T07:59:49.3659618Z Copying Database on localhost\SQLEXPRESS from tenant to default
2023-02-07T07:59:49.3773821Z Taking database tenant offline
2023-02-07T07:59:49.4864539Z Copying database files
2023-02-07T07:59:50.3090625Z Attaching files as new Database default
2023-02-07T07:59:52.4361685Z Putting database tenant back online
2023-02-07T07:59:52.6408070Z Mounting tenant database
2023-02-07T07:59:52.6708979Z Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
2023-02-07T08:01:35.0562881Z Sync'ing Tenant
2023-02-07T08:01:36.9102536Z Tenant is Operational
2023-02-07T08:01:36.9179177Z Stopping Business Central Service Tier
2023-02-07T08:01:37.1959471Z Installation took 196 seconds
2023-02-07T08:01:37.1989284Z Installation complete
2023-02-07T08:02:56.2573354Z Removing intermediate container 2cef1751aa58
2023-02-07T08:02:56.2581650Z  ---> db9bceae8107
2023-02-07T08:02:56.2591183Z Step 6/6 : LABEL legal="http://go.microsoft.com/fwlink/?LinkId=837447"       created="202302070757"       nav=""       cu=""       multitenant="Y" country="W1"       version="22.0.52977.0"       platform="22.0.52960.0"
2023-02-07T08:02:56.2795289Z  ---> Running in 58fe48b15bc5
2023-02-07T08:02:56.6872184Z Removing intermediate container 58fe48b15bc5
2023-02-07T08:02:56.6878119Z  ---> a1c9856bdc63
2023-02-07T08:02:57.5630728Z Successfully built a1c9856bdc63
2023-02-07T08:02:57.5679093Z Successfully tagged my:sandbox-22.0.52977.0-w1-mt
2023-02-07T08:02:57.5831277Z Building image took 346 seconds
2023-02-07T08:02:59.8178348Z Using image my:sandbox-22.0.52977.0-w1-mt
2023-02-07T08:02:59.9540164Z Creating Container majorManufacturing310
2023-02-07T08:02:59.9581829Z Style: sandbox
2023-02-07T08:02:59.9593441Z Multitenant: Yes
2023-02-07T08:02:59.9610114Z Version: 22.0.52977.0
2023-02-07T08:02:59.9705824Z Platform: 22.0.52960.0
2023-02-07T08:02:59.9719749Z Generic Tag: 1.0.2.14
2023-02-07T08:02:59.9739061Z Container OS Version: 10.0.20348.473 (ltsc2022)
2023-02-07T08:02:59.9754493Z Host OS Version: 10.0.20348.502 (ltsc2022)
2023-02-07T08:02:59.9893996Z Using process isolation
2023-02-07T08:03:00.0008739Z Using locale en-US
2023-02-07T08:03:00.0094225Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
2023-02-07T08:03:00.0136997Z Using license file C:\agent\_work\_temp\MyCompanyLicense.bclicense
2023-02-07T08:03:00.0700980Z Additional Parameters:
2023-02-07T08:03:00.0727416Z --volume "C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310:c:\sources"
2023-02-07T08:03:00.0752670Z --env customNavSettings=EnableTaskScheduler=True
2023-02-07T08:03:00.0774649Z Files in C:\ProgramData\BcContainerHelper\Extensions\majorManufacturing310\my:
2023-02-07T08:03:00.0869023Z - AdditionalOutput.ps1
2023-02-07T08:03:00.0891647Z - license.bclicense
2023-02-07T08:03:00.0905553Z - MainLoop.ps1
2023-02-07T08:03:00.0925277Z - SetupNavUsers.ps1
2023-02-07T08:03:00.0941284Z - SetupVariables.ps1
2023-02-07T08:03:00.0958129Z - updatehosts.ps1
2023-02-07T08:03:00.0971790Z Creating container majorManufacturing310 from image my:sandbox-22.0.52977.0-w1-mt
2023-02-07T08:03:00.2665592Z c3dc0fa6d980d24424c593fff7a815646584751415dcf77b8f553402599031c0
2023-02-07T08:03:02.2465947Z Waiting for container majorManufacturing310 to be ready
2023-02-07T08:03:04.4485754Z Adding MAJORMANUFACTUR to hosts file
2023-02-07T08:03:05.6525748Z Initializing...
2023-02-07T08:03:05.6526278Z Setting host.containerhelper.internal to 172.19.96.1 in container hosts file
2023-02-07T08:03:05.6526639Z Starting Container
2023-02-07T08:03:05.6526909Z Hostname is majorManufacturing310
2023-02-07T08:03:06.7942572Z PublicDnsName is majorManufacturing310
2023-02-07T08:03:06.7943859Z Using NavUserPassword Authentication
2023-02-07T08:03:07.8833015Z Starting Local SQL Server
2023-02-07T08:03:10.0396224Z Starting Internet Information Server
2023-02-07T08:03:10.0397151Z Creating Self Signed Certificate
2023-02-07T08:03:10.0398125Z Self Signed Certificate Thumbprint 9D6AFC2857AC2202C1BD3E5D63D287E500DD430A
2023-02-07T08:03:10.0398921Z DNS identity majorManufacturing310
2023-02-07T08:03:10.0399482Z Modifying Service Tier Config File with Instance Specific Settings
2023-02-07T08:03:10.0400287Z Modifying Service Tier Config File with settings from environment variable
2023-02-07T08:03:11.1445007Z Setting EnableTaskScheduler to True
2023-02-07T08:03:20.4422684Z Starting Service Tier
2023-02-07T08:03:20.4423410Z Registering event sources
2023-02-07T08:03:20.4424256Z Creating DotNetCore Web Server Instance
2023-02-07T08:03:20.4425134Z Using application pool name: BC
2023-02-07T08:03:20.4425574Z Using default container name: NavWebApplicationContainer
2023-02-07T08:03:22.6416876Z Copy files to WWW root C:\inetpub\wwwroot\BC
2023-02-07T08:03:23.7384988Z Create the application pool BC
2023-02-07T08:03:24.8107927Z Create website: NavWebApplicationContainer without SSL
2023-02-07T08:03:24.8108608Z Update configuration: navsettings.json
2023-02-07T08:03:24.8111198Z Done Configuring Web Client
2023-02-07T08:03:24.8112341Z Enabling Financials User Experience
2023-02-07T08:03:24.8113082Z Using license file 'c:\run\my\license.bclicense'
2023-02-07T08:03:31.3999051Z Import License
2023-02-07T08:03:32.4767187Z Dismounting Tenant
2023-02-07T08:03:32.4767533Z Mounting Tenant
2023-02-07T08:03:39.1301493Z Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
2023-02-07T08:03:41.3233684Z Sync'ing Tenant
2023-02-07T08:03:41.3234086Z Tenant is Operational
2023-02-07T08:03:41.3234347Z Creating http download site
2023-02-07T08:03:41.3234641Z Setting SA Password and enabling SA
2023-02-07T08:03:41.3234952Z Creating admin as SQL User and add to sysadmin
2023-02-07T08:03:43.5046873Z WARNING: This license is not compatible with this version of Business Central.
2023-02-07T08:03:43.5048687Z Creating SUPER user
2023-02-07T08:03:45.6617331Z WARNING: This license is not compatible with this version of Business Central.
2023-02-07T08:03:45.6617993Z WARNING: This license is not compatible with this version of Business Central.
2023-02-07T08:03:45.6620516Z WARNING: This license is not compatible with this version of Business Central.
2023-02-07T08:03:46.7602131Z Assign Premium plan for ADMIN
2023-02-07T08:03:46.7602549Z Container IP Address: 172.19.102.187
2023-02-07T08:03:46.7602929Z Container Hostname  : majorManufacturing310
2023-02-07T08:03:46.7603286Z Container Dns Name  : majorManufacturing310
2023-02-07T08:03:46.7604149Z Web Client          : http://majorManufacturing310/BC/?tenant=default
2023-02-07T08:03:46.7604928Z Dev. Server         : http://majorManufacturing310
2023-02-07T08:03:46.7606197Z Dev. ServerInstance : BC
2023-02-07T08:03:46.7606513Z Dev. Server Tenant  : default
2023-02-07T08:03:46.7606872Z Setting majorManufacturing310 to 172.19.102.187 in host hosts file
2023-02-07T08:03:46.7607291Z Setting majorManufacturing310-default to 172.19.102.187 in host hosts file
2023-02-07T08:03:46.7607755Z Setting majorManufacturing310-default to 172.19.102.187 in container hosts file
2023-02-07T08:03:46.7608018Z 
2023-02-07T08:03:46.7608199Z Files:
2023-02-07T08:03:46.7608853Z http://majorManufacturing310:8080/ALLanguage.vsix
2023-02-07T08:03:46.7609072Z 
2023-02-07T08:03:46.7609353Z WARNING: You are running a container which is 225 days old.
2023-02-07T08:03:46.7609775Z Microsoft recommends that you always run the latest version of our containers.
2023-02-07T08:03:46.7609986Z 
2023-02-07T08:03:46.7610230Z Container Total Physical Memory is 16.0Gb
2023-02-07T08:03:46.7610698Z Container Free Physical Memory is 11.2Gb
2023-02-07T08:03:46.7610933Z 
2023-02-07T08:03:46.7611177Z Initialization took 43 seconds
2023-02-07T08:03:47.7242430Z Ready for connections!
2023-02-07T08:03:48.8446185Z Reading CustomSettings.config from majorManufacturing310
2023-02-07T08:03:49.3934406Z Creating Desktop Shortcuts for majorManufacturing310
2023-02-07T08:03:49.5309038Z Container majorManufacturing310 successfully created
2023-02-07T08:03:49.7098266Z 
2023-02-07T08:03:49.7111012Z Use:
2023-02-07T08:03:49.7129318Z Get-BcContainerEventLog -containerName majorManufacturing310 to retrieve a snapshot of the event log from the container
2023-02-07T08:03:49.7143632Z Get-BcContainerDebugInfo -containerName majorManufacturing310 to get debug information about the container
2023-02-07T08:03:49.7159348Z Enter-BcContainer -containerName majorManufacturing310 to open a PowerShell prompt inside the container
2023-02-07T08:03:49.7173168Z Remove-BcContainer -containerName majorManufacturing310 to remove the container again
2023-02-07T08:03:49.7186502Z docker logs majorManufacturing310 to retrieve information about URL's again
2023-02-07T08:03:52.1313215Z Synchronizing Permissions Mock on default
2023-02-07T08:03:52.4452768Z App successfully synchronized
2023-02-07T08:03:52.4765566Z Installing Permissions Mock on default
2023-02-07T08:03:59.1110999Z App successfully installed
2023-02-07T08:03:59.1867359Z Synchronizing Test Runner on default
2023-02-07T08:03:59.7001688Z App successfully synchronized
2023-02-07T08:03:59.7304809Z Installing Test Runner on default
2023-02-07T08:04:00.4898493Z App successfully installed
2023-02-07T08:04:00.5730136Z Synchronizing Any on default
2023-02-07T08:04:00.6528265Z App successfully synchronized
2023-02-07T08:04:00.6727705Z Installing Any on default
2023-02-07T08:04:01.0060182Z App successfully installed
2023-02-07T08:04:01.0811338Z Synchronizing Library Assert on default
2023-02-07T08:04:01.1450985Z App successfully synchronized
2023-02-07T08:04:01.1612709Z Installing Library Assert on default
2023-02-07T08:04:01.4434770Z App successfully installed
2023-02-07T08:04:01.4995876Z Skipping app 'C:\Applications\TestFramework\TestLibraries\permissions mock\Microsoft_Permissions Mock.app' as it is already installed
2023-02-07T08:04:01.5900258Z Synchronizing Library Variable Storage on default
2023-02-07T08:04:01.6738456Z App successfully synchronized
2023-02-07T08:04:01.6983426Z Installing Library Variable Storage on default
2023-02-07T08:04:02.0105088Z App successfully installed
2023-02-07T08:04:03.2621922Z Publishing C:\ProgramData\BcContainerHelper\Extensions\majorManufacturing310\23d20f74-0135-4f69-8c06-09caf7cc3520\Microsoft_System Application Test Library.app
2023-02-07T08:04:08.0478051Z Synchronizing System Application Test Library on tenant default
2023-02-07T08:04:09.1515612Z Installing System Application Test Library on tenant default
2023-02-07T08:04:11.1351877Z App Microsoft_System Application Test Library.app successfully published
2023-02-07T08:04:12.6018229Z Publishing C:\ProgramData\BcContainerHelper\Extensions\majorManufacturing310\373f5371-43f7-41fc-9ee2-7f76ea7e0721\Microsoft_Tests-TestLibraries.app
2023-02-07T08:04:31.1401434Z Synchronizing Tests-TestLibraries on tenant default
2023-02-07T08:04:33.0226963Z Installing Tests-TestLibraries on tenant default
2023-02-07T08:04:36.3988007Z App Microsoft_Tests-TestLibraries.app successfully published
2023-02-07T08:04:36.7831717Z TestToolkit successfully imported
2023-02-07T08:04:37.8879036Z Skipping app 'C:\Applications\TestFramework\TestLibraries\permissions mock\Microsoft_Permissions Mock.app' as it is already installed
2023-02-07T08:04:37.9234221Z Skipping app 'C:\Applications\TestFramework\TestRunner\Microsoft_Test Runner.app' as it is already installed
2023-02-07T08:04:37.9244643Z TestToolkit successfully imported
2023-02-07T08:04:38.2477710Z Creating company MyCompany in default
2023-02-07T08:05:03.5589734Z Company successfully created
2023-02-07T08:05:28.2251264Z Extension Management opened successfully
2023-02-07T08:05:28.5702025Z Extension Management successfully closed
2023-02-07T08:05:29.0342286Z Copy from container majorManufacturing310 (C:\ConfigurationPackages\NAV22.0.W1.ENU.EVALUATION.rapidstart) to C:\ProgramData\BcContainerHelper\Extensions\majorManufacturing310\W1.ENU.EVALUATION.rapidstart
2023-02-07T08:05:30.8891902Z Invoke GET on http://172.19.102.187:7048/BC/api/v1.0/companies?$filter=name%20eq%20'MyCompany'&tenant=default
2023-02-07T08:05:34.4962999Z Deleting Configuration Package W1.ENU.EVALUATION (if exists)
2023-02-07T08:05:34.9774280Z Invoke DELETE on http://172.19.102.187:7048/BC/api/microsoft/automation/v1.0/companies(d594b510-bea6-ed11-a041-cd50042de16f)/configurationPackages('W1.ENU.EVALUATION')?tenant=default
2023-02-07T08:05:35.5835013Z Ignoring error while deleting configuration package
2023-02-07T08:05:35.5848907Z Creating Configuration Package W1.ENU.EVALUATION
2023-02-07T08:05:36.2666513Z Invoke POST on http://172.19.102.187:7048/BC/api/microsoft/automation/v1.0/companies(d594b510-bea6-ed11-a041-cd50042de16f)/configurationPackages?tenant=default
2023-02-07T08:05:36.5362139Z Uploading Configuration Package W1.ENU.EVALUATION
2023-02-07T08:05:37.0143954Z Invoke PATCH on http://172.19.102.187:7048/BC/api/microsoft/automation/v1.0/companies(d594b510-bea6-ed11-a041-cd50042de16f)/configurationPackages('W1.ENU.EVALUATION')/file('W1.ENU.EVALUATION')/content?tenant=default
2023-02-07T08:05:37.4273211Z Importing Configuration Package W1.ENU.EVALUATION
2023-02-07T08:05:37.9468069Z Invoke POST on http://172.19.102.187:7048/BC/api/microsoft/automation/v1.0/companies(d594b510-bea6-ed11-a041-cd50042de16f)/configurationPackages('W1.ENU.EVALUATION')/Microsoft.NAV.import?tenant=default
2023-02-07T08:06:28.2775982Z InProgress.......Completed
2023-02-07T08:06:28.2790974Z Applying Configuration Package W1.ENU.EVALUATION
2023-02-07T08:06:28.7891732Z Invoke POST on http://172.19.102.187:7048/BC/api/microsoft/automation/v1.0/companies(d594b510-bea6-ed11-a041-cd50042de16f)/configurationPackages('W1.ENU.EVALUATION')/Microsoft.NAV.apply?tenant=default
2023-02-07T08:11:11.4089713Z InProgress.................................................Completed
2023-02-07T08:11:12.4076425Z 
2023-02-07T08:11:12.4080155Z Creating container took 944 seconds
2023-02-07T08:11:12.4089482Z 
2023-02-07T08:11:12.4090503Z  _____                _       _                   _                           _                 _          
2023-02-07T08:11:12.4091212Z |  __ \              | |     (_)                 | |                         | |               (_)         
2023-02-07T08:11:12.4093410Z | |__) |___ ___  ___ | |_   ___ _ __   __ _    __| | ___ _ __   ___ _ __   __| | ___ _ __   ___ _  ___ ___ 
2023-02-07T08:11:12.4094509Z |  _  // _ \ __|/ _ \| \ \ / / | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '_ \ / _` |/ _ \ '_ \ / __| |/ _ \ __|
2023-02-07T08:11:12.4095404Z | | \ \  __\__ \ (_) | |\ V /| | | | | (_| | | (_| |  __/ |_) |  __/ | | | (_| |  __/ | | | (__| |  __\__ \
2023-02-07T08:11:12.4096429Z |_|  \_\___|___/\___/|_| \_/ |_|_| |_|\__, |  \__,_|\___| .__/ \___|_| |_|\__,_|\___|_| |_|\___|_|\___|___/
2023-02-07T08:11:12.4097315Z                                        __/ |            | |                                                
2023-02-07T08:11:12.4098038Z                                       |___/             |_|                                                
2023-02-07T08:11:12.4098368Z 
2023-02-07T08:11:12.5685348Z Sorted App folders
2023-02-07T08:11:12.5704393Z - C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\coreapp
2023-02-07T08:11:12.5713185Z - C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\manufacturingapp
2023-02-07T08:11:12.5722541Z - C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\coretest
2023-02-07T08:11:12.5730986Z External dependencies
2023-02-07T08:11:12.5746824Z - 437dbf0e-84ff-417a-965d-ed2bb9650972:Microsoft_Base Application_21.0.0.0.app
2023-02-07T08:11:12.5758227Z - 63ca2fa4-4f03-4f2b-a480-172fef340d3f:Microsoft_System Application_21.0.0.0.app
2023-02-07T08:11:12.5777483Z - dd0be2ea-f733-4d65-bb34-a28f4624fb14:Microsoft_Library Assert_21.0.0.0.app
2023-02-07T08:11:12.5804539Z - e7320ebb-08b3-4406-b1ec-b4927d3e280b:Microsoft_Any_21.0.0.0.app
2023-02-07T08:11:12.5820199Z - 9856ae4f-d1a7-46ef-89bb-6ef056398228:Microsoft_System Application Test Library_21.0.0.0.app
2023-02-07T08:11:12.5835496Z - 5d86850b-0d76-4eca-bd7b-951ad998e997:Microsoft_Tests-TestLibraries_21.0.0.0.app
2023-02-07T08:11:12.5871781Z Sorted TestApp folders
2023-02-07T08:11:12.5956737Z - C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\manufacturingtest
2023-02-07T08:11:12.5965020Z External TestApp dependencies
2023-02-07T08:11:12.5978979Z - 437dbf0e-84ff-417a-965d-ed2bb9650972:Microsoft_Base Application_21.0.0.0.app
2023-02-07T08:11:12.5993448Z - 63ca2fa4-4f03-4f2b-a480-172fef340d3f:Microsoft_System Application_21.0.0.0.app
2023-02-07T08:11:12.6008232Z - dd0be2ea-f733-4d65-bb34-a28f4624fb14:Microsoft_Library Assert_21.0.0.0.app
2023-02-07T08:11:12.6021669Z - e7320ebb-08b3-4406-b1ec-b4927d3e280b:Microsoft_Any_21.0.0.0.app
2023-02-07T08:11:12.6033700Z - 9856ae4f-d1a7-46ef-89bb-6ef056398228:Microsoft_System Application Test Library_21.0.0.0.app
2023-02-07T08:11:12.6042400Z - 5d86850b-0d76-4eca-bd7b-951ad998e997:Microsoft_Tests-TestLibraries_21.0.0.0.app
2023-02-07T08:11:12.6056295Z 
2023-02-07T08:11:12.6056723Z    _____                      _ _ _                                     
2023-02-07T08:11:12.6057178Z   / ____|                    (_) (_)                                    
2023-02-07T08:11:12.6057761Z  | |     ___  _ __ ___  _ __  _| |_ _ __   __ _    __ _ _ __  _ __  ___ 
2023-02-07T08:11:12.6058220Z  | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` |  / _` | '_ \| '_ \/ __|
2023-02-07T08:11:12.6058636Z  | |____ (_) | | | | | | |_) | | | | | | | (_| | | (_| | |_) | |_) \__ \
2023-02-07T08:11:12.6058980Z   \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
2023-02-07T08:11:12.6059314Z                        | |                 __/ |       | |   | |        
2023-02-07T08:11:12.6059583Z                        |_|                |___/        |_|   |_|        
2023-02-07T08:11:12.6059719Z 
2023-02-07T08:11:12.6364279Z 
2023-02-07T08:11:12.6366091Z Compiling C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\coreapp
2023-02-07T08:11:13.1085719Z Using Symbols Folder: C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\.packages
2023-02-07T08:11:20.3627061Z Processing dependency Microsoft_Application_21.0.0.0 ()
2023-02-07T08:11:20.3875905Z Downloading symbols: Microsoft_Application_22.0.52977.0.app
2023-02-07T08:11:20.3917117Z Url : http://172.19.102.187:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=21.0.0.0&tenant=default
2023-02-07T08:11:20.3939264Z Using WebClient
2023-02-07T08:11:21.3580273Z Adding dependency to System Application from Microsoft
2023-02-07T08:11:21.3705640Z Adding dependency to Base Application from Microsoft
2023-02-07T08:11:21.3718922Z Processing dependency Microsoft_System_21.0.0.0 ()
2023-02-07T08:11:21.3809898Z Downloading symbols: Microsoft_System_22.0.52960.0.app
2023-02-07T08:11:21.3818403Z Url : http://172.19.102.187:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=21.0.0.0&tenant=default
2023-02-07T08:11:21.3844790Z Using WebClient
2023-02-07T08:11:21.8742085Z Processing dependency Microsoft_System Application_22.0.0.0 (63ca2fa4-4f03-4f2b-a480-172fef340d3f)
2023-02-07T08:11:21.8857061Z Downloading symbols: Microsoft_System Application_22.0.52977.0.app
2023-02-07T08:11:21.8872298Z Url : http://172.19.102.187:7049/BC/dev/packages?appId=63ca2fa4-4f03-4f2b-a480-172fef340d3f&versionText=22.0.0.0&tenant=default
2023-02-07T08:11:21.8894444Z Using WebClient
2023-02-07T08:11:22.4238952Z Processing dependency Microsoft_Base Application_22.0.0.0 (437dbf0e-84ff-417a-965d-ed2bb9650972)
2023-02-07T08:11:22.4301798Z Downloading symbols: Microsoft_Base Application_22.0.52977.0.app
2023-02-07T08:11:22.4316754Z Url : http://172.19.102.187:7049/BC/dev/packages?appId=437dbf0e-84ff-417a-965d-ed2bb9650972&versionText=22.0.0.0&tenant=default
2023-02-07T08:11:22.4337788Z Using WebClient
2023-02-07T08:11:23.3644221Z Compiling...
2023-02-07T08:11:23.3819830Z .\alc.exe /project:"c:\sources\coreapp" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\myapp.app" /assemblyprobingpaths:"C:\Program Files\Microsoft Dynamics NAV\220\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies" /D:CLEAN19 /D:CLEAN20 /D:CLEAN21 /D:CLEAN22
2023-02-07T08:11:40.7206628Z Microsoft (R) AL Compiler version 11.0.11.27572
2023-02-07T08:11:40.7259043Z Copyright (C) Microsoft Corporation. All rights reserved
2023-02-07T08:11:51.0715235Z 
2023-02-07T08:11:51.0732759Z Compilation ended at '09:11:50.946'.
2023-02-07T08:11:51.0743539Z 
2023-02-07T08:11:51.0824042Z C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\.output\MyCompany software, S.L._BySoft Business Manufacturing_1.0.0.1.app successfully created in 10 seconds
2023-02-07T08:11:51.5433363Z 
2023-02-07T08:11:51.5434990Z Compiling C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\coretest
2023-02-07T08:11:51.9526403Z Using Symbols Folder: C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\.packages
2023-02-07T08:11:53.0154861Z Processing dependency Microsoft_Application_21.0.0.0 ()
2023-02-07T08:11:53.0168756Z Dependency App exists
2023-02-07T08:11:53.0177397Z Processing dependency Microsoft_System_21.0.0.0 ()
2023-02-07T08:11:53.0199215Z Dependency App exists
2023-02-07T08:11:53.0209393Z Processing dependency Microsoft_Library Assert_21.0.0.0 (dd0be2ea-f733-4d65-bb34-a28f4624fb14)
2023-02-07T08:11:53.0258932Z Downloading symbols: Microsoft_Library Assert_22.0.52977.0.app
2023-02-07T08:11:53.0265964Z Url : http://172.19.102.187:7049/BC/dev/packages?appId=dd0be2ea-f733-4d65-bb34-a28f4624fb14&versionText=21.0.0.0&tenant=default
2023-02-07T08:11:53.0278255Z Using WebClient
2023-02-07T08:11:53.5451727Z Processing dependency Microsoft_Any_21.0.0.0 (e7320ebb-08b3-4406-b1ec-b4927d3e280b)
2023-02-07T08:11:53.5484272Z Downloading symbols: Microsoft_Any_22.0.52977.0.app
2023-02-07T08:11:53.5493270Z Url : http://172.19.102.187:7049/BC/dev/packages?appId=e7320ebb-08b3-4406-b1ec-b4927d3e280b&versionText=21.0.0.0&tenant=default
2023-02-07T08:11:53.5502368Z Using WebClient
2023-02-07T08:11:54.0736189Z Processing dependency Microsoft_System Application Test Library_21.0.0.0 (9856ae4f-d1a7-46ef-89bb-6ef056398228)
2023-02-07T08:11:54.0797400Z Downloading symbols: Microsoft_System Application Test Library_22.0.52977.0.app
2023-02-07T08:11:54.0805124Z Url : http://172.19.102.187:7049/BC/dev/packages?appId=9856ae4f-d1a7-46ef-89bb-6ef056398228&versionText=21.0.0.0&tenant=default
2023-02-07T08:11:54.0815389Z Using WebClient
2023-02-07T08:11:54.4512802Z Adding dependency to System Application from Microsoft
2023-02-07T08:11:54.4525364Z Processing dependency Microsoft_Tests-TestLibraries_21.0.0.0 (5d86850b-0d76-4eca-bd7b-951ad998e997)
2023-02-07T08:11:54.4554425Z Downloading symbols: Microsoft_Tests-TestLibraries_22.0.52977.0.app
2023-02-07T08:11:54.4564912Z Url : http://172.19.102.187:7049/BC/dev/packages?appId=5d86850b-0d76-4eca-bd7b-951ad998e997&versionText=21.0.0.0&tenant=default
2023-02-07T08:11:54.4575137Z Using WebClient
2023-02-07T08:11:54.8848753Z Adding dependency to Library Variable Storage from Microsoft
2023-02-07T08:11:54.8875334Z Adding dependency to Permissions Mock from Microsoft
2023-02-07T08:11:54.8894297Z Processing dependency MyCompany software, S.L._BySoft Business Core_1.0.0.1 (d31d868e-ce40-4b64-8743-ed80f6c6b87c)
2023-02-07T08:11:54.8917382Z Dependency App exists
2023-02-07T08:11:54.8937056Z Processing dependency Microsoft_System Application_22.0.0.0 (63ca2fa4-4f03-4f2b-a480-172fef340d3f)
2023-02-07T08:11:54.8954502Z Dependency App exists
2023-02-07T08:11:54.8969851Z Processing dependency Microsoft_Library Variable Storage_22.0.0.0 (5095f467-0a01-4b99-99d1-9ff1237d286f)
2023-02-07T08:11:54.9066104Z Downloading symbols: Microsoft_Library Variable Storage_22.0.52977.0.app
2023-02-07T08:11:54.9077456Z Url : http://172.19.102.187:7049/BC/dev/packages?appId=5095f467-0a01-4b99-99d1-9ff1237d286f&versionText=22.0.0.0&tenant=default
2023-02-07T08:11:54.9090499Z Using WebClient
2023-02-07T08:11:55.3597715Z Processing dependency Microsoft_Permissions Mock_22.0.0.0 (40860557-a18d-42ad-aecb-22b7dd80dc80)
2023-02-07T08:11:55.3627829Z Downloading symbols: Microsoft_Permissions Mock_22.0.52977.0.app
2023-02-07T08:11:55.3634388Z Url : http://172.19.102.187:7049/BC/dev/packages?appId=40860557-a18d-42ad-aecb-22b7dd80dc80&versionText=22.0.0.0&tenant=default
2023-02-07T08:11:55.3644185Z Using WebClient
2023-02-07T08:11:55.7859628Z Compiling...
2023-02-07T08:11:55.7891744Z .\alc.exe /project:"c:\sources\coretest" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\MyCompany software, S.L._Test for SMBS Core_1.0.0.1.app" /assemblyprobingpaths:"C:\Program Files\Microsoft Dynamics NAV\220\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies" /D:CLEAN19 /D:CLEAN20 /D:CLEAN21 /D:CLEAN22
2023-02-07T08:12:04.3404061Z Microsoft (R) AL Compiler version 11.0.11.27572
2023-02-07T08:12:04.3422348Z Copyright (C) Microsoft Corporation. All rights reserved
2023-02-07T08:12:04.3432851Z 
2023-02-07T08:12:04.3894968Z Compilation ended at '09:12:04.272'.
2023-02-07T08:12:04.8653461Z   _____                            _   _               _            _     _              _ _    _ _   
2023-02-07T08:12:04.8655010Z  |_   _|                          | | (_)             | |          | |   | |            | | |  (_) |  
2023-02-07T08:12:04.8656328Z    | |  _ __ ___  _ __   ___  _ __| |_ _ _ __   __ _  | |_ ___  ___| |_  | |_ ___   ___ | | | ___| |_ 
2023-02-07T08:12:04.8657663Z    | | | '_ ` _ \| '_ \ / _ \| '__| __| | '_ \ / _` | | __/ _ \/ __| __| | __/ _ \ / _ \| | |/ / | __|
2023-02-07T08:12:04.8658841Z   _| |_| | | | | | |_) | (_) | |  | |_| | | | | (_| | | ||  __/\__ \ |_  | || (_) | (_) | |   <| | |_ 
2023-02-07T08:12:04.8660542Z  |_____|_| |_| |_| .__/ \___/|_|   \__|_|_| |_|\__, |  \__\___||___/\__|  \__\___/ \___/|_|_|\_\_|\__|
2023-02-07T08:12:04.8661728Z                  | |                            __/ |                                                 
2023-02-07T08:12:04.8671113Z                  |_|                           |___/                                                  
2023-02-07T08:12:06.6814812Z Skipping app 'C:\Applications\TestFramework\TestLibraries\permissions mock\Microsoft_Permissions Mock.app' as it is already installed
2023-02-07T08:12:06.7340872Z Skipping app 'C:\Applications\TestFramework\TestRunner\Microsoft_Test Runner.app' as it is already installed
2023-02-07T08:12:06.8095269Z Skipping app 'C:\Applications\TestFramework\TestLibraries\Any\Microsoft_Any.app' as it is already installed
2023-02-07T08:12:06.8565884Z Skipping app 'C:\Applications\TestFramework\TestLibraries\Assert\Microsoft_Library Assert.app' as it is already installed
2023-02-07T08:12:06.9159628Z Skipping app 'C:\Applications\TestFramework\TestLibraries\permissions mock\Microsoft_Permissions Mock.app' as it is already installed
2023-02-07T08:12:06.9616632Z Skipping app 'C:\Applications\TestFramework\TestLibraries\Variable Storage\Microsoft_Library Variable Storage.app' as it is already installed
2023-02-07T08:12:07.0126286Z Skipping app 'C:\Applications\system application\test\Microsoft_System Application Test Library.app' as it is already installed
2023-02-07T08:12:07.0610432Z Skipping app 'C:\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app' as it is already installed
2023-02-07T08:12:07.0632855Z TestToolkit successfully imported
2023-02-07T08:12:07.5065600Z 
2023-02-07T08:12:07.5069966Z Importing Test Toolkit took 3 seconds
2023-02-07T08:12:07.5089599Z    _____                      _ _ _               _           _                           
2023-02-07T08:12:07.5092074Z   / ____|                    (_) (_)             | |         | |                          
2023-02-07T08:12:07.5094538Z  | |     ___  _ __ ___  _ __  _| |_ _ __   __ _  | |_ ___ ___| |_    __ _ _ __  _ __  ___ 
2023-02-07T08:12:07.5095906Z  | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` | | __/ _ \ __| __|  / _` | '_ \| '_ \/ __|
2023-02-07T08:12:07.5097721Z  | |____ (_) | | | | | | |_) | | | | | | | (_| | | |_  __\__ \ |_  | (_| | |_) | |_) \__ \
2023-02-07T08:12:07.5098969Z   \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__\___|___/\__|  \__,_| .__/| .__/|___/
2023-02-07T08:12:07.5100082Z                        | |                 __/ |                         | |   | |        
2023-02-07T08:12:07.5101542Z                        |_|                |___/                          |_|   |_|        
2023-02-07T08:12:07.5123310Z 
2023-02-07T08:12:07.5127403Z Compiling C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\manufacturingtest
2023-02-07T08:12:07.9088531Z Using Symbols Folder: C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\.packages
2023-02-07T08:12:08.8731195Z Dependency App exists
2023-02-07T08:12:08.9208648Z Compiling...
assemblyprobingpaths:"C:\Program Files\Microsoft Dynamics NAV\220\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies" /D:CLEAN19 /D:CLEAN20 /D:CLEAN21 /D:CLEAN22
2023-02-07T08:12:16.0294051Z Microsoft (R) AL Compiler version 11.0.11.27572
2023-02-07T08:12:16.0333070Z Copyright (C) Microsoft Corporation. All rights reserved
2023-02-07T08:12:16.0372917Z 
2023-02-07T08:12:16.0391790Z Compilation started for project 'Test for SMBS Manufacturing' containing '115' files at '09:12:09.218'.
2023-02-07T08:12:16.0403628Z 
2023-02-07T08:12:16.0442173Z warning AL1026: A warning occurred during XML validation: 'Permission set RoleID is too long at c:\sources\manufacturingtest\extensionsPermissionSet.xml. The RoleID field must be restricted by 20 characters in length. This warning will become an error in a future release.'.
2023-02-07T08:12:16.0473596Z 
2023-02-07T08:12:16.0516615Z Compilation ended at '09:12:15.964'.
2023-02-07T08:12:16.0527691Z 
2023-02-07T08:12:16.0558294Z C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\.output\manufacturing.app successfully created in 9 seconds
2023-02-07T08:12:16.0613885Z manufacturing.app copied to C:\ProgramData\BCContainerHelper\MyCompanySolution\majorManufacturing310\.packages
2023-02-07T08:12:16.5236511Z 
2023-02-07T08:12:16.5242663Z Compiling apps, test apps and importing test toolkit took 64 seconds
2023-02-07T08:12:16.5271023Z   _____       _     _ _     _     _                                     
2023-02-07T08:12:16.5271428Z  |  __ \     | |   | (_)   | |   (_)                                    
2023-02-07T08:12:16.5272056Z  | |__) |   _| |__ | |_ ___| |__  _ _ __   __ _    __ _ _ __  _ __  ___ 
2023-02-07T08:12:16.5273277Z  |  ___/ | | | '_ \| | / __| '_ \| | '_ \ / _` |  / _` | '_ \| '_ \/ __|
2023-02-07T08:12:16.5273844Z  | |   | |_| | |_) | | \__ \ | | | | | | | (_| | | (_| | |_) | |_) \__ \
2023-02-07T08:12:16.5274303Z  |_|    \__,_|_.__/|_|_|___/_| |_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
2023-02-07T08:12:16.5274840Z                                            __/ |       | |   | |        
2023-02-07T08:12:16.5275620Z                                           |___/        |_|   |_|        
2023-02-07T08:12:19.6090876Z Publishing C:\ProgramData\BcContainerHelper\Extensions\majorManufacturing310\0f7c7694-9f7e-4c2a-ba56-19de3a9a84ef\myapp.app
2023-02-07T08:13:25.2460625Z An internal WebSocket error occurred. Please see the innerException, if present, for more details. 
2023-02-07T08:13:25.2467465Z 
2023-02-07T08:13:25.2477347Z Exception Script Stack Trace:
2023-02-07T08:13:25.2499065Z at <ScriptBlock>, <No file>: line 41
2023-02-07T08:13:25.2503267Z 
2023-02-07T08:13:25.2513661Z PowerShell Call Stack:
2023-02-07T08:13:25.2541278Z at Invoke-ScriptInBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 71
2023-02-07T08:13:25.2554404Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Publish-NavContainerApp.ps1: line 293
2023-02-07T08:13:25.2563909Z at Publish-BcContainerApp, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Publish-NavContainerApp.ps1: line 144
2023-02-07T08:13:25.2571115Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Run-AlPipeline.ps1: line 683
2023-02-07T08:13:25.2578769Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Run-AlPipeline.ps1: line 1869
2023-02-07T08:13:25.2589262Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Run-AlPipeline.ps1: line 1839
2023-02-07T08:13:25.2599702Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Run-AlPipeline.ps1: line 1824
2023-02-07T08:13:25.2609794Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Run-AlPipeline.ps1: line 787
2023-02-07T08:13:25.2620892Z at Run-AlPipeline, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\AppHandling\Run-AlPipeline.ps1: line 749
2023-02-07T08:13:25.2629892Z at <ScriptBlock>, C:\agent\_work\_temp\6f5ffe1e-e54d-44d1-9397-488ce3be83ff.ps1: line 55
2023-02-07T08:13:25.2651110Z at <ScriptBlock>, <No file>: line 1
2023-02-07T08:13:25.7228656Z 
2023-02-07T08:13:25.7239063Z Container Free Physical Memory: 10.4Gb
2023-02-07T08:13:25.7241928Z 
2023-02-07T08:13:25.7243475Z Services in container majorManufacturing310:
2023-02-07T08:13:25.7462059Z - MicrosoftDynamicsNavServer$BC is Running
2023-02-07T08:13:25.7496113Z - MSSQL$SQLEXPRESS is Running
2023-02-07T08:13:25.7514509Z 
2023-02-07T08:13:26.7665013Z Publish-BcContainerApp Telemetry Correlation Id: 371ec662-661d-44e3-856b-557f68a00660
2023-02-07T08:13:27.1334358Z Removing Session majorManufacturing310
2023-02-07T08:13:27.3010593Z Removing container majorManufacturing310
2023-02-07T08:13:28.6260437Z Removing entries from hosts
2023-02-07T08:13:28.6564376Z Removing majorManufacturing310 from container hosts file
2023-02-07T08:13:28.7451314Z Removing majorManufacturing310-* from container hosts file
2023-02-07T08:13:28.7548791Z Removing Desktop shortcuts
2023-02-07T08:13:28.7797796Z Removing C:\ProgramData\BcContainerHelper\Extensions\majorManufacturing310
2023-02-07T08:13:29.2837040Z Run-AlPipeline Telemetry Correlation Id: 5451a3a5-fe9e-4db8-84c4-ab9e5ca5a031
2023-02-07T08:13:29.3564825Z An internal WebSocket error occurred. Please see the innerException, if present, for more details. 
2023-02-07T08:13:29.3566551Z At C:\Program 
2023-02-07T08:13:29.3567128Z Files\WindowsPowerShell\Modules\BcContainerHelper\4.0.14\ContainerHandling\Invoke-ScriptInNavContainer.ps1:112 char:13
2023-02-07T08:13:29.3567786Z +             throw $errorMessage
2023-02-07T08:13:29.3568050Z +             ~~~~~~~~~~~~~~~~~~~
2023-02-07T08:13:29.3568475Z     + CategoryInfo          : OperationStopped: (An internal Web... more details. :String) [], RuntimeException
2023-02-07T08:13:29.3569058Z     + FullyQualifiedErrorId : An internal WebSocket error occurred. Please see the innerException, if present, for mor 
2023-02-07T08:13:29.3569439Z    e details. 
2023-02-07T08:13:29.3572461Z  
2023-02-07T08:13:29.4266989Z ##[debug]Exit code: 1
2023-02-07T08:13:29.4350425Z ##[debug]Leaving Invoke-VstsTool.
2023-02-07T08:13:29.4752639Z ##[error]PowerShell exited with code '1'.
2023-02-07T08:13:29.4785690Z ##[debug]Processed: ##vso[task.logissue type=error]PowerShell exited with code '1'.
2023-02-07T08:13:29.4813210Z ##[debug]Processed: ##vso[task.complete result=Failed]Error detected
2023-02-07T08:13:29.4817885Z ##[debug]Leaving C:\agent\_work\_tasks\PowerShell_e213ff0f-5d5c-4791-802d-52ea3e7be1f1\2.212.0\powershell.ps1.
2023-02-07T08:13:29.5091035Z ##[section]Finishing: Run ALPipeline
amea20 commented 1 year ago

Hi,

I am seeing the same issue when running NextMajor builds: Internal WebSocket issue.

MikelSeron commented 1 year ago

Hello! I am also getting the WebSocket error.

FranRodriguez commented 1 year ago

After reviewing the stack a bit my conclusion is that the problem comes with the Publish-NavContainerApp command used in a NextMajor container.

Or at least there is some problem in the way the Run-AlPipeline command calls Publish-NavContainerApp which is when the problem with the WebSocket appears.

freddydk commented 1 year ago

Can it be the same as this Yammer thread: https://www.yammer.com/dynamicsnavdev/#/Threads/show?threadId=2100229967101952 Then it was a bug in BC, which should be (or have been) fixed.

amea20 commented 1 year ago

This was working with an older version of NextMajor (22.0). This has happened as a result of the BC insider build change, and is now affecting NextMinor as we approach April.

freddydk commented 1 year ago

Please do not add to this thead. This thread was around missing dotnet 6 in the generic image. This has been fixed. If you still encounter issues with the latest containerhelper, using the latest generic image, then please create a new issue with full scripts and full output - then I can try to understand what happens.

amea20 commented 1 year ago

My apologies Freddy. I'll create a new one now.