HodorNV / ALOps

ALOps
59 stars 24 forks source link

Value does not fall within the expected range. (Windows 10 Pro, Version 1909, Build 18363.476) #52

Closed borisimple closed 4 years ago

borisimple commented 4 years ago

I get this error while trying to install Test Toolkit. Yaml comfiguration is bellow

- task: ALOpsAppPublish@1
    displayName: "ALOPS Install AL TestTool"
    inputs:
      usedocker: true
      installaltesttool: true
      skip_verification: true

If I use install_app_names I get the same error.

Here is the log:

#[section]Starting: ALOPS Install AL TestTool
==============================================================================
Task         : ALOps App Publish
Description  : Publish NAV Apps
Version      : 1.426.933
Author       : Hodor
Help         : Publish Business Central extension to service tier.
==============================================================================
*** Validate configuration
*** Importing required PS-Functions
 - Use Docker         = True
 - Artifact Path      = 
 - App Filter         = *.app
 - Process Type       = Build
 - Skip Verification  = True

*** Importing required PS-Functions
*** Initiate Docker Session
*** Install AL TestTool: True
*** Start AL-TestTool installation
*** Check MockAssemblies.
*** Map MockAssemblies folder [C:\Test Assemblies\Mock Assemblies] to [C:\Program Files\Microsoft Dynamics NAV\150\Service\Add-ins\Mock Assemblies].
*** Restart ServiceTier [BC] to activate Mock Assemblies
*** Application requested for installation:
  * Tests-TestLibraries
  * System Application Test
  * System Application Test Library
  * Any
  * Library Assert
  * Test Runner

*** Get Available Applications from [C:\Applications\].
*** Available Applications:
*** Installing Applications:
*** Get App Info: C:\Applications\System Application\Test\Microsoft_System Application Test Library.app
*** Publish App: [Microsoft / System Application Test Library]
*** Sync App: [Microsoft / System Application Test Library]
*** Install App: [Microsoft / System Application Test Library]

*** Get App Info: C:\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app
*** Publish App: [Microsoft / Tests-TestLibraries]
*** Sync App: [Microsoft / Tests-TestLibraries]
*** Install App: [Microsoft / Tests-TestLibraries]

*** Get App Info: C:\Applications\TestFramework\TestLibraries\Assert\Microsoft_Library Assert.app
*** Publish App: [Microsoft / Library Assert]
*** Sync App: [Microsoft / Library Assert]
*** Install App: [Microsoft / Library Assert]

*** Get App Info: C:\Applications\TestFramework\TestLibraries\Any\Microsoft_Any.app
*** Sync App: [Microsoft / Any]
*** Install App: [Microsoft / Any]

*** Get App Info: C:\Applications\System Application\Test\Microsoft_System Application Test.app
*** Publish App: [Microsoft / System Application Test]
*** Sync App: [Microsoft / System Application Test]
*** Install App: [Microsoft / System Application Test]

*** Get App Info: C:\Applications\TestFramework\TestRunner\Microsoft_Test Runner.app
*** Publish App: [Microsoft / Test Runner]
*** Sync App: [Microsoft / Test Runner]
*** Install App: [Microsoft / Test Runner]

##[error]Value does not fall within the expected range.
##[section]Finishing: ALOPS Install AL TestTool

I am not getting available applications though (*** Available Applications:). Can it be that Test Toolkit is not installed when image is pulled from docker?

waldo1001 commented 4 years ago

Hi, could you please look at the examples in the documentation section of this repo? It shows you how to run tests for v14: https://github.com/HodorNV/ALOps/blob/master/Examples/05_UseDocker_TestTool_v14.yml and v15: https://github.com/HodorNV/ALOps/blob/master/Examples/06_UseDocker_TestTool_v15.yml

You'll see we don't use the "installaltesttool: true" param in the "publish"-step.

AdminHodor commented 4 years ago

Hello @borisimple ,

Are you setting any pipeline variables that influence output ? We notice all the object/format-list/format-table outputs are missing in the log.

