HodorNV / ALOps

ALOps
59 stars 24 forks source link

Warm-up Client Context failed Because the session state for session is not equal to Open, you cannot run a command in the session. The session state is Closing. #399

Closed ik3ras closed 3 years ago

ik3ras commented 3 years ago

Describe the bug After switching from BC18.2 to BC18.3 pipelines started to fail. We resolved one error for publishing test apps and missing "Permissions Mock", but other poped up.

When running tests they fail to run due to error:

Warm-up Client Context failed Because the session state for session WinRM1, 861c8e16-c72e-474f-a7dd-3618dc0ac88e, add3f025ffd470a2fe03ae8932305d7fdc336193f2e0d08bb71e22106ccf22f3 is not equal to Open, you cannot run a command in the session. The session state is Closing.

the used yaml

steps:
- task: Hodor.hodor-alops.alopsapptest.ALOpsAppTest@1
  displayName: 'Run Tests'
  inputs:
    usedocker: true
    show_available_tests: false
    import_testtoolkit: false
    testpage: 130455
    failed_test_action: Error

the output

2021-07-06T11:56:18.7701600Z ##[debug]Evaluating condition for step: 'Run Tests'
2021-07-06T11:56:18.7704679Z ##[debug]Evaluating: succeeded()
2021-07-06T11:56:18.7705706Z ##[debug]Evaluating succeeded:
2021-07-06T11:56:18.7707566Z ##[debug]=> True
2021-07-06T11:56:18.7708636Z ##[debug]Result: True
2021-07-06T11:56:18.7709752Z ##[section]Starting: Run Tests
2021-07-06T11:56:18.7948412Z ##[debug]Extracting task ALOpsAppTest from C:\DevOpsAgents\Agent1\_work\_taskzips\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43_1.444.2568.zip to C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568.
2021-07-06T11:56:18.8824866Z ==============================================================================
2021-07-06T11:56:18.8825193Z Task         : ALOps App Test
2021-07-06T11:56:18.8825379Z Description  : Run AL-TestSuite for Business Central
2021-07-06T11:56:18.8825564Z Version      : 1.444.2568
2021-07-06T11:56:18.8825712Z Author       : Hodor
2021-07-06T11:56:18.8825918Z Help         : Run Business Central Test-Suite and collect results.
2021-07-06T11:56:18.8826196Z ==============================================================================
2021-07-06T11:56:19.3986961Z ##[debug]VstsTaskSdk 0.11.0 commit 7ff27a3e0bdd6f7b06690ae5f5b63cb84d0f23f4
2021-07-06T11:56:19.5095364Z VERBOSE: Exporting function 'Get-MpComputerStatus'.
2021-07-06T11:56:19.5620188Z VERBOSE: Exporting function 'Set-MpPreference'.
2021-07-06T11:56:19.5626633Z VERBOSE: Exporting function 'Add-MpPreference'.
2021-07-06T11:56:19.5633138Z VERBOSE: Exporting function 'Remove-MpPreference'.
2021-07-06T11:56:19.5640593Z VERBOSE: Exporting function 'Get-MpPreference'.
2021-07-06T11:56:19.5846086Z VERBOSE: Exporting function 'Remove-MpThreat'.
2021-07-06T11:56:19.5851644Z VERBOSE: Exporting function 'Get-MpThreat'.
2021-07-06T11:56:19.6069744Z VERBOSE: Exporting function 'Get-MpThreatCatalog'.
2021-07-06T11:56:19.6257689Z VERBOSE: Exporting function 'Get-MpThreatDetection'.
2021-07-06T11:56:19.6448674Z VERBOSE: Exporting function 'Start-MpScan'.
2021-07-06T11:56:19.6570361Z VERBOSE: Exporting function 'Update-MpSignature'.
2021-07-06T11:56:19.6646785Z VERBOSE: Exporting function 'Start-MpWDOScan'.
2021-07-06T11:56:20.7545038Z ##[debug]Entering C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\02cf5dce-bdd7-4c49-b59a-2bd93c8ec5ae.ps1.
2021-07-06T11:56:20.7880468Z ##[debug]INPUT_USEDOCKER: 'true'
2021-07-06T11:56:20.7910131Z ##[debug] Converted to bool: True
2021-07-06T11:56:20.7927727Z ##[debug]INPUT_NAV_SERVERINSTANCE: 'BC140'
2021-07-06T11:56:20.7944988Z ##[debug]INPUT_TENANT: 'default'
2021-07-06T11:56:20.7961704Z ##[debug]INPUT_COMPANYNAME (empty)
2021-07-06T11:56:20.7997580Z ##[debug]INPUT_PROFILE (empty)
2021-07-06T11:56:20.8010944Z ##[debug]INPUT_TESTFILTER (empty)
2021-07-06T11:56:20.8024030Z ##[debug]INPUT_FIXED_TAG (empty)
2021-07-06T11:56:20.8036942Z ##[debug]INPUT_SHOW_AVAILABLE_TESTS: 'false'
2021-07-06T11:56:20.8046990Z ##[debug] Converted to bool: False
2021-07-06T11:56:20.8061242Z ##[debug]INPUT_IMPORT_ACTION: 'Overwrite'
2021-07-06T11:56:20.8074808Z ##[debug]INPUT_IMPORT_TESTTOOLKIT: 'false'
2021-07-06T11:56:20.8083405Z ##[debug] Converted to bool: False
2021-07-06T11:56:20.8097563Z ##[debug]INPUT_FAILED_TEST_ACTION: 'Error'
2021-07-06T11:56:20.8109071Z ##[debug]INPUT_TESTPAGE: '130455'
2021-07-06T11:56:20.8131282Z ##[debug]INPUT_INSTALLALTESTTOOL: 'false'
2021-07-06T11:56:20.8139923Z ##[debug] Converted to bool: False
2021-07-06T11:56:20.8152801Z ##[debug]INPUT_TESTSUITE: 'DEFAULT'
2021-07-06T11:56:20.8164011Z ##[debug]INPUT_OVERRIDE_FINSQL_PATH (empty)
2021-07-06T11:56:20.8176752Z ##[debug]INPUT_BC_USERNAME (empty)
2021-07-06T11:56:20.8188509Z ##[debug]INPUT_BC_PASSWORD (empty)
2021-07-06T11:56:20.8203130Z ##[debug]INPUT_BC_AUTHENTICATION: 'NavUserPassword'
2021-07-06T11:56:20.8214430Z ##[debug]INPUT_BC_WEBCLIENT_URL (empty)
2021-07-06T11:56:20.8227169Z ##[debug]INPUT_DISABLEDTESTS (empty)
2021-07-06T11:56:20.8238208Z ##[debug]INPUT_EXTENSIONID (empty)
2021-07-06T11:56:20.8250570Z ##[debug]INPUT_RESULTFILENAME: 'TestResults.xml'
2021-07-06T11:56:20.8266683Z *** Validate configuration
2021-07-06T11:56:21.0393993Z ##[debug]INPUT_USEDOCKER: 'true'
2021-07-06T11:56:21.0424536Z ##[debug] Converted to bool: True
2021-07-06T11:56:21.0512313Z ##[debug]INPUT_FIXED_TAG (empty)
2021-07-06T11:56:21.0545280Z ##[debug]INPUT_NAV_SERVERINSTANCE: 'BC140'
2021-07-06T11:56:21.0577466Z ##[debug]INPUT_TENANT: 'default'
2021-07-06T11:56:21.0609005Z ##[debug]INPUT_COMPANYNAME (empty)
2021-07-06T11:56:21.0634341Z ##[debug]INPUT_PROFILE (empty)
2021-07-06T11:56:21.0659855Z ##[debug]INPUT_BC_USERNAME (empty)
2021-07-06T11:56:21.0682128Z ##[debug]INPUT_BC_PASSWORD (empty)
2021-07-06T11:56:21.0706191Z ##[debug]INPUT_BC_AUTHENTICATION: 'NavUserPassword'
2021-07-06T11:56:21.0726805Z ##[debug]INPUT_BC_WEBCLIENT_URL (empty)
2021-07-06T11:56:21.0744479Z ##[debug]INPUT_TESTFILTER (empty)
2021-07-06T11:56:21.0762552Z ##[debug]INPUT_DISABLEDTESTS (empty)
2021-07-06T11:56:21.0780649Z ##[debug]INPUT_SHOW_AVAILABLE_TESTS: 'false'
2021-07-06T11:56:21.0792929Z ##[debug] Converted to bool: False
2021-07-06T11:56:21.0812082Z ##[debug]INPUT_IMPORT_TESTTOOLKIT: 'false'
2021-07-06T11:56:21.0823273Z ##[debug] Converted to bool: False
2021-07-06T11:56:21.0839179Z ##[debug]INPUT_IMPORT_ACTION: 'Overwrite'
2021-07-06T11:56:21.0855304Z ##[debug]INPUT_TESTPAGE: '130455'
2021-07-06T11:56:21.0870707Z ##[debug]INPUT_TESTSUITE: 'DEFAULT'
2021-07-06T11:56:21.0885723Z ##[debug]INPUT_EXTENSIONID (empty)
2021-07-06T11:56:21.0901705Z ##[debug]INPUT_INSTALLALTESTTOOL: 'false'
2021-07-06T11:56:21.0912292Z ##[debug] Converted to bool: False
2021-07-06T11:56:21.0928284Z ##[debug]INPUT_FAILED_TEST_ACTION: 'Error'
2021-07-06T11:56:21.0943894Z ##[debug]INPUT_OVERRIDE_FINSQL_PATH (empty)
2021-07-06T11:56:21.0959400Z ##[debug]INPUT_RESULTFILENAME: 'TestResults.xml'
2021-07-06T11:56:21.0979384Z *** Task Inputs:
2021-07-06T11:56:21.1018929Z 
2021-07-06T11:56:21.1104858Z name                           value
2021-07-06T11:56:21.1108274Z ----                           -----
2021-07-06T11:56:21.1109127Z usedocker                       True
2021-07-06T11:56:21.1110595Z fixed_tag                           
2021-07-06T11:56:21.1111438Z nav_serverinstance             BC140
2021-07-06T11:56:21.1112875Z tenant                       default
2021-07-06T11:56:21.1114078Z companyname                         
2021-07-06T11:56:21.1115232Z profile                             
2021-07-06T11:56:21.1116020Z bc_username                         
2021-07-06T11:56:21.1117163Z bc_password                         
2021-07-06T11:56:21.1118308Z bc_authentication    NavUserPassword
2021-07-06T11:56:21.1119207Z bc_webclient_url                    
2021-07-06T11:56:21.1120393Z testfilter                          
2021-07-06T11:56:21.1121772Z disabledtests                       
2021-07-06T11:56:21.1122613Z show_available_tests           False
2021-07-06T11:56:21.1123798Z import_testtoolkit             False
2021-07-06T11:56:21.1124739Z import_action              Overwrite
2021-07-06T11:56:21.1125873Z testpage                      130455
2021-07-06T11:56:21.1126828Z testsuite                    DEFAULT
2021-07-06T11:56:21.1127971Z extensionid                         
2021-07-06T11:56:21.1128854Z installaltesttool              False
2021-07-06T11:56:21.1130101Z failed_test_action             Error
2021-07-06T11:56:21.1130940Z override_finsql_path                
2021-07-06T11:56:21.1132196Z resultfilename       TestResults.xml
2021-07-06T11:56:21.1132547Z 
2021-07-06T11:56:21.1159838Z 
2021-07-06T11:56:21.1166283Z 
2021-07-06T11:56:21.1215717Z ##[debug]SECRET_ALOPS-LICENSEID: '***'
2021-07-06T11:56:21.1300098Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-07-06T11:56:21.1300792Z 
2021-07-06T11:56:21.2101241Z ##[debug]POST https://alopsapi.azurewebsites.net/api/interactions/license/fdcda5d2-e9b6-4c0f-9fb2-da2ae0cbd03d/aec60e66-c7e9-4b67-8ae7-7cef3e6bedb2/*** with -1-byte payload
2021-07-06T11:56:21.4837700Z ##[debug]received 303-byte response of content type application/json; charset=utf-8
2021-07-06T11:56:21.4988782Z *** ALOps License:
2021-07-06T11:56:21.5024949Z   * Licensed To: Armada Dynamics AS (Organization License)
2021-07-06T11:56:21.5028930Z 
2021-07-06T11:56:21.5185387Z ##[debug]ALOPS_DISABLE_SSL (empty)
2021-07-06T11:56:21.5206077Z ##[debug] Converted to bool: False
2021-07-06T11:56:21.5274808Z *** Importing required PS-Functions
2021-07-06T11:56:21.7506413Z *** Working folder: C:\DevOpsAgents\Agent1\_work\7\s
2021-07-06T11:56:21.7513828Z ***
2021-07-06T11:56:21.7521714Z *** Prepare Docker Session
2021-07-06T11:56:21.9640589Z *** Connect Docker Session
2021-07-06T11:56:21.9798354Z *** Initiate Docker Session
2021-07-06T11:56:21.9891563Z ##[debug]ALOPS-DOCKER-USERNAME (empty)
2021-07-06T11:56:21.9972743Z ##[debug]ALOPS-DOCKER-PASSWORD (empty)
2021-07-06T11:56:22.3420445Z *** Set Docker Container ErrorActionPreference = Stop
2021-07-06T11:56:22.6336363Z *** Copy Modules to Docker
2021-07-06T11:56:22.8220920Z ##[debug]Performing the operation "Copy Directory" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\AL Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:22.8786151Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\AL\HodorNV_ALOpsTestRunner_1.0.0.0.app Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:23.1009259Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\AL\Microsoft_PSTestToolPage_15.0.0.0.app Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:23.2222408Z ##[debug]Performing the operation "Copy Directory" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\bin Destination: c:\Run\DevOps\BCAppTest\bin".
2021-07-06T11:56:23.2436221Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\bin\Microsoft.Dynamics.Framework.UI.Client.dll Destination: c:\Run\DevOps\BCAppTest\bin".
2021-07-06T11:56:23.3952081Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\bin\Microsoft.Dynamics.Framework.UI.Client.pdb Destination: c:\Run\DevOps\BCAppTest\bin".
2021-07-06T11:56:23.7278962Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\bin\Microsoft.Dynamics.Framework.UI.Client.XML Destination: c:\Run\DevOps\BCAppTest\bin".
2021-07-06T11:56:23.9372687Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\bin\Newtonsoft.Json.dll Destination: c:\Run\DevOps\BCAppTest\bin".
2021-07-06T11:56:24.1702653Z ##[debug]Performing the operation "Copy Directory" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\CAL Destination: c:\Run\DevOps\BCAppTest\CAL".
2021-07-06T11:56:24.1888901Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\CAL\pstesttoolpage.fob Destination: c:\Run\DevOps\BCAppTest\CAL".
2021-07-06T11:56:24.3293813Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\CAL\pstesttoolpage10.fob Destination: c:\Run\DevOps\BCAppTest\CAL".
2021-07-06T11:56:24.4004752Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\CAL\pstesttoolpage9.fob Destination: c:\Run\DevOps\BCAppTest\CAL".
2021-07-06T11:56:24.4694420Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\CAL\pstesttoolpage_auto.fob Destination: c:\Run\DevOps\BCAppTest\CAL".
2021-07-06T11:56:24.5252622Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\200222a6-71c4-43af-ae96-911fbc2fc458.ps1 Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:24.8342493Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\28ed6dcd-380a-43c1-a4a8-5d115e489935.ps1 Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:24.9808750Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\2b6b9f18-1c11-449b-8045-1774bf1f3cfe.ps1 Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:25.1452390Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\3d46d577-130f-43ef-87e7-e1037da16c09.ps1 Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:25.2780165Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\3f1ca895-d6b1-4645-a06f-a44a83398726.ps1 Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:25.3808664Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\602fedee-efd1-44aa-81e9-06109fde8198.ps1 Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:25.5007280Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\6d3224a2-ce7a-4c4d-8333-855190d4031b.ps1 Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:25.9067084Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\6fff2374-3896-4047-83cf-336d85e147e3.ps1 Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:26.0240279Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\794f4a3a-16fd-4702-8c12-fab4c40f764c.ps1 Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:26.1590213Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\aad1a428-637c-433c-915f-6b437cb56b8b.ps1 Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:26.2981908Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\cf080428-bfc4-4d65-a4cf-a0421c1de0d2.ps1 Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:26.4227701Z ##[debug]Performing the operation "Copy File" on target "Item: C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\ps_modules\BCAppTest\d23e2537-6123-456a-896e-e0bb303448bb.ps1 Destination: c:\Run\DevOps\BCAppTest".
2021-07-06T11:56:26.5476973Z *** Setup Docker Session
2021-07-06T11:56:26.6072608Z *** Checking for container-specific Test Assemblies
2021-07-06T11:56:26.6101479Z *** Using container-specific Test Assemblies
2021-07-06T11:56:26.6355527Z *** Import Modules in Docker Session
2021-07-06T11:56:26.7235737Z *** Import UI Client [C:\Run\DevOps\BCAppTest\bin\Microsoft.Dynamics.Framework.UI.Client.dll]
2021-07-06T11:56:26.7244053Z VERBOSE: Loading module from path 'C:\Run\DevOps\BCAppTest\bin\Microsoft.Dynamics.Framework.UI.Client.dll'.
2021-07-06T11:56:26.7967760Z *** Import NewtonSoft JSON [C:\Program Files\Microsoft Dynamics NAV\180\Service\Add-ins\.netpackages\Newtonsoft.Json.dll]
2021-07-06T11:56:26.8164356Z *** Import Modules in Docker Session: class_ClientContext
2021-07-06T11:56:29.0695533Z *** Test Context Url: https://add3f025ffd4/BC/cs?tenant=default
2021-07-06T11:56:29.0704335Z *** Setup BC Credentials in Docker
2021-07-06T11:56:29.3011147Z *** Resolve Docker Credentials
2021-07-06T11:56:29.3124115Z *** Set TCP Keep-Alive
2021-07-06T11:56:29.3425219Z *** Start TestSuite
2021-07-06T11:56:29.4653870Z *** Running TestSuite with authentication [NavUserPassword] with User [admin]
2021-07-06T11:56:29.4672366Z *** Run warm-up with page [130455]
2021-07-06T11:56:29.4689381Z *** Warm-up Client Context
2021-07-06T11:56:29.7877646Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T11:56:29.7879271Z *** Warm-up Client Context failed: retry
2021-07-06T11:56:34.8052623Z *** Warm-up Client Context
2021-07-06T11:56:35.0055167Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T11:56:35.0063405Z *** Warm-up Client Context failed: retry
2021-07-06T11:56:40.0166135Z *** Warm-up Client Context
2021-07-06T11:56:40.2181435Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T11:56:40.2190039Z *** Warm-up Client Context failed: retry
2021-07-06T11:56:45.2237815Z *** Warm-up Client Context
2021-07-06T11:56:45.4273360Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T11:56:45.4282074Z *** Warm-up Client Context failed: retry
2021-07-06T11:56:50.4348117Z *** Warm-up Client Context
2021-07-06T11:56:50.6145254Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T11:56:50.6155062Z *** Warm-up Client Context failed: retry
2021-07-06T11:56:55.6151771Z ##[error]Warm-up Client Context failed
2021-07-06T11:56:55.6152753Z ##[debug]Processed: ##vso[task.logissue type=error;]Warm-up Client Context failed
2021-07-06T11:56:55.6156935Z ##[debug]Processed: ##vso[task.complete result=Failed;]BC Web context failed.
2021-07-06T11:56:55.6267082Z ##[debug]Leaving C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\02cf5dce-bdd7-4c49-b59a-2bd93c8ec5ae.ps1.
2021-07-06T11:56:55.6331748Z ##[debug]Caught exception from task script.
2021-07-06T11:56:55.6378194Z ##[debug]Error record:
2021-07-06T11:56:55.6942388Z ##[debug]Invoke-Command : Because the session state for session WinRM1, 861c8e16-c72e-474f-a7dd-3618dc0ac88e, add3f025ffd470a2fe03ae8932305d7fdc336193f2e0d08bb71e22106ccf22f3 is not equal to Open, you cannot run a command  in the session.  The session state is Closing.
2021-07-06T11:56:55.6960756Z ##[debug]At line:467 char:22
2021-07-06T11:56:55.6980098Z ##[debug]+ ... ResultXml = Invoke-Command -Session $DockerSession -ScriptBlock { $Re ...
2021-07-06T11:56:55.6998362Z ##[debug]+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-07-06T11:56:55.7016854Z ##[debug]    + CategoryInfo          : InvalidOperation: ([PSSession]WinRM1:PSSession) [Invoke-Command], InvalidRunspaceStateEx    ception
2021-07-06T11:56:55.7033986Z ##[debug]    + FullyQualifiedErrorId : InvokeCommandCommandInvalidSessionState,Microsoft.PowerShell.Commands.InvokeCommandComma    nd
2021-07-06T11:56:55.7051976Z ##[debug] 
2021-07-06T11:56:55.7082822Z ##[debug]Script stack trace:
2021-07-06T11:56:55.7129778Z ##[debug]at <ScriptBlock>, <No file>: line 467
2021-07-06T11:56:55.7143267Z ##[debug]at <ScriptBlock>, <No file>: line 1
2021-07-06T11:56:55.7157602Z ##[debug]at <ScriptBlock>, C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\02cf5dce-bdd7-4c49-b59a-2bd93c8ec5ae.ps1: line 1
2021-07-06T11:56:55.7171322Z ##[debug]at <ScriptBlock>, C:\DevOpsAgents\Agent1\_work\_tasks\ALOpsAppTest_05bf385f-26f1-474d-a993-49930a16de43\1.444.2568\68e392bc-5577-432c-b6fc-6495257cd724.ps1: line 3
2021-07-06T11:56:55.7184305Z ##[debug]at <ScriptBlock>, <No file>: line 1
2021-07-06T11:56:55.7195756Z ##[debug]at <ScriptBlock>, <No file>: line 22
2021-07-06T11:56:55.7207667Z ##[debug]at <ScriptBlock>, <No file>: line 18
2021-07-06T11:56:55.7221019Z ##[debug]at <ScriptBlock>, <No file>: line 1
2021-07-06T11:56:55.7238501Z ##[debug]Exception:
2021-07-06T11:56:55.7282533Z ##[debug]System.Management.Automation.Runspaces.InvalidRunspaceStateException: Because the session state for session WinRM1, 861c8e16-c72e-474f-a7dd-3618dc0ac88e, add3f025ffd470a2fe03ae8932305d7fdc336193f2e0d08bb71e22106ccf22f3 is not equal to Open, you cannot run a command  in the session.  The session state is Closing.
2021-07-06T11:56:55.7543049Z ##[error]Because the session state for session WinRM1, 861c8e16-c72e-474f-a7dd-3618dc0ac88e, add3f025ffd470a2fe03ae8932305d7fdc336193f2e0d08bb71e22106ccf22f3 is not equal to Open, you cannot run a command  in the session.  The session state is Closing.
2021-07-06T11:56:55.7545936Z ##[debug]Processed: ##vso[task.logissue type=error]Because the session state for session WinRM1, 861c8e16-c72e-474f-a7dd-3618dc0ac88e, add3f025ffd470a2fe03ae8932305d7fdc336193f2e0d08bb71e22106ccf22f3 is not equal to Open, you cannot run a command  in the session.  The session state is Closing.
2021-07-06T11:56:55.7549253Z ##[debug]Processed: ##vso[task.complete result=Failed]
2021-07-06T11:56:55.8008313Z ##[section]Finishing: Run Tests
waldo1001 commented 3 years ago

