Closed TKapitan closed 2 years ago
It looks like you have the same app in InstallApps and InstallTestApps:
\srvts\BCAPPS\apps\e476c379-5976-4362-8889-77e6c19f6699\2.0.0.0\app.app
That is likely the reason for the problem.
Yeah, I thought the same, but I don't think it's the problem. It works once I remove "f56970b9-9ab0-4f05-8e07-e64392f3c2f7" from dependencies (only the App is dependent on this extension). Once removed, it works even with the "e476c379-5976-4362-8889-77e6c19f6699" used by both App and Test.
Could you try to remove it from installTestApps and see?
Alternatively, if you want me to investigate - I would need access to a repro scenario.
You would need to .zip the source and apps together with a simple .ps1 script which runs the pipeline hardcoded and fails - then I can investigate and if there is a bug, fix it.
I removed e476c379-5976-4362-8889-77e6c19f6699 from test app but it still fails.
2022-07-22T08:31:08.8969734Z ##[section]Starting: Run Pipeline
2022-07-22T08:31:08.9118370Z ==============================================================================
2022-07-22T08:31:08.9118916Z Task : PowerShell
2022-07-22T08:31:08.9119369Z Description : Run a PowerShell script on Linux, macOS, or Windows
2022-07-22T08:31:08.9119822Z Version : 2.200.0
2022-07-22T08:31:08.9120174Z Author : Microsoft Corporation
2022-07-22T08:31:08.9120742Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2022-07-22T08:31:08.9121406Z ==============================================================================
2022-07-22T08:31:10.3348087Z Generating script.
2022-07-22T08:31:10.3465183Z Formatted command: . 'C:\devOpsAgents\agent01\_work\1\s\scripts\DevOps-Pipeline.ps1' -environment "AzureDevOps" -version "ci" -appBuild 652 -appRevision 0
2022-07-22T08:31:10.4974748Z ========================== Starting Command Output ===========================
2022-07-22T08:31:10.5427238Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'C:\devOpsAgents\agent01\_work\_temp\e7475ac4-bae6-447e-aba2-9df00b91f149.ps1'"
2022-07-22T08:31:10.9215731Z
2022-07-22T08:31:10.9229757Z Id Name PSJobTypeName State HasMoreData Location Command
2022-07-22T08:31:10.9242130Z -- ---- ------------- ----- ----------- -------- -------
2022-07-22T08:31:10.9254857Z 1 b719fdb3-e70... NotStarted False ...
2022-07-22T08:31:11.0985538Z Set artifact = /{CIARTIFACTTYPE}/{CIARTIFACTVERSION}/{COUNTRY}
2022-07-22T08:31:11.1072328Z Set pipelineName = CU-ORI-ci
2022-07-22T08:31:11.1142703Z Set containerName = devsrv0101-cu-ori-ci
2022-07-22T08:31:11.1448410Z Set TKApublishAppFile = '\\srvts\BCAPPS\'
2022-07-22T08:31:11.1494492Z Set TKAsourceAppAppJsonFileLocation = '../App/app.json'
2022-07-22T08:31:11.1573212Z Set TKAsourceTestAppJsonFileLocation = '../Test/app.json'
2022-07-22T08:31:11.1585336Z Set country = 'cz'
2022-07-22T08:31:11.1645302Z Set installApps = '\\srvts\BCAPPS\apps\AE056_2.0.0.0.app'
2022-07-22T08:31:11.1693070Z Set installTestApps = '\\srvts\BCAPPS\tests\TEST-W1_1.0.0.0.app,\\srvts\BCAPPS\tests\TEST-CZ_1.0.0.0.app'
2022-07-22T08:31:11.1735818Z Set licenseFile = '\\srvts\BCAPPS\_config\CurrentDEVlicense.flf'
2022-07-22T08:31:11.1781380Z Set previousApps = ''
2022-07-22T08:31:11.1829936Z Set appSourceCopMandatoryAffixes = 'ART CU ,ART_CU_'
2022-07-22T08:31:11.1982134Z Set appSourceCopSupportedCountries = 'cz'
2022-07-22T08:31:11.2037564Z Set appFolders = 'App'
2022-07-22T08:31:11.2094976Z Set testFolders = 'Test'
2022-07-22T08:31:11.2154120Z Set memoryLimit = '6G'
2022-07-22T08:31:11.2213183Z Set additionalCountries = ''
2022-07-22T08:31:11.2232190Z Set genericImageName = ''
2022-07-22T08:31:11.2289933Z Set vaultNameForLocal = 'BuildVariables'
2022-07-22T08:31:11.2346655Z Set bcContainerHelperVersion = ''
2022-07-22T08:31:11.2392246Z Set failOn = 'warning'
2022-07-22T08:31:11.2466729Z Set installTestRunner = True
2022-07-22T08:31:11.2536170Z Set installTestFramework = True
2022-07-22T08:31:11.2582116Z Set installTestLibraries = True
2022-07-22T08:31:11.2630982Z Set installPerformanceToolkit = True
2022-07-22T08:31:11.2678163Z Set enableCodeCop = True
2022-07-22T08:31:11.2724543Z Set enableAppSourceCop = True
2022-07-22T08:31:11.2776960Z Set enablePerTenantExtensionCop = True
2022-07-22T08:31:11.2823921Z Set enableUICop = True
2022-07-22T08:31:11.2869782Z Set doNotSignApps = True
2022-07-22T08:31:11.2885349Z Set doNotRunTests = False
2022-07-22T08:31:11.2898764Z Set cacheImage = False
2022-07-22T08:31:11.2947338Z Set CreateRuntimePackages = True
2022-07-22T08:31:12.2390908Z BcContainerHelper version 3.0.11
2022-07-22T08:31:12.4348252Z BcContainerHelper emits usage statistics telemetry to Microsoft
2022-07-22T08:31:13.8105154Z Determining onprem artifact cz, OnPrem, 20.1
2022-07-22T08:31:15.7196917Z Accessing /onprem/20.1.39764.39901/cz
2022-07-22T08:31:15.7314719Z Identifying App dependencies...
2022-07-22T08:31:15.7327169Z Looking for C:\devOpsAgents\agent01\_work\1\s\scripts\..\App\app.json
2022-07-22T08:31:15.7545288Z Trying to load json file: C:\devOpsAgents\agent01\_work\1\s\scripts\..\App\app.json
2022-07-22T08:31:15.7633789Z App.json found for C:\devOpsAgents\agent01\_work\1\s\scripts\..\App\app.json
2022-07-22T08:31:15.7808976Z Path: \\srvts\BCAPPS\ , id: e476c379-5976-4362-8889-77e6c19f6699 , version: 2.0.0.0
2022-07-22T08:31:15.9183348Z Requested version of e476c379-5976-4362-8889-77e6c19f6699 is 2.0.0.0
2022-07-22T08:31:15.9329675Z Used version of e476c379-5976-4362-8889-77e6c19f6699 is 2.0.0.0
2022-07-22T08:31:15.9371023Z Trying to load json file: \\srvts\BCAPPS\apps\e476c379-5976-4362-8889-77e6c19f6699\2.0.0.0\app.json
2022-07-22T08:31:15.9438746Z App.json found for \\srvts\BCAPPS\apps\e476c379-5976-4362-8889-77e6c19f6699\2.0.0.0\app.json
2022-07-22T08:31:15.9457677Z Checking exlude extension ID: e476c379-5976-4362-8889-77e6c19f6699 and
2022-07-22T08:31:15.9525830Z Path: \\srvts\BCAPPS\ , id: f56970b9-9ab0-4f05-8e07-e64392f3c2f7 , version: 1.0.0.0
2022-07-22T08:31:15.9566862Z Requested version of f56970b9-9ab0-4f05-8e07-e64392f3c2f7 is 1.0.0.0
2022-07-22T08:31:15.9605521Z Used version of f56970b9-9ab0-4f05-8e07-e64392f3c2f7 is 1.0.0.0
2022-07-22T08:31:15.9649693Z Trying to load json file: \\srvts\BCAPPS\apps\f56970b9-9ab0-4f05-8e07-e64392f3c2f7\1.0.0.0\app.json
2022-07-22T08:31:15.9724981Z App.json found for \\srvts\BCAPPS\apps\f56970b9-9ab0-4f05-8e07-e64392f3c2f7\1.0.0.0\app.json
2022-07-22T08:31:15.9774612Z Checking exlude extension ID: f56970b9-9ab0-4f05-8e07-e64392f3c2f7 and
2022-07-22T08:31:15.9800024Z App dependencies: \\srvts\BCAPPS\apps\e476c379-5976-4362-8889-77e6c19f6699\2.0.0.0\app.app,\\srvts\BCAPPS\apps\f56970b9-9ab0-4f05-8e07-e64392f3c2f7\1.0.0.0\app.app
2022-07-22T08:31:15.9815659Z Identifying Test dependencies...
2022-07-22T08:31:15.9836236Z Looking for C:\devOpsAgents\agent01\_work\1\s\scripts\..\Test\app.json
2022-07-22T08:31:15.9851335Z Trying to load json file: C:\devOpsAgents\agent01\_work\1\s\scripts\..\Test\app.json
2022-07-22T08:31:15.9913126Z App.json found for C:\devOpsAgents\agent01\_work\1\s\scripts\..\Test\app.json
2022-07-22T08:31:15.9926846Z Path: \\srvts\BCAPPS\ , id: ab17c9d9-656f-491c-9001-443df58174b0 , version: 1.0.0.0
2022-07-22T08:31:15.9970236Z Requested version of ab17c9d9-656f-491c-9001-443df58174b0 is 1.0.0.0
2022-07-22T08:31:16.0021664Z Used version of ab17c9d9-656f-491c-9001-443df58174b0 is 1.0.647.0
2022-07-22T08:31:16.0061547Z Trying to load json file: \\srvts\BCAPPS\apps\ab17c9d9-656f-491c-9001-443df58174b0\1.0.647.0\app.json
2022-07-22T08:31:16.0657612Z App.json found for \\srvts\BCAPPS\apps\ab17c9d9-656f-491c-9001-443df58174b0\1.0.647.0\app.json
2022-07-22T08:31:16.0668412Z Path: \\srvts\BCAPPS\ , id: e476c379-5976-4362-8889-77e6c19f6699 , version: 2.0.0.0
2022-07-22T08:31:16.0699423Z Requested version of e476c379-5976-4362-8889-77e6c19f6699 is 2.0.0.0
2022-07-22T08:31:16.0714484Z Used version of e476c379-5976-4362-8889-77e6c19f6699 is 2.0.0.0
2022-07-22T08:31:16.0739519Z Trying to load json file: \\srvts\BCAPPS\apps\e476c379-5976-4362-8889-77e6c19f6699\2.0.0.0\app.json
2022-07-22T08:31:16.0780843Z App.json found for \\srvts\BCAPPS\apps\e476c379-5976-4362-8889-77e6c19f6699\2.0.0.0\app.json
2022-07-22T08:31:16.0791869Z Checking exlude extension ID: e476c379-5976-4362-8889-77e6c19f6699 and ab17c9d9-656f-491c-9001-443df58174b0
2022-07-22T08:31:16.0802311Z Checking exlude extension ID: ab17c9d9-656f-491c-9001-443df58174b0 and ab17c9d9-656f-491c-9001-443df58174b0
2022-07-22T08:31:16.0813747Z Path: \\srvts\BCAPPS\ , id: b106bd07-f498-439c-a067-318c2524fbca , version: 1.0.0.1
2022-07-22T08:31:16.0842751Z Requested version of b106bd07-f498-439c-a067-318c2524fbca is 1.0.0.1
2022-07-22T08:31:16.0887126Z Used version of b106bd07-f498-439c-a067-318c2524fbca is 1.0.0.1
2022-07-22T08:31:16.0917563Z Trying to load json file: \\srvts\BCAPPS\apps\b106bd07-f498-439c-a067-318c2524fbca\1.0.0.1\app.json
2022-07-22T08:31:16.0969837Z App.json found for \\srvts\BCAPPS\apps\b106bd07-f498-439c-a067-318c2524fbca\1.0.0.1\app.json
2022-07-22T08:31:16.0986051Z Checking exlude extension ID: b106bd07-f498-439c-a067-318c2524fbca and ab17c9d9-656f-491c-9001-443df58174b0
2022-07-22T08:31:16.0997315Z Path: \\srvts\BCAPPS\ , id: b106bd07-f498-439c-a067-318c2524fbcb , version: 1.0.0.0
2022-07-22T08:31:16.1026949Z Requested version of b106bd07-f498-439c-a067-318c2524fbcb is 1.0.0.0
2022-07-22T08:31:16.1068805Z Used version of b106bd07-f498-439c-a067-318c2524fbcb is 1.0.0.0
2022-07-22T08:31:16.1102826Z Trying to load json file: \\srvts\BCAPPS\apps\b106bd07-f498-439c-a067-318c2524fbcb\1.0.0.0\app.json
2022-07-22T08:31:16.1161080Z App.json found for \\srvts\BCAPPS\apps\b106bd07-f498-439c-a067-318c2524fbcb\1.0.0.0\app.json
2022-07-22T08:31:16.1170557Z Path: \\srvts\BCAPPS\ , id: b106bd07-f498-439c-a067-318c2524fbca , version: 1.0.0.0
2022-07-22T08:31:16.1186937Z Requested version of b106bd07-f498-439c-a067-318c2524fbca is 1.0.0.0
2022-07-22T08:31:16.1214092Z Used version of b106bd07-f498-439c-a067-318c2524fbca is 1.0.0.1
2022-07-22T08:31:16.1234823Z Trying to load json file: \\srvts\BCAPPS\apps\b106bd07-f498-439c-a067-318c2524fbca\1.0.0.1\app.json
2022-07-22T08:31:16.1284659Z App.json found for \\srvts\BCAPPS\apps\b106bd07-f498-439c-a067-318c2524fbca\1.0.0.1\app.json
2022-07-22T08:31:16.1296107Z Checking exlude extension ID: b106bd07-f498-439c-a067-318c2524fbca and ab17c9d9-656f-491c-9001-443df58174b0
2022-07-22T08:31:16.1306501Z Checking exlude extension ID: b106bd07-f498-439c-a067-318c2524fbcb and ab17c9d9-656f-491c-9001-443df58174b0
2022-07-22T08:31:16.1317778Z Test dependencies: \\srvts\BCAPPS\apps\b106bd07-f498-439c-a067-318c2524fbca\1.0.0.1\app.app,\\srvts\BCAPPS\apps\b106bd07-f498-439c-a067-318c2524fbcb\1.0.0.0\app.app
2022-07-22T08:31:16.3711627Z Determining artifacts to use
2022-07-22T08:31:16.5085169Z _____ _
2022-07-22T08:31:16.5097531Z | __ \ | |
2022-07-22T08:31:16.5118357Z | |__) |_ _ _ __ __ _ _ __ ___ ___| |_ ___ _ __ ___
2022-07-22T08:31:16.5130733Z | ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
2022-07-22T08:31:16.5144332Z | | | (_| | | | (_| | | | | | | __/ |_ __/ | \__ \
2022-07-22T08:31:16.5158473Z |_| \__,_|_| \__,_|_| |_| |_|\___|\__\___|_| |___/
2022-07-22T08:31:16.5165269Z
2022-07-22T08:31:16.5177468Z Pipeline name CU-ORI-ci
2022-07-22T08:31:16.5190304Z Container name devsrv0101-cu-ori-ci
2022-07-22T08:31:16.5200972Z Image name
2022-07-22T08:31:16.5214869Z ArtifactUrl https://bcartifacts.azureedge.net/onprem/20.1.39764.39901/cz
2022-07-22T08:31:16.5225088Z SasToken Not Specified
2022-07-22T08:31:16.5247270Z BcAuthContext Not Specified
2022-07-22T08:31:16.5266421Z Environment
2022-07-22T08:31:16.5294149Z ReUseContainer False
2022-07-22T08:31:16.5349433Z KeepContainer False
2022-07-22T08:31:16.5372049Z Auth UserPassword
2022-07-22T08:31:16.5425817Z Credential Specified
2022-07-22T08:31:16.5444767Z CompanyName
2022-07-22T08:31:16.5465677Z MemoryLimit 6G
2022-07-22T08:31:16.5484403Z Enable Task Scheduler False
2022-07-22T08:31:16.5502940Z Assign Premium Plan False
2022-07-22T08:31:16.5522101Z Install Test Runner True
2022-07-22T08:31:16.5540261Z Install Test Framework True
2022-07-22T08:31:16.5559189Z Install Test Libraries True
2022-07-22T08:31:16.5577515Z Install Perf. Toolkit True
2022-07-22T08:31:16.5596458Z InstallOnlyReferencedApps False
2022-07-22T08:31:16.5616826Z generateDependencyArtifact False
2022-07-22T08:31:16.5637897Z CopySymbolsFromContainer False
2022-07-22T08:31:16.5656472Z enableCodeCop True
2022-07-22T08:31:16.5674941Z enableAppSourceCop True
2022-07-22T08:31:16.5693307Z enableUICop True
2022-07-22T08:31:16.5712118Z enablePerTenantExtensionCop True
2022-07-22T08:31:16.5731727Z doNotPerformUpgrade False
2022-07-22T08:31:16.5751914Z doNotPublishApps False
2022-07-22T08:31:16.5772390Z uninstallRemovedApps False
2022-07-22T08:31:16.5788438Z escapeFromCops False
2022-07-22T08:31:16.5807407Z doNotBuildTests False
2022-07-22T08:31:16.5826366Z doNotRunTests False
2022-07-22T08:31:16.5845057Z doNotRunBcptTests False
2022-07-22T08:31:16.5863568Z useDefaultAppSourceRuleSet False
2022-07-22T08:31:16.5879481Z rulesetFile
2022-07-22T08:31:16.5901750Z azureDevOps True
2022-07-22T08:31:16.5920690Z gitLab False
2022-07-22T08:31:16.5939653Z gitHubActions False
2022-07-22T08:31:16.5958074Z License file Specified
2022-07-22T08:31:16.5970655Z CodeSignCertPfxFile Not specified
2022-07-22T08:31:16.6005912Z CodeSignCertPfxPassword Not specified
2022-07-22T08:31:16.6057888Z CodeSignCertIsSelfSigned False
2022-07-22T08:31:16.6069857Z KeyVaultCertPfxFile Not specified
2022-07-22T08:31:16.6082662Z KeyVaultCertPfxPassword Not specified
2022-07-22T08:31:16.6099753Z KeyVaultClientId
2022-07-22T08:31:16.6112277Z BuildOutputFile
2022-07-22T08:31:16.6130348Z TestResultsFile C:\devOpsAgents\agent01\_work\1\s\TestResults.xml
2022-07-22T08:31:16.6147331Z BcptTestResultsFile C:\devOpsAgents\agent01\_work\1\s\bcptTestResults.json
2022-07-22T08:31:16.6163894Z TestResultsFormat JUnit
2022-07-22T08:31:16.6217421Z AdditionalCountries
2022-07-22T08:31:16.6232236Z PackagesFolder C:\devOpsAgents\agent01\_work\1\s\.packages
2022-07-22T08:31:16.6250237Z OutputFolder C:\devOpsAgents\agent01\_work\1\s\.output
2022-07-22T08:31:16.6267243Z BuildArtifactFolder C:\devOpsAgents\agent01\_work\1\a
2022-07-22T08:31:16.6285336Z CreateRuntimePackages True
2022-07-22T08:31:16.6300054Z AppVersion
2022-07-22T08:31:16.6318720Z AppBuild 652
2022-07-22T08:31:16.6337741Z AppRevision 0
2022-07-22T08:31:16.6355409Z Mandatory Affixes ART CU,ART_CU_
2022-07-22T08:31:16.6372925Z Supported Countries cz
2022-07-22T08:31:16.6388549Z ObsoleteTagMinAllowedMajorMinor
2022-07-22T08:31:16.6399207Z Install Apps
2022-07-22T08:31:16.6413599Z - \\srvts\BCAPPS\apps\e476c379-5976-4362-8889-77e6c19f6699\2.0.0.0\app.app
2022-07-22T08:31:16.6423867Z - \\srvts\BCAPPS\apps\f56970b9-9ab0-4f05-8e07-e64392f3c2f7\1.0.0.0\app.app
2022-07-22T08:31:16.6433078Z Install Test Apps
2022-07-22T08:31:16.6448569Z - \\srvts\BCAPPS\apps\b106bd07-f498-439c-a067-318c2524fbca\1.0.0.1\app.app
2022-07-22T08:31:16.6458187Z - \\srvts\BCAPPS\apps\b106bd07-f498-439c-a067-318c2524fbcb\1.0.0.0\app.app
2022-07-22T08:31:16.6467995Z Previous Apps
2022-07-22T08:31:16.6476526Z - None
2022-07-22T08:31:16.6486334Z Application folders
2022-07-22T08:31:16.6498083Z - C:\devOpsAgents\agent01\_work\1\s\App
2022-07-22T08:31:16.6508793Z Test application folders
2022-07-22T08:31:16.6522310Z - C:\devOpsAgents\agent01\_work\1\s\Test
2022-07-22T08:31:16.6531744Z BCPT Test application folders
2022-07-22T08:31:16.6540715Z - None
2022-07-22T08:31:16.6549752Z Custom CodeCops
2022-07-22T08:31:16.6559409Z - None
2022-07-22T08:31:16.6698119Z
2022-07-22T08:31:16.6709125Z _____ _ _ _ _ _
2022-07-22T08:31:16.6718977Z | __ \ | | (_) (_) (_)
2022-07-22T08:31:16.6728439Z | |__) | _| | |_ _ __ __ _ __ _ ___ _ __ ___ _ __ _ ___ _ _ __ ___ __ _ __ _ ___
2022-07-22T08:31:16.6737648Z | ___/ | | | | | | '_ \ / _` | / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
2022-07-22T08:31:16.6746879Z | | | |_| | | | | | | | (_| | | (_| | __/ | | | __/ | | | (__ | | | | | | | (_| | (_| | __/
2022-07-22T08:31:16.6756218Z |_| \__,_|_|_|_|_| |_|\__, | \__, |\___|_| |_|\___|_| |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
2022-07-22T08:31:16.6765398Z __/ | __/ | __/ |
2022-07-22T08:31:16.6774225Z |___/ |___/ |___/
2022-07-22T08:31:16.6779160Z
2022-07-22T08:31:17.3183320Z Pulling mcr.microsoft.com/businesscentral:10.0.14393.2906
2022-07-22T08:31:17.8588268Z
2022-07-22T08:31:17.8601769Z Pulling generic image took 1 seconds
2022-07-22T08:31:17.8732476Z
2022-07-22T08:31:17.8746728Z _____ _ _ _ _
2022-07-22T08:31:17.8760034Z / ____| | | (_) | | (_)
2022-07-22T08:31:17.8772331Z | | _ __ ___ __ _| |_ _ _ __ __ _ ___ ___ _ __ | |_ __ _ _ _ __ ___ _ __
2022-07-22T08:31:17.8784156Z | | | '__/ _ \/ _` | __| | '_ \ / _` | / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2022-07-22T08:31:17.8796366Z | |____| | | __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | | __/ |
2022-07-22T08:31:17.8810042Z \_____|_| \___|\__,_|\__|_|_| |_|\__, | \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|
2022-07-22T08:31:17.8823615Z __/ |
2022-07-22T08:31:17.8837636Z |___/
2022-07-22T08:31:17.8846345Z
2022-07-22T08:31:18.6855065Z WARNING: Container name should not exceed 15 characters
2022-07-22T08:31:19.0940465Z BcContainerHelper is version 3.0.11
2022-07-22T08:31:19.0954146Z BcContainerHelper is running as administrator
2022-07-22T08:31:20.7672318Z Hyper-V is Disabled
2022-07-22T08:31:20.7712629Z UsePsSession is True
2022-07-22T08:31:20.7748277Z Host is Microsoft Windows Server 2016 Standard - ltsc2016
2022-07-22T08:31:21.0328543Z Docker Client Version is 19.03.5
2022-07-22T08:31:21.0368236Z Docker Server Version is 19.03.5
2022-07-22T08:31:21.7477424Z Removing Desktop shortcuts
2022-07-22T08:31:22.4002681Z Fetching all docker images
2022-07-22T08:31:22.6487302Z Fetching all docker volumes
2022-07-22T08:31:23.2062785Z Using image mcr.microsoft.com/businesscentral:10.0.14393.2906
2022-07-22T08:31:23.9287638Z Creating Container devsrv0101-cu-ori-ci
2022-07-22T08:31:23.9298980Z Style: onprem
2022-07-22T08:31:23.9391522Z Multitenant: No
2022-07-22T08:31:23.9406824Z Version: 20.1.39764.39901
2022-07-22T08:31:23.9435310Z Platform: 20.0.39668.39849
2022-07-22T08:31:23.9448825Z Generic Tag: 1.0.2.10
2022-07-22T08:31:23.9610053Z Container OS Version: 10.0.14393.2906 (ltsc2016)
2022-07-22T08:31:23.9622006Z Host OS Version: 10.0.14393.1884 (ltsc2016)
2022-07-22T08:31:25.3118056Z WARNING: Host OS and Base Image Container OS doesn't match and Hyper-V is not installed. If you encounter issues, you could try to install Hyper-V.
2022-07-22T08:31:25.3129057Z Using process isolation
2022-07-22T08:31:25.3194888Z Using locale cs-CZ
2022-07-22T08:31:25.3264335Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
2022-07-22T08:31:25.3411230Z Using license file \\srvts\BCAPPS\_config\CurrentDEVlicense.flf
2022-07-22T08:31:25.4087089Z Additional Parameters:
2022-07-22T08:31:25.4103526Z --volume "C:\devOpsAgents\agent01\_work\1\s:c:\sources"
2022-07-22T08:31:25.4116105Z --env customNavSettings=EnableTaskScheduler=False
2022-07-22T08:31:25.4128173Z Files in C:\ProgramData\BcContainerHelper\Extensions\devsrv0101-cu-ori-ci\my:
2022-07-22T08:31:25.4184695Z - AdditionalOutput.ps1
2022-07-22T08:31:25.4195869Z - license.flf
2022-07-22T08:31:25.4207929Z - MainLoop.ps1
2022-07-22T08:31:25.4220633Z - SetupVariables.ps1
2022-07-22T08:31:25.4233157Z - updatehosts.ps1
2022-07-22T08:31:25.4246662Z Creating container devsrv0101-cu-ori-ci from image mcr.microsoft.com/businesscentral:10.0.14393.2906
2022-07-22T08:31:25.8130171Z d03f8bb1ae56244ec21cd703472c72d58a4ef4179af7ac2f508d96ce82427df3
2022-07-22T08:31:37.9277077Z Waiting for container devsrv0101-cu-ori-ci to be ready
2022-07-22T08:31:41.7987351Z Adding DEVSRV0101-CU-O to hosts file
2022-07-22T08:31:41.8003508Z Using artifactUrl https://bcartifacts.azureedge.net/onprem/20.1.39764.39901/cz
2022-07-22T08:31:41.8012009Z Using installer from C:\Run\150-new
2022-07-22T08:31:41.8023039Z Installing Business Central
2022-07-22T08:31:41.8035951Z Installing from artifacts
2022-07-22T08:31:45.8499433Z Starting Local SQL Server
2022-07-22T08:31:45.8516328Z Starting Internet Information Server
2022-07-22T08:31:45.8547065Z Copying Service Tier Files
2022-07-22T08:31:47.1685537Z c:\dl\onprem\20.1.39764.39901\platform\ServiceTier\Program Files
2022-07-22T08:31:47.1697613Z c:\dl\onprem\20.1.39764.39901\platform\ServiceTier\System64Folder
2022-07-22T08:31:47.1708366Z Copying PowerShell Scripts
2022-07-22T08:31:48.5245677Z c:\dl\onprem\20.1.39764.39901\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
2022-07-22T08:31:48.5256649Z c:\dl\onprem\20.1.39764.39901\platform\WindowsPowerShellScripts\WebSearch
2022-07-22T08:31:48.5272735Z Copying Web Client Files
2022-07-22T08:31:51.1457628Z c:\dl\onprem\20.1.39764.39901\platform\WebClient\Microsoft Dynamics NAV
2022-07-22T08:31:51.1467744Z Copying Client Files
2022-07-22T08:31:52.4437887Z c:\dl\onprem\20.1.39764.39901\platform\LegacyDlls\program files\Microsoft Dynamics NAV
2022-07-22T08:31:52.4455000Z c:\dl\onprem\20.1.39764.39901\platform\LegacyDlls\program files\Microsoft Dynamics NAV
2022-07-22T08:31:52.4571483Z c:\dl\onprem\20.1.39764.39901\platform\LegacyDlls\systemFolder
2022-07-22T08:31:52.4581446Z Copying ModernDev Files
2022-07-22T08:31:52.4591417Z c:\dl\onprem\20.1.39764.39901\platform
2022-07-22T08:31:52.4601440Z c:\dl\onprem\20.1.39764.39901\platform\ModernDev\program files\Microsoft Dynamics NAV
2022-07-22T08:31:52.4610177Z Copying additional files
2022-07-22T08:31:52.4619152Z Copying ConfigurationPackages
2022-07-22T08:31:52.4629141Z C:\dl\onprem\20.1.39764.39901\platform\ConfigurationPackages
2022-07-22T08:31:53.7880919Z Copying Test Assemblies
2022-07-22T08:31:53.7890357Z C:\dl\onprem\20.1.39764.39901\platform\Test Assemblies
2022-07-22T08:31:53.7899488Z Copying Applications
2022-07-22T08:31:53.7909118Z C:\dl\onprem\20.1.39764.39901\cz\Applications
2022-07-22T08:31:53.7918191Z Copying dependencies
2022-07-22T08:33:01.1281139Z Copying ReportBuilder
2022-07-22T08:33:03.6755040Z Importing PowerShell Modules
2022-07-22T08:33:10.3907825Z Restoring CRONUS Demo Database
2022-07-22T08:33:11.7735512Z Setting CompatibilityLevel for CRONUS on localhost\SQLEXPRESS
2022-07-22T08:33:11.7751663Z Modifying Business Central Service Tier Config File for Docker
2022-07-22T08:33:11.7757629Z Creating Business Central Service Tier
2022-07-22T08:33:11.7763609Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2022-07-22T08:36:52.5595081Z Starting Business Central Service Tier
2022-07-22T08:36:53.9736640Z Importing license file
2022-07-22T08:36:53.9749512Z Stopping Business Central Service Tier
2022-07-22T08:36:53.9754865Z Installation took 311 seconds
2022-07-22T08:36:53.9762999Z Installation complete
2022-07-22T08:36:53.9790117Z Initializing...
2022-07-22T08:36:53.9790797Z Setting host.containerhelper.internal to 172.30.96.1 in container hosts file
2022-07-22T08:36:53.9791463Z Starting Container
2022-07-22T08:36:53.9791951Z Hostname is devsrv0101-cu-ori-ci
2022-07-22T08:36:55.2657218Z PublicDnsName is devsrv0101-cu-ori-ci
2022-07-22T08:36:55.2666445Z Using NavUserPassword Authentication
2022-07-22T08:36:56.6539591Z Creating Self Signed Certificate
2022-07-22T08:36:56.6617088Z Self Signed Certificate Thumbprint 7049CBD4C9632DBB56A05575A1AA9312A2F1D516
2022-07-22T08:36:56.6623719Z DNS identity devsrv0101-cu-ori-ci
2022-07-22T08:36:56.6632965Z Modifying Service Tier Config File with Instance Specific Settings
2022-07-22T08:36:56.6649161Z Modifying Service Tier Config File with settings from environment variable
2022-07-22T08:36:58.3409080Z Setting EnableTaskScheduler to False
2022-07-22T08:38:02.9569988Z Starting Service Tier
2022-07-22T08:38:02.9618706Z Registering event sources
2022-07-22T08:38:02.9642613Z Creating DotNetCore Web Server Instance
2022-07-22T08:38:02.9653653Z Using application pool name: BC
2022-07-22T08:38:02.9663267Z Using default container name: NavWebApplicationContainer
2022-07-22T08:38:08.4076773Z Copy files to WWW root C:\inetpub\wwwroot\BC
2022-07-22T08:38:08.4120087Z Create the application pool BC
2022-07-22T08:38:09.8103898Z Create website: NavWebApplicationContainer without SSL
2022-07-22T08:38:09.8117398Z Update configuration: navsettings.json
2022-07-22T08:38:09.8123067Z Done Configuring Web Client
2022-07-22T08:38:09.8163820Z Using license file 'c:\run\my\license.flf'
2022-07-22T08:38:11.6157436Z Import License
2022-07-22T08:38:11.6206941Z Creating http download site
2022-07-22T08:38:11.6207762Z Setting SA Password and enabling SA
2022-07-22T08:38:24.5620084Z Creating admin as SQL User and add to sysadmin
2022-07-22T08:38:24.5635162Z Creating SUPER user
2022-07-22T08:38:24.5644205Z WARNING: The password that you entered does not meet the minimum requirements.
2022-07-22T08:38:24.5652766Z It should be at least 8 characters long and contain at least one uppercase
2022-07-22T08:38:32.3493904Z letter, one lowercase letter, and one number.
2022-07-22T08:38:32.3507960Z Container IP Address: 172.30.97.79
2022-07-22T08:38:32.3514575Z Container Hostname : devsrv0101-cu-ori-ci
2022-07-22T08:38:32.3531949Z Container Dns Name : devsrv0101-cu-ori-ci
2022-07-22T08:38:32.3532750Z Web Client : http://devsrv0101-cu-ori-ci/BC/
2022-07-22T08:38:32.3553178Z Dev. Server : http://devsrv0101-cu-ori-ci
2022-07-22T08:38:32.3553901Z Dev. ServerInstance : BC
2022-07-22T08:38:32.3555648Z Setting devsrv0101-cu-ori-ci to 172.30.97.79 in host hosts file
2022-07-22T08:38:32.3556587Z
2022-07-22T08:38:32.3567031Z Files:
2022-07-22T08:38:32.3579645Z http://devsrv0101-cu-ori-ci:8080/ALLanguage.vsix
2022-07-22T08:38:32.3580205Z
2022-07-22T08:38:32.3593036Z WARNING: You are running a container which is 606 days old.
2022-07-22T08:38:32.3598617Z Microsoft recommends that you always run the latest version of our containers.
2022-07-22T08:38:32.3606384Z
2022-07-22T08:38:32.3620484Z Container Total Physical Memory is 16.0Gb
2022-07-22T08:38:32.3630240Z Container Free Physical Memory is 7.1Gb
2022-07-22T08:38:32.3631743Z
2022-07-22T08:38:32.3642414Z Initialization took 99 seconds
2022-07-22T08:38:32.3649340Z Ready for connections!
2022-07-22T08:38:34.3517956Z Reading CustomSettings.config from devsrv0101-cu-ori-ci
2022-07-22T08:38:36.1702946Z Creating Desktop Shortcuts for devsrv0101-cu-ori-ci
2022-07-22T08:38:36.3838969Z Container devsrv0101-cu-ori-ci successfully created
2022-07-22T08:38:36.7750948Z
2022-07-22T08:38:36.7766855Z Use:
2022-07-22T08:38:36.7790945Z Get-BcContainerEventLog -containerName devsrv0101-cu-ori-ci to retrieve a snapshot of the event log from the container
2022-07-22T08:38:36.7810986Z Get-BcContainerDebugInfo -containerName devsrv0101-cu-ori-ci to get debug information about the container
2022-07-22T08:38:36.7833204Z Enter-BcContainer -containerName devsrv0101-cu-ori-ci to open a PowerShell prompt inside the container
2022-07-22T08:38:36.7855884Z Remove-BcContainer -containerName devsrv0101-cu-ori-ci to remove the container again
2022-07-22T08:38:36.7873683Z docker logs devsrv0101-cu-ori-ci to retrieve information about URL's again
2022-07-22T08:38:37.7591230Z
2022-07-22T08:38:37.7602722Z Creating container took 440 seconds
2022-07-22T08:38:37.7609498Z
2022-07-22T08:38:37.7622520Z _____ _ _ _ _ _
2022-07-22T08:38:37.7634809Z | __ \ | | (_) | | | | (_)
2022-07-22T08:38:37.7643873Z | |__) |___ ___ ___ | |_ ___ _ __ __ _ __| | ___ _ __ ___ _ __ __| | ___ _ __ ___ _ ___ ___
2022-07-22T08:38:37.7653171Z | _ // _ \ __|/ _ \| \ \ / / | '_ \ / _` | / _` |/ _ \ '_ \ / _ \ '_ \ / _` |/ _ \ '_ \ / __| |/ _ \ __|
2022-07-22T08:38:37.7661820Z | | \ \ __\__ \ (_) | |\ V /| | | | | (_| | | (_| | __/ |_) | __/ | | | (_| | __/ | | | (__| | __\__ \
2022-07-22T08:38:37.7671260Z |_| \_\___|___/\___/|_| \_/ |_|_| |_|\__, | \__,_|\___| .__/ \___|_| |_|\__,_|\___|_| |_|\___|_|\___|___/
2022-07-22T08:38:37.7680191Z __/ | | |
2022-07-22T08:38:37.7688832Z |___/ |_|
2022-07-22T08:38:37.7694449Z
2022-07-22T08:38:37.9579348Z Sorted folders
2022-07-22T08:38:37.9599242Z - C:\devOpsAgents\agent01\_work\1\s\App
2022-07-22T08:38:37.9691899Z - C:\devOpsAgents\agent01\_work\1\s\Test
2022-07-22T08:38:37.9736839Z External dependencies
2022-07-22T08:38:37.9773357Z - 267b59d3-7302-44c5-ba77-c87000380514:Microsoft_Core Localization Pack for Czech_20.0.0.0.app
2022-07-22T08:38:37.9812786Z - d6636d6f-155e-4490-9979-ec323a6b7c81:Microsoft_Advance Payments Localization for Czech_20.0.0.0.app
2022-07-22T08:38:37.9837778Z - e476c379-5976-4362-8889-77e6c19f6699:ARTEX Informační systémy spol. s r.o._Packages and exports for shipping agents (AE056)_2.0.0.0.app
2022-07-22T08:38:37.9870181Z - f56970b9-9ab0-4f05-8e07-e64392f3c2f7:ARTEX Informační systémy spol. s r.o._Progress dialog helper (AE059)_1.0.0.0.app
2022-07-22T08:38:37.9966323Z - 437dbf0e-84ff-417a-965d-ed2bb9650972:Microsoft_Base Application_20.0.0.0.app
2022-07-22T08:38:38.0042213Z - 63ca2fa4-4f03-4f2b-a480-172fef340d3f:Microsoft_System Application_20.0.0.0.app
2022-07-22T08:38:38.0058933Z - b106bd07-f498-439c-a067-318c2524fbca:ARTEX Informační systémy spol. s r.o._Obecné testy (W1)_1.0.0.1.app
2022-07-22T08:38:38.0069971Z - b106bd07-f498-439c-a067-318c2524fbcb:ARTEX Informační systémy spol. s r.o._Obecné testy (CZ)_1.0.0.0.app
2022-07-22T08:38:38.0249945Z - dd0be2ea-f733-4d65-bb34-a28f4624fb14:Microsoft_Library Assert_20.0.0.0.app
2022-07-22T08:38:38.0371560Z - e7320ebb-08b3-4406-b1ec-b4927d3e280b:Microsoft_Any_20.0.0.0.app
2022-07-22T08:38:38.0392884Z - 9856ae4f-d1a7-46ef-89bb-6ef056398228:Microsoft_System Application Test Library_20.0.0.0.app
2022-07-22T08:38:38.0408659Z - 5d86850b-0d76-4eca-bd7b-951ad998e997:Microsoft_Tests-TestLibraries_20.0.0.0.app
2022-07-22T08:38:38.0420096Z - 23de40a6-dfe8-4f80-80db-d70f83ce8caf:Microsoft_Test Runner_20.0.0.0.app
2022-07-22T08:38:38.0430605Z
2022-07-22T08:38:38.0448096Z _____ _ _ _ _
2022-07-22T08:38:38.0556047Z |_ _| | | | | (_)
2022-07-22T08:38:38.0599162Z | | _ __ ___| |_ __ _| | |_ _ __ __ _ __ _ _ __ _ __ ___
2022-07-22T08:38:38.0629370Z | | | '_ \/ __| __/ _` | | | | '_ \ / _` | / _` | '_ \| '_ \/ __|
2022-07-22T08:38:38.0679994Z _| |_| | | \__ \ |_ (_| | | | | | | | (_| | | (_| | |_) | |_) \__ \
2022-07-22T08:38:38.0709937Z |_____|_| |_|___/\__\__,_|_|_|_|_| |_|\__, | \__,_| .__/| .__/|___/
2022-07-22T08:38:38.0716230Z __/ | | | | |
2022-07-22T08:38:38.0760546Z |___/ |_| |_|
2022-07-22T08:38:38.0760878Z
2022-07-22T08:38:40.7939735Z Publish-BcContainerApp Telemetry Correlation Id: aaa57395-50d7-48c3-99e1-f085a44393b5
2022-07-22T08:38:42.0032535Z Removing Session devsrv0101-cu-ori-ci
2022-07-22T08:38:42.3986485Z Removing container devsrv0101-cu-ori-ci
2022-07-22T08:38:45.4500613Z Removing entries from hosts
2022-07-22T08:38:45.4679009Z Removing devsrv0101-cu-ori-ci from container hosts file
2022-07-22T08:38:45.5861935Z Removing devsrv0101-cu-ori-ci-* from container hosts file
2022-07-22T08:38:45.5907785Z Removing Desktop shortcuts
2022-07-22T08:38:45.7691136Z Removing C:\ProgramData\BcContainerHelper\Extensions\devsrv0101-cu-ori-ci
2022-07-22T08:38:46.4608983Z Run-AlPipeline Telemetry Correlation Id: a5117a5e-b1d7-4d76-8fa1-69e241738a7a
2022-07-22T08:38:46.7125638Z ##[error]ForEach-Object : Item has already been added. Key in dictionary: 'f56970b9-9ab0-4f05-8e07-e64392f3c2f7:@{Major=1; Minor
=0; Build=0; Revision=0; MajorRevision=0; MinorRevision=0}' Key being added: 'f56970b9-9ab0-4f05-8e07-e64392f3c2f7:@{M
ajor=1; Minor=0; Build=0; Revision=0; MajorRevision=0; MinorRevision=0}'
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\3.0.11\AppHandling\Sort-AppFilesByDependencies.ps1:42 c
har:21
+ $appFiles | ForEach-Object {
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [ForEach-Object], ArgumentException
+ FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ForEachObjectCommand
2022-07-22T08:38:46.7203596Z ##[error]PowerShell exited with code '1'.
2022-07-22T08:38:46.8678069Z ##[section]Finishing: Run Pipeline
Ok:-(
I would need a reproable script in order to determine whether this is a bug in Run-AlPipeline that I need to fix - or something in your apps. I haven't had other people with the same problem...
You can email a url where I can download a .zip file to freddyk at microsoft dot com and I will investigate
Have checked in a fix on issue #2610, where this situation will issue a warning to make it clear what the problem is. -InstallApps and -InstallTestApps cannot have apps with the same filename. The filenames needs to be unique and not (app.app)
Shipped in 4.0.3
Describe the issue RunAlPipeline ends with error "Item has already been added". I can not see any reason why it works with one dependency but once I add "f56970b9-9ab0-4f05-8e07-e64392f3c2f7" it fails with this error.
I spend a few hours trying to identify where's the problem, but found nothing...
Full output of scripts