For the task you are running we would expect the log to look like:

##[section]Starting: ALOPS Install AL TestTool
==============================================================================
Task         : ALOps App Publish
Description  : Publish NAV Apps
Version      : 1.426.936
Author       : Hodor
Help         : Publish Business Central extension to service tier.
==============================================================================
*** Validate configuration
*** Importing required PS-Functions
 - Use Docker         = True
 - Artifact Path      = 
 - App Filter         = *.app
 - Process Type       = Build
 - Skip Verification  = True

*** Importing required PS-Functions
*** Initiate Docker Session
*** Install AL TestTool: True
*** Start AL-TestTool installation
*** Check MockAssemblies.
*** Map MockAssemblies folder [C:\Test Assemblies\Mock Assemblies] to [C:\Program Files\Microsoft Dynamics NAV\150\Service\Add-ins\Mock Assemblies].
*** Restart ServiceTier [BC] to activate Mock Assemblies
*** Application requested for installation:
  * Tests-TestLibraries
  * System Application Test
  * System Application Test Library
  * Any
  * Library Assert
  * Test Runner

*** Get Available Applications from [C:\Applications\].
*** Available Applications:

Publisher Name                                     Path                                                                
--------- ----                                     ----                                                                
Microsoft System Application                       C:\Applications\System Application\Source\Microsoft_System Applic...
Microsoft Base Application                         C:\Applications\BaseApp\Source\Microsoft_Base Application.app       
Microsoft System Application Test Library          C:\Applications\System Application\Test\Microsoft_System Applicat...
Microsoft Tests-TestLibraries                      C:\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app      
Microsoft Intelligent Cloud Base                   C:\Applications\HybridBaseDeployment\Source\HybridBaseDeployment.app
Microsoft Library Assert                           C:\Applications\TestFramework\TestLibraries\Assert\Microsoft_Libr...
Microsoft Essential Business Headlines             C:\Applications\EssentialBusinessHeadlines\Source\EssentialBusine...
Microsoft Intelligent Cloud Base Tests             C:\Applications\HybridBaseDeployment\Test\HybridBaseDeploymentTes...
Microsoft Business Central Intelligent Cloud       C:\Applications\HybridBC\Source\HybridBC.app                        
Microsoft Sales and Inventory Forecast             C:\Applications\SalesAndInventoryForecast\Source\SalesAndInventor...
Microsoft _Exclude_APIV1_                          C:\Applications\APIV1\Source\APIV1.app                              
Microsoft Any                                      C:\Applications\TestFramework\TestLibraries\Any\Microsoft_Any.app   
Microsoft WorldPay Payments Standard               C:\Applications\WorldPayPaymentsStandard\Source\WorldPayPaymentsS...
Microsoft PayPal Payments Standard                 C:\Applications\PayPalPaymentsStandard\Source\PayPalPaymentsStand...
Microsoft Tests-VAT                                C:\Applications\BaseApp\Test\Microsoft_Tests-VAT.app                
Microsoft Tests-Workflow                           C:\Applications\BaseApp\Test\Microsoft_Tests-Workflow.app           
Microsoft Tests-SMB                                C:\Applications\BaseApp\Test\Microsoft_Tests-SMB.app                
Microsoft Tests-User                               C:\Applications\BaseApp\Test\Microsoft_Tests-User.app               
Microsoft Tests-Upgrade                            C:\Applications\BaseApp\Test\Microsoft_Tests-Upgrade.app            
Microsoft Tests-SMTP                               C:\Applications\BaseApp\Test\Microsoft_Tests-SMTP.app               
Microsoft _Exclude_ClientAddIns_                   C:\Applications\ClientAddIns\Source\ClientAddIns.app                
Microsoft Sales and Inventory Forecast Tests       C:\Applications\SalesAndInventoryForecast\Test\SalesAndInventoryF...
Microsoft System Application Test                  C:\Applications\System Application\Test\Microsoft_System Applicat...
Microsoft Test Runner                              C:\Applications\TestFramework\TestRunner\Microsoft_Test Runner.app  
Microsoft PayPal Payments Standard Tests           C:\Applications\PayPalPaymentsStandard\Test\PayPalPaymentsStandar...
Microsoft Essential Business Headlines Test        C:\Applications\EssentialBusinessHeadlines\Test\EssentialBusiness...
Microsoft Business Central Intelligent Cloud Tests C:\Applications\HybridBC\Test\HybridBCTest.app                      
Microsoft WorldPay Payments Standard Tests         C:\Applications\WorldPayPaymentsStandard\Test\WorldPayPaymentsSta...
Microsoft Tests-SINGLESERVER                       C:\Applications\BaseApp\Test\Microsoft_Tests-SINGLESERVER.app       
Microsoft Tests-Fixed Asset                        C:\Applications\BaseApp\Test\Microsoft_Tests-Fixed Asset.app        
Microsoft Tests-ERM                                C:\Applications\BaseApp\Test\Microsoft_Tests-ERM.app                
Microsoft Tests-Dimension                          C:\Applications\BaseApp\Test\Microsoft_Tests-Dimension.app          
Microsoft Tests-Integration                        C:\Applications\BaseApp\Test\Microsoft_Tests-Integration.app        
Microsoft Tests-Graph                              C:\Applications\BaseApp\Test\Microsoft_Tests-Graph.app              
Microsoft Tests-General Journal                    C:\Applications\BaseApp\Test\Microsoft_Tests-General Journal.app    
Microsoft Tests-Data Exchange                      C:\Applications\BaseApp\Test\Microsoft_Tests-Data Exchange.app      
Microsoft Tests-Bank                               C:\Applications\BaseApp\Test\Microsoft_Tests-Bank.app               
Microsoft _Exclude_APIV1_ Tests                    C:\Applications\APIV1\Test\APIV1Test.app                            
Microsoft AMC Banking 365 Fundamentals             C:\Applications\AMCBanking365Fundamentals\Source\AMCBanking365Fun...
Microsoft Tests-CRM integration                    C:\Applications\BaseApp\Test\Microsoft_Tests-CRM integration.app    
Microsoft Tests-Cost Accounting                    C:\Applications\BaseApp\Test\Microsoft_Tests-Cost Accounting.app    
Microsoft Tests-Cash Flow                          C:\Applications\BaseApp\Test\Microsoft_Tests-Cash Flow.app          
Microsoft Tests-Report                             C:\Applications\BaseApp\Test\Microsoft_Tests-Report.app             
Microsoft Tests-Rapid Start                        C:\Applications\BaseApp\Test\Microsoft_Tests-Rapid Start.app        
Microsoft Tests-Prepayment                         C:\Applications\BaseApp\Test\Microsoft_Tests-Prepayment.app         
Microsoft Tests-SCM                                C:\Applications\BaseApp\Test\Microsoft_Tests-SCM.app                
Microsoft Tests-Reverse                            C:\Applications\BaseApp\Test\Microsoft_Tests-Reverse.app            
Microsoft Tests-Resource                           C:\Applications\BaseApp\Test\Microsoft_Tests-Resource.app           
Microsoft Tests-Physical Inventory                 C:\Applications\BaseApp\Test\Microsoft_Tests-Physical Inventory.app 
Microsoft Tests-Local                              C:\Applications\BaseApp\Test\Microsoft_Tests-Local.app              
Microsoft Tests-Job                                C:\Applications\BaseApp\Test\Microsoft_Tests-Job.app                
Microsoft Tests-Invoicing                          C:\Applications\BaseApp\Test\Microsoft_Tests-Invoicing.app          
Microsoft Tests-Permissions                        C:\Applications\BaseApp\Test\Microsoft_Tests-Permissions.app        
Microsoft Tests-Misc                               C:\Applications\BaseApp\Test\Microsoft_Tests-Misc.app               
Microsoft Tests-Marketing                          C:\Applications\BaseApp\Test\Microsoft_Tests-Marketing.app          

