Error Removing container: ClientSession State is Uninitialized (Wait time 10 seconds)

PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue
Running my pipelines I am getting an error in 2 of them when removing the container:

ClientSession State is Uninitialized (Wait time 10 seconds)

Scripts used to create container and cause the issue
Param(
    [Parameter(Mandatory=$false)]
    [ValidateSet('AzureDevOps','GithubActions','GitLab')]
    [string] $environment = 'AzureDevOps',
    [Parameter(Mandatory=$true)]
    [string] $version,
    [Parameter(Mandatory=$false)]
    [int] $appBuild = 0,
    [Parameter(Mandatory=$false)]
    [int] $appRevision = 0
)

if ($environment -eq "AzureDevOps") {
    $buildArtifactFolder = $ENV:BUILD_ARTIFACTSTAGINGDIRECTORY
}
elseif ($environment -eq "GitHubActions") {
    $buildArtifactFolder = Join-Path $ENV:GITHUB_WORKSPACE "output"
    New-Item $buildArtifactFolder -ItemType Directory | Out-Null
}

$baseFolder = (Get-Item (Join-Path $PSScriptRoot "..")).FullName
. (Join-Path $PSScriptRoot "Read-Settings.ps1") -environment $environment -version $version
. (Join-Path $PSScriptRoot "Install-BcContainerHelper.ps1") -bcContainerHelperVersion $bcContainerHelperVersion -genericImageName $genericImageName

$params = @{}
$insiderSasToken = "$ENV:insiderSasToken"
$licenseFile = "$ENV:licenseFile"
$codeSigncertPfxFile = "$ENV:CodeSignCertPfxFile"
if (!$doNotSignApps -and $codeSigncertPfxFile) {
    if ("$ENV:CodeSignCertPfxPassword" -ne "") {
        $codeSignCertPfxPassword = try { "$ENV:CodeSignCertPfxPassword" | ConvertTo-SecureString } catch { ConvertTo-SecureString -String "$ENV:CodeSignCertPfxPassword" -AsPlainText -Force }
        $params = @{
            "codeSignCertPfxFile" = $codeSignCertPfxFile
            "codeSignCertPfxPassword" = $codeSignCertPfxPassword
        }
    }
    else {
        $codeSignCertPfxPassword = $null
    }
}

$allTestResults = "testresults*.xml"
$testResultsFile = Join-Path $baseFolder "TestResults.xml"
$testResultsFiles = Join-Path $baseFolder $allTestResults
if (Test-Path $testResultsFiles) {
    Remove-Item $testResultsFiles -Force
}

Run-AlPipeline @params `
    -pipelinename $pipelineName `
    -containerName $containerName `
    -imageName $imageName `
    -artifact $artifact.replace('{INSIDERSASTOKEN}',$insiderSasToken) `
    -memoryLimit $memoryLimit `
    -baseFolder $baseFolder `
    -licenseFile $LicenseFile `
    -installApps $installApps `
    -previousApps $previousApps `
    -appFolders $appFolders `
    -testFolders $testFolders `
    -doNotRunTests:$doNotRunTests `
    -testResultsFile $testResultsFile `
    -testResultsFormat 'JUnit' `
    -installTestFramework:$installTestFramework `
    -installTestLibraries:$installTestLibraries `
    -installPerformanceToolkit:$installPerformanceToolkit `
    -enableCodeCop:$enableCodeCop `
    -enableAppSourceCop:$enableAppSourceCop `
    -enablePerTenantExtensionCop:$enablePerTenantExtensionCop `
    -enableUICop:$enableUICop `
    -azureDevOps:($environment -eq 'AzureDevOps') `
    -gitLab:($environment -eq 'GitLab') `
    -gitHubActions:($environment -eq 'GitHubActions') `
    -AppSourceCopMandatoryAffixes $appSourceCopMandatoryAffixes `
    -AppSourceCopSupportedCountries $appSourceCopSupportedCountries `
    -additionalCountries $additionalCountries `
    -buildArtifactFolder $buildArtifactFolder `
    -CreateRuntimePackages:$CreateRuntimePackages `
    -appBuild $appBuild -appRevision $appRevision `
    -rulesetFile $rulesetfile `
    -vsixFile (Get-LatestAlLanguageExtensionUrl)

if ($environment -eq 'AzureDevOps') {
    Write-Host "##vso[task.setvariable variable=TestResults]$allTestResults"
}

Pipeline:
trigger: none

schedules:
- cron: '0 9 * * Sunday'
  displayName: Weekly Next Major build
  branches:
    include:
    - main
  always: true

pool:
  vmImage: 'Windows-Latest'

variables:
- group: BuildVariablesa

jobs:
- job: Build
  timeoutInMinutes: 300
  variables:
    build.clean: all
    platform: x64
    version: "nextmajor"
    appBuild:<PHONE_NUMBER>
    appRevision: 0
    skipComponentGovernanceDetection: True

  steps:
  - task: PowerShell@2
    displayName: 'Run Pipeline'
    env:
      InsiderSasToken: '$(InsiderSasToken)'
      LicenseFile: '$(LicenseFile)'
      CodeSignCertPfxFile: '$(CodeSignCertPfxFile)'
      CodeSignCertPfxPassword: '$(CodeSignCertPfxPassword)'
    inputs:
      targetType: filePath
      filePath: 'scripts\DevOps-Pipeline.ps1'
      arguments: '-environment "AzureDevOps" -version "$(version)" -appBuild $(appBuild) -appRevision $(appRevision)'
      failOnStderr: true

  - task: PublishTestResults@2
    displayName: 'Publish Test Results'
    condition: and(succeeded(),ne(variables['TestResults'],''))
    inputs:
      testResultsFormat: JUnit
      testResultsFiles: '$(testResults)'
      failTaskOnFailedTests: true

  - task: PowerShell@2
    displayName: 'Cleanup'
    condition: always()
    inputs:
      targetType: filePath
      filePath: 'scripts\Cleanup.ps1'
      arguments: '-environment "AzureDevOps"'
      failOnStderr: false