Can you give me a full repro (full yaml/pipeline) as mine are running just fine..

waldo1001 commented 3 years ago

And please, don't switch on debug - that doesn't work with the scripts from ALOps.

ik3ras commented 3 years ago

Ahh, i thought i might be helpfull with debug :) We have classic pipelines, but i can copy steps representation in YAML up until the failing step.

It might be environment related, but all pipelines up until BC18.2 are working just fine.

steps:
- task: Hodor.hodor-alops.ALOpsDockerCreate.ALOpsDockerCreate@1
  displayName: 'Create Docker Container'
  inputs:
    artifactcountry: w1
    imageprefix: w1

steps:
- task: Hodor.hodor-alops.alopsdockerstart.ALOpsDockerStart@1
  displayName: 'Start Docker Container'

steps:
- task: Hodor.hodor-alops.alopsdockerwait.ALOpsDockerWait@1
  displayName: 'Wait Docker Container'

steps:
- task: Hodor.hodor-alops.alopslicenseimport.ALOpsLicenseImport@1
  displayName: 'Import EQM License'
  inputs:
    usedocker: true
    license_path: '$(eqmLicense18)'

steps:
- task: Hodor.hodor-alops.alopspublishtask.ALOpsAppPublish@1
  displayName: 'Install Test Tool'
  inputs:
    usedocker: true
    installaltesttool: true
    install_al_app_names: |
     Tests-TestLibraries
     System Application Test
     System Application Test Library
     Any
     Library Assert
     Test Runner
     Permissions Mock

steps:
- task: Hodor.hodor-alops.alopsdeploytask.ALOpsAppCompiler@1
  displayName: 'Compiling the $(app_name)'
  inputs:
    usedocker: true
    targetproject: app/app.json
    nav_app_version: '$(bcVersion).[yyyy].*'
    app_file_suffix: '_APP'

steps:
- task: Hodor.hodor-alops.alopspublishtask.ALOpsAppPublish@1
  displayName: 'Publish Compiled $(app_name)'
  inputs:
    usedocker: true
    nav_artifact_app_filter: '*_$(app_name)*_APP.app'

steps:
- task: Hodor.hodor-alops.alopsdeploytask.ALOpsAppCompiler@1
  displayName: 'Compiling the $(test_app_name)'
  inputs:
    usedocker: true
    targetproject: test/app.json
    nav_app_version: '$(bcVersion).[yyyy].*'
    app_file_suffix: '_TEST'

steps:
- task: Hodor.hodor-alops.alopspublishtask.ALOpsAppPublish@1
  displayName: 'Publish Compiled $(test_app_name)'
  inputs:
    usedocker: true
    nav_artifact_app_filter: '*_$(test_app_name)*_TEST.app'

steps:
- task: Hodor.hodor-alops.alopsapptest.ALOpsAppTest@1
  displayName: 'Run Tests'
  inputs:
    usedocker: true
    show_available_tests: false
    import_testtoolkit: false
    testpage: 130455
    failed_test_action: Error

And output is:

Create Container