*** Installing Applications:

Publisher Name                            Path                                                                         
--------- ----                            ----                                                                         
Microsoft System Application Test Library C:\Applications\System Application\Test\Microsoft_System Application Test ...
Microsoft Tests-TestLibraries             C:\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app               
Microsoft Library Assert                  C:\Applications\TestFramework\TestLibraries\Assert\Microsoft_Library Asser...
Microsoft Any                             C:\Applications\TestFramework\TestLibraries\Any\Microsoft_Any.app            
Microsoft System Application Test         C:\Applications\System Application\Test\Microsoft_System Application Test.app
Microsoft Test Runner                     C:\Applications\TestFramework\TestRunner\Microsoft_Test Runner.app           

*** Get App Info: C:\Applications\System Application\Test\Microsoft_System Application Test Library.app

*** Publish App: [Microsoft / System Application Test Library]
*** Sync App: [Microsoft / System Application Test Library]
*** Install App: [Microsoft / System Application Test Library]

*** Get App Info: C:\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app

ServerInstance    : 
PSComputerName    : d4fb0dedbd7364ba7a85007010ecd36061580665923df0122745b5427d3c01f0
RunspaceId        : a83a45cd-73a8-48d3-93c1-69f643d62311
Brief             : Test libraries that provide basic test setup for the System Application tests.
Description       : Contains an expansive set of library methods to be used exclusively in tests.
CompatibilityId   : 0.0.0.0
PrivacyStatement  : https://go.microsoft.com/fwlink/?LinkId=724009
Eula              : https://go.microsoft.com/fwlink/?linkid=2009120
Help              : 
Url               : https://go.microsoft.com/fwlink/?LinkId=724011
Logo              : 
DeveloperTenantId : 
ScreenShots       : {}
Dependencies      : {System Application, Microsoft, 15.0.0.0}
Capabilities      : {}
PackageId         : bb12c1ac-415a-49a6-b176-f529838ce641
AppId             : 9856ae4f-d1a7-46ef-89bb-6ef056398228
Name              : System Application Test Library
Publisher         : Microsoft
Version           : 15.0.36560.0
ExtensionType     : ModernDev
Scope             : Global