Full output of scripts
2021-05-17T07:21:15.3006884Z ##[section]Starting: Build
2021-05-17T07:21:15.4915983Z ##[section]Starting: Initialize job
2021-05-17T07:21:15.4917202Z Agent name: 'Hosted Agent'
2021-05-17T07:21:15.4917483Z Agent machine name: 'fv-az420-350'
2021-05-17T07:21:15.4917844Z Current agent version: '2.186.1'
2021-05-17T07:21:15.4954380Z ##[group]Operating System
2021-05-17T07:21:15.4954583Z Microsoft Windows Server 2019
2021-05-17T07:21:15.4954736Z 10.0.17763
2021-05-17T07:21:15.4954852Z Datacenter
2021-05-17T07:21:15.4954984Z ##[endgroup]
2021-05-17T07:21:15.4955119Z ##[group]Virtual Environment
2021-05-17T07:21:15.4955284Z Environment: windows-2019
2021-05-17T07:21:15.4955429Z Version: 20210509.1
2021-05-17T07:21:15.4955790Z Included Software: https://github.com/actions/virtual-environments/blob/win19/20210509.1/images/win/Windows2019-Readme.md
2021-05-17T07:21:15.4956117Z Image Release: https://github.com/actions/virtual-environments/releases/tag/win19%2F20210509.1
2021-05-17T07:21:15.4956321Z ##[endgroup]
2021-05-17T07:21:15.4957206Z Current image version: '20210509.1'
2021-05-17T07:21:15.4962513Z Agent running as: 'VssAdministrator'
2021-05-17T07:21:15.4992294Z Prepare build directory.
2021-05-17T07:21:15.5199166Z Set build variables.
2021-05-17T07:21:15.5224690Z Download all required tasks.
2021-05-17T07:21:15.5317192Z Downloading task: AzureKeyVault (1.182.1)
2021-05-17T07:21:16.2540180Z Downloading task: PowerShell (2.180.1)
2021-05-17T07:21:16.9884472Z Downloading task: PublishTestResults (2.180.0)
2021-05-17T07:21:17.4161355Z Checking job knob settings.
2021-05-17T07:21:17.4168983Z    Knob: AgentToolsDirectory = C:\hostedtoolcache\windows Source: ${AGENT_TOOLSDIRECTORY}
2021-05-17T07:21:17.4170145Z    Knob: AgentPerflog = c:\vsts\perflog Source: ${VSTS_AGENT_PERFLOG}
2021-05-17T07:21:17.4171552Z    Knob: TaskRestrictionsEnforcementMode = WarningOnly Source: $(agent.taskRestrictionsEnforcementMode)
2021-05-17T07:21:17.4172085Z    Knob: EnableTaskRestrictionsTelemetry = true Source: $(agent.enableTaskRestrictionsTelemetry)
2021-05-17T07:21:17.4172749Z Finished checking job knob settings.
2021-05-17T07:21:17.4467350Z Start tracking orphan processes.
2021-05-17T07:21:17.4523547Z ##[section]Finishing: Initialize job
2021-05-17T07:21:17.4738132Z ##[section]Starting: Download secrets: EvolveAppVault
2021-05-17T07:21:17.5208174Z ==============================================================================
2021-05-17T07:21:17.5208662Z Task         : Azure Key Vault
2021-05-17T07:21:17.5209020Z Description  : Download Azure Key Vault secrets
2021-05-17T07:21:17.5209231Z Version      : 1.182.1
2021-05-17T07:21:17.5209538Z Author       : Microsoft Corporation
2021-05-17T07:21:17.5209943Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-key-vault
2021-05-17T07:21:17.5210262Z ==============================================================================
2021-05-17T07:21:19.1419999Z ##[section]Finishing: Download secrets: EvolveAppVault
2021-05-17T07:21:19.1448174Z ##[section]Starting: Download secrets: EvolveAppVault
2021-05-17T07:21:19.1547155Z ==============================================================================
2021-05-17T07:21:19.1547415Z Task         : Azure Key Vault
2021-05-17T07:21:19.1547629Z Description  : Download Azure Key Vault secrets
2021-05-17T07:21:19.1547810Z Version      : 1.182.1
2021-05-17T07:21:19.1548006Z Author       : Microsoft Corporation
2021-05-17T07:21:19.1548267Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-key-vault
2021-05-17T07:21:19.1548628Z ==============================================================================
2021-05-17T07:21:19.3679821Z SubscriptionId: 86fd66f9-bf10-485c-bcc6-3434264cfd90.
2021-05-17T07:21:19.3681447Z Key vault name: EvolveAppVault.
2021-05-17T07:21:19.3694685Z Downloading secret value for: CodeSignPfxFile.
2021-05-17T07:21:19.5732824Z Downloading secret value for: CodeSignPfxPassword.
2021-05-17T07:21:19.5733887Z Downloading secret value for: insiderSasToken.
2021-05-17T07:21:19.5736366Z Downloading secret value for: LicenseFile.
2021-05-17T07:21:19.5737162Z Downloading secret value for: Password.
2021-05-17T07:21:19.5738034Z Downloading secret value for: StorageConnectionString.
2021-05-17T07:21:19.5738841Z Downloading secret value for: Username.
2021-05-17T07:21:21.1522668Z ##[section]Finishing: Download secrets: EvolveAppVault
2021-05-17T07:21:21.1555292Z ##[section]Starting: Checkout RMS@main to s
2021-05-17T07:21:21.1665449Z ==============================================================================
2021-05-17T07:21:21.1665815Z Task         : Get sources
2021-05-17T07:21:21.1666174Z Description  : Get sources from a repository.  You can look around, make experimental
2021-05-17T07:21:29.0554756Z changes and commit them, and you can discard any commits you make in this
2021-05-17T07:21:29.0555539Z state without impacting any branches by switching back to a branch.
2021-05-17T07:21:29.0556170Z
2021-05-17T07:21:29.0556788Z If you want to create a new branch to retain commits you create, you may
2021-05-17T07:21:29.0557505Z do so (now or later) by using -c with the switch command. Example:
2021-05-17T07:21:29.0558017Z
2021-05-17T07:21:29.0558586Z   git switch -c <new-branch-name>
2021-05-17T07:21:29.0559169Z
2021-05-17T07:21:29.0559756Z Or undo this operation with:
2021-05-17T07:21:29.0560188Z
2021-05-17T07:21:29.0560734Z   git switch -
2021-05-17T07:21:29.0561148Z
2021-05-17T07:21:29.0561770Z Turn off this advice by setting config variable advice.detachedHead to false
2021-05-17T07:21:29.0562433Z
2021-05-17T07:21:29.0563015Z HEAD is now at 4b821d8 Merged PR 28: Bring up to v17, address compiler errors/warnings
2021-05-17T07:21:29.0696383Z ##[section]Finishing: Checkout RMS@main to s
2021-05-17T07:21:29.0721095Z ##[section]Starting: Run Pipeline
2021-05-17T07:21:29.0813447Z ==============================================================================
2021-05-17T07:21:29.0813729Z Task         : PowerShell
2021-05-17T07:21:29.0813978Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2021-05-17T07:21:29.0814192Z Version      : 2.180.1
2021-05-17T07:21:29.0814395Z Author       : Microsoft Corporation
2021-05-17T07:21:29.0814669Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2021-05-17T07:21:29.0814986Z ==============================================================================
2021-05-17T07:21:30.0642656Z Generating script.
2021-05-17T07:21:30.0681744Z Formatted command: . 'D:\a\1\s\scripts\DevOps-Pipeline.ps1' -environment "AzureDevOps" -version "nextmajor" -appBuild<PHONE_NUMBER> -appRevision 0
2021-05-17T07:21:30.1770852Z ========================== Starting Command Output ===========================
2021-05-17T07:21:30.2001238Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a\_temp\23309086-82ec-420d-ae97-cfbd9a3fdd38.ps1'"
2021-05-17T07:21:30.5450808Z Set artifact = ///gb/NextMajor/{INSIDERSASTOKEN}
2021-05-17T07:21:30.5509128Z Set pipelineName = rms-nextmajor
2021-05-17T07:21:30.5516266Z Set containerName = hostedagent-rms-nextmajor
2021-05-17T07:21:30.5660976Z Set installApps = ''
2021-05-17T07:21:30.5684812Z Set previousApps = ''
2021-05-17T07:21:30.5710058Z Set appSourceCopMandatoryAffixes = 'iMS'
2021-05-17T07:21:30.5729861Z Set appSourceCopSupportedCountries = 'gb'
2021-05-17T07:21:30.5752400Z Set appFolders = 'src'
2021-05-17T07:21:30.5775350Z Set testFolders = 'test'
2021-05-17T07:21:30.5796829Z Set memoryLimit = '6G'
2021-05-17T07:21:30.5820774Z Set additionalCountries = ''
2021-05-17T07:21:30.5842795Z Set genericImageName = ''
2021-05-17T07:21:30.5870061Z Set vaultNameForLocal = 'evolveAppVault'
2021-05-17T07:21:30.5888140Z Set bcContainerHelperVersion = 'Latest'
2021-05-17T07:21:30.5924785Z Set installTestFramework = True
2021-05-17T07:21:30.5958038Z Set installTestLibraries = True
2021-05-17T07:21:30.5981028Z Set installPerformanceToolkit = False
2021-05-17T07:21:30.6003668Z Set enableCodeCop = True
2021-05-17T07:21:30.6025872Z Set enableAppSourceCop = True
2021-05-17T07:21:30.6048706Z Set enablePerTenantExtensionCop = False
2021-05-17T07:21:30.6070659Z Set enableUICop = True
2021-05-17T07:21:30.6093312Z Set doNotSignApps = True
2021-05-17T07:21:30.6101368Z Set doNotRunTests = False
2021-05-17T07:21:30.6108512Z Set cacheImage = False
2021-05-17T07:21:30.6114952Z Set CreateRuntimePackages = False
2021-05-17T07:21:30.6140818Z Set rulesetfile = '_RuleSets\ims.ruleset.json'
2021-05-17T07:21:30.6164112Z Set appPackages = '.packages'
2021-05-17T07:21:31.2519009Z Downloading https://bccontainerhelper.azureedge.net/public/2.0.11.zip
2021-05-17T07:21:37.9462486Z BcContainerHelper version 2.0.11
2021-05-17T07:21:39.3875832Z Determining artifacts to use
2021-05-17T07:22:03.4114890Z   _____                               _
2021-05-17T07:22:03.4131940Z  |  __ \                             | |
2021-05-17T07:22:03.4140640Z  | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___
2021-05-17T07:22:03.4152499Z  |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
2021-05-17T07:22:03.4166609Z  | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
2021-05-17T07:22:03.4184326Z  |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/
2021-05-17T07:22:03.4184988Z
2021-05-17T07:22:03.4191500Z Pipeline name               rms-nextmajor
2021-05-17T07:22:03.4999381Z Container name              hostedagent-rms-nextmajor
2021-05-17T07:22:03.5007409Z Image name
2021-05-17T07:22:03.5018300Z ArtifactUrl                 https://bcinsider.azureedge.net/sandbox/19.0.25577.0/gb
2021-05-17T07:22:03.5026578Z SasToken                    Specified
2021-05-17T07:22:03.5037224Z BcAuthContext               Not Specified
2021-05-17T07:22:03.5050715Z Environment
2021-05-17T07:22:03.5056668Z ReUseContainer              False
2021-05-17T07:22:03.5069065Z KeepContainer               False
2021-05-17T07:22:03.5076243Z Credential                  admin/Nuqu8533
2021-05-17T07:22:03.5096805Z MemoryLimit                 6G
2021-05-17T07:22:03.5107669Z Enable Task Scheduler       False
2021-05-17T07:22:03.5115583Z Assign Premium Plan         False
2021-05-17T07:22:03.5119594Z Install Test Runner         False
2021-05-17T07:22:03.5126070Z Install Test Framework      True
2021-05-17T07:22:03.5128843Z Install Test Libraries      True
2021-05-17T07:22:03.5135850Z Install Perf. Toolkit       False
2021-05-17T07:22:03.5139984Z CopySymbolsFromContainer    False
2021-05-17T07:22:03.5144718Z enableCodeCop               True
2021-05-17T07:22:03.5149341Z enableAppSourceCop          True
2021-05-17T07:22:03.5153640Z enableUICop                 True
2021-05-17T07:22:03.5158390Z enablePerTenantExtensionCop False
2021-05-17T07:22:03.5161853Z escapeFromCops              False
2021-05-17T07:22:03.5167796Z useDefaultAppSourceRuleSet  False
2021-05-17T07:22:03.5172829Z rulesetFile                 D:\a\1\s\_RuleSets\ims.ruleset.json
2021-05-17T07:22:03.5176654Z azureDevOps                 True
2021-05-17T07:22:03.5183782Z License file                Specified
2021-05-17T07:22:03.5187050Z CodeSignCertPfxFile         Not specified
2021-05-17T07:22:03.5193610Z TestResultsFile             D:\a\1\s\TestResults.xml
2021-05-17T07:22:03.5197406Z TestResultsFormat           JUnit
2021-05-17T07:22:03.5203878Z AdditionalCountries
2021-05-17T07:22:03.5207416Z PackagesFolder              D:\a\1\s\.packages
2021-05-17T07:22:03.5213780Z OutputFolder                D:\a\1\s\.output
2021-05-17T07:22:03.5217117Z BuildArtifactFolder         D:\a\1\a
2021-05-17T07:22:03.5233262Z CreateRuntimePackages       False
2021-05-17T07:22:03.5241679Z AppBuild<PHONE_NUMBER>
2021-05-17T07:22:03.5248480Z AppRevision                 0
2021-05-17T07:22:03.5255877Z Mandatory Affixes           iMS
2021-05-17T07:22:03.5263149Z Supported Countries         gb
2021-05-17T07:22:03.5266602Z Install Apps
2021-05-17T07:22:03.5272659Z - None
2021-05-17T07:22:03.5276195Z Install Test Apps
2021-05-17T07:22:03.5282584Z - None
2021-05-17T07:22:03.5286090Z Previous Apps
2021-05-17T07:22:03.5292081Z - None
2021-05-17T07:22:03.5295362Z Application folders
2021-05-17T07:22:03.5301259Z - D:\a\1\s\src
2021-05-17T07:22:03.5304463Z Test application folders
2021-05-17T07:22:03.5311883Z - D:\a\1\s\test
2021-05-17T07:22:03.5312321Z
2021-05-17T07:22:03.5318291Z   _____       _ _ _                                          _        _
2021-05-17T07:22:03.5322047Z  |  __ \     | | (_)                                        (_)      (_)
2021-05-17T07:22:03.5328531Z  | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___
2021-05-17T07:22:03.5332080Z  |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
2021-05-17T07:22:03.5338473Z  | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
2021-05-17T07:22:03.5342000Z  |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
2021-05-17T07:22:03.5348426Z                            __/ |   __/ |                                                 __/ |
2021-05-17T07:22:03.5351940Z                           |___/   |___/                                                 |___/
2021-05-17T07:22:03.5354368Z
2021-05-17T07:22:04.3725142Z Pulling mcr.microsoft.com/businesscentral:10.0.17763.1879
2021-05-17T07:27:51.8411806Z
2021-05-17T07:27:51.8422952Z Pulling generic image took 348 seconds
2021-05-17T07:27:51.8460688Z
2021-05-17T07:27:51.8467810Z    _____                _   _                               _        _
2021-05-17T07:27:51.8472113Z   / ____|              | | (_)                             | |      (_)
2021-05-17T07:27:51.8478700Z  | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __
2021-05-17T07:27:51.8482759Z  | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2021-05-17T07:27:51.8489286Z  | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |
2021-05-17T07:27:51.8493052Z   \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|
2021-05-17T07:27:51.8499603Z                                      __/ |
2021-05-17T07:27:51.8503298Z                                     |___/
2021-05-17T07:27:51.8505884Z
2021-05-17T07:27:52.7562336Z WARNING: Container name should not exceed 15 characters
2021-05-17T07:27:52.9733768Z BcContainerHelper is version 2.0.11
2021-05-17T07:27:52.9738627Z BcContainerHelper is running as administrator
2021-05-17T07:27:52.9754685Z Host is Microsoft Windows Server 2019 Datacenter - ltsc2019
2021-05-17T07:27:55.1639224Z Docker Client Version is 20.10.4
2021-05-17T07:27:55.1658223Z Docker Server Version is 20.10.4
2021-05-17T07:27:56.0504717Z Downloading application artifact /sandbox/19.0.25577.0/gb
2021-05-17T07:27:56.0576581Z Downloading C:\Users\Vss***istrator\AppData\Local\Temp\72b21328-1d9e-416c-945f-0bb48c8f6107.zip
2021-05-17T07:28:11.0625727Z Unpacking application artifact to tmp folder using 7zip
2021-05-17T07:28:19.9977262Z Downloading platform artifact /sandbox/19.0.25577.0/platform
2021-05-17T07:28:20.0001491Z Downloading C:\Users\Vss***istrator\AppData\Local\Temp\088834d0-3b4c-4593-9403-acb7b30b3b32.zip
2021-05-17T07:28:38.1396573Z Unpacking platform artifact to tmp folder using 7zip
2021-05-17T07:29:03.9741010Z Downloading Prerequisite Components
2021-05-17T07:29:03.9840324Z Downloading c:\bcartifacts.cache\sandbox\19.0.25577.0\platform\Prerequisite Components\Open XML SDK 2.5 for Microsoft Office\OpenXMLSDKv25.msi
2021-05-17T07:29:04.1716144Z Downloading c:\bcartifacts.cache\sandbox\19.0.25577.0\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
2021-05-17T07:29:04.5080819Z Downloading c:\bcartifacts.cache\sandbox\19.0.25577.0\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
2021-05-17T07:29:06.7358573Z Fetching all docker images
2021-05-17T07:29:07.0435978Z Fetching all docker volumes
2021-05-17T07:29:07.9231068Z Using image mcr.microsoft.com/businesscentral:10.0.17763.1879
2021-05-17T07:29:08.1413395Z Creating Container hostedagent-rms-nextmajor
2021-05-17T07:29:08.1417582Z Version: 19.0.25577.0-GB
2021-05-17T07:29:08.1424057Z Style: sandbox
2021-05-17T07:29:08.1429823Z Multitenant: Yes
2021-05-17T07:29:08.1437686Z Platform: 18.0.25462.0
2021-05-17T07:29:08.1443779Z Generic Tag: <IP_ADDRESS>
2021-05-17T07:29:08.1475522Z Container OS Version: 10.0.17763.1879 (ltsc2019)
2021-05-17T07:29:08.1482174Z Host OS Version: 10.0.17763.1879 (ltsc2019)
2021-05-17T07:29:08.1501273Z Using process isolation
2021-05-17T07:29:08.1521577Z Using locale en-GB
2021-05-17T07:29:08.1539038Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
2021-05-17T07:29:08.1722403Z Downloading C:\ProgramData\BcContainerHelper\Extensions\hostedagent-rms-nextmajor\Microsoft.VisualStudio.Services.VSIXPackage.vsix
2021-05-17T07:29:08.6320372Z Using license file https://evolveapp.blob.core.windows.net/app/BC18License.flf
2021-05-17T07:29:08.6372143Z Downloading C:\ProgramData\BcContainerHelper\Extensions\hostedagent-rms-nextmajor\my\license.flf
2021-05-17T07:29:08.8032738Z Additional Parameters:
2021-05-17T07:29:08.8042424Z --volume "D:\a\1\s:c:\sources"
2021-05-17T07:29:08.8046514Z --env customNavSettings=EnableTaskScheduler=False
2021-05-17T07:29:08.8051283Z Files in C:\ProgramData\BcContainerHelper\Extensions\hostedagent-rms-nextmajor\my:
2021-05-17T07:29:08.8084010Z - AdditionalOutput.ps1
2021-05-17T07:29:08.8094359Z - license.flf
2021-05-17T07:29:08.8097240Z - MainLoop.ps1
2021-05-17T07:29:08.8102743Z - SetupVariables.ps1
2021-05-17T07:29:08.8109546Z - updatehosts.ps1
2021-05-17T07:29:08.8114172Z Creating container hostedagent-rms-nextmajor from image mcr.microsoft.com/businesscentral:10.0.17763.1879
2021-05-17T07:29:09.5092748Z 53922fe89b81c8854435e71fff2eebae1c41d9eae5ef61cd1597b1a39c368591
2021-05-17T07:29:25.8432639Z Waiting for container hostedagent-rms-nextmajor to be ready
2021-05-17T07:29:54.7792889Z Adding HOSTEDAGENT-RMS to hosts file
2021-05-17T07:29:57.2162036Z Using artifactUrl https://bcinsider.azureedge.net/sandbox/19.0.25577.0/gb
2021-05-17T07:29:58.1732519Z Using installer from C:\Run\150-new
2021-05-17T07:29:58.1733105Z Installing Business Central
2021-05-17T07:29:58.1733566Z Installing from artifacts
2021-05-17T07:30:10.4874371Z Starting Local SQL Server
2021-05-17T07:30:10.4890826Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to
2021-05-17T07:30:12.1080764Z start...
2021-05-17T07:30:12.1088317Z Starting Internet Information Server
2021-05-17T07:30:12.1091117Z Copying Service Tier Files
2021-05-17T07:30:12.1095751Z c:\dl\sandbox\19.0.25577.0\platform\ServiceTier\Program Files
2021-05-17T07:30:16.3339462Z c:\dl\sandbox\19.0.25577.0\platform\ServiceTier\System64Folder
2021-05-17T07:30:16.3340528Z Copying PowerShell Scripts
2021-05-17T07:30:16.3346778Z c:\dl\sandbox\19.0.25577.0\platform\WindowsPowerShellScripts\Cloud\NAV***istration
2021-05-17T07:30:17.8234697Z c:\dl\sandbox\19.0.25577.0\platform\WindowsPowerShellScripts\WebSearch
2021-05-17T07:30:17.8240514Z Copying dependencies
2021-05-17T07:30:17.8245904Z Copying ReportBuilder
2021-05-17T07:30:17.8251107Z Importing PowerShell Modules
2021-05-17T07:30:51.1241901Z Determining Database Collation from c:\dl\sandbox\19.0.25577.0\gb\BusinessCentral-GB.bak
2021-05-17T07:30:52.5378973Z Restoring CRONUS Demo Database
2021-05-17T07:30:55.1606732Z Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
2021-05-17T07:32:19.3263688Z Exporting Application to CRONUS
2021-05-17T07:32:23.7445829Z Removing Application from tenant
2021-05-17T07:32:23.7451230Z Modifying Business Central Service Tier Config File for Docker
2021-05-17T07:32:23.7462748Z Creating Business Central Service Tier
2021-05-17T07:32:23.7469178Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2021-05-17T07:32:23.7472701Z Copying Web Client Files
2021-05-17T07:32:23.7483184Z c:\dl\sandbox\19.0.25577.0\platform\WebClient\Microsoft Dynamics NAV
2021-05-17T07:32:23.7486673Z Copying Client Files
2021-05-17T07:32:23.7493054Z c:\dl\sandbox\19.0.25577.0\platform\LegacyDlls\program files\Microsoft Dynamics NAV
2021-05-17T07:32:23.7504267Z c:\dl\sandbox\19.0.25577.0\platform\LegacyDlls\program files\Microsoft Dynamics NAV
2021-05-17T07:32:23.7504924Z c:\dl\sandbox\19.0.25577.0\platform\LegacyDlls\systemFolder
2021-05-17T07:32:23.7508987Z Copying ModernDev Files
2021-05-17T07:32:23.7516969Z c:\dl\sandbox\19.0.25577.0\platform
2021-05-17T07:32:23.7519981Z c:\dl\sandbox\19.0.25577.0\platform\ModernDev\program files\Microsoft Dynamics NAV
2021-05-17T07:32:23.7527483Z Copying additional files
2021-05-17T07:32:23.7532962Z Copying ConfigurationPackages
2021-05-17T07:32:23.7540664Z C:\dl\sandbox\19.0.25577.0\platform\ConfigurationPackages
2021-05-17T07:32:23.7553615Z Copying Test Assemblies
2021-05-17T07:32:23.7554153Z C:\dl\sandbox\19.0.25577.0\platform\Test Assemblies
2021-05-17T07:32:23.7559337Z Copying Extensions
2021-05-17T07:32:23.7564125Z C:\dl\sandbox\19.0.25577.0\gb\Extensions
2021-05-17T07:32:23.7573854Z Copying Applications
2021-05-17T07:32:23.7580130Z C:\dl\sandbox\19.0.25577.0\platform\Applications
2021-05-17T07:32:23.7583611Z Copying Applications.GB
2021-05-17T07:32:23.7587489Z C:\dl\sandbox\19.0.25577.0\gb\Applications.GB
2021-05-17T07:32:38.1039062Z Starting Business Central Service Tier
2021-05-17T07:32:48.3440356Z Importing license file
2021-05-17T07:32:48.3447001Z Copying Database on localhost\SQLEXPRESS from tenant to default
2021-05-17T07:32:48.3457247Z Taking database tenant offline
2021-05-17T07:32:48.3464047Z Copying database files
2021-05-17T07:32:52.5372118Z Attaching files as new Database default
2021-05-17T07:32:52.5377839Z Putting database tenant back online
2021-05-17T07:32:52.5384938Z Mounting tenant database
2021-05-17T07:33:58.0394544Z Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
2021-05-17T07:33:58.0402874Z Sync'ing Tenant
2021-05-17T07:33:58.0409264Z Tenant is Operational
2021-05-17T07:33:58.0420780Z Stopping Business Central Service Tier
2021-05-17T07:33:58.0426221Z Installation took 241 seconds
2021-05-17T07:33:58.0431433Z Installation complete
2021-05-17T07:33:59.1494589Z Initializing...
2021-05-17T07:33:59.1497974Z Setting host.containerhelper.internal to <IP_ADDRESS> in container hosts file
2021-05-17T07:33:59.1504870Z Starting Container
2021-05-17T07:33:59.1508330Z Hostname is hostedagent-rms-nextmajor
2021-05-17T07:33:59.1512489Z PublicDnsName is hostedagent-rms-nextmajor
2021-05-17T07:34:00.3993166Z Using NavUserPassword Authentication
2021-05-17T07:34:02.6975390Z Creating Self Signed Certificate
2021-05-17T07:34:02.6980270Z Self Signed Certificate Thumbprint 806433211B237C3421286622D8F0FACAD9EDC2AF
2021-05-17T07:34:04.1437521Z Modifying Service Tier Config File with Instance Specific Settings
2021-05-17T07:34:04.1445046Z Modifying Service Tier Config File with settings from environment variable
2021-05-17T07:34:05.6830692Z Setting EnableTaskScheduler to False
2021-05-17T07:34:11.0302477Z Starting Service Tier
2021-05-17T07:34:11.0317598Z Registering event sources
2021-05-17T07:34:18.7972385Z Creating DotNetCore Web Server Instance
2021-05-17T07:34:18.7978226Z Enabling Financials User Experience
2021-05-17T07:34:18.7986155Z Enabling rewrite rule: Don't rewrite system files
2021-05-17T07:34:18.7993472Z Enabling rewrite rule: Already have tenant specified
2021-05-17T07:34:18.7996532Z Enabling rewrite rule: Hostname (without port) to tenant
2021-05-17T07:34:18.8016309Z Using license file 'c:\run\my\license.flf'
2021-05-17T07:34:18.8016761Z Import License
2021-05-17T07:34:18.8017002Z Dismounting Tenant
2021-05-17T07:34:18.8021949Z Mounting Tenant
2021-05-17T07:34:24.3279272Z Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
2021-05-17T07:34:24.3280110Z Sync'ing Tenant
2021-05-17T07:34:24.3285641Z Tenant is Operational
2021-05-17T07:34:24.3290880Z Creating http download site
2021-05-17T07:34:24.3300486Z Setting SA Password and enabling SA
2021-05-17T07:34:24.3304844Z Creating admin as SQL User and add to sysadmin
2021-05-17T07:34:32.5696852Z Creating SUPER user
2021-05-17T07:34:32.5697417Z Container IP Address: <IP_ADDRESS>
2021-05-17T07:34:32.5697952Z Container Hostname  : hostedagent-rms-nextmajor
2021-05-17T07:34:32.5707089Z Container Dns Name  : hostedagent-rms-nextmajor
2021-05-17T07:34:32.5713627Z Web Client          : http://hostedagent-rms-nextmajor/BC/?tenant=default
2021-05-17T07:34:32.5718454Z Dev. Server         : http://hostedagent-rms-nextmajor
2021-05-17T07:34:32.5724465Z Dev. ServerInstance : BC
2021-05-17T07:34:32.5732090Z Dev. Server Tenant  : default
2021-05-17T07:34:32.5736430Z Setting hostedagent-rms-nextmajor to <IP_ADDRESS> in host hosts file
2021-05-17T07:34:32.5744268Z Setting hostedagent-rms-nextmajor-default to <IP_ADDRESS> in host hosts file
2021-05-17T07:34:32.5747467Z Setting hostedagent-rms-nextmajor-default to <IP_ADDRESS> in container hosts file
2021-05-17T07:34:32.5752767Z
2021-05-17T07:34:32.5758621Z Files:
2021-05-17T07:34:32.5775148Z http://hostedagent-rms-nextmajor:8080/Microsoft.VisualStudio.Services.VSIXPackage.vsix
2021-05-17T07:34:32.5784397Z
2021-05-17T07:34:32.5789377Z Container Total Physical Memory is 7.0Gb
2021-05-17T07:34:32.5795458Z Container Free Physical Memory is 2.9Gb
2021-05-17T07:34:32.5798350Z
2021-05-17T07:34:32.5806826Z Initialization took 35 seconds
2021-05-17T07:34:32.5811734Z Ready for connections!
2021-05-17T07:34:32.5874222Z Reading CustomSettings.config from hostedagent-rms-nextmajor
2021-05-17T07:34:35.1132396Z Creating Desktop Shortcuts for hostedagent-rms-nextmajor
2021-05-17T07:34:35.4223315Z Container hostedagent-rms-nextmajor successfully created
2021-05-17T07:34:35.4226581Z
2021-05-17T07:34:35.4232194Z Use:
2021-05-17T07:34:35.4247221Z Get-BcContainerEventLog -containerName hostedagent-rms-nextmajor to retrieve a snapshot of the event log from the container
2021-05-17T07:34:35.4251483Z Get-BcContainerDebugInfo -containerName hostedagent-rms-nextmajor to get debug information about the container
2021-05-17T07:34:35.4261595Z Enter-BcContainer -containerName hostedagent-rms-nextmajor to open a PowerShell prompt inside the container
2021-05-17T07:34:35.4273668Z Remove-BcContainer -containerName hostedagent-rms-nextmajor to remove the container again
2021-05-17T07:34:35.4282360Z docker logs hostedagent-rms-nextmajor to retrieve information about URL's again
2021-05-17T07:34:35.4414322Z
2021-05-17T07:34:35.4419738Z Creating container took 404 seconds
2021-05-17T07:34:35.4429895Z
2021-05-17T07:34:35.4435985Z    _____                      _ _ _
2021-05-17T07:34:35.4439891Z   / ____|                    (_) (_)
2021-05-17T07:34:35.4448285Z  | |     ___  _ __ ___  _ __  _| |_ _ __   __ _    __ _ _ __  _ __  ___
2021-05-17T07:34:35.4453381Z  | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` |  / _` | '_ \| '_ \/ __|
2021-05-17T07:34:35.4459409Z  | |____ (_) | | | | | | |_) | | | | | | | (_| | | (_| | |_) | |_) \__ \
2021-05-17T07:34:35.4473153Z   \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
2021-05-17T07:34:35.4478480Z                        | |                 __/ |       | |   | |
2021-05-17T07:34:35.4485562Z                        |_|                |___/        |_|   |_|
2021-05-17T07:34:35.4485978Z
2021-05-17T07:34:35.5319887Z Using custom ruleset
2021-05-17T07:34:35.5361660Z Using Version 17.3.2147483647.0
2021-05-17T07:34:35.6676219Z Creating AppSourceCop.json for validation
2021-05-17T07:34:36.6512406Z Using Symbols Folder: D:\a\1\s\.packages
2021-05-17T07:34:43.9709970Z Downloading symbols: Microsoft_Application_19.0.25577.0.app
2021-05-17T07:34:43.9752528Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=<IP_ADDRESS>&tenant=default
2021-05-17T07:34:47.6675586Z Adding dependency to System Application from Microsoft
2021-05-17T07:34:47.6680289Z Adding dependency to Base Application from Microsoft
2021-05-17T07:34:47.6694451Z Downloading symbols: Microsoft_System_18.0.25462.0.app
2021-05-17T07:34:47.6706704Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=<IP_ADDRESS>&tenant=default
2021-05-17T07:34:48.5957336Z Downloading symbols: Microsoft_System Application_19.0.25577.0.app
2021-05-17T07:34:48.5962737Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=System%20Application&versionText=<IP_ADDRESS>&tenant=default
2021-05-17T07:34:49.7485991Z Downloading symbols: Microsoft_Base Application_19.0.25577.0.app
2021-05-17T07:34:49.7500838Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=Base%20Application&versionText=<IP_ADDRESS>&tenant=default
2021-05-17T07:34:51.0218309Z Compiling...
2021-05-17T07:34:51.0224420Z .\alc.exe /project:"c:\sources\src" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\Evolve iMS Ltd._Rental Management System_17.3.2147483647.0.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll /ruleset:c:\sources\_RuleSets\ims.ruleset.json /assemblyprobingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\180\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\180\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
2021-05-17T07:35:05.5953410Z Microsoft (R) AL Compiler version <IP_ADDRESS>713
2021-05-17T07:35:05.6547985Z Copyright (C) Microsoft Corporation. All rights reserved
2021-05-17T07:35:05.6555059Z
2021-05-17T07:35:05.6577120Z Compilation started for project 'Rental Management System' containing '95' files at '7:34:51.418'.
2021-05-17T07:35:05.6580942Z
2021-05-17T07:35:05.8452800Z ##[warning]c:\sources\src\Page\iMSRentalArchSubform.Page.al(27,50): warning AL0432: Field 'Cross-Reference No.' is marked for removal. Reason: Cross-Reference replaced by Item Reference feature.. Tag: 18.0.
2021-05-17T07:35:05.8518171Z ##[warning]c:\sources\src\Query\iMSRentalLineCertification.Query.al(74,46): warning AL0432: Field 'Cross-Reference Type' is marked for removal. Reason: Cross-Reference replaced by Item Reference feature.. Tag: 17.0.
2021-05-17T07:35:05.8521567Z ##[warning]c:\sources\src\Query\iMSRentalLineSNLot.Query.al(64,42): warning AL0432: Field 'Cross-Reference Type' is marked for removal. Reason: Cross-Reference replaced by Item Reference feature.. Tag: 17.0.
2021-05-17T07:35:05.8527187Z ##[warning]c:\sources\src\Query\iMSReservationEntry.Query.al(86,46): warning AL0432: Field 'Cross-Reference Type' is marked for removal. Reason: Cross-Reference replaced by Item Reference feature.. Tag: 17.0.
2021-05-17T07:35:05.8530402Z ##[warning]c:\sources\src\Page\iMSRentalOrderSubform.Page.al(49,50): warning AL0432: Field 'Cross-Reference No.' is marked for removal. Reason: Cross-Reference replaced by Item Reference feature.. Tag: 17.0.
2021-05-17T07:35:05.8536774Z ##[warning]c:\sources\src\TableExtension\iMSSalesHeader.TableExt.al(291,34): warning AL0432: Table 'Customer Template' is marked for removal. Reason: Deprecate mini and customer templates. Use table "Customer Templ." instead and for extensions.. Tag: 18.0.
2021-05-17T07:35:05.8542674Z ##[warning]c:\sources\src\Codeunit\iMSRMSActRegMgmt.Codeunit.al(290,28): warning AL0432: Method 'SetNewSerialLotNo' is marked for removal. Reason: Replaced by SetNewTrackingFrom() procedures.. Tag: 17.0.
2021-05-17T07:35:05.8545873Z ##[warning]c:\sources\src\Page\iMSRentalOrderSubform.Page.al(57,29): warning AL0432: Method 'CrossReferenceNoLookUp' is marked for removal. Reason: Replaced by same procedure in Item Reference Management codeunit.. Tag: 18.0.
2021-05-17T07:35:05.8551424Z ##[warning]c:\sources\src\Page\iMSRentalOrderSubform.Page.al(1279,33): warning AL0432: Method 'IsFoundationEnabled' is marked for removal. Reason: Use ApplicationAreaMgmtFacade.IsFoundationEnabled instead. Tag: 18.0.
2021-05-17T07:35:05.8556465Z ##[warning]c:\sources\src\Page\iMSRentalOrderSubform.Page.al(1285,33): warning AL0432: Method 'IsFoundationEnabled' is marked for removal. Reason: Use ApplicationAreaMgmtFacade.IsFoundationEnabled instead. Tag: 18.0.
2021-05-17T07:35:05.8559705Z ##[warning]c:\sources\src\Page\iMSRentalOrderSubform.Page.al(1445,33): warning AL0432: Method 'IsFoundationEnabled' is marked for removal. Reason: Use ApplicationAreaMgmtFacade.IsFoundationEnabled instead. Tag: 18.0.
2021-05-17T07:35:05.8566001Z ##[warning]c:\sources\src\TableExtension\iMSSalesCommentLine.TableExt.al(50,36): warning AL0432: Method 'OpenFileDialog' is marked for removal. Reason: The local file system is no longer accessible. Please use the UploadFile procedure.. Tag: 17.3.
2021-05-17T07:35:05.8571887Z ##[warning]c:\sources\src\TableExtension\iMSSalesCommentLine.TableExt.al(77,35): warning AL0432: Method 'ClientDirectoryExists' is marked for removal. Reason: IsLocalFileSystemAccessible always returns false, this procedure will always return false. This procedure will be removed.. Tag: 17.3.
2021-05-17T07:35:05.8575581Z ##[warning]c:\sources\src\TableExtension\iMSSalesHeader.TableExt.al(293,107): warning AL0432: Field 'Sell-to Customer Template Code' is marked for removal. Reason: Will be removed with other functionality related to "old" templates. Replaced by "Sell-to Customer Templ. Code".. Tag: 18.0.
2021-05-17T07:35:05.8581291Z ##[warning]c:\sources\src\TableExtension\iMSSalesHeader.TableExt.al(296,30): warning AL0432: Field 'Sell-to Customer Template Code' is marked for removal. Reason: Will be removed with other functionality related to "old" templates. Replaced by "Sell-to Customer Templ. Code".. Tag: 18.0.
2021-05-17T07:35:05.8587011Z ##[warning]c:\sources\src\TableExtension\iMSSalesHeader.TableExt.al(368,22): warning AL0432: Method 'OpenFileDialog' is marked for removal. Reason: The local file system is no longer accessible. Please use the UploadFile procedure.. Tag: 17.3.
2021-05-17T07:35:05.8588463Z c:\sources\src\Table\iMSReservationEntryArchive.Table.al(170,19): info AA0232: The FlowField Quantity of "Action Message Entry" should be added to the SIFT key.
2021-05-17T07:35:05.8589232Z c:\sources\src\Table\iMSRMSItemLedgerEntry.Table.al(169,19): info AA0232: The FlowField "Quantity (Base)" of "Reservation Entry" should be added to the SIFT key.
2021-05-17T07:35:05.8590029Z c:\sources\src\TableExtension\iMSItem.TableExt.al(104,24): info AA0232: The FlowField "Outstanding Qty. (Base)" of "Sales Line" should be added to the SIFT key.
2021-05-17T07:35:05.8590769Z c:\sources\src\Table\iMSSerialLotNoInformat.Table.al(44,19): info AA0232: The FlowField "Entry No." of "Warehouse Entry" should be added to the SIFT key.
2021-05-17T07:35:05.8593863Z c:\sources\src\TableExtension\iMSLotNoInformation.TableExt.al(74,24): info AA0232: The FlowField "Entry No." of "Warehouse Entry" should be added to the SIFT key.
2021-05-17T07:35:05.8594643Z c:\sources\src\TableExtension\iMSReturnReason.TableExt.al(12,24): info AA0232: The FlowField Quantity of "Item Ledger Entry" should be added to the SIFT key.
2021-05-17T07:35:05.8595472Z c:\sources\src\TableExtension\iMSSalesArchiveHeader.TableExt.al(59,24): info AA0232: The FlowField Quantity of "Sales Line" should be added to the SIFT key.
2021-05-17T07:35:05.8596225Z c:\sources\src\Page\iMSRentalLines.Page.al(1,14): info AW0006: The page 'iMS Rental Lines' should use the UsageCategory and ApplicationArea properties to be searchable.
2021-05-17T07:35:05.8596962Z c:\sources\src\TableExtension\iMSSalesHeader.TableExt.al(133,24): info AA0232: The FlowField Quantity of "Sales Line" should be added to the SIFT key.
2021-05-17T07:35:05.8597841Z c:\sources\src\TableExtension\iMSSalesLine.TableExt.al(12,24): info AA0232: The FlowField Quantity of "iMS Rental Article" should be added to the SIFT key.
2021-05-17T07:35:05.8598683Z c:\sources\src\TableExtension\iMSSerialNoInformation.TableExt.al(63,24): info AA0232: The FlowField "Entry No." of "Warehouse Entry" should be added to the SIFT key.
2021-05-17T07:35:05.8603960Z ##[warning]c:\sources\src\app.json(29,5): warning AS0053: The compilation target is set to 'OnPrem', but it must be set to 'Cloud' or 'Extension'.
2021-05-17T07:35:05.8607365Z ##[warning]c:\sources\src\app.json(1,1): warning AS0092: The 'applicationInsightsKey' property must specify the instrumentation key of the Azure Application Insights resource for monitoring operations related to this extension. See https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/administration/telemetry-overview for additional information.
2021-05-17T07:35:05.8613491Z ##[warning]c:\sources\src\Page\iMSRentalDocumentsFactbox.Page.al(27,19): warning AA0225: The Caption property for PageField "DocName[DocIndex::DGD]" must be filled in.
2021-05-17T07:35:05.8614601Z
2021-05-17T07:35:05.8615023Z Compilation ended at '7:35:5.471'.
2021-05-17T07:35:05.8615174Z
2021-05-17T07:35:05.8615687Z D:\a\1\s\.output\Evolve iMS Ltd._Rental Management System_17.3.2147483647.0.app successfully created in 30 seconds
2021-05-17T07:35:05.8619170Z Evolve iMS Ltd._Rental Management System_17.3.2147483647.0.app copied to D:\a\1\s\.packages
2021-05-17T07:35:05.8620021Z   _____                            _   _               _______       _     _______          _ _    _ _
2021-05-17T07:35:05.8620651Z  |_   _|                          | | (_)             |__   __|     | |   |__   __|        | | |  (_) |
2021-05-17T07:35:05.8621185Z    | |  _ __ ___  _ __   ___  _ __| |_ _ _ __   __ _     | | ___ ___| |_     | | ___   ___ | | | ___| |_
2021-05-17T07:35:05.8621714Z    | | | '_ ` _ \| '_ \ / _ \| '__| __| | '_ \ / _` |    | |/ _ \ __| __|    | |/ _ \ / _ \| | |/ / | __|
2021-05-17T07:35:05.8622334Z   _| |_| | | | | | |_) | (_) | |  | |_| | | | | (_| |    | |  __\__ \ |_     | | (_) | (_) | |   <| | |_
2021-05-17T07:35:05.8622947Z  |_____|_| |_| |_| .__/ \___/|_|   \__|_|_| |_|\__, |    |_|\___|___/\__|    |_|\___/ \___/|_|_|\_\_|\__|
2021-05-17T07:35:05.8623534Z                  | |                            __/ |
2021-05-17T07:35:05.8624155Z                  |_|                           |___/
2021-05-17T07:35:06.9226371Z Synchronizing Permissions Mock on default
2021-05-17T07:35:07.1755152Z App successfully synchronized
2021-05-17T07:35:07.1907145Z Installing Permissions Mock on default
2021-05-17T07:35:08.6617383Z App successfully installed
2021-05-17T07:35:08.6909341Z Synchronizing Test Runner on default
2021-05-17T07:35:08.9675986Z App successfully synchronized
2021-05-17T07:35:08.9754675Z Installing Test Runner on default
2021-05-17T07:35:10.1689103Z App successfully installed
2021-05-17T07:35:10.2002824Z Synchronizing Any on default
2021-05-17T07:35:10.2316555Z App successfully synchronized
2021-05-17T07:35:10.2528625Z Installing Any on default
2021-05-17T07:35:10.3468486Z App successfully installed
2021-05-17T07:35:10.3731501Z Synchronizing Library Assert on default
2021-05-17T07:35:10.4015102Z App successfully synchronized
2021-05-17T07:35:10.4134030Z Installing Library Assert on default
2021-05-17T07:35:10.6568082Z App successfully installed
2021-05-17T07:35:10.6827935Z Skipping app 'C:\Applications.GB\Microsoft_Permissions Mock_19.0.25577.0.app' as it is already installed
2021-05-17T07:35:10.7081266Z Synchronizing Library Variable Storage on default
2021-05-17T07:35:10.7758956Z App successfully synchronized
2021-05-17T07:35:10.7941671Z Installing Library Variable Storage on default
2021-05-17T07:35:10.8915759Z App successfully installed
2021-05-17T07:35:11.7127046Z Publishing C:\ProgramData\BcContainerHelper\Extensions\hostedagent-rms-nextmajor\59749d4a-73e4-4ae4-9231-cf25fbe3ed23\Microsoft_System Application Test Library_19.0.25577.0.app
2021-05-17T07:35:16.6710170Z Synchronizing System Application Test Library on tenant default
2021-05-17T07:35:17.0984285Z Installing System Application Test Library on tenant default
2021-05-17T07:35:18.0664212Z App Microsoft_System Application Test Library_19.0.25577.0.app successfully published
2021-05-17T07:35:18.7331537Z Publishing C:\ProgramData\BcContainerHelper\Extensions\hostedagent-rms-nextmajor\8c024a54-98f4-4444-8736-bb054f2d2488\Microsoft_Tests-TestLibraries_19.0.25577.0.app
2021-05-17T07:35:46.4691246Z Synchronizing Tests-TestLibraries on tenant default
2021-05-17T07:35:48.0708583Z Installing Tests-TestLibraries on tenant default
2021-05-17T07:35:50.8005466Z App Microsoft_Tests-TestLibraries_19.0.25577.0.app successfully published
2021-05-17T07:35:50.8017548Z TestToolkit successfully imported
2021-05-17T07:35:50.8030115Z
2021-05-17T07:35:50.8038597Z Importing Test Toolkit took 45 seconds
2021-05-17T07:35:50.8045288Z    _____                      _ _ _               _           _
2021-05-17T07:35:50.8048771Z   / ____|                    (_) (_)             | |         | |
2021-05-17T07:35:50.8053613Z  | |     ___  _ __ ___  _ __  _| |_ _ __   __ _  | |_ ___ ___| |_    __ _ _ __  _ __  ___
2021-05-17T07:35:50.8060891Z  | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` | | __/ _ \ __| __|  / _` | '_ \| '_ \/ __|
2021-05-17T07:35:50.8066317Z  | |____ (_) | | | | | | |_) | | | | | | | (_| | | |_  __\__ \ |_  | (_| | |_) | |_) \__ \
2021-05-17T07:35:50.8076840Z   \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__\___|___/\__|  \__,_| .__/| .__/|___/
2021-05-17T07:35:50.8091523Z                        | |                 __/ |                         | |   | |
2021-05-17T07:35:50.8092122Z                        |_|                |___/                          |_|   |_|
2021-05-17T07:35:50.8092576Z Using Version 17.3.2147483647.0
2021-05-17T07:35:51.3297673Z Using Symbols Folder: D:\a\1\s\.packages
2021-05-17T07:35:52.0611456Z Downloading symbols: Microsoft_Library Assert_19.0.25577.0.app
2021-05-17T07:35:52.0617567Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=Library%20Assert&versionText=<IP_ADDRESS>&tenant=default
2021-05-17T07:35:52.6883815Z Downloading symbols: Microsoft_Tests-TestLibraries_19.0.25577.0.app
2021-05-17T07:35:52.6892636Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=Tests-TestLibraries&versionText=<IP_ADDRESS>&tenant=default
2021-05-17T07:35:53.3683352Z Adding dependency to System Application Test Library from Microsoft
2021-05-17T07:35:53.3689857Z Adding dependency to Library Variable Storage from Microsoft
2021-05-17T07:35:53.3721105Z Adding dependency to Permissions Mock from Microsoft
2021-05-17T07:35:53.3733440Z Downloading symbols: Microsoft_System Application Test Library_19.0.25577.0.app
2021-05-17T07:35:53.3750696Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=System%20Application%20Test%20Library&versionText=<IP_ADDRESS>&tenant=default
2021-05-17T07:35:53.9842505Z Adding dependency to System Application from Microsoft
2021-05-17T07:35:53.9865968Z Adding dependency to Any from Microsoft
2021-05-17T07:35:53.9889177Z Downloading symbols: Microsoft_Library Variable Storage_19.0.25577.0.app
2021-05-17T07:35:53.9908792Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=Library%20Variable%20Storage&versionText=<IP_ADDRESS>&tenant=default
2021-05-17T07:35:54.6390131Z Downloading symbols: Microsoft_Permissions Mock_19.0.25577.0.app
2021-05-17T07:35:54.6398287Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=Permissions%20Mock&versionText=<IP_ADDRESS>&tenant=default
2021-05-17T07:35:55.3160795Z Downloading symbols: Microsoft_Any_19.0.25577.0.app
2021-05-17T07:35:55.3167210Z Url : http://<IP_ADDRESS>:7049/BC/dev/packages?publisher=Microsoft&appName=Any&versionText=<IP_ADDRESS>&tenant=default
2021-05-17T07:35:55.9195744Z Compiling...
2021-05-17T07:35:55.9209433Z .\alc.exe /project:"c:\sources\test" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\Evolve iMS Ltd._Rental Management System - Test_17.3.2147483647.0.app" /assemblyprobingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\180\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\180\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies"
2021-05-17T07:36:02.7057502Z Microsoft (R) AL Compiler version <IP_ADDRESS>713
2021-05-17T07:36:02.7065124Z Copyright (C) Microsoft Corporation.  This means that people will be able to debug and see the source code of your app. (see https://aka.ms/showMyCode)
2021-05-17T07:36:25.5863311Z ##[error]ClientSession State is Uninitialized (Wait time 10 seconds)
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.11\AppHandling\Run-TestsInNavContainer.ps1:467
char:17
+                 throw $_.Exception.Message
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (ClientSession S...ime 10 seconds):String) [], RuntimeException
    + FullyQualifiedErrorId : ClientSession State is Uninitialized (Wait time 10 seconds)
2021-05-17T07:36:25.6370145Z ##[error]PowerShell exited with code '1'.
2021-05-17T07:36:25.7927665Z ##[section]Finishing: Run Pipeline
2021-05-17T07:36:25.8197462Z ##[section]Starting: Cleanup
2021-05-17T07:36:25.8780268Z ==============================================================================
2021-05-17T07:36:25.8780570Z Task         : PowerShell
2021-05-17T07:36:25.8780849Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2021-05-17T07:36:25.8781065Z Version      : 2.180.1
2021-05-17T07:36:25.8781275Z Author       : Microsoft Corporation
2021-05-17T07:36:25.8782176Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2021-05-17T07:36:25.8782484Z ==============================================================================
2021-05-17T07:36:27.2719837Z Generating script.
2021-05-17T07:36:27.2761839Z Formatted command: . 'D:\a\1\s\scripts\Cleanup.ps1' -environment "AzureDevOps"
2021-05-17T07:36:27.3134700Z ========================== Starting Command Output ===========================
2021-05-17T07:36:27.3354416Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a\_temp\625deb08-1c03-44b2-aacd-0b2a4bf75267.ps1'"
2021-05-17T07:36:27.6867242Z Version not defined, using ci
2021-05-17T07:36:27.7053213Z Set artifact = https://bcartifacts.azureedge.net/onprem/17.3.20469.20605/gb
2021-05-17T07:36:27.7098385Z Set pipelineName = rms-ci
2021-05-17T07:36:27.7319949Z Set containerName = hostedagent-rms-ci
2021-05-17T07:36:27.7496367Z Set installApps = ''
2021-05-17T07:36:27.7518787Z Set previousApps = ''
2021-05-17T07:36:27.7542741Z Set appSourceCopMandatoryAffixes = 'iMS'
2021-05-17T07:36:27.7564754Z Set appSourceCopSupportedCountries = 'gb'
2021-05-17T07:36:27.7588691Z Set appFolders = 'src'
2021-05-17T07:36:27.7610655Z Set testFolders = 'test'
2021-05-17T07:36:27.7634703Z Set memoryLimit = '6G'
2021-05-17T07:36:27.7656601Z Set additionalCountries = ''
2021-05-17T07:36:27.7680577Z Set genericImageName = ''
2021-05-17T07:36:27.7702935Z Set vaultNameForLocal = 'evolveAppVault'
2021-05-17T07:36:27.7727093Z Set bcContainerHelperVersion = 'Latest'
2021-05-17T07:36:27.7765659Z Set installTestFramework = True
2021-05-17T07:36:27.7801325Z Set installTestLibraries = True
2021-05-17T07:36:27.7823408Z Set installPerformanceToolkit = False
2021-05-17T07:36:27.7845565Z Set enableCodeCop = True
2021-05-17T07:36:27.7869525Z Set enableAppSourceCop = True
2021-05-17T07:36:27.7895811Z Set enablePerTenantExtensionCop = False
2021-05-17T07:36:27.7915745Z Set enableUICop = True
2021-05-17T07:36:27.7939735Z Set doNotSignApps = True
2021-05-17T07:36:27.7947369Z Set doNotRunTests = False
2021-05-17T07:36:27.7971086Z Set cacheImage = True
2021-05-17T07:36:27.7992209Z Set CreateRuntimePackages = True
2021-05-17T07:36:27.8028302Z Set rulesetfile = '_RuleSets\ims.ruleset.json'
2021-05-17T07:36:27.8071131Z Set appPackages = '.packages'
2021-05-17T07:36:27.8474391Z ##[section]Finishing: Cleanup
2021-05-17T07:36:27.8524872Z ##[section]Starting: Checkout RMS@main to s
2021-05-17T07:36:27.8661383Z ==============================================================================
2021-05-17T07:36:27.8661707Z Task         : Get sources
2021-05-17T07:36:27.8661967Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2021-05-17T07:36:27.8662255Z Version      : 1.0.0
2021-05-17T07:36:27.8662452Z Author       : Microsoft
2021-05-17T07:36:27.8662719Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2021-05-17T07:36:27.8663058Z ==============================================================================
2021-05-17T07:36:28.3940116Z Cleaning any cached credential from repository: RMS (Git)
2021-05-17T07:36:28.4042507Z ##[section]Finishing: Checkout RMS@main to s
2021-05-17T07:36:28.4140755Z ##[section]Starting: Finalize Job
2021-05-17T07:36:28.4179120Z Cleaning up task key
2021-05-17T07:36:28.4180473Z Start cleaning up orphan processes.
2021-05-17T07:36:28.4342757Z ##[section]Finishing: Finalize Job
2021-05-17T07:36:28.4385291Z ##[section]Finishing: Build

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context

does it happen all the time? Happening on 2 of 4 pipelines
did it use to work?  Used to work fine.  No changes by me.

Hello,
Had the same issue when running tests only in all our BC19 pipelines this weekend.
2021-05-16T21:48:11.6762558Z Creating user manager\containeradministrator as user
2021-05-16T21:48:11.6920743Z AVERTISSEMENT : This license is not compatible with this version of Business Central.
2021-05-16T21:48:12.3030118Z AVERTISSEMENT : This license is not compatible with this version of Business Central.
2021-05-16T21:48:13.6277827Z CommunicationError : Response status code does not indicate success: 500 (Internal Server Error).
2021-05-16T21:48:13.6431289Z at <ScriptBlock>, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 110
2021-05-16T21:48:13.6438297Z at AwaitState, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 238
2021-05-16T21:48:13.6445897Z at OpenSession, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 216
2021-05-16T21:48:13.6452838Z at Initialize, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 78
2021-05-16T21:48:13.6461003Z at ClientContext, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 53
2021-05-16T21:48:13.6469328Z at New-ClientContext, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\PsTestFunctions.ps1: line 34
2021-05-16T21:48:13.6477347Z at <ScriptBlock>, <No file>: line 53
2021-05-16T21:48:23.5290668Z ClientSession State is Uninitialized (Wait time 10 seconds)
2021-05-16T21:48:23.5308939Z at AwaitState, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 250
2021-05-16T21:48:23.5309069Z at OpenSession, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 216
2021-05-16T21:48:23.5309937Z at Initialize, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 78
2021-05-16T21:48:23.5310364Z at ClientContext, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 53
2021-05-16T21:48:23.5310444Z at New-ClientContext, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\PsTestFunctions.ps1: line 34
2021-05-16T21:48:23.5311370Z at <ScriptBlock>, <No file>: line 53
2021-05-16T21:48:23.5328373Z à Invoke-ScriptInBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.11\ContainerHandling\Invoke-ScriptInNavContainer.ps1 : ligne 44
2021-05-16T21:48:23.5333907Z à Get-TestsFromBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.11\AppHandling\Get-TestsFromNavContainer.ps1 : ligne 164
2021-05-16T21:48:23.5339593Z à <ScriptBlock>, E:\DevOps\Scripts\New\NAVDockerContainerManagement.ps1 : ligne 831
2021-05-16T21:48:23.5345274Z à <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.11\AppHandling\Sort-AppFoldersByDependencies.ps1 : ligne 107
2021-05-16T21:48:23.5350932Z à Sort-AppFoldersByDependencies, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.11\AppHandling\Sort-AppFoldersByDependencies.ps1 : ligne 106
2021-05-16T21:48:23.5356573Z à RunTests-NavContainerProjectApps, E:\DevOps\Scripts\New\NAVDockerContainerManagement.ps1 : ligne 822
2021-05-16T21:48:23.5362263Z à <ScriptBlock>, E:\DevOps\Scripts\New\NAVALRunBuild.ps1 : ligne 552
2021-05-16T21:48:23.5367944Z à <ScriptBlock>, E:\DevOps\Agent\_work\_temp\39533445-059a-46cd-baeb-3fc7c428cef7.ps1 : ligne 3
2021-05-16T21:48:23.5373572Z à <ScriptBlock>, <Aucun fichier> : ligne 1
2021-05-16T21:48:24.1000360Z AVERTISSEMENT : This license is not compatible with this version of Business Central.
2021-05-16T21:48:24.4389778Z AVERTISSEMENT : This license is not compatible with this version of Business Central.
2021-05-16T21:48:24.9648323Z CommunicationError : Response status code does not indicate success: 500 (Internal Server Error).
2021-05-16T21:48:24.9651987Z at <ScriptBlock>, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 110
2021-05-16T21:48:24.9659066Z at AwaitState, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 238
2021-05-16T21:48:24.9667422Z at OpenSession, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 216
2021-05-16T21:48:24.9675009Z at Initialize, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 78
2021-05-16T21:48:24.9682324Z at ClientContext, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 53
2021-05-16T21:48:24.9691224Z at New-ClientContext, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\PsTestFunctions.ps1: line 34
2021-05-16T21:48:24.9698899Z at <ScriptBlock>, <No file>: line 53
2021-05-16T21:48:34.9112652Z ClientSession State is Uninitialized (Wait time 10 seconds)
2021-05-16T21:48:34.9117225Z at AwaitState, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 250
2021-05-16T21:48:34.9117523Z at OpenSession, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 216
2021-05-16T21:48:34.9117696Z at Initialize, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 78
2021-05-16T21:48:34.9117790Z at ClientContext, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\ClientContext.ps1: line 53
2021-05-16T21:48:34.9117870Z at New-ClientContext, C:\ProgramData\NavContainerHelper\Extensions\TEMP-Build\PsTestTool\PsTestFunctions.ps1: line 34
2021-05-16T21:48:34.9118591Z at <ScriptBlock>, <No file>: line 53
2021-05-16T21:48:34.9125697Z à Invoke-ScriptInBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.11\ContainerHandling\Invoke-ScriptInNavContainer.ps1 : ligne 44
2021-05-16T21:48:34.9130657Z à Get-TestsFromBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.11\AppHandling\Get-TestsFromNavContainer.ps1 : ligne 164
2021-05-16T21:48:34.9135643Z à <ScriptBlock>, E:\DevOps\Scripts\New\NAVDockerContainerManagement.ps1 : ligne 835
2021-05-16T21:48:34.9140594Z à <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.11\AppHandling\Sort-AppFoldersByDependencies.ps1 : ligne 107
2021-05-16T21:48:34.9145598Z à Sort-AppFoldersByDependencies, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.11\AppHandling\Sort-AppFoldersByDependencies.ps1 : ligne 106
2021-05-16T21:48:34.9150713Z à RunTests-NavContainerProjectApps, E:\DevOps\Scripts\New\NAVDockerContainerManagement.ps1 : ligne 822
2021-05-16T21:48:34.9155704Z à <ScriptBlock>, E:\DevOps\Scripts\New\NAVALRunBuild.ps1 : ligne 552
2021-05-16T21:48:34.9160668Z à <ScriptBlock>, E:\DevOps\Agent\_work\_temp\39533445-059a-46cd-baeb-3fc7c428cef7.ps1 : ligne 3
2021-05-16T21:48:34.9165632Z à <ScriptBlock>, <Aucun fichier> : ligne 1
2021-05-16T21:48:35.0391075Z ClientSession State is Uninitialized (Wait time 10 seconds)
2021-05-16T21:48:35.0391440Z Au caractère C:\Program
2021-05-16T21:48:35.0391529Z Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.11\ContainerHandling\Invoke-ScriptInNavContainer.ps1:45 : 13
2021-05-16T21:48:35.0391640Z +             throw $_.Exception.Message
2021-05-16T21:48:35.0391707Z +             ~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-05-16T21:48:35.0392188Z     + CategoryInfo          : OperationStopped: (ClientSession S...ime 10 seconds):String) [], RuntimeException
2021-05-16T21:48:35.0392927Z     + FullyQualifiedErrorId : ClientSession State is Uninitialized (Wait time 10 seconds)

Hello,
Same issue on my side since yesterday.
2021-05-17T09:04:59.8130951Z *** Set TCP Keep-Alive
2021-05-17T09:04:59.8363515Z *** Start TestSuite
2021-05-17T09:05:00.4691317Z *** Running TestSuite with authentication [NavUserPassword] with User [admin]
2021-05-17T09:05:00.4696848Z *** Run warm-up with page [130455]
2021-05-17T09:05:00.4703006Z *** Warm-up Client Context
2021-05-17T09:05:01.1163141Z CommunicationError : Response status code does not indicate success: 500 (Internal Server Error).
2021-05-17T09:05:01.1169335Z at , : line 89
2021-05-17T09:05:01.1174926Z at AwaitState, : line 194
2021-05-17T09:05:01.1181215Z at OpenSession, : line 172
2021-05-17T09:05:01.1186362Z at Initialize, : line 59
2021-05-17T09:05:01.1191790Z at ClientContext, : line 26
2021-05-17T09:05:01.1196817Z at New-ClientContext, : line 22
2021-05-17T09:05:01.1202189Z at , : line 10
2021-05-17T09:05:01.1207150Z at , : line 1
2021-05-17T09:05:11.1001924Z *** Warm-Up Exception: ClientSession State is Uninitialized (Wait time 10 seconds)
2021-05-17T09:05:11.1008410Z *** Warm-up Client Context failed: retry
2021-05-17T09:05:16.4379503Z *** Warm-up Client Context
2021-05-17T09:05:16.4386600Z CommunicationError : Response status code does not indicate success: 500 (Internal Server Error).
2021-05-17T09:05:16.4392582Z at , : line 89
2021-05-17T09:05:16.4398860Z at AwaitState, : line 194
2021-05-17T09:05:16.4403653Z at OpenSession, : line 172
2021-05-17T09:05:16.4408436Z at Initialize, : line 59
2021-05-17T09:05:16.4412980Z at ClientContext, : line 26
2021-05-17T09:05:16.4417645Z at New-ClientContext, : line 22
2021-05-17T09:05:16.4422077Z at , : line 10
2021-05-17T09:05:16.4426969Z at , : line 1
2021-05-17T09:05:26.4176001Z *** Warm-Up Exception: ClientSession State is Uninitialized (Wait time 10 seconds)
2021-05-17T09:05:26.4182286Z *** Warm-up Client Context failed: retry
2021-05-17T09:05:31.7720266Z *** Warm-up Client Context
2021-05-17T09:05:31.7726526Z CommunicationError : Response status code does not indicate success: 500 (Internal Server Error).
2021-05-17T09:05:31.7732642Z at , : line 89
2021-05-17T09:05:31.7739787Z at AwaitState, : line 194
2021-05-17T09:05:31.7745451Z at OpenSession, : line 172
2021-05-17T09:05:31.7751062Z at Initialize, : line 59
2021-05-17T09:05:31.7755589Z at ClientContext, : line 26
2021-05-17T09:05:31.7760085Z at New-ClientContext, : line 22
2021-05-17T09:05:31.7764534Z at , : line 10
2021-05-17T09:05:31.7769094Z at , : line 1
2021-05-17T09:05:41.7592761Z *** Warm-Up Exception: ClientSession State is Uninitialized (Wait time 10 seconds)
2021-05-17T09:05:41.7599001Z *** Warm-up Client Context failed: retry
2021-05-17T09:05:47.0773083Z *** Warm-up Client Context
2021-05-17T09:05:47.0778400Z CommunicationError : Response status code does not indicate success: 500 (Internal Server Error).
2021-05-17T09:05:47.0783562Z at , : line 89
2021-05-17T09:05:47.0789149Z at AwaitState, : line 194
2021-05-17T09:05:47.0793916Z at OpenSession, : line 172
2021-05-17T09:05:47.0798969Z at Initialize, : line 59
2021-05-17T09:05:47.0803503Z at ClientContext, : line 26
2021-05-17T09:05:47.0808580Z at New-ClientContext, : line 22
2021-05-17T09:05:47.0813048Z at , : line 10
2021-05-17T09:05:47.0818142Z at , : line 1
2021-05-17T09:05:57.0028199Z *** Warm-Up Exception: ClientSession State is Uninitialized (Wait time 10 seconds)
2021-05-17T09:05:57.0034864Z *** Warm-up Client Context failed: retry
2021-05-17T09:06:02.3301217Z *** Warm-up Client Context
2021-05-17T09:06:02.3307504Z CommunicationError : Response status code does not indicate success: 500 (Internal Server Error).
2021-05-17T09:06:02.3312587Z at , : line 89
2021-05-17T09:06:02.3317878Z at AwaitState, : line 194
2021-05-17T09:06:02.3323031Z at OpenSession, : line 172
2021-05-17T09:06:02.3327946Z at Initialize, : line 59
2021-05-17T09:06:02.3333423Z at ClientContext, : line 26
2021-05-17T09:06:02.3337869Z at New-ClientContext, : line 22
2021-05-17T09:06:02.3342734Z at , : line 10
2021-05-17T09:06:02.3347597Z at , : line 1
2021-05-17T09:06:12.2980439Z *** Warm-Up Exception: ClientSession State is Uninitialized (Wait time 10 seconds)
2021-05-17T09:06:12.2986452Z *** Warm-up Client Context failed: retry
2021-05-17T09:06:16.8157216Z ##[error]Warm-up Client Context failed
2021-05-17T09:06:17.0944917Z ##[error]Because the session state for session WinRM1, 065e5516-f5a3-4952-ad02-1b04071cf8e0, d758978eff01 is not equal to Open, you cannot run a command  in the session.  The session state is Closing.

I have the same issue when running tests on BC19

BC19 seems broken right now, investigating

BC 19 uses a new dotnet core version, which was not present in generic image <IP_ADDRESS>
All images are being updated to <IP_ADDRESS>, which includes this new dotnetcore version.
This issue should be solved within the next few hours (dependeing on what version of windows you are using)
10.0.19042.985 has already been updated...
newest versions are updated first.

Generic image <IP_ADDRESS> has shipped.
Re-run your scripts should cause this to download and be used.

Works fine with new generic image. Thank you Freddy!


How to add connection method to the api documentation?

Hello
I am creating a REST API with FOSRestBundle and your bundle to provide a JWT authentication.
I am using the NelmioApiDocBundle to generate a documentation of my API.
I would like to show login in the documentation as a method (with username / password as required params and the token as the outpout).
So I created my custom authentication controller containing the login method with proper annotations to make it appear in the documentation, but how to forward the call of this method to the login_check validation?
Thanks

Just found the solution here: https://github.com/nelmio/NelmioApiDocBundle/issues/340
Just have to create a "fake" controller method on which I can place ApiDoc annotations in your project with the same route as the login_check route.
In the app/config/route.yml, just set the login_check route before importing your bundle routes so it will have the priority.
If you use the NelmioApiDocBundle sandbox to test your REST API calls, depending on your config, it may add a ".json" at the end of the url, so you have to redefine the login_check route to:
api_login_check:
    path: /api/login_check{_format}
    defaults:  { _format: ".json" }

A more up to date solution : https://github.com/nelmio/NelmioApiDocBundle/issues/806#issuecomment-377928048


ReferenceError: window is not defined

I'm trying to write a simple node health check code but it keeps giving me an error related with window. In the documentation keyStore written as optional if not signing transaction but when I leave it empty it gives an error. Any help appreciated.
const nearAPI = require("near-api-js");

const { connect, WalletConnection, keyStores } = nearAPI;
const keyStore = new keyStores.BrowserLocalStorageKeyStore();
const config = {
  networkId: "mainnet",
  keyStore,
  nodeUrl: "https://rpc.mainnet.near.org",
  walletUrl: "https://wallet.mainnet.near.org",
  helperUrl: "https://helper.mainnet.near.org",
  explorerUrl: "https://explorer.mainnet.near.org",
};
const nearHealth = async () => {
  // connect to NEAR
  const near = await connect(config);
  const response = await near.connection.provider.status();
  // create wallet connection

  console.log(response);
};

nearHealth();

/Users/icrypexbilisim/nearservices/node_modules/near-api-js/lib/key_stores/browser_local_storage_key_store.js:34
    constructor(localStorage = window.localStorage, prefix = LOCAL_STORAGE_KEY_PREFIX) {
                               ^

ReferenceError: window is not defined
    at new BrowserLocalStorageKeyStore (/Users/icrypexbilisim/nearservices/node_modules/near-api-js/lib/key_stores/browser_local_storage_key_store.js:34:32)
    at Object.<anonymous> (/Users/icrypexbilisim/nearservices/index.js:4:18)
    at Module._compile (node:internal/modules/cjs/loader:1103:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
    at node:internal/main/run_main_module:17:47

Are you using SSR by chance? (Next, Nuxt, SvelteKit)
If so you can do something like this:
const keyStore = isBrowser && new keyStores.BrowserLocalStorageKeyStore()

If you aren't using the browser at all I'm not sure why you're using the localStorage key store.


limit concurrency

You can reach a big number parallel jobs very easily using a CI script like the following:
setup:
    image: ubuntu:18.04
    parallel:
        matrix:
            - FILE_NAME: [a, b, c]
            - DIR_NAME: [a, b, c]
    script:
        - mkdir "${DIR_NAME}"
        - touch "${DIR_NAME}/${FILE_NAME}"

I'm using an Ubuntu VM for deveopment and since the VM has low resources this scripts causes the VM to be compeletly stuck.
Currently there is no way to solve this problem. I think it will be greate if we could offer some option to limit the number of concurrenct tasks.

Closing this as dublicate of https://github.com/firecow/gitlab-ci-local/issues/703


add 'perform_deliveries' option to disable send an emails

hi all.
what do you think  could we add 'perform_deliveries' option to disable send an emails ?

Hi @parallel588 could you give a reason to add this? This looks to me more like something you do on your application level. If you want to disable sending, simply wrap the deliver function from Swoosh with a function of your own, and in your own function, take config/predict into consideration. There is no reason Swoosh shouldn't be sending an email. In local env we can still send via the local adapter to an in-memory inbox.

hi @panmichal , I do it for pleroma.
https://git.pleroma.social/pleroma/pleroma/issues/1062
https://git.pleroma.social/pleroma/pleroma/merge_requests/1389
we will use this feature to dynamic enable\disable send emails (in admin panel).
I seen similar option in ActionMailer (rails world)

Wrong @ but fine
In this case I think my previous comment applies quite well. I'm going to close this PR. Swoosh should not be handling this kind of business logic. Instead, you should write your own module that wraps and replaces normal deliver calls.
Rails world is convenient but has a lot of things done wrong.

ok, thaks.


Add arithmetic operation test

Add arithmetic operation tests, especially for the new ** operator.

Also add test env: node 8, 9.


Less verbose tracing and prepare for 0.21.0

bot qa+

This is an auto-generated message summarizing this pull request.
:pencil: — Rules

:speech_balloon: Title validation: valid! :heavy_check_mark:

Rule: ^[A-Z]

:twisted_rightwards_arrows: Merge strategy: squash

:speech_balloon: — Status comment

:construction: WIP? No :heavy_check_mark:
:checkered_flag: Checks: running... :clock2:
:mag: Code reviews: passed! (0 given / 0 required) :heavy_check_mark:
:test_tube: QA: skipped. :heavy_check_mark:
:lock: Locked?: No :heavy_check_mark:
:twisted_rightwards_arrows: Mergeable?: Yes :heavy_check_mark:

:gear: — Configuration

:twisted_rightwards_arrows: Automerge: :x:

:scroll: — Current status

Pending: Waiting for checks

See checks output by clicking this link :triangular_flag_on_post:
Beep boop, i'm a bot! :robot: (github-scbot 0.21.0)

bot qa+

QA is marked as pass by Srynetix.
Beep boop, i'm a bot! :robot: (github-scbot 0.21.0)

bot automerge+

bot automerge+

Automerge enabled by Srynetix
Beep boop, i'm a bot! :robot: (github-scbot 0.21.0)

Pull request successfully auto-merged! (strategy: 'squash')
Beep boop, i'm a bot! :robot: (github-scbot 0.21.0)


Create A Form Mixin That Allows Binding To The onreset Event

See https://www.w3schools.com/tags/ev_onreset.asp
Why do I want this?  Because you can create a component that is a form element:
// my-form.js
export default Ember.Component.extend({
  tagName: 'form'
});

...and then when using it you can simply bind to the form's submit action:
{{#my-form submit=(action "doSubmitAction" ...)}}
  {{!-- form inputs here ... --}}

    <button class="btn btn-primary" type="submit">Submit The Form</button>

{{/my-form}}

...and then when the submit button is clicked, your fancy little "doSubmitAction" is fired.
Sadly the corresponding reset action isn't apart of the Ember form's event scheme.   At least I can't seem to trigger it the same way I do with submit.
So I propose creating a mixin that handles the form's onreset action.    Basically, I want to write less code.
{{#my-form reset=(action "doResetAction" ...) submit=(action "doSubmitAction" ...)}}
  {{!-- form inputs here ... --}}

    <button class="btn btn-primary" type="submit">Submit The Form</button>
    <button class="btn btn-default" type="reset">Reset/Cancel</button>

{{/my-form}}

Thinking this should actually just be a component.  There's no real benefit to the mixin at this point.