Closed GreatScott000 closed 3 years ago
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
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 1.0.1.6 All images are being updated to 1.0.1.7, 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 1.0.1.7 has shipped. Re-run your scripts should cause this to download and be used.
Works fine with new generic image. Thank you Freddy!
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:
Scripts used to create container and cause the issue
Pipeline:
Full output of scripts
Screenshots If applicable, add screenshots to help explain your problem.
Additional context