ServerInstance    : 
PSComputerName    : d4fb0dedbd7364ba7a85007010ecd36061580665923df0122745b5427d3c01f0
RunspaceId        : a83a45cd-73a8-48d3-93c1-69f643d62311
Brief             : Tests-TestLibraries (BE)
Description       : 
CompatibilityId   : 0.0.0.0
PrivacyStatement  : 
Eula              : 
Help              : 
Url               : 
Logo              : 
DeveloperTenantId : 
ScreenShots       : {}
Dependencies      : {System Application, Microsoft, 15.0.0.0, Base Application, Microsoft, 15.0.0.0, System Application
                     Test Library, Microsoft, 15.0.0.0}
Capabilities      : {}
PackageId         : 2b602ef0-2b42-413a-b7aa-4789c2aecf1e
AppId             : 5d86850b-0d76-4eca-bd7b-951ad998e997
Name              : Tests-TestLibraries
Publisher         : Microsoft
Version           : 15.0.36560.0
ExtensionType     : ModernDev
Scope             : Global

*** Publish App: [Microsoft / Tests-TestLibraries]
*** Sync App: [Microsoft / Tests-TestLibraries]
*** Install App: [Microsoft / Tests-TestLibraries]

*** Get App Info: C:\Applications\TestFramework\TestLibraries\Assert\Microsoft_Library Assert.app
ServerInstance    : 
PSComputerName    : d4fb0dedbd7364ba7a85007010ecd36061580665923df0122745b5427d3c01f0
RunspaceId        : a83a45cd-73a8-48d3-93c1-69f643d62311
Brief             : Library used in tests to verify if the values are as expected. 
Description       : In test code Library Assert should be used to compare the values and throw errors. TESTFIELD and ER
                    ROR must not be used in test code.