2021-07-06T11:33:22.4924603Z ##[section]Starting: Create Docker Container
2021-07-06T11:33:22.5102789Z ==============================================================================
2021-07-06T11:33:22.5103582Z Task         : ALOps Docker Create
2021-07-06T11:33:22.5104521Z Description  : Create Docker image from Business Central Artifacts
2021-07-06T11:33:22.5105165Z Version      : 1.444.2568
2021-07-06T11:33:22.5105660Z Author       : Hodor
2021-07-06T11:33:22.5106279Z Help         : Create Docker image based on NAV/BC Artifacts.
2021-07-06T11:33:22.5107074Z ==============================================================================
2021-07-06T11:33:23.8155576Z *** Validate configuration
2021-07-06T11:33:24.0346345Z *** Task Inputs:
2021-07-06T11:33:24.0443310Z 
2021-07-06T11:33:24.0574629Z name                      value                                                                                      
2021-07-06T11:33:24.0575342Z ----                      -----                                                                                      
2021-07-06T11:33:24.0576132Z artifactspecification     Specific                                                                                   
2021-07-06T11:33:24.0577547Z artifactversion                                                                                                      
2021-07-06T11:33:24.0578667Z artifacttype              OnPrem                                                                                     
2021-07-06T11:33:24.0579824Z artifactcountry           w1                                                                                         
2021-07-06T11:33:24.0581028Z versionselect             Latest                                                                                     
2021-07-06T11:33:24.0582192Z artifacthint                                                                                                         
2021-07-06T11:33:24.0583358Z multitenant               False                                                                                      
2021-07-06T11:33:24.0584521Z memory                    8G                                                                                         
2021-07-06T11:33:24.0585675Z imageprefix               w1                                                                                         
2021-07-06T11:33:24.0586836Z dockerregistry                                                                                                       
2021-07-06T11:33:24.0588026Z dockerusername                                                                                                       
2021-07-06T11:33:24.0589157Z dockerpassword                                                                                                       
2021-07-06T11:33:24.0590294Z storageaccount                                                                                                       
2021-07-06T11:33:24.0591426Z sastoken                                                                                                             
2021-07-06T11:33:24.0592584Z forcecreateimage          False                                                                                      
2021-07-06T11:33:24.0594292Z myscripts                                                                                                            
2021-07-06T11:33:24.0595673Z imagenametemplate         %IMAGE_PREFIX%:%ARTIFACT_TYPE%-%ARTIFACT_VERSION%-%ARTIFACT_COUNTRY%-%OS_VERSION%-%OS_LTSC%
2021-07-06T11:33:24.0596974Z licensefile                                                                                                          
2021-07-06T11:33:24.0598297Z includetesttoolkit        False                                                                                      
2021-07-06T11:33:24.0599612Z includetestlibrariesonly  False                                                                                      
2021-07-06T11:33:24.0600938Z includetestframeworkonly  False                                                                                      
2021-07-06T11:33:24.0604524Z includeperformancetoolkit False                                                                                      
2021-07-06T11:33:24.0605400Z 
2021-07-06T11:33:24.0623905Z 
2021-07-06T11:33:24.0630979Z 
2021-07-06T11:33:24.0761614Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-07-06T11:33:24.0762312Z 
2021-07-06T11:33:24.3737950Z *** ALOps License:
2021-07-06T11:33:24.3753029Z   * Licensed To: Armada Dynamics AS (Organization License)
2021-07-06T11:33:24.3754259Z 
2021-07-06T11:33:24.3990459Z *** Importing required PS-Functions
2021-07-06T11:33:24.6225979Z *** Install/Update BCContainerHelper [https://github.com/microsoft/navcontainerhelper]
2021-07-06T11:33:24.6264668Z *** Check BcContainerHelper
2021-07-06T11:33:24.6788018Z *** Load BcContainerHelper
2021-07-06T11:33:24.8213420Z BcContainerHelper version 2.0.13
2021-07-06T11:33:25.2792320Z 
2021-07-06T11:33:25.2793122Z ModuleType Version    Name                                ExportedCommands                                             
2021-07-06T11:33:25.2793708Z ---------- -------    ----                                ----------------                                             
2021-07-06T11:33:25.2794247Z Script     2.0.13     BcContainerHelper                   {Add-FontsToBcContainer, Add-GitToAlProjectFolder, Backup-...
2021-07-06T11:33:25.2794511Z 
2021-07-06T11:33:25.2794597Z 
2021-07-06T11:33:25.2794680Z 
2021-07-06T11:33:25.2794929Z 
2021-07-06T11:33:25.2832027Z *** Get Artifact Url for Version [] / Country [w1] / Type [OnPrem]: Latest
2021-07-06T11:33:25.2896454Z ##[command]"Get-BCArtifactUrl" 
2021-07-06T11:33:25.2896901Z Name                           Value                                                                                   
2021-07-06T11:33:25.2897458Z ----                           -----                                                                                   
2021-07-06T11:33:25.2897997Z select                         Latest                                                                                  
2021-07-06T11:33:25.2898521Z type                           OnPrem                                                                                  
2021-07-06T11:33:25.2899042Z country                        w1                                                                                      
2021-07-06T11:33:25.2899291Z 
2021-07-06T11:33:25.2899384Z 
2021-07-06T11:33:25.2899475Z 
2021-07-06T11:33:26.4924282Z *** Artifact Url: [https://bcartifacts.azureedge.net/onprem/18.3.27240.27480/w1]
2021-07-06T11:33:26.4928232Z *** Build new Image based on [https://bcartifacts.azureedge.net/onprem/18.3.27240.27480/w1]
2021-07-06T11:33:26.4978222Z *** Artifact Type   : [onprem]
2021-07-06T11:33:26.4982059Z *** Artifact Version: [18.3.27240.27480]
2021-07-06T11:33:26.4985645Z *** Artifact Country: [w1]
2021-07-06T11:33:26.5920422Z *** OS: [2019]
2021-07-06T11:33:26.8883434Z *** OS version: [10.0.17763.1935]
2021-07-06T11:33:26.8887997Z *** Image Template: [%IMAGE_PREFIX%:%ARTIFACT_TYPE%-%ARTIFACT_VERSION%-%ARTIFACT_COUNTRY%-%OS_VERSION%-%OS_LTSC%]
2021-07-06T11:33:26.8918135Z *** ImageName: [w1:onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019]
2021-07-06T11:33:26.8945032Z *** Set Pipeline variable $(ALOPS_BC_IMAGE) = 'w1:onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019'
2021-07-06T11:33:27.0456756Z *** Image already locally cached. Skipping Pull/Create image.
2021-07-06T11:33:27.0460402Z *** Docker Create Succeeded.
2021-07-06T11:33:27.0517314Z *** Cleanup VSTS Environment: True
2021-07-06T11:33:29.3416040Z ##[section]Finishing: Create Docker Container

Start Container

2021-07-06T11:33:29.3439314Z ##[section]Starting: Start Docker Container
2021-07-06T11:33:29.3544689Z ==============================================================================
2021-07-06T11:33:29.3545023Z Task         : ALOps Docker Start
2021-07-06T11:33:29.3545283Z Description  : Start a Business Central container
2021-07-06T11:33:29.3545516Z Version      : 1.444.2568
2021-07-06T11:33:29.3545718Z Author       : Hodor
2021-07-06T11:33:29.3545960Z Help         : Start Business Central docker container.
2021-07-06T11:33:29.3546781Z ==============================================================================
2021-07-06T11:33:30.5204884Z *** Using ALOpsDockerCreate image, disabling [docker_pull]
2021-07-06T11:33:30.5208939Z *** Importing required PS-Functions
2021-07-06T11:33:30.8762261Z *** Validate configuration
2021-07-06T11:33:31.1067175Z *** Task Inputs:
2021-07-06T11:33:31.1115694Z 
2021-07-06T11:33:31.1215028Z name                        value                                                 
2021-07-06T11:33:31.1215680Z ----                        -----                                                 
2021-07-06T11:33:31.1216062Z fixed_tag                                                                         
2021-07-06T11:33:31.1216630Z ignore_no_container_warning False                                                 
2021-07-06T11:33:31.1217351Z docker_image                w1:onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019
2021-07-06T11:33:31.1217994Z accept_image_eula           True                                                  
2021-07-06T11:33:31.1218652Z accept_image_outdated       True                                                  
2021-07-06T11:33:31.1219317Z enable_symbol_loading       False                                                 
2021-07-06T11:33:31.1219967Z enable_api_services         False                                                 
2021-07-06T11:33:31.1220625Z multitenant                 False                                                 
2021-07-06T11:33:31.1221291Z docker_pull                 True                                                  
2021-07-06T11:33:31.1221966Z dockerauthentication        None                                                  
2021-07-06T11:33:31.1222595Z docker_login                                                                      
2021-07-06T11:33:31.1223254Z docker_username                                                                   
2021-07-06T11:33:31.1223899Z docker_password                                                                   
2021-07-06T11:33:31.1224559Z docker_registry                                                                   
2021-07-06T11:33:31.1225224Z memory_gb                   -1                                                    
2021-07-06T11:33:31.1225884Z container_restart           no                                                    
2021-07-06T11:33:31.1226556Z licensefile                                                                       
2021-07-06T11:33:31.1227207Z docker_parameters                                                                 
2021-07-06T11:33:31.1227970Z sql_server                                                                        
2021-07-06T11:33:31.1228609Z sql_server_instance                                                               
2021-07-06T11:33:31.1229244Z sql_database                                                                      
2021-07-06T11:33:31.1229892Z sql_database_user                                                                 
2021-07-06T11:33:31.1230539Z sql_database_user_password                                                        
2021-07-06T11:33:31.1231193Z sql_backup_file                                                                   
2021-07-06T11:33:31.1231837Z encryption_key                                                                    
2021-07-06T11:33:31.1232025Z 
2021-07-06T11:33:31.1251181Z 
2021-07-06T11:33:31.1257440Z 
2021-07-06T11:33:31.1383052Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-07-06T11:33:31.1384392Z 
2021-07-06T11:33:31.4788332Z *** ALOps License:
2021-07-06T11:33:31.4803013Z   * Licensed To: Armada Dynamics AS (Organization License)
2021-07-06T11:33:31.4804427Z 
2021-07-06T11:33:31.6608006Z ##[command]"docker" create --env accept_eula=Y --env accept_outdated=Y --restart no --label TFSBuild=EQM365_8423 w1:onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019
2021-07-06T11:33:31.7972769Z *** Checking for Assemblies in App
2021-07-06T11:33:31.9521338Z *** Create TempFile
2021-07-06T11:33:31.9617184Z *** Test Docker-Path: [/Program Files/Microsoft Dynamics NAV/180/Service/Add-ins/]
2021-07-06T11:34:20.9103879Z *** Cleanup TempFile
2021-07-06T11:34:20.9149278Z *** BC Service Folder: [/Program Files/Microsoft Dynamics NAV/180/Service/Add-ins/]
2021-07-06T11:34:20.9234506Z *** Assemblies in App found. Adding Probing Paths (1).
2021-07-06T11:34:20.9267487Z   * C:\DevOpsAgents\Agent2\_work\10\s\app\.netpackages
2021-07-06T11:34:21.1498233Z ##[command]"docker" start 0dd8ae55029842eef327a6d76167de231d011a507ef71a401b64b4cd577210d8
2021-07-06T11:34:21.9993882Z *** Container Started: 0dd8ae55029842eef327a6d76167de231d011a507ef71a401b64b4cd577210d8
2021-07-06T11:34:22.1526405Z *** Container Labels:
2021-07-06T11:34:22.1564601Z 
2021-07-06T11:34:22.2254582Z *** Docker Start OK.
2021-07-06T11:34:22.2254817Z *** Cleanup VSTS Environment: True
2021-07-06T11:34:24.4829827Z ##[section]Async Command Start: Add Build Tag
2021-07-06T11:34:24.4830572Z Build '8423' has following tags now: AL.Compiler.ALLanguage, w1-onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019, BC.Platform.18.0.27224.27469, BC.Version.18.3.27240.27480, App.EQM 365 Rental.18.3.2021.8423, App.EQM 365 Rental Test Library.18.3.2021.8423
2021-07-06T11:34:24.4831124Z ##[section]Async Command End: Add Build Tag
2021-07-06T11:34:24.4831984Z ##[section]Async Command Start: Add Build Tag
2021-07-06T11:34:24.4832660Z Build '8423' has following tags now: AL.Compiler.ALLanguage, w1-onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019, BC.Platform.18.0.27224.27469, BC.Version.18.3.27240.27480, App.EQM 365 Rental.18.3.2021.8423, App.EQM 365 Rental Test Library.18.3.2021.8423
2021-07-06T11:34:24.4833215Z ##[section]Async Command End: Add Build Tag
2021-07-06T11:34:24.4833887Z ##[section]Async Command Start: Add Build Tag
2021-07-06T11:34:24.4834556Z Build '8423' has following tags now: AL.Compiler.ALLanguage, w1-onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019, BC.Platform.18.0.27224.27469, BC.Version.18.3.27240.27480, App.EQM 365 Rental.18.3.2021.8423, App.EQM 365 Rental Test Library.18.3.2021.8423
2021-07-06T11:34:24.4835102Z ##[section]Async Command End: Add Build Tag
2021-07-06T11:34:24.4835984Z ##[section]Finishing: Start Docker Container

Wait Docker Container

2021-07-06T11:34:25.3878579Z ##[section]Starting: Wait Docker Container
2021-07-06T11:34:25.3972577Z ==============================================================================
2021-07-06T11:34:25.3972910Z Task         : ALOps Docker Wait
2021-07-06T11:34:25.3973194Z Description  : Wait until the Business Central container is started
2021-07-06T11:34:25.3973453Z Version      : 1.444.2568
2021-07-06T11:34:25.3973653Z Author       : Hodor
2021-07-06T11:34:25.3973931Z Help         : Wait until the Business Central container is started.
2021-07-06T11:34:25.3974400Z ==============================================================================
2021-07-06T11:34:26.5207797Z *** Validate configuration
2021-07-06T11:34:26.7406469Z *** Task Inputs:
2021-07-06T11:34:26.7449825Z 
2021-07-06T11:34:26.7519235Z name                 value                 
2021-07-06T11:34:26.7519643Z ----                 -----                 
2021-07-06T11:34:26.7520345Z fixed_tag                                  
2021-07-06T11:34:26.7521081Z search_string        Ready for connections!
2021-07-06T11:34:26.7521750Z warning_string                             
2021-07-06T11:34:26.7522444Z error_string                               
2021-07-06T11:34:26.7523184Z setup_working_folder True                  
2021-07-06T11:34:26.7523881Z usecompression       True                  
2021-07-06T11:34:26.7524600Z printlogs            True                  
2021-07-06T11:34:26.7524759Z 
2021-07-06T11:34:26.7544459Z 
2021-07-06T11:34:26.7550615Z 
2021-07-06T11:34:26.7662925Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-07-06T11:34:26.7663762Z 
2021-07-06T11:34:27.1078248Z *** ALOps License:
2021-07-06T11:34:27.1092788Z   * Licensed To: Armada Dynamics AS (Organization License)
2021-07-06T11:34:27.1094249Z 
2021-07-06T11:34:27.1191561Z *** Importing required PS-Functions
2021-07-06T11:34:27.5214313Z *** Waiting for Docker Container Log Entry: Ready for connections!
2021-07-06T11:34:28.6888183Z Initializing...
2021-07-06T11:34:28.6898378Z Starting Container
2021-07-06T11:34:28.6902489Z Hostname is 0dd8ae550298
2021-07-06T11:34:28.6906439Z PublicDnsName is 0dd8ae550298
2021-07-06T11:34:28.6910356Z Using NavUserPassword Authentication
2021-07-06T11:34:28.6914188Z Starting Local SQL Server
2021-07-06T11:34:28.6918004Z Starting Internet Information Server
2021-07-06T11:34:28.6921808Z Creating Self Signed Certificate
2021-07-06T11:34:28.6926539Z Self Signed Certificate Thumbprint 7F2EC0AFD5078C16F89DC63804DA1ACB9DE1797A
2021-07-06T11:34:28.6930329Z Modifying Service Tier Config File with Instance Specific Settings
2021-07-06T11:34:28.6934119Z Starting Service Tier
2021-07-06T11:34:39.0035342Z Registering event sources
2021-07-06T11:34:39.0039626Z Creating DotNetCore Web Server Instance
2021-07-06T11:34:41.6356354Z Creating http download site
2021-07-06T11:34:41.6360140Z Setting SA Password and enabling SA
2021-07-06T11:34:42.9129496Z Creating admin as SQL User and add to sysadmin
2021-07-06T11:34:42.9133227Z Creating SUPER user
2021-07-06T11:34:49.5458628Z Container IP Address: 172.29.47.82
2021-07-06T11:34:49.5466644Z Container Hostname  : 0dd8ae550298
2021-07-06T11:34:49.5474407Z Container Dns Name  : 0dd8ae550298
2021-07-06T11:34:49.5482174Z Web Client          : https://0dd8ae550298/BC/
2021-07-06T11:34:49.5489849Z Admin Username      : admin
2021-07-06T11:34:49.5498599Z Admin Password      : Rygy8686
2021-07-06T11:34:49.5506193Z Dev. Server         : https://0dd8ae550298
2021-07-06T11:34:49.5513715Z Dev. ServerInstance : BC
2021-07-06T11:34:49.5517914Z 
2021-07-06T11:34:49.5525685Z Files:
2021-07-06T11:34:49.5533323Z http://0dd8ae550298:8080/ALLanguage.vsix
2021-07-06T11:34:49.5540742Z http://0dd8ae550298:8080/certificate.cer
2021-07-06T11:34:49.5544824Z 
2021-07-06T11:34:49.5552615Z Container Total Physical Memory is 127.7Gb
2021-07-06T11:34:49.5560048Z Container Free Physical Memory is 95.1Gb
2021-07-06T11:34:49.5564172Z 
2021-07-06T11:34:49.5571908Z Initialization took 26 seconds
2021-07-06T11:34:49.5580053Z Ready for connections!
2021-07-06T11:34:49.5587588Z Starting EventLog Monitor
2021-07-06T11:34:49.5595171Z Monitoring EventSources from EventLog[Application]:
2021-07-06T11:34:49.5602492Z - MicrosoftDynamicsNAVClientClientService
2021-07-06T11:34:49.5609899Z - MicrosoftDynamicsNAVClientWebClient
2021-07-06T11:34:49.5617325Z - MicrosoftDynamicsNavServer$BC
2021-07-06T11:34:49.5623740Z - MSSQL$SQLEXPRESS
2021-07-06T11:34:49.5626956Z 
2021-07-06T11:34:49.7536813Z 
2021-07-06T11:34:50.1961336Z *** BC Container Parameters:
2021-07-06T11:34:50.1999649Z 
2021-07-06T11:34:50.2007681Z *** Mapping container info to global variables:
2021-07-06T11:34:50.2059440Z *** Set Pipeline variable $(ALOPS_DOCKER_CONTAINER_ID) = '0dd8ae55029842eef327a6d76167de231d011a507ef71a401b64b4cd577210d8'
2021-07-06T11:34:50.2180706Z *** Set Pipeline variable $(ALOPS_DOCKER_IPADDRESS) = '172.29.47.82'
2021-07-06T11:34:50.2208541Z *** Set Pipeline variable $(ALOPS_DOCKER_HOSTNAME) = '0dd8ae550298'
2021-07-06T11:34:50.2238413Z *** Set Pipeline variable $(ALOPS_DOCKER_DNSNAME) = '0dd8ae550298'
2021-07-06T11:34:50.2268504Z *** Set Pipeline variable $(ALOPS_DOCKER_WEBCLIENT) = 'https://0dd8ae550298/BC/'
2021-07-06T11:34:50.2297663Z *** Set Pipeline variable $(ALOPS_DOCKER_VSIX) = 'http://0dd8ae550298:8080/ALLanguage.vsix'
2021-07-06T11:34:50.2322321Z *** Set Pipeline variable $(ALOPS_DOCKER_CERTIFICATE) = 'http://0dd8ae550298:8080/certificate.cer'
2021-07-06T11:34:50.2345835Z *** Set Pipeline variable $(ALOPS_DOCKER_ADMINUSER) = 'admin'
2021-07-06T11:34:50.2369621Z *** Set Pipeline variable $(ALOPS_DOCKER_ADMINPASSWORD) = 'Rygy8686'
2021-07-06T11:34:50.2393774Z *** Set Pipeline variable $(ALOPS_DOCKER_NAVSERVERINSTANCE) = 'BC'
2021-07-06T11:34:50.2465067Z *** Initiate Docker Session
2021-07-06T11:34:50.5331923Z *** Set Docker Container ErrorActionPreference = Stop
2021-07-06T11:34:50.6246002Z *** Working folder: C:\DevOpsAgents\Agent2\_work\10\s
2021-07-06T11:34:50.6253469Z ***
2021-07-06T11:34:50.6261901Z *** Copy Working folder to Docker Container: 0dd8ae55029842eef327a6d76167de231d011a507ef71a401b64b4cd577210d8
2021-07-06T11:34:50.6269444Z *** Docker Working Folder: c:\Run\DevOps\
2021-07-06T11:34:50.6278582Z *** Copy from [C:\DevOpsAgents\Agent2\_work\10\s] to [c:\Run\DevOps\]
2021-07-06T11:34:50.7023924Z *** Compression Enabled Transfer (Dotnet)
2021-07-06T11:34:50.7173778Z *** Compress Source Files
2021-07-06T11:35:10.3198684Z *** Transfer compressed Archive to session (82521834 bytes)
2021-07-06T11:35:27.5995311Z *** Expand source files in target session
2021-07-06T11:35:28.9811871Z *** Source File setup completed
2021-07-06T11:35:29.0073972Z *** Cleanup VSTS Environment: True
2021-07-06T11:35:31.3216127Z ##[section]Finishing: Wait Docker Container

Install test tool

2021-07-06T11:35:37.7318460Z ##[section]Starting: Install Test Tool
2021-07-06T11:35:37.7504248Z ==============================================================================
2021-07-06T11:35:37.7505040Z Task         : ALOps App Publish
2021-07-06T11:35:37.7505681Z Description  : Publish AL Extension to Business Central
2021-07-06T11:35:37.7506327Z Version      : 1.444.2568
2021-07-06T11:35:37.7506805Z Author       : Hodor
2021-07-06T11:35:37.7507474Z Help         : Publish Business Central extension to service tier.
2021-07-06T11:35:37.7508286Z ==============================================================================
2021-07-06T11:35:39.0860855Z *** Validate configuration
2021-07-06T11:35:39.2944888Z *** Task Inputs:
2021-07-06T11:35:39.2992545Z 
2021-07-06T11:35:39.3073800Z name                                                                                                              value
2021-07-06T11:35:39.3074728Z ----                                                                                                              -----
2021-07-06T11:35:39.3075717Z usedocker                                                                                                          True
2021-07-06T11:35:39.3076356Z fixed_tag                                                                                                              
2021-07-06T11:35:39.3076888Z installpublishedapps                                                                                               True
2021-07-06T11:35:39.3077490Z installaltesttool                                                                                                  True
2021-07-06T11:35:39.3078948Z install_al_app_names                                                                             Tests-TestLibraries...
2021-07-06T11:35:39.3079454Z strictappnames                                                                                                    False
2021-07-06T11:35:39.3079908Z nav_serverinstance                                                                                                BC140
2021-07-06T11:35:39.3080477Z artifact_path                                                                                                          
2021-07-06T11:35:39.3081325Z nav_artifact_app_filter                                                                                           *.app
2021-07-06T11:35:39.3081917Z skip_verification                                                                                                  True
2021-07-06T11:35:39.3082697Z forceinstall                                                                                                      False
2021-07-06T11:35:39.3083314Z forcesync                                                                                                         False
2021-07-06T11:35:39.3084098Z publish_scope                                                                                                    Global
2021-07-06T11:35:39.3084712Z tenant                                                                                                          default
2021-07-06T11:35:39.3085510Z batch_publish_folder                                                                                                   
2021-07-06T11:35:39.3086117Z publisherazureactivedirectorytenantid                                                                                  
2021-07-06T11:35:39.3086391Z 
2021-07-06T11:35:39.3109611Z 
2021-07-06T11:35:39.3115166Z 
2021-07-06T11:35:39.3261530Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-07-06T11:35:39.3263326Z 
2021-07-06T11:35:39.6721787Z *** ALOps License:
2021-07-06T11:35:39.6749066Z   * Licensed To: Armada Dynamics AS (Organization License)
2021-07-06T11:35:39.6751762Z 
2021-07-06T11:35:39.6893071Z *** Importing required PS-Functions
2021-07-06T11:35:40.1062504Z *** Initiate Docker Session
2021-07-06T11:35:40.4274227Z *** Set Docker Container ErrorActionPreference = Stop
2021-07-06T11:35:40.6641448Z *** Install AL TestTool: True
2021-07-06T11:35:40.6644776Z *** Start AL-TestTool installation
2021-07-06T11:35:41.2097214Z *** Import NAV/BC Management DLL's
2021-07-06T11:35:41.2152735Z *** Loading assemblies for ServiceTier [BC].
2021-07-06T11:35:41.3713669Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\180\service]
2021-07-06T11:35:41.3802843Z *** Selected module: [C:\program files\microsoft dynamics nav\180\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2021-07-06T11:35:41.3827511Z *** Loading module: [C:\program files\microsoft dynamics nav\180\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2021-07-06T11:35:41.3996555Z *** Selected module: [C:\program files\microsoft dynamics nav\180\service\Microsoft.Dynamics.Nav.Management.dll]
2021-07-06T11:35:41.3999289Z *** Loading module: [C:\program files\microsoft dynamics nav\180\service\Microsoft.Dynamics.Nav.Management.dll]
2021-07-06T11:35:41.6170148Z *** Check MockAssemblies.
2021-07-06T11:35:41.6283317Z *** Application requested for installation:
2021-07-06T11:35:41.6330599Z   * Any
2021-07-06T11:35:41.6338518Z   * Library Assert
2021-07-06T11:35:41.6346728Z   * Library Variable Storage
2021-07-06T11:35:41.6356455Z   * Permissions Mock
2021-07-06T11:35:41.6363970Z   * System Application Test
2021-07-06T11:35:41.6373346Z   * System Application Test Library
2021-07-06T11:35:41.6381951Z   * Test Runner
2021-07-06T11:35:41.6389438Z   * Tests-TestLibraries
2021-07-06T11:35:41.6392830Z 
2021-07-06T11:35:41.6452885Z *** Get Available Applications from [C:\Applications*\].
2021-07-06T11:35:41.6541246Z *** Get [*.app] files recursive from [C:\Applications*\]
2021-07-06T11:35:41.7603282Z *** Found [104] files.
2021-07-06T11:35:41.7628414Z *** Extract App detail from [C:\Applications\APIV1\Source\Microsoft__Exclude_APIV1_.app]
2021-07-06T11:35:41.8453326Z *** Extract App detail from [C:\Applications\APIV1\Test\Microsoft__Exclude_APIV1_ Tests.app]
2021-07-06T11:35:41.8540368Z *** Extract App detail from [C:\Applications\APIV2\Source\Microsoft__Exclude_APIV2_.app]
2021-07-06T11:35:41.8590432Z *** Extract App detail from [C:\Applications\APIV2\Test\Microsoft__Exclude_APIV2_ Tests.app]
2021-07-06T11:35:41.8615894Z *** Extract App detail from [C:\Applications\Application\Source\Microsoft_Application.app]
2021-07-06T11:35:41.8627380Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Base Application.app]
2021-07-06T11:35:41.9869156Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Czech language (Czechia).app]
2021-07-06T11:35:41.9890034Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Danish language (Denmark).app]
2021-07-06T11:35:41.9910694Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Dutch language (Belgium).app]
2021-07-06T11:35:41.9930876Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Dutch language (Netherlands).app]
2021-07-06T11:35:41.9949920Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_English language (Australia).app]
2021-07-06T11:35:41.9968903Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_English language (Canada).app]
2021-07-06T11:35:41.9986659Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_English language (New Zealand).app]
2021-07-06T11:35:42.0004519Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_English language (United Kingdom).app]
2021-07-06T11:35:42.0023486Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_English language (United States).app]
2021-07-06T11:35:42.0040767Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Finnish language (Finland).app]
2021-07-06T11:35:42.0059128Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_French language (Belgium).app]
2021-07-06T11:35:42.0075042Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_French language (Canada).app]
2021-07-06T11:35:42.0092304Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_French language (France).app]
2021-07-06T11:35:42.0111704Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_French language (Switzerland).app]
2021-07-06T11:35:42.0129163Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_German language (Austria).app]
2021-07-06T11:35:42.0145321Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_German language (Germany).app]
2021-07-06T11:35:42.0161023Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_German language (Switzerland).app]
2021-07-06T11:35:42.0177529Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Icelandic language (Iceland).app]
2021-07-06T11:35:42.0193276Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Italian language (Italy).app]
2021-07-06T11:35:42.0209119Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Italian language (Switzerland).app]
2021-07-06T11:35:42.0221779Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Norwegian language (Norway).app]
2021-07-06T11:35:42.0238446Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Russian language (Russia).app]
2021-07-06T11:35:42.0253318Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Spanish language (Mexico).app]
2021-07-06T11:35:42.0268500Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Spanish language (Spain).app]
2021-07-06T11:35:42.0284281Z *** Extract App detail from [C:\Applications\BaseApp\Source\Microsoft_Swedish language (Sweden).app]
2021-07-06T11:35:42.0697872Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Library-NoTransactions.app]
2021-07-06T11:35:42.0716785Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Bank.app]
2021-07-06T11:35:42.0739719Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Cash Flow.app]
2021-07-06T11:35:42.0751864Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Cost Accounting.app]
2021-07-06T11:35:42.0769051Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-CRM integration.app]
2021-07-06T11:35:42.0796285Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Data Exchange.app]
2021-07-06T11:35:42.0814112Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Dimension.app]
2021-07-06T11:35:42.0835013Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-ERM.app]
2021-07-06T11:35:42.0940520Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Fixed Asset.app]
2021-07-06T11:35:42.0954994Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-General Journal.app]
2021-07-06T11:35:42.0975014Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Graph.app]
2021-07-06T11:35:42.0997275Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Integration.app]
2021-07-06T11:35:42.1014065Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Invoicing.app]
2021-07-06T11:35:42.1029559Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Job.app]
2021-07-06T11:35:42.1050112Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Local.app]
2021-07-06T11:35:42.1059367Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Marketing.app]
2021-07-06T11:35:42.1081417Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Misc.app]
2021-07-06T11:35:42.1130356Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Monitor Sensitive Fields.app]
2021-07-06T11:35:42.1140062Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Permissions.app]
2021-07-06T11:35:42.1152363Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Physical Inventory.app]
2021-07-06T11:35:42.1164135Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Prepayment.app]
2021-07-06T11:35:42.1179153Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Rapid Start.app]
2021-07-06T11:35:42.1191812Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Report.app]
2021-07-06T11:35:42.1212524Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Resource.app]
2021-07-06T11:35:42.1227233Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Reverse.app]
2021-07-06T11:35:42.1238543Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-SCM.app]
2021-07-06T11:35:42.1322315Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-SINGLESERVER.app]
2021-07-06T11:35:42.1342917Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-SMB.app]
2021-07-06T11:35:42.1362616Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-SMTP.app]
2021-07-06T11:35:42.1371712Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app]
2021-07-06T11:35:42.1423711Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Upgrade.app]
2021-07-06T11:35:42.1438667Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-User.app]
2021-07-06T11:35:42.1449305Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-VAT.app]
2021-07-06T11:35:42.1470970Z *** Extract App detail from [C:\Applications\BaseApp\Test\Microsoft_Tests-Workflow.app]
2021-07-06T11:35:42.1494151Z *** Extract App detail from [C:\Applications\ClientAddIns\Source\Microsoft__Exclude_ClientAddIns_.app]
2021-07-06T11:35:42.1504043Z *** Extract App detail from [C:\Applications\CompanyHub\Source\Microsoft_Company Hub.app]
2021-07-06T11:35:42.1545959Z *** Extract App detail from [C:\Applications\CompanyHub\Test\Microsoft_Company Hub Tests.app]
2021-07-06T11:35:42.1555479Z *** Extract App detail from [C:\Applications\datacorrectionfa\source\Microsoft_Troubleshoot FA Ledger Entries.app]
2021-07-06T11:35:42.1570733Z *** Extract App detail from [C:\Applications\Email - Current User Connector\Source\Microsoft_Email - Current User Connector.app]
2021-07-06T11:35:42.1583093Z *** Extract App detail from [C:\Applications\Email - Current User Connector\Test\Microsoft_Email - Current User Connector Tests.app]
2021-07-06T11:35:42.1593667Z *** Extract App detail from [C:\Applications\Email - Microsoft 365 Connector\Source\Microsoft_Email - Microsoft 365 Connector.app]
2021-07-06T11:35:42.1609148Z *** Extract App detail from [C:\Applications\Email - Microsoft 365 Connector\Test\Microsoft_Email - Microsoft 365 Connector Tests.app]
2021-07-06T11:35:42.1618699Z *** Extract App detail from [C:\Applications\Email - Outlook REST API\Source\Microsoft_Email - Outlook REST API.app]
2021-07-06T11:35:42.1635211Z *** Extract App detail from [C:\Applications\Email - Outlook REST API\Test\Microsoft_Library Outlook REST API.app]
2021-07-06T11:35:42.1645138Z *** Extract App detail from [C:\Applications\Email - SMTP Connector\Source\Microsoft_Email - SMTP Connector.app]
2021-07-06T11:35:42.1667390Z *** Extract App detail from [C:\Applications\Email - SMTP Connector\Test\Microsoft_Email - SMTP Connector Tests.app]
2021-07-06T11:35:42.1677365Z *** Extract App detail from [C:\Applications\EssentialBusinessHeadlines\Source\Microsoft_Essential Business Headlines.app]
2021-07-06T11:35:42.1698593Z *** Extract App detail from [C:\Applications\EssentialBusinessHeadlines\Test\Microsoft_Essential Business Headlines Test.app]
2021-07-06T11:35:42.1707653Z *** Extract App detail from [C:\Applications\LatePaymentPredictor\Source\Microsoft_Late Payment Prediction.app]
2021-07-06T11:35:42.1736245Z *** Extract App detail from [C:\Applications\LatePaymentPredictor\Test\Microsoft_Late Payment Prediction Tests.app]
2021-07-06T11:35:42.1745775Z *** Extract App detail from [C:\Applications\microsoftuniversalprint\source\Microsoft_Universal Print Integration (Preview).app]
2021-07-06T11:35:42.1771028Z *** Extract App detail from [C:\Applications\onprem permissions\source\Microsoft_OnPrem Permissions.app]
2021-07-06T11:35:42.1811711Z *** Extract App detail from [C:\Applications\onprem permissions\test\Microsoft_OnPrem Permissions Tests.app]
2021-07-06T11:35:42.1821754Z *** Extract App detail from [C:\Applications\paypalpaymentsstandard\source\Microsoft_PayPal Payments Standard.app]
2021-07-06T11:35:42.1849112Z *** Extract App detail from [C:\Applications\paypalpaymentsstandard\test\Microsoft_PayPal Payments Standard Tests.app]
2021-07-06T11:35:42.1859357Z *** Extract App detail from [C:\Applications\salesandinventoryforecast\source\Microsoft_Sales and Inventory Forecast.app]
2021-07-06T11:35:42.1889991Z *** Extract App detail from [C:\Applications\salesandinventoryforecast\test\Microsoft_Sales and Inventory Forecast Tests.app]
2021-07-06T11:35:42.1899112Z *** Extract App detail from [C:\Applications\sendtoemailprinter\source\Microsoft_Send To Email Printer.app]
2021-07-06T11:35:42.1917172Z *** Extract App detail from [C:\Applications\simplifiedbankstatementimport\source\Microsoft_Simplified Bank Statement Import.app]
2021-07-06T11:35:42.1936165Z *** Extract App detail from [C:\Applications\system application\source\Microsoft_System Application.app]
2021-07-06T11:35:42.2054954Z *** Extract App detail from [C:\Applications\system application\test\Microsoft_System Application Test Library.app]
2021-07-06T11:35:42.2074960Z *** Extract App detail from [C:\Applications\system application\test\Microsoft_System Application Test.app]
2021-07-06T11:35:42.2100615Z *** Extract App detail from [C:\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit Samples.app]
2021-07-06T11:35:42.2110995Z *** Extract App detail from [C:\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit Tests.app]
2021-07-06T11:35:42.2121040Z *** Extract App detail from [C:\Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit.app]
2021-07-06T11:35:42.2135953Z *** Extract App detail from [C:\Applications\testframework\TestLibraries\Any\Microsoft_Any.app]
2021-07-06T11:35:42.2144910Z *** Extract App detail from [C:\Applications\testframework\TestLibraries\Assert\Microsoft_Library Assert.app]
2021-07-06T11:35:42.2156338Z *** Extract App detail from [C:\Applications\testframework\TestLibraries\permissions mock\Microsoft_Permissions Mock.app]
2021-07-06T11:35:42.2165892Z *** Extract App detail from [C:\Applications\testframework\TestLibraries\Variable Storage\Microsoft_Library Variable Storage.app]
2021-07-06T11:35:42.2176421Z *** Extract App detail from [C:\Applications\testframework\TestRunner\Microsoft_Test Runner.app]
2021-07-06T11:35:42.2282925Z *** Extract App detail from [C:\Applications\uksendremittanceadvice\source\Microsoft_Send remittance advice by email.app]
2021-07-06T11:35:42.2284641Z *** Extract App detail from [C:\Applications\vatgroupmanagement\source\Microsoft_VAT Group Management.app]
2021-07-06T11:35:42.2286134Z *** Extract App detail from [C:\Applications\vatgroupmanagement\test\Microsoft_VAT Group Management Tests.app]
2021-07-06T11:35:42.7706968Z *** Substitute W1 extensions with localised versions if available
2021-07-06T11:35:42.8674346Z *** Available Applications:
2021-07-06T11:35:42.9424243Z *** Installing Applications:
2021-07-06T11:35:42.9477498Z *** Get App Info: C:\Applications\testframework\TestLibraries\Assert\Microsoft_Library Assert.app
2021-07-06T11:35:42.9536742Z *** Get App Tenant Info
2021-07-06T11:35:43.4914229Z *** Publish App: [Microsoft / Library Assert]
2021-07-06T11:35:46.2882372Z *** Sync App: [Microsoft / Library Assert]
2021-07-06T11:35:46.5241769Z *** Install App: [Microsoft / Library Assert]
2021-07-06T11:35:47.7059778Z ***
2021-07-06T11:35:47.7064633Z *** Get App Info: C:\Applications\testframework\TestLibraries\Any\Microsoft_Any.app
2021-07-06T11:35:47.7083422Z *** Get App Tenant Info
2021-07-06T11:35:47.7270382Z *** Publish App: [Microsoft / Any]
2021-07-06T11:35:47.8362768Z *** Sync App: [Microsoft / Any]
2021-07-06T11:35:47.8569538Z *** Install App: [Microsoft / Any]
2021-07-06T11:35:47.9894108Z ***
2021-07-06T11:35:47.9897299Z *** Get App Info: C:\Applications\testframework\TestLibraries\Variable Storage\Microsoft_Library Variable Storage.app
2021-07-06T11:35:47.9918589Z *** Get App Tenant Info
2021-07-06T11:35:48.0047006Z *** Publish App: [Microsoft / Library Variable Storage]
2021-07-06T11:35:48.0901240Z *** Sync App: [Microsoft / Library Variable Storage]
2021-07-06T11:35:48.1139950Z *** Install App: [Microsoft / Library Variable Storage]
2021-07-06T11:35:48.2203779Z ***
2021-07-06T11:35:48.2210338Z *** Get App Info: C:\Applications\system application\test\Microsoft_System Application Test Library.app
2021-07-06T11:35:48.2266020Z *** Get App Tenant Info
2021-07-06T11:35:48.2516684Z *** Publish App: [Microsoft / System Application Test Library]
2021-07-06T11:35:49.8584919Z *** Sync App: [Microsoft / System Application Test Library]
2021-07-06T11:35:50.3767558Z *** Install App: [Microsoft / System Application Test Library]
2021-07-06T11:35:51.7191486Z ***
2021-07-06T11:35:51.7194326Z *** Get App Info: C:\Applications\testframework\TestLibraries\permissions mock\Microsoft_Permissions Mock.app
2021-07-06T11:35:51.7210393Z *** Get App Tenant Info
2021-07-06T11:35:51.7646613Z *** Sync App: [Microsoft / Permissions Mock]
2021-07-06T11:35:51.7915905Z *** Install App: [Microsoft / Permissions Mock]
2021-07-06T11:35:51.9006929Z ***
2021-07-06T11:35:51.9021899Z *** Get App Info: C:\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app
2021-07-06T11:35:51.9053624Z *** Get App Tenant Info
2021-07-06T11:35:51.9182241Z *** Publish App: [Microsoft / Tests-TestLibraries]
2021-07-06T11:36:00.6185152Z *** Sync App: [Microsoft / Tests-TestLibraries]
2021-07-06T11:36:01.4690636Z *** Install App: [Microsoft / Tests-TestLibraries]
2021-07-06T11:36:04.2432591Z ***
2021-07-06T11:36:04.2443145Z *** Get App Info: C:\Applications\testframework\TestRunner\Microsoft_Test Runner.app
2021-07-06T11:36:04.2483213Z *** Get App Tenant Info
2021-07-06T11:36:04.2842802Z *** Sync App: [Microsoft / Test Runner]
2021-07-06T11:36:04.3839405Z *** Install App: [Microsoft / Test Runner]
2021-07-06T11:36:04.7191907Z ***
2021-07-06T11:36:04.7194328Z *** Get App Info: C:\Applications\system application\test\Microsoft_System Application Test.app
2021-07-06T11:36:04.7228750Z *** Get App Tenant Info
2021-07-06T11:36:04.7361011Z *** Publish App: [Microsoft / System Application Test]
2021-07-06T11:36:06.5688597Z *** Sync App: [Microsoft / System Application Test]
2021-07-06T11:36:06.7826305Z *** Install App: [Microsoft / System Application Test]
2021-07-06T11:36:08.1345393Z ***
2021-07-06T11:36:08.1345636Z 
2021-07-06T11:36:08.1352575Z *** AL-TestTool installation completed.
2021-07-06T11:36:08.1358879Z *** AL-TestTool installation finished.
2021-07-06T11:36:08.1402513Z 
2021-07-06T11:36:08.1406247Z *** Disconnect Docker session.
2021-07-06T11:36:08.1427845Z *** Remove Docker session.
2021-07-06T11:36:08.1431229Z *** Docker session removed.
2021-07-06T11:36:08.1434643Z *** AL-Extension Published to ALOps Repository
2021-07-06T11:36:08.1485962Z *** Cleanup VSTS Environment: True
2021-07-06T11:36:10.4693326Z ##[section]Finishing: Install Test Tool