CompatibilityId   : 0.0.0.0
PrivacyStatement  : 
Eula              : 
Help              : 
Url               : 
Logo              : 
DeveloperTenantId : 
ScreenShots       : {}
Dependencies      : {}
Capabilities      : {}
PackageId         : 90dd4187-460b-4961-80b0-a2937213ecd5
AppId             : dd0be2ea-f733-4d65-bb34-a28f4624fb14
Name              : Library Assert
Publisher         : Microsoft
Version           : 15.0.36560.0
ExtensionType     : ModernDev
Scope             : Global

*** Publish App: [Microsoft / Library Assert]
*** Sync App: [Microsoft / Library Assert]
*** Install App: [Microsoft / Library Assert]

*** Get App Info: C:\Applications\TestFramework\TestLibraries\Any\Microsoft_Any.app
ServerInstance    : 
PSComputerName    : d4fb0dedbd7364ba7a85007010ecd36061580665923df0122745b5427d3c01f0
RunspaceId        : a83a45cd-73a8-48d3-93c1-69f643d62311
Brief             : Library used to generate pseudo-random values.
Description       : In test code, Any should be used to generate values that should not be hardcoded to a specific valu
                    es.
CompatibilityId   : 0.0.0.0
PrivacyStatement  : 
Eula              : 
Help              : 
Url               : 
Logo              : 
DeveloperTenantId : 
ScreenShots       : {}
Dependencies      : {}
Capabilities      : {}
PackageId         : 1c5107f9-1390-441e-9c4d-65bc21935b50
AppId             : e7320ebb-08b3-4406-b1ec-b4927d3e280b
Name              : Any
Publisher         : Microsoft
Version           : 15.0.36560.0
ExtensionType     : ModernDev
Scope             : Global

*** Publish App: [Microsoft / Any]
*** Sync App: [Microsoft / Any]
*** Install App: [Microsoft / Any]

*** Get App Info: C:\Applications\System Application\Test\Microsoft_System Application Test.app
ServerInstance    : 
PSComputerName    : d4fb0dedbd7364ba7a85007010ecd36061580665923df0122745b5427d3c01f0
RunspaceId        : a83a45cd-73a8-48d3-93c1-69f643d62311
Brief             : Test suite for the System Application.
Description       : Contains an expansive set tests for the System Application.
CompatibilityId   : 0.0.0.0
PrivacyStatement  : https://go.microsoft.com/fwlink/?LinkId=724009
Eula              : https://go.microsoft.com/fwlink/?linkid=2009120
Help              : 
Url               : https://go.microsoft.com/fwlink/?LinkId=724011
Logo              : 
DeveloperTenantId : 
ScreenShots       : {}
Dependencies      : {System Application, Microsoft, 15.0.0.0, System Application Test Library, Microsoft, 15.0.0.0, Lib
                    rary Assert, Microsoft, 15.0.0.0, Any, Microsoft, 15.0.0.0}
Capabilities      : {}
PackageId         : 658135c6-2640-4c25-827e-e3225e1fc444
AppId             : 0d60b215-6ee1-4789-8e53-866cfa50c23c
Name              : System Application Test
Publisher         : Microsoft
Version           : 15.0.36560.0
ExtensionType     : ModernDev
Scope             : Global

*** Publish App: [Microsoft / System Application Test]
*** Sync App: [Microsoft / System Application Test]
*** Install App: [Microsoft / System Application Test]

*** Get App Info: C:\Applications\TestFramework\TestRunner\Microsoft_Test Runner.app
ServerInstance    : 
PSComputerName    : d4fb0dedbd7364ba7a85007010ecd36061580665923df0122745b5427d3c01f0
RunspaceId        : a83a45cd-73a8-48d3-93c1-69f643d62311
Brief             : Executes one or more tests and gathers the results.
Description       : Provides options for running manual tests in the UI or automated tests in the console. Manual tests
                     are run from the Test Tool page, and automated tests are run from the Command Line Test Tool page.
                     For each group of tests, you can define the test isolation by using the Test Runner Codeunit. The 
                    Test Runner - Isol. Codeunit codeunit reverts changes to the database after tests are complete. The
                     Test Runner Isol. Disabled codeunit prevents changes from being reverted. This is useful when test
                    ing requires multiple sessions, such as when invoking web services, job queues, background threads,
                     and so on.
CompatibilityId   : 0.0.0.0
PrivacyStatement  : 
Eula              : 
Help              : 
Url               : 
Logo              : 
DeveloperTenantId : 
ScreenShots       : {}
Dependencies      : {}
Capabilities      : {}
PackageId         : 268d379a-258a-4793-8da9-876c444dc2df
AppId             : 23de40a6-dfe8-4f80-80db-d70f83ce8caf
Name              : Test Runner
Publisher         : Microsoft
Version           : 15.0.36560.0
ExtensionType     : ModernDev
Scope             : Global

*** Publish App: [Microsoft / Test Runner]
*** Sync App: [Microsoft / Test Runner]
*** Install App: [Microsoft / Test Runner]

*** AL-TestTool installation finished.
ComputerType           : Container
ComputerName           : d4fb0dedbd7364ba7a85007010ecd36061580665923df0122745b5427d3c01f0
ContainerId            : d4fb0dedbd7364ba7a85007010ecd36061580665923df0122745b5427d3c01f0
VMName                 : 
VMId                   : 
ConfigurationName      : 
InstanceId             : a83a45cd-73a8-48d3-93c1-69f643d62311
Id                     : 1
Name                   : WinRM1
Availability           : Available
ApplicationPrivateData : {DebugMode, DebugStop, UnhandledBreakpointMode, PSVersionTable...}
Runspace               : System.Management.Automation.RemoteRunspace
State                  : Opened
IdleTimeout            : -1
OutputBufferingMode    : 
DisconnectedOn         : 
ExpiresOn              : 

*** Disconnect Docker session.
*** Remove Docker session.
*** Docker session removed.
*** AL-Extension Published to ALOps Repository
*** Cleanup VSTS Environment: True
##[section]Finishing: ALOPS Install AL TestTool

Although the code seems to run fine and container the proper variables. Could you please share some more details so we are able to replica the scenario:

Kind regards,

borisimple commented 4 years ago

@AdminHodor Here's the additional information:

The only variable we are using is a path to our license.

variables:

trigger: branches: include:

pool: test-server

steps:

In event logs there is one error:

FBakkensen commented 4 years ago

Hi, I'am getting the same error when executing ALOpsAppPublish@1 It is a Business Central v.15 running in a docker. The agent is running in interactive mode as administrator on my Windows 10 Pro Version 1909.

My pipeline file is as follows.

name: $(Build.BuildId)

pool:
    name: ALPool

steps:
- checkout: self
  clean: true 

- task: ALOpsDockerStart@1
  inputs:
    docker_image: 'mcr.microsoft.com/businesscentral/sandbox:dk'
    docker_pull: true
    memory_gb: 8

- task: ALOpsDockerWait@1
  inputs:
    search_string: 'Ready for connections!'

- task: ALOpsLicenseImport@1
  displayName: 'ALOps License Import'
  inputs:
    usedocker: true
    license_path: 'C:\License\BC15.flf'

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

- task: ALOpsAppPublish@1
  displayName: 'ALOps Install AL TestTool'
  inputs:
    usedocker: true
    installaltesttool: true
    skip_verification: true
    install_al_app_names: |
     Tests-TestLibraries
     System Application Test
     System Application Test Library
     Any
     Library Assert
     Test Runner

#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

- task: ALOpsAppCompiler@1
  displayName: 'ALOps Compile Extension'
  inputs:
    usedocker: true
    nav_app_version: '1.0.[yyyyWW].*'
    failed_on_warnings: true    

- task: ALOpsAppPublish@1
  displayName: 'ALOps Publish AL-App'
  inputs:
    usedocker: true
    nav_artifact_app_filter: '*.app'   
    skip_verification: true 

#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

- task: ALOpsAppTest@1
  displayName: 'ALOps Run TestSuite'
  inputs:
    usedocker: true
    import_action: "Skip"
    import_testtoolkit: false
    testfilter: '50100..50149'
    testpage: '130455'
    testsuite: 'DEFAULT'
    failed_test_action: 'Ignore'
  continueOnError: true   