Publish

2021-07-06T11:36:47.1174056Z ##[section]Starting: Publish Compiled EQM 365 Rental
2021-07-06T11:36:47.1487323Z ==============================================================================
2021-07-06T11:36:47.1488353Z Task         : ALOps App Publish
2021-07-06T11:36:47.1489011Z Description  : Publish AL Extension to Business Central
2021-07-06T11:36:47.1489649Z Version      : 1.444.2568
2021-07-06T11:36:47.1490147Z Author       : Hodor
2021-07-06T11:36:47.1490800Z Help         : Publish Business Central extension to service tier.
2021-07-06T11:36:47.1491629Z ==============================================================================
2021-07-06T11:36:48.5560080Z *** Validate configuration
2021-07-06T11:36:48.7937128Z *** Task Inputs:
2021-07-06T11:36:48.8040762Z 
2021-07-06T11:36:48.8123228Z name                                                                                                              value
2021-07-06T11:36:48.8124673Z ----                                                                                                              -----
2021-07-06T11:36:48.8126133Z usedocker                                                                                                          True
2021-07-06T11:36:48.8127447Z fixed_tag                                                                                                              
2021-07-06T11:36:48.8128741Z installpublishedapps                                                                                               True
2021-07-06T11:36:48.8130046Z installaltesttool                                                                                                 False
2021-07-06T11:36:48.8131336Z install_al_app_names                                                                             Tests-TestLibraries...
2021-07-06T11:36:48.8132614Z strictappnames                                                                                                    False
2021-07-06T11:36:48.8133925Z nav_serverinstance                                                                                                BC140
2021-07-06T11:36:48.8135223Z artifact_path                                                                                                          
2021-07-06T11:36:48.8136513Z nav_artifact_app_filter                                                                       *_EQM 365 Rental*_APP.app
2021-07-06T11:36:48.8137797Z skip_verification                                                                                                  True
2021-07-06T11:36:48.8139195Z forceinstall                                                                                                      False
2021-07-06T11:36:48.8140524Z forcesync                                                                                                         False
2021-07-06T11:36:48.8141875Z publish_scope                                                                                                    Global
2021-07-06T11:36:48.8143341Z tenant                                                                                                          default
2021-07-06T11:36:48.8144725Z batch_publish_folder                                                                                                   
2021-07-06T11:36:48.8146085Z publisherazureactivedirectorytenantid                                                                                  
2021-07-06T11:36:48.8146734Z 
2021-07-06T11:36:48.8191964Z 
2021-07-06T11:36:48.8204014Z 
2021-07-06T11:36:48.8450953Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-07-06T11:36:48.8452673Z 
2021-07-06T11:36:49.2501388Z *** ALOps License:
2021-07-06T11:36:49.2532658Z   * Licensed To: Armada Dynamics AS (Organization License)
2021-07-06T11:36:49.2535382Z 
2021-07-06T11:36:49.2716980Z *** Importing required PS-Functions
2021-07-06T11:36:49.7342244Z *** Initiate Docker Session
2021-07-06T11:36:50.1757229Z *** Set Docker Container ErrorActionPreference = Stop
2021-07-06T11:36:50.5608039Z *** Install AL TestTool: False
2021-07-06T11:36:50.5618293Z *** Working folder: C:\DevOpsAgents\Agent2\_work\10\s
2021-07-06T11:36:50.5627360Z *** Artifact folder: C:\DevOpsAgents\Agent2\_work\10\a
2021-07-06T11:36:50.5636592Z *** Pipeline workspace: C:\DevOpsAgents\Agent2\_work\10
2021-07-06T11:36:50.5643887Z ***
2021-07-06T11:36:50.5684866Z *** Copy Artifacts to Docker Container: 0dd8ae55029842eef327a6d76167de231d011a507ef71a401b64b4cd577210d8
2021-07-06T11:36:50.5749916Z *** Docker Artifacts Folder: c:\Run\DevOps\Artifacts
2021-07-06T11:36:50.5832632Z *** Dynamic resolve App file.
2021-07-06T11:36:50.5838665Z *** Scanning [System.DefaultWorkingDirectory].
2021-07-06T11:36:50.6581123Z *** Scanning [System.ArtifactsDirectory].
2021-07-06T11:36:50.6626623Z *** Scanning [Pipeline.Workspace].
2021-07-06T11:36:50.7385105Z *** Multiple App files found with filter [*_EQM 365 Rental*_APP.app].
2021-07-06T11:36:50.7502532Z   * C:\DevOpsAgents\Agent2\_work\10\a\Armada Dynamics AS_EQM 365 Rental_18.3.2021.8423_APP.app
2021-07-06T11:36:50.7527330Z *** Resolved App File: [C:\DevOpsAgents\Agent2\_work\10\a\Armada Dynamics AS_EQM 365 Rental_18.3.2021.8423_APP.app].
2021-07-06T11:36:50.8347019Z *** Copy Artifact: [C:\DevOpsAgents\Agent2\_work\10\a\Armada Dynamics AS_EQM 365 Rental_18.3.2021.8423_APP.app]
2021-07-06T11:36:53.5141623Z *** Import NAV/BC Management DLL's
2021-07-06T11:36:53.5184376Z *** Loading assemblies for ServiceTier [BC].
2021-07-06T11:36:53.7341670Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\180\service]
2021-07-06T11:36:53.7515351Z *** Selected module: [C:\program files\microsoft dynamics nav\180\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2021-07-06T11:36:53.7541492Z *** Loading module: [C:\program files\microsoft dynamics nav\180\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2021-07-06T11:36:53.7864844Z *** Selected module: [C:\program files\microsoft dynamics nav\180\service\Microsoft.Dynamics.Nav.Management.dll]
2021-07-06T11:36:53.7874323Z *** Loading module: [C:\program files\microsoft dynamics nav\180\service\Microsoft.Dynamics.Nav.Management.dll]
2021-07-06T11:36:54.0860663Z 
2021-07-06T11:36:54.0919306Z **************************************
2021-07-06T11:36:54.0929402Z  * App File = [c:\Run\DevOps\Artifacts\Armada Dynamics AS_EQM 365 Rental_18.3.2021.8423_APP.app]
2021-07-06T11:36:54.0935789Z 
2021-07-06T11:36:54.1829411Z  * App.ID        = 18bf9581-1542-4df1-993a-e528edbb3997
2021-07-06T11:36:54.1880418Z  * App.Name      = EQM 365 Rental
2021-07-06T11:36:54.1921690Z  * App.Publisher = Armada Dynamics AS
2021-07-06T11:36:54.1999007Z  * App.Version   = 18.3.2021.8423
2021-07-06T11:36:54.4181295Z  => Publishing App 'EQM 365 Rental v18.3.2021.8423'
2021-07-06T11:37:22.3996385Z *** Get Tenants
2021-07-06T11:37:22.6335062Z 
2021-07-06T11:37:22.6363123Z *** Sync Tenant default
2021-07-06T11:37:22.6638268Z *** Sync App [EQM 365 Rental] on tenant [default]
2021-07-06T11:37:33.0777642Z *** Install App [EQM 365 Rental] on tenant [default]
2021-07-06T11:37:58.4003568Z 
2021-07-06T11:37:58.4018675Z **************************************
2021-07-06T11:37:58.4145602Z 
2021-07-06T11:37:58.4456497Z *** Disconnect Docker session.
2021-07-06T11:37:58.4504931Z *** Remove Docker session.
2021-07-06T11:37:58.4513309Z *** Docker session removed.
2021-07-06T11:37:58.4521657Z *** AL-Extension Published to ALOps Repository
2021-07-06T11:37:58.4646070Z *** Cleanup VSTS Environment: True
2021-07-06T11:38:00.7704848Z ##[section]Async Command Start: Add Build Tag
2021-07-06T11:38:00.7706607Z Build '8423' has following tags now: AL.Compiler.ALLanguage, w1-onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019, BC.Platform.18.0.27224.27469, BC.Version.18.3.27240.27480, App.EQM 365 Rental.18.3.2021.8423, App.EQM 365 Rental Test Library.18.3.2021.8423
2021-07-06T11:38:00.7708005Z ##[section]Async Command End: Add Build Tag
2021-07-06T11:38:00.7710023Z ##[section]Finishing: Publish Compiled EQM 365 Rental

Publish Test

2021-07-06T11:39:18.5006680Z ##[section]Starting: Publish Compiled EQM 365 Rental Test Library
2021-07-06T11:39:18.5265260Z ==============================================================================
2021-07-06T11:39:18.5266051Z Task         : ALOps App Publish
2021-07-06T11:39:18.5266678Z Description  : Publish AL Extension to Business Central
2021-07-06T11:39:18.5267303Z Version      : 1.444.2568
2021-07-06T11:39:18.5267801Z Author       : Hodor
2021-07-06T11:39:18.5268462Z Help         : Publish Business Central extension to service tier.
2021-07-06T11:39:18.5269277Z ==============================================================================
2021-07-06T11:39:19.8898426Z *** Validate configuration
2021-07-06T11:39:20.1050975Z *** Task Inputs:
2021-07-06T11:39:20.1157033Z 
2021-07-06T11:39:20.1244507Z name                                                                                                              value
2021-07-06T11:39:20.1245956Z ----                                                                                                              -----
2021-07-06T11:39:20.1247453Z usedocker                                                                                                          True
2021-07-06T11:39:20.1248759Z fixed_tag                                                                                                              
2021-07-06T11:39:20.1250087Z installpublishedapps                                                                                               True
2021-07-06T11:39:20.1251387Z installaltesttool                                                                                                 False
2021-07-06T11:39:20.1252828Z install_al_app_names                                                                             Tests-TestLibraries...
2021-07-06T11:39:20.1254313Z strictappnames                                                                                                    False
2021-07-06T11:39:20.1255851Z nav_serverinstance                                                                                                BC140
2021-07-06T11:39:20.1257421Z artifact_path                                                                                                          
2021-07-06T11:39:20.1258968Z nav_artifact_app_filter                                                         *_EQM 365 Rental Test Library*_TEST.app
2021-07-06T11:39:20.1260530Z skip_verification                                                                                                  True
2021-07-06T11:39:20.1262110Z forceinstall                                                                                                      False
2021-07-06T11:39:20.1263682Z forcesync                                                                                                         False
2021-07-06T11:39:20.1265254Z publish_scope                                                                                                    Global
2021-07-06T11:39:20.1266811Z tenant                                                                                                          default
2021-07-06T11:39:20.1268374Z batch_publish_folder                                                                                                   
2021-07-06T11:39:20.1269944Z publisherazureactivedirectorytenantid                                                                                  
2021-07-06T11:39:20.1270598Z 
2021-07-06T11:39:20.1319995Z 
2021-07-06T11:39:20.1331184Z 
2021-07-06T11:39:20.1562350Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-07-06T11:39:20.1566541Z 
2021-07-06T11:39:20.5309646Z *** ALOps License:
2021-07-06T11:39:20.5346353Z   * Licensed To: Armada Dynamics AS (Organization License)
2021-07-06T11:39:20.5350397Z 
2021-07-06T11:39:20.5592006Z *** Importing required PS-Functions
2021-07-06T11:39:21.0640274Z *** Initiate Docker Session
2021-07-06T11:39:21.3775035Z *** Set Docker Container ErrorActionPreference = Stop
2021-07-06T11:39:21.7300816Z *** Install AL TestTool: False
2021-07-06T11:39:21.7307512Z *** Working folder: C:\DevOpsAgents\Agent2\_work\10\s
2021-07-06T11:39:21.7313886Z *** Artifact folder: C:\DevOpsAgents\Agent2\_work\10\a
2021-07-06T11:39:21.7320408Z *** Pipeline workspace: C:\DevOpsAgents\Agent2\_work\10
2021-07-06T11:39:21.7325475Z ***
2021-07-06T11:39:21.7354097Z *** Copy Artifacts to Docker Container: 0dd8ae55029842eef327a6d76167de231d011a507ef71a401b64b4cd577210d8
2021-07-06T11:39:21.7399199Z *** Docker Artifacts Folder: c:\Run\DevOps\Artifacts
2021-07-06T11:39:21.7463007Z *** Dynamic resolve App file.
2021-07-06T11:39:21.7467287Z *** Scanning [System.DefaultWorkingDirectory].
2021-07-06T11:39:21.8297253Z *** Scanning [System.ArtifactsDirectory].
2021-07-06T11:39:21.8344923Z *** Scanning [Pipeline.Workspace].
2021-07-06T11:39:21.9066313Z *** Multiple App files found with filter [*_EQM 365 Rental Test Library*_TEST.app].
2021-07-06T11:39:21.9186649Z   * C:\DevOpsAgents\Agent2\_work\10\a\Armada Dynamics AS_EQM 365 Rental Test Library_18.3.2021.8423_TEST.app
2021-07-06T11:39:21.9213286Z *** Resolved App File: [C:\DevOpsAgents\Agent2\_work\10\a\Armada Dynamics AS_EQM 365 Rental Test Library_18.3.2021.8423_TEST.app].
2021-07-06T11:39:22.0009780Z *** Copy Artifact: [C:\DevOpsAgents\Agent2\_work\10\a\Armada Dynamics AS_EQM 365 Rental Test Library_18.3.2021.8423_TEST.app]
2021-07-06T11:39:22.7000036Z *** Import NAV/BC Management DLL's
2021-07-06T11:39:22.7045699Z *** Loading assemblies for ServiceTier [BC].
2021-07-06T11:39:22.9408598Z *** Loading assemblies from: [C:\program files\microsoft dynamics nav\180\service]
2021-07-06T11:39:22.9629483Z *** Selected module: [C:\program files\microsoft dynamics nav\180\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2021-07-06T11:39:22.9667925Z *** Loading module: [C:\program files\microsoft dynamics nav\180\service\Microsoft.Dynamics.Nav.Apps.Management.dll]
2021-07-06T11:39:23.0060314Z *** Selected module: [C:\program files\microsoft dynamics nav\180\service\Microsoft.Dynamics.Nav.Management.dll]
2021-07-06T11:39:23.0070225Z *** Loading module: [C:\program files\microsoft dynamics nav\180\service\Microsoft.Dynamics.Nav.Management.dll]
2021-07-06T11:39:23.3593388Z 
2021-07-06T11:39:23.3658907Z **************************************
2021-07-06T11:39:23.3670743Z  * App File = [c:\Run\DevOps\Artifacts\Armada Dynamics AS_EQM 365 Rental Test Library_18.3.2021.8423_TEST.app]
2021-07-06T11:39:23.3678532Z 
2021-07-06T11:39:23.4307709Z  * App.ID        = 6c9c50d5-72dc-4e18-aaea-7371884c8710
2021-07-06T11:39:23.4358476Z  * App.Name      = EQM 365 Rental Test Library
2021-07-06T11:39:23.4399403Z  * App.Publisher = Armada Dynamics AS
2021-07-06T11:39:23.4473867Z  * App.Version   = 18.3.2021.8423
2021-07-06T11:39:23.6475693Z  => Publishing App 'EQM 365 Rental Test Library v18.3.2021.8423'
2021-07-06T11:39:25.8603454Z *** Get Tenants
2021-07-06T11:39:25.9638779Z 
2021-07-06T11:39:25.9666277Z *** Sync Tenant default
2021-07-06T11:39:25.9917424Z *** Sync App [EQM 365 Rental Test Library] on tenant [default]
2021-07-06T11:39:26.1493314Z *** Install App [EQM 365 Rental Test Library] on tenant [default]
2021-07-06T11:39:31.1879383Z 
2021-07-06T11:39:31.1884277Z **************************************
2021-07-06T11:39:31.1886654Z 
2021-07-06T11:39:31.2099337Z *** Disconnect Docker session.
2021-07-06T11:39:31.2144756Z *** Remove Docker session.
2021-07-06T11:39:31.2152935Z *** Docker session removed.
2021-07-06T11:39:31.2160804Z *** AL-Extension Published to ALOps Repository
2021-07-06T11:39:31.2269036Z *** Cleanup VSTS Environment: True
2021-07-06T11:39:33.5508246Z ##[section]Async Command Start: Add Build Tag
2021-07-06T11:39:33.5510048Z Build '8423' has following tags now: AL.Compiler.ALLanguage, w1-onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019, BC.Platform.18.0.27224.27469, BC.Version.18.3.27240.27480, App.EQM 365 Rental.18.3.2021.8423, App.EQM 365 Rental Test Library.18.3.2021.8423
2021-07-06T11:39:33.5511631Z ##[section]Async Command End: Add Build Tag
2021-07-06T11:39:33.5514840Z ##[section]Finishing: Publish Compiled EQM 365 Rental Test Library

Run Tests

2021-07-06T11:39:33.5650177Z ##[section]Starting: Run Tests
2021-07-06T11:39:33.5896059Z ==============================================================================
2021-07-06T11:39:33.5896789Z Task         : ALOps App Test
2021-07-06T11:39:33.5897343Z Description  : Run AL-TestSuite for Business Central
2021-07-06T11:39:33.5897903Z Version      : 1.444.2568
2021-07-06T11:39:33.5898334Z Author       : Hodor
2021-07-06T11:39:33.5898947Z Help         : Run Business Central Test-Suite and collect results.
2021-07-06T11:39:33.5899695Z ==============================================================================
2021-07-06T11:39:35.6732199Z *** Validate configuration
2021-07-06T11:39:35.9046961Z *** Task Inputs:
2021-07-06T11:39:35.9455430Z 
2021-07-06T11:39:35.9612812Z name                           value
2021-07-06T11:39:35.9613746Z ----                           -----
2021-07-06T11:39:35.9614460Z usedocker                       True
2021-07-06T11:39:35.9615164Z fixed_tag                           
2021-07-06T11:39:35.9616817Z nav_serverinstance             BC140
2021-07-06T11:39:35.9617747Z tenant                       default
2021-07-06T11:39:35.9618918Z companyname                         
2021-07-06T11:39:35.9620182Z profile                             
2021-07-06T11:39:35.9621061Z bc_username                         
2021-07-06T11:39:35.9622021Z bc_password                         
2021-07-06T11:39:35.9623069Z bc_authentication    NavUserPassword
2021-07-06T11:39:35.9624153Z bc_webclient_url                    
2021-07-06T11:39:35.9625236Z testfilter                          
2021-07-06T11:39:35.9626364Z disabledtests                       
2021-07-06T11:39:35.9627459Z show_available_tests           False
2021-07-06T11:39:35.9628637Z import_testtoolkit             False
2021-07-06T11:39:35.9629776Z import_action              Overwrite
2021-07-06T11:39:35.9631142Z testpage                      130455
2021-07-06T11:39:35.9632173Z testsuite                    DEFAULT
2021-07-06T11:39:35.9633245Z extensionid                         
2021-07-06T11:39:35.9634316Z installaltesttool              False
2021-07-06T11:39:35.9635388Z failed_test_action             Error
2021-07-06T11:39:35.9636465Z override_finsql_path                
2021-07-06T11:39:35.9637555Z resultfilename       TestResults.xml
2021-07-06T11:39:35.9637924Z 
2021-07-06T11:39:35.9660709Z 
2021-07-06T11:39:35.9667062Z 
2021-07-06T11:39:35.9802077Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-07-06T11:39:35.9802952Z 
2021-07-06T11:39:36.3731014Z *** ALOps License:
2021-07-06T11:39:36.3760243Z   * Licensed To: Armada Dynamics AS (Organization License)
2021-07-06T11:39:36.3763572Z 
2021-07-06T11:39:36.3920297Z *** Importing required PS-Functions
2021-07-06T11:39:36.8224570Z *** Working folder: C:\DevOpsAgents\Agent2\_work\10\s
2021-07-06T11:39:36.8228086Z ***
2021-07-06T11:39:36.8231749Z *** Prepare Docker Session
2021-07-06T11:39:37.0381080Z *** Connect Docker Session
2021-07-06T11:39:37.0539952Z *** Initiate Docker Session
2021-07-06T11:39:37.3233422Z *** Set Docker Container ErrorActionPreference = Stop
2021-07-06T11:39:37.6701412Z *** Copy Modules to Docker
2021-07-06T11:39:41.9680173Z *** Setup Docker Session
2021-07-06T11:39:42.0285588Z *** Checking for container-specific Test Assemblies
2021-07-06T11:39:42.0309697Z *** Using container-specific Test Assemblies
2021-07-06T11:39:42.0618304Z *** Import Modules in Docker Session
2021-07-06T11:39:42.1628981Z *** Import UI Client [C:\Run\DevOps\BCAppTest\bin\Microsoft.Dynamics.Framework.UI.Client.dll]
2021-07-06T11:39:42.1647154Z VERBOSE: Loading module from path 'C:\Run\DevOps\BCAppTest\bin\Microsoft.Dynamics.Framework.UI.Client.dll'.
2021-07-06T11:39:42.2793379Z *** Import NewtonSoft JSON [C:\Program Files\Microsoft Dynamics NAV\180\Service\Add-ins\.netpackages\Newtonsoft.Json.dll]
2021-07-06T11:39:42.3054601Z *** Import Modules in Docker Session: class_ClientContext
2021-07-06T11:39:44.6824315Z *** Test Context Url: https://0dd8ae550298/BC/cs?tenant=default
2021-07-06T11:39:44.6833519Z *** Setup BC Credentials in Docker
2021-07-06T11:39:44.9179682Z *** Resolve Docker Credentials
2021-07-06T11:39:44.9319531Z *** Set TCP Keep-Alive
2021-07-06T11:39:44.9622121Z *** Start TestSuite
2021-07-06T11:39:45.0692465Z *** Running TestSuite with authentication [NavUserPassword] with User [admin]
2021-07-06T11:39:45.0725622Z *** Run warm-up with page [130455]
2021-07-06T11:39:45.0754370Z *** Warm-up Client Context
2021-07-06T11:39:45.3620989Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T11:39:45.3622108Z *** Warm-up Client Context failed: retry
2021-07-06T11:39:50.3609825Z *** Warm-up Client Context
2021-07-06T11:39:50.5642342Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T11:39:50.5650068Z *** Warm-up Client Context failed: retry
2021-07-06T11:39:55.5696083Z *** Warm-up Client Context
2021-07-06T11:39:55.7664764Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T11:39:55.7674429Z *** Warm-up Client Context failed: retry
2021-07-06T11:40:00.7566283Z *** Warm-up Client Context
2021-07-06T11:40:00.9345423Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T11:40:00.9355773Z *** Warm-up Client Context failed: retry
2021-07-06T11:40:05.9366983Z *** Warm-up Client Context
2021-07-06T11:40:06.1666703Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T11:40:06.1674241Z *** Warm-up Client Context failed: retry
2021-07-06T11:40:11.1797256Z ##[error]Warm-up Client Context failed
2021-07-06T11:40:11.2929473Z ##[error]Because the session state for session WinRM1, f2627e9b-19a3-4588-a9b1-d8c04a600ad9, 0dd8ae55029842eef327a6d76167de231d011a507ef71a401b64b4cd577210d8 is not equal to Open, you cannot run a command  in the session.  The session state is Closing.
2021-07-06T11:40:11.3421698Z ##[section]Finishing: Run Tests
waldo1001 commented 3 years ago

Just by means of test - could you try to build an image including the testtoolkit from starters?

steps:
- task: Hodor.hodor-alops.ALOpsDockerCreate.ALOpsDockerCreate@1
  displayName: 'Create Docker Container'
  inputs:
    artifactcountry: w1
    imageprefix: w1
    forcecreateimage: true
    includetesttoolkit: true
    includetestlibrariesonly: true
ik3ras commented 3 years ago

I did, but that did not help :(

Log of Create Container

2021-07-06T13:05:54.5635022Z ##[section]Starting: Create Docker Container
2021-07-06T13:05:54.6738756Z ==============================================================================
2021-07-06T13:05:54.6739285Z Task         : ALOps Docker Create
2021-07-06T13:05:54.6739713Z Description  : Create Docker image from Business Central Artifacts
2021-07-06T13:05:54.6740079Z Version      : 1.444.2568
2021-07-06T13:05:54.6740382Z Author       : Hodor
2021-07-06T13:05:54.6740760Z Help         : Create Docker image based on NAV/BC Artifacts.
2021-07-06T13:05:54.6741167Z ==============================================================================
2021-07-06T13:05:56.0151697Z *** Validate configuration
2021-07-06T13:05:56.2403405Z *** Task Inputs:
2021-07-06T13:05:56.2512587Z 
2021-07-06T13:05:56.2699709Z name                      value                                                                                      
2021-07-06T13:05:56.2701338Z ----                      -----                                                                                      
2021-07-06T13:05:56.2702838Z artifactspecification     Specific                                                                                   
2021-07-06T13:05:56.2704190Z artifactversion                                                                                                      
2021-07-06T13:05:56.2705918Z artifacttype              OnPrem                                                                                     
2021-07-06T13:05:56.2707248Z artifactcountry           w1                                                                                         
2021-07-06T13:05:56.2708669Z versionselect             Latest                                                                                     
2021-07-06T13:05:56.2710009Z artifacthint                                                                                                         
2021-07-06T13:05:56.2711275Z multitenant               False                                                                                      
2021-07-06T13:05:56.2712621Z memory                    8G                                                                                         
2021-07-06T13:05:56.2713956Z imageprefix               w1                                                                                         
2021-07-06T13:05:56.2715304Z dockerregistry                                                                                                       
2021-07-06T13:05:56.2716839Z dockerusername                                                                                                       
2021-07-06T13:05:56.2718300Z dockerpassword                                                                                                       
2021-07-06T13:05:56.2719713Z storageaccount                                                                                                       
2021-07-06T13:05:56.2721200Z sastoken                                                                                                             
2021-07-06T13:05:56.2722803Z forcecreateimage          True                                                                                       
2021-07-06T13:05:56.2724196Z myscripts                                                                                                            
2021-07-06T13:05:56.2725844Z imagenametemplate         %IMAGE_PREFIX%:%ARTIFACT_TYPE%-%ARTIFACT_VERSION%-%ARTIFACT_COUNTRY%-%OS_VERSION%-%OS_LTSC%
2021-07-06T13:05:56.2727309Z licensefile                                                                                                          
2021-07-06T13:05:56.2728820Z includetesttoolkit        True                                                                                       
2021-07-06T13:05:56.2730262Z includetestlibrariesonly  True                                                                                       
2021-07-06T13:05:56.2731775Z includetestframeworkonly  False                                                                                      
2021-07-06T13:05:56.2735278Z includeperformancetoolkit False                                                                                      
2021-07-06T13:05:56.2735925Z 
2021-07-06T13:05:56.2783594Z 
2021-07-06T13:05:56.2796993Z 
2021-07-06T13:05:56.3061880Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-07-06T13:05:56.3066033Z 
2021-07-06T13:05:56.7207159Z *** ALOps License:
2021-07-06T13:05:56.7236961Z   * Licensed To: Armada Dynamics AS (Organization License)
2021-07-06T13:05:56.7239751Z 
2021-07-06T13:05:56.7648202Z *** Importing required PS-Functions
2021-07-06T13:05:56.9594722Z *** Install/Update BCContainerHelper [https://github.com/microsoft/navcontainerhelper]
2021-07-06T13:05:56.9596409Z *** Check BcContainerHelper
2021-07-06T13:05:57.0181992Z *** Load BcContainerHelper
2021-07-06T13:05:57.2167640Z BcContainerHelper version 2.0.13
2021-07-06T13:05:57.6942629Z 
2021-07-06T13:05:57.6944011Z ModuleType Version    Name                                ExportedCommands                                             
2021-07-06T13:05:57.6945449Z ---------- -------    ----                                ----------------                                             
2021-07-06T13:05:57.6947087Z Script     2.0.13     BcContainerHelper                   {Add-FontsToBcContainer, Add-GitToAlProjectFolder, Backup-...
2021-07-06T13:05:57.6947726Z 
2021-07-06T13:05:57.6947962Z 
2021-07-06T13:05:57.6948171Z 
2021-07-06T13:05:57.6948398Z 
2021-07-06T13:05:57.6993592Z *** Get Artifact Url for Version [] / Country [w1] / Type [OnPrem]: Latest
2021-07-06T13:05:57.7071618Z ##[command]"Get-BCArtifactUrl" 
2021-07-06T13:05:57.7072754Z Name                           Value                                                                                   
2021-07-06T13:05:57.7074036Z ----                           -----                                                                                   
2021-07-06T13:05:57.7075350Z select                         Latest                                                                                  
2021-07-06T13:05:57.7076626Z type                           OnPrem                                                                                  
2021-07-06T13:05:57.7077917Z country                        w1                                                                                      
2021-07-06T13:05:57.7078541Z 
2021-07-06T13:05:57.7078757Z 
2021-07-06T13:05:57.7078978Z 
2021-07-06T13:05:58.9001999Z *** Artifact Url: [https://bcartifacts.azureedge.net/onprem/18.3.27240.27480/w1]
2021-07-06T13:05:58.9011180Z *** Build new Image based on [https://bcartifacts.azureedge.net/onprem/18.3.27240.27480/w1]
2021-07-06T13:05:58.9128663Z *** Artifact Type   : [onprem]
2021-07-06T13:05:58.9136063Z *** Artifact Version: [18.3.27240.27480]
2021-07-06T13:05:58.9143861Z *** Artifact Country: [w1]
2021-07-06T13:05:59.1435689Z *** OS: [2019]
2021-07-06T13:05:59.6693937Z *** OS version: [10.0.17763.1935]
2021-07-06T13:05:59.6699232Z *** Image Template: [%IMAGE_PREFIX%:%ARTIFACT_TYPE%-%ARTIFACT_VERSION%-%ARTIFACT_COUNTRY%-%OS_VERSION%-%OS_LTSC%]
2021-07-06T13:05:59.6731590Z *** ImageName: [w1:onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019]
2021-07-06T13:05:59.6761678Z *** Set Pipeline variable $(ALOPS_BC_IMAGE) = 'w1:onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019'
2021-07-06T13:05:59.6812383Z *** Forcing image creation.
2021-07-06T13:05:59.8403323Z *** No 'MyScripts' specified, skipping parse.
2021-07-06T13:05:59.8436066Z *** Create Image: w1:onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019
2021-07-06T13:05:59.8468250Z ##[command]"New-BcImage" 
2021-07-06T13:05:59.8469312Z Name                           Value                                                                                   
2021-07-06T13:05:59.8470658Z ----                           -----                                                                                   
2021-07-06T13:05:59.8473305Z includePerformanceToolkit      False                                                                                   
2021-07-06T13:05:59.8474595Z includeTestToolkit             True                                                                                    
2021-07-06T13:05:59.8475980Z memory                         8G                                                                                      
2021-07-06T13:05:59.8477304Z artifactUrl                    https://bcartifacts.azureedge.net/onprem/18.3.27240.27480/w1                            
2021-07-06T13:05:59.8478616Z multitenant                    False                                                                                   
2021-07-06T13:05:59.8479932Z imageName                      w1:onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019                                  
2021-07-06T13:05:59.8481259Z includeTestLibrariesOnly       True                                                                                    
2021-07-06T13:05:59.8482532Z includeTestFrameworkOnly       False                                                                                   
2021-07-06T13:05:59.8483181Z 
2021-07-06T13:05:59.8483400Z 
2021-07-06T13:05:59.8484311Z 
2021-07-06T13:06:00.2238438Z Building image w1:onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019 based on mcr.microsoft.com/businesscentral:10.0.17763.1935 with https://bcartifacts.azureedge.net/onprem/18.3.27240.27480/w1
2021-07-06T13:06:00.2268243Z Pulling latest image mcr.microsoft.com/businesscentral:10.0.17763.1935
2021-07-06T13:06:00.7293774Z 10.0.17763.1935: Pulling from businesscentral
2021-07-06T13:06:00.9096604Z Generic Tag: 1.0.1.7
2021-07-06T13:06:01.0782377Z Container OS Version: 10.0.17763.1935 (ltsc2019)
2021-07-06T13:06:01.0787269Z Host OS Version: 10.0.17763.1935 (ltsc2019)
2021-07-06T13:06:01.0804109Z Using process isolation
2021-07-06T13:06:01.0875340Z Files in c:\bcartifacts.cache\0brqup2k.qhe\my:
2021-07-06T13:06:01.0925100Z Copying Platform Artifacts
2021-07-06T13:06:04.1726689Z Copying Database
2021-07-06T13:06:04.3679105Z Copying Licensefile
2021-07-06T13:06:04.9090042Z Untagged: w1:onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019
2021-07-06T13:06:04.9090624Z Deleted: sha256:0471fcc7f58157b41c3cab172e3a15a0d1b7bae1ba593816e0642978ec4231a8
2021-07-06T13:06:04.9091095Z Deleted: sha256:c95f40a6f662aa9519cbd6fc1eab4ee009d4d66447ab94fbae42553d130c0455
2021-07-06T13:06:04.9140577Z c:\bcartifacts.cache\0brqup2k.qhe
2021-07-06T13:06:04.9183150Z Cannot include TestToolkit without a licensefile, please specify licensefile
2021-07-06T13:06:14.9180114Z Sending build context to Docker daemon  1.514GB
2021-07-06T13:06:14.9181643Z 
2021-07-06T13:06:14.9647070Z Step 1/6 : FROM mcr.microsoft.com/businesscentral:10.0.17763.1935
2021-07-06T13:06:14.9649989Z  ---> 8f43c1d70fd7
2021-07-06T13:06:14.9651975Z Step 2/6 : ENV DatabaseServer=localhost DatabaseInstance=SQLEXPRESS DatabaseName=CRONUS IsBcSandbox=N artifactUrl=https://bcartifacts.azureedge.net/onprem/18.3.27240.27480/w1 filesOnly=False
2021-07-06T13:06:14.9720117Z  ---> Using cache
2021-07-06T13:06:14.9721721Z  ---> 3b4a438eabe1
2021-07-06T13:06:14.9723342Z Step 3/6 : COPY my /run/
2021-07-06T13:06:14.9730367Z  ---> Using cache
2021-07-06T13:06:14.9731958Z  ---> 10a9804b6665
2021-07-06T13:06:14.9733549Z Step 4/6 : COPY NAVDVD /NAVDVD/
2021-07-06T13:06:42.4058983Z  ---> 19af0ae080bf
2021-07-06T13:06:42.4060841Z Step 5/6 : RUN \Run\start.ps1 -installOnly -includeTestToolkit -includeTestLibrariesOnly
2021-07-06T13:06:42.4200104Z  ---> Running in 012670d817bf
2021-07-06T13:06:54.6562100Z Using installer from C:\Run\150-new
2021-07-06T13:06:54.7355887Z Installing Business Central
2021-07-06T13:06:54.7520467Z Installing from DVD
2021-07-06T13:06:54.7634347Z Starting Local SQL Server
2021-07-06T13:06:56.6867422Z Starting Internet Information Server
2021-07-06T13:06:57.0345687Z Copying Service Tier Files
2021-07-06T13:06:57.0475034Z C:\NAVDVD\ServiceTier\Program Files
2021-07-06T13:06:57.6427536Z C:\NAVDVD\ServiceTier\System64Folder
2021-07-06T13:06:57.6836630Z Copying PowerShell Scripts
2021-07-06T13:06:57.6838468Z C:\NAVDVD\WindowsPowerShellScripts\Cloud\NAVAdministration
2021-07-06T13:06:57.7211379Z C:\NAVDVD\WindowsPowerShellScripts\WebSearch
2021-07-06T13:06:57.9276182Z Copying dependencies
2021-07-06T13:06:57.9357668Z Copying ReportBuilder
2021-07-06T13:06:58.0382475Z Importing PowerShell Modules
2021-07-06T13:06:58.2560988Z Determining Database Collation
2021-07-06T13:06:58.9760765Z Restoring CRONUS Demo Database
2021-07-06T13:10:51.3929487Z Setting CompatibilityLevel for CRONUS on localhost\SQLEXPRESS
2021-07-06T13:10:52.0959488Z Modifying Business Central Service Tier Config File for Docker
2021-07-06T13:10:52.1280819Z Creating Business Central Service Tier
2021-07-06T13:10:52.2125792Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2021-07-06T13:10:52.3413429Z Copying Web Client Files
2021-07-06T13:10:52.3415835Z C:\NAVDVD\WebClient\Microsoft Dynamics NAV
2021-07-06T13:10:52.3418245Z Copying Client Files
2021-07-06T13:10:52.3419709Z C:\NAVDVD\LegacyDlls\program files\Microsoft Dynamics NAV
2021-07-06T13:10:52.3421292Z C:\NAVDVD\LegacyDlls\program files\Microsoft Dynamics NAV
2021-07-06T13:10:52.3422978Z C:\NAVDVD\LegacyDlls\systemFolder
2021-07-06T13:10:52.3424323Z Copying ModernDev Files
2021-07-06T13:10:52.3425787Z C:\NAVDVD
2021-07-06T13:10:52.3427919Z C:\NAVDVD\ModernDev\program files\Microsoft Dynamics NAV
2021-07-06T13:10:52.3430116Z Copying additional files
2021-07-06T13:10:52.3431889Z Copying ConfigurationPackages
2021-07-06T13:10:52.3433389Z C:\NAVDVD\ConfigurationPackages
2021-07-06T13:10:52.3434840Z Copying Test Assemblies
2021-07-06T13:10:52.3436314Z C:\NAVDVD\Test Assemblies
2021-07-06T13:10:52.3437842Z Copying Applications
2021-07-06T13:10:52.3439300Z C:\NAVDVD\Applications
2021-07-06T13:10:52.4033234Z Starting Business Central Service Tier
2021-07-06T13:12:03.8394366Z Importing CRONUS license file
2021-07-06T13:12:04.9698272Z Publishing C:\Applications\TestFramework\TestLibraries\Any\Microsoft_Any.app
2021-07-06T13:12:07.3792458Z Synchronizing Any
2021-07-06T13:12:08.0877606Z Installing Any
2021-07-06T13:12:15.4914126Z Publishing C:\Applications\TestFramework\TestLibraries\Assert\Microsoft_Library Assert.app
2021-07-06T13:12:15.7816105Z Synchronizing Library Assert
2021-07-06T13:12:15.8416842Z Installing Library Assert
2021-07-06T13:12:16.1003043Z Permissions Mock is already published
2021-07-06T13:12:16.1009730Z Synchronizing Permissions Mock
2021-07-06T13:12:16.1796528Z Installing Permissions Mock
2021-07-06T13:12:16.3290975Z Publishing C:\Applications\TestFramework\TestLibraries\Variable Storage\Microsoft_Library Variable Storage.app
2021-07-06T13:12:16.4763517Z Synchronizing Library Variable Storage
2021-07-06T13:12:16.5181924Z Installing Library Variable Storage
2021-07-06T13:12:16.8298150Z Test Runner is already published
2021-07-06T13:12:16.8304952Z Synchronizing Test Runner
2021-07-06T13:12:17.0681687Z Installing Test Runner
2021-07-06T13:12:17.4414800Z Publishing C:\Applications\system application\test\Microsoft_System Application Test Library.app
2021-07-06T13:12:18.9254029Z Synchronizing System Application Test Library
2021-07-06T13:12:19.5137779Z Installing System Application Test Library
2021-07-06T13:12:20.9058355Z Publishing C:\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app
2021-07-06T13:12:35.1857740Z Synchronizing Tests-TestLibraries
2021-07-06T13:12:36.1428509Z Installing Tests-TestLibraries
2021-07-06T13:12:39.6146011Z Stopping Business Central Service Tier
2021-07-06T13:12:39.8960737Z Installation took 345 seconds
2021-07-06T13:12:39.8965147Z Installation complete
2021-07-06T13:13:19.9712470Z Removing intermediate container 012670d817bf
2021-07-06T13:13:19.9713246Z  ---> 5db3a3a30627
2021-07-06T13:13:19.9715309Z Step 6/6 : LABEL legal="http://go.microsoft.com/fwlink/?LinkId=837447"       created="202107061306"       nav=""       cu=""       country="w1"       version="18.3.27240.27480"       platform="18.0.27224.27469"
2021-07-06T13:13:19.9878628Z  ---> Running in 9a11c534d7e8
2021-07-06T13:13:20.3917069Z Removing intermediate container 9a11c534d7e8
2021-07-06T13:13:20.3918145Z  ---> 7ad92ab5d0d7
2021-07-06T13:13:21.2067024Z Successfully built 7ad92ab5d0d7
2021-07-06T13:13:21.2116259Z Successfully tagged w1:onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019
2021-07-06T13:13:21.2262478Z Building image took 441 seconds
2021-07-06T13:13:22.1291100Z *** Created Image: w1:onprem-18.3.27240.27480-w1-10.0.17763.1935-ltsc2019
2021-07-06T13:13:22.1306450Z *** No Docker Registry specified
2021-07-06T13:13:22.1310164Z *** Docker Create Succeeded.
2021-07-06T13:13:22.1368338Z *** Cleanup VSTS Environment: True
2021-07-06T13:13:24.4280000Z ##[section]Finishing: Create Docker Container

Log of Run Tests

2021-07-06T13:18:20.1467017Z ##[section]Starting: Run Tests
2021-07-06T13:18:20.2581958Z ==============================================================================
2021-07-06T13:18:20.2582259Z Task         : ALOps App Test
2021-07-06T13:18:20.2582453Z Description  : Run AL-TestSuite for Business Central
2021-07-06T13:18:20.2582978Z Version      : 1.444.2568
2021-07-06T13:18:20.2583136Z Author       : Hodor
2021-07-06T13:18:20.2583349Z Help         : Run Business Central Test-Suite and collect results.
2021-07-06T13:18:20.2583604Z ==============================================================================
2021-07-06T13:18:22.0118922Z *** Validate configuration
2021-07-06T13:18:22.2412965Z *** Task Inputs:
2021-07-06T13:18:22.2633000Z 
2021-07-06T13:18:22.2776972Z name                           value
2021-07-06T13:18:22.2779571Z ----                           -----
2021-07-06T13:18:22.2780457Z usedocker                       True
2021-07-06T13:18:22.2781283Z fixed_tag                           
2021-07-06T13:18:22.2782412Z nav_serverinstance             BC140
2021-07-06T13:18:22.2783448Z tenant                       default
2021-07-06T13:18:22.2784494Z companyname                         
2021-07-06T13:18:22.2785550Z profile                             
2021-07-06T13:18:22.2786606Z bc_username                         
2021-07-06T13:18:22.2787780Z bc_password                         
2021-07-06T13:18:22.2789325Z bc_authentication    NavUserPassword
2021-07-06T13:18:22.2790461Z bc_webclient_url                    
2021-07-06T13:18:22.2791335Z testfilter                          
2021-07-06T13:18:22.2792175Z disabledtests                       
2021-07-06T13:18:22.2793266Z show_available_tests           False
2021-07-06T13:18:22.2794346Z import_testtoolkit             False
2021-07-06T13:18:22.2795647Z import_action              Overwrite
2021-07-06T13:18:22.2796677Z testpage                      130455
2021-07-06T13:18:22.2797728Z testsuite                    DEFAULT
2021-07-06T13:18:22.2798786Z extensionid                         
2021-07-06T13:18:22.2799815Z installaltesttool              False
2021-07-06T13:18:22.2801086Z failed_test_action             Error
2021-07-06T13:18:22.2801945Z override_finsql_path                
2021-07-06T13:18:22.2803015Z resultfilename       TestResults.xml
2021-07-06T13:18:22.2803391Z 
2021-07-06T13:18:22.2829947Z 
2021-07-06T13:18:22.2837042Z 
2021-07-06T13:18:22.2984501Z *** For documentation, please visit   : https://www.alops.be/documentation
2021-07-06T13:18:22.2985206Z 
2021-07-06T13:18:22.7054486Z *** ALOps License:
2021-07-06T13:18:22.7088887Z   * Licensed To: Armada Dynamics AS (Organization License)
2021-07-06T13:18:22.7091719Z 
2021-07-06T13:18:22.7252183Z *** Importing required PS-Functions
2021-07-06T13:18:22.9621598Z *** Working folder: C:\DevOpsAgents\Agent1\_work\7\s
2021-07-06T13:18:22.9628993Z ***
2021-07-06T13:18:22.9636891Z *** Prepare Docker Session
2021-07-06T13:18:23.1761075Z *** Connect Docker Session
2021-07-06T13:18:23.1860188Z *** Initiate Docker Session
2021-07-06T13:18:23.4566521Z *** Set Docker Container ErrorActionPreference = Stop
2021-07-06T13:18:23.7958395Z *** Copy Modules to Docker
2021-07-06T13:18:27.5800654Z *** Setup Docker Session
2021-07-06T13:18:27.6191583Z *** Checking for container-specific Test Assemblies
2021-07-06T13:18:27.6204251Z *** Using container-specific Test Assemblies
2021-07-06T13:18:27.6516999Z *** Import Modules in Docker Session
2021-07-06T13:18:27.7343485Z *** Import UI Client [C:\Run\DevOps\BCAppTest\bin\Microsoft.Dynamics.Framework.UI.Client.dll]
2021-07-06T13:18:27.7353451Z VERBOSE: Loading module from path 'C:\Run\DevOps\BCAppTest\bin\Microsoft.Dynamics.Framework.UI.Client.dll'.
2021-07-06T13:18:27.8442677Z *** Import NewtonSoft JSON [C:\Program Files\Microsoft Dynamics NAV\180\Service\Add-ins\.netpackages\Newtonsoft.Json.dll]
2021-07-06T13:18:27.8686345Z *** Import Modules in Docker Session: class_ClientContext
2021-07-06T13:18:30.1893808Z *** Test Context Url: https://196f12471bf8/BC/cs?tenant=default
2021-07-06T13:18:30.1902313Z *** Setup BC Credentials in Docker
2021-07-06T13:18:30.3933067Z *** Resolve Docker Credentials
2021-07-06T13:18:30.4071379Z *** Set TCP Keep-Alive
2021-07-06T13:18:30.4556215Z *** Start TestSuite
2021-07-06T13:18:30.5599715Z *** Running TestSuite with authentication [NavUserPassword] with User [admin]
2021-07-06T13:18:30.5633073Z *** Run warm-up with page [130455]
2021-07-06T13:18:30.5663110Z *** Warm-up Client Context
2021-07-06T13:18:30.8416639Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T13:18:30.8420605Z *** Warm-up Client Context failed: retry
2021-07-06T13:18:35.8542657Z *** Warm-up Client Context
2021-07-06T13:18:36.0454223Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T13:18:36.0465409Z *** Warm-up Client Context failed: retry
2021-07-06T13:18:41.0443144Z *** Warm-up Client Context
2021-07-06T13:18:41.2496966Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T13:18:41.2502251Z *** Warm-up Client Context failed: retry
2021-07-06T13:18:46.2572069Z *** Warm-up Client Context
2021-07-06T13:18:46.4560327Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T13:18:46.4568686Z *** Warm-up Client Context failed: retry
2021-07-06T13:18:51.4665988Z *** Warm-up Client Context
2021-07-06T13:18:51.6671374Z *** Warm-Up Exception: Exception calling "OpenSessionAsync" with "1" argument(s): "Could not load file or assembly 'Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified."
2021-07-06T13:18:51.6680254Z *** Warm-up Client Context failed: retry
2021-07-06T13:18:56.6775890Z ##[error]Warm-up Client Context failed
2021-07-06T13:18:56.7942698Z ##[error]Because the session state for session WinRM1, e2912697-8afb-47eb-90d2-55818d81ab2d, 196f12471bf8ea98624f9112957d2c309dcd5b855ffa1af3d22ce360a91cd25d is not equal to Open, you cannot run a command  in the session.  The session state is Closing.
2021-07-06T13:18:56.8343903Z ##[section]Finishing: Run Tests
waldo1001 commented 3 years ago

We noticed in your pipeline that it seems to take the newtonsoft.json from the wrong folder:

2021-07-06T13:18:27.8442677Z *** Import NewtonSoft JSON [C:\Program Files\Microsoft Dynamics NAV\180\Service\Add-ins\.netpackages\Newtonsoft.Json.dll]

That seems to be a powershell-issue, which finds more than it should find.

We did an update to prevent this from happening: v1.444.2571

Can you test with that update?

ik3ras commented 3 years ago

Good catch! Pipeline is now working fine. Thanks!