- task: PublishTestResults@2
  displayName: 'Publish Test Results **/TestResults.xml'
  inputs:
    testResultsFormat: XUnit
    testResultsFiles: '**/TestResults.xml'
    testRunTitle: 'BC Test Results: $(Build.BuildId)'

#<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

- task: ALOpsDockerRemove@1
  displayName: 'ALOps Remove Docker Container'
  enabled: true
  condition: always()

And I get the following result.

Starting: ALOps Install AL TestTool
==============================================================================
Task         : ALOps App Publish
Description  : Publish NAV Apps
Version      : 1.426.946
Author       : Hodor
Help         : Publish Business Central extension to service tier.
==============================================================================
*** Validate configuration
*** Importing required PS-Functions
 - Use Docker         = True
 - Artifact Path      = 
 - App Filter         = *.app
 - Process Type       = Build
 - Skip Verification  = True

*** Importing required PS-Functions
*** Initiate Docker Session
*** Install AL TestTool: True
*** Start AL-TestTool installation
*** Check MockAssemblies.
*** Map MockAssemblies folder [C:\Test Assemblies\Mock Assemblies] to [C:\Program Files\Microsoft Dynamics NAV\150\Service\Add-ins\Mock Assemblies].
*** Restart ServiceTier [BC] to activate Mock Assemblies
*** Application requested for installation:
  * Tests-TestLibraries
  * System Application Test
  * System Application Test Library
  * Any
  * Library Assert
  * Test Runner

*** Get Available Applications from [C:\Applications\].
*** Available Applications:
*** Installing Applications:
*** Get App Info: C:\Applications\System Application\Test\Microsoft_System Application Test Library.app
*** Publish App: [Microsoft / System Application Test Library]
*** Sync App: [Microsoft / System Application Test Library]
*** Install App: [Microsoft / System Application Test Library]

*** Get App Info: C:\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app
*** Publish App: [Microsoft / Tests-TestLibraries]
*** Sync App: [Microsoft / Tests-TestLibraries]
*** Install App: [Microsoft / Tests-TestLibraries]

*** Get App Info: C:\Applications\TestFramework\TestLibraries\Assert\Microsoft_Library Assert.app
*** Publish App: [Microsoft / Library Assert]
*** Sync App: [Microsoft / Library Assert]
*** Install App: [Microsoft / Library Assert]

*** Get App Info: C:\Applications\TestFramework\TestLibraries\Any\Microsoft_Any.app
*** Publish App: [Microsoft / Any]
*** Sync App: [Microsoft / Any]
*** Install App: [Microsoft / Any]

*** Get App Info: C:\Applications\System Application\Test\Microsoft_System Application Test.app
*** Publish App: [Microsoft / System Application Test]
*** Sync App: [Microsoft / System Application Test]
*** Install App: [Microsoft / System Application Test]

*** Get App Info: C:\Applications\TestFramework\TestRunner\Microsoft_Test Runner.app
*** Publish App: [Microsoft / Test Runner]
*** Sync App: [Microsoft / Test Runner]
*** Install App: [Microsoft / Test Runner]

##[error]Value does not fall within the expected range.
Finishing: ALOps Install AL TestTool
FBakkensen commented 4 years ago

When I moved my agent to a Windows Server 2019 running Docker EE, does it work.

waldo1001 commented 4 years ago

Well, it's hard for us to support a windows 10, so we won't. There are too many loose ends, I'm afraid.

@borisimple , is it posible for you to move to Win Server as well?

borisimple commented 4 years ago

Well, it's hard for us to support a windows 10, so we won't. There are too many loose ends, I'm afraid.

@borisimple , is it posible for you to move to Win Server as well?

Actually, no, it's not, as I considered this anyway. I will get back with additional feedback soon.

borisimple commented 4 years ago

Yep, this runs without any problems on Windows Server 2019. I'm closing the issue now.