You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
Run-AlPipeline publishes already published app (here: Microsoft_AI Test Toolkit). I am unsure if this can happen to other (test) apps too.
Scripts used to create container and cause the issue
The $baseFolder must contain folders app and test.
Parameters
_____ _
| __ \ | |
| |__) |_ _ _ __ __ _ _ __ ___ ___| |_ ___ _ __ ___
| ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
| | | (_| | | | (_| | | | | | | __/ |_ __/ | \__ \
|_| \__,_|_| \__,_|_| |_| |_|\___|\__\___|_| |___/
Pipeline name ThePiperOfHamelin
Container name IchBinZweiOeltanks
Image name my
ArtifactUrl https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/sandbox/25.2.27733.28402/de
BcAuthContext Not Specified
Environment
ReUseContainer False
KeepContainer False
useCompilerFolder True
artifactCachePath
useDevEndpoint False
Auth UserPassword
CompanyName
MemoryLimit 8G
FailOn none
TreatTestFailuresAsWarnings False
Enable Task Scheduler False
Assign Premium Plan True
Install Test Runner False
Install Test Framework False
Install Test Libraries True
Install Perf. Toolkit False
InstallOnlyReferencedApps False
generateDependencyArtifact False
CopySymbolsFromContainer False
enableCodeCop False
enableAppSourceCop True
enableUICop False
enablePerTenantExtensionCop False
enableCodeAnalyzersOnTestApps False
doNotPerformUpgrade True
doNotPublishApps False
uninstallRemovedApps False
escapeFromCops False
doNotBuildTests False
doNotRunTests False
doNotRunBcptTests False
doNotRunPageScriptingTests False
useDefaultAppSourceRuleSet False
rulesetFile
generateErrorLog False
enableExternalRulesets False
azureDevOps False
gitLab False
gitHubActions False
vsixFile
License file Not specified
CodeSignCertPfxFile Not specified
CodeSignCertPfxPassword Not specified
CodeSignCertIsSelfSigned False
KeyVaultCertPfxFile Not specified
KeyVaultCertPfxPassword Not specified
KeyVaultClientId
BuildOutputFile
ContainerEventLogFile
TestResultsFile C:\Temp\Pipeline\workspace\TestResults.xml
BcptTestResultsFile C:\Temp\Pipeline\workspace\bcptTestResults.json
TestResultsFormat JUnit
AdditionalCountries
PackagesFolder C:\Temp\Pipeline\workspace\.packages
OutputFolder C:\Temp\Pipeline\workspace\.output
BuildArtifactFolder C:\Temp\Pipeline\out
CreateRuntimePackages False
AppVersion
AppBuild 0
AppRevision 0
SourceRepositoryUrl
SourceCommit
BuildBy BcContainerHelper,6.0.30
BuildUrl
Mandatory Affixes M365
Supported Countries de
ObsoleteTagMinAllowedMajorMinor
Install Apps
- None
Install Test Apps
- None
Previous Apps
- None
Application folders
- C:\Temp\Pipeline\workspace\app
Test application folders
- C:\Temp\Pipeline\workspace\test
BCPT Test application folders
- None
BCPT Test suites
- None
Page Scripting Tests
- None
Custom CodeCops
- None
Resolving dependencies
_____ _ _ _ _ _
| __ \ | | (_) | | | | (_)
| |__) |___ ___ ___ | |_ ___ _ __ __ _ __| | ___ _ __ ___ _ __ __| | ___ _ __ ___ _ ___ ___
| _ // _ \ __|/ _ \| \ \ / / | '_ \ / _` | / _` |/ _ \ '_ \ / _ \ '_ \ / _` |/ _ \ '_ \ / __| |/ _ \ __|
| | \ \ __\__ \ (_) | |\ V /| | | | | (_| | | (_| | __/ |_) | __/ | | | (_| | __/ | | | (__| | __\__ \
|_| \_\___|___/\___/|_| \_/ |_|_| |_|\__, | \__,_|\___| .__/ \___|_| |_|\__,_|\___|_| |_|\___|_|\___|___/
__/ | | |
|___/ |_|
Sorted App folders
- C:\Temp\Pipeline\workspace\app
External dependencies
- 437dbf0e-84ff-417a-965d-ed2bb9650972:Microsoft_Base Application_24.1.0.0.app
- 63ca2fa4-4f03-4f2b-a480-172fef340d3f:Microsoft_System Application_24.1.0.0.app
- f3552374-a1f2-4356-848e-196002525837:Microsoft_Business Foundation_24.1.0.0.app
Sorted TestApp folders
- C:\Temp\Pipeline\workspace\test
External TestApp dependencies
- 437dbf0e-84ff-417a-965d-ed2bb9650972:Microsoft_Base Application_24.1.0.0.app
- 63ca2fa4-4f03-4f2b-a480-172fef340d3f:Microsoft_System Application_24.1.0.0.app
- f3552374-a1f2-4356-848e-196002525837:Microsoft_Business Foundation_24.1.0.0.app
- e7320ebb-08b3-4406-b1ec-b4927d3e280b:Microsoft_Any_24.1.0.0.app
- dd0be2ea-f733-4d65-bb34-a28f4624fb14:Microsoft_Library Assert_24.1.0.0.app
- 5095f467-0a01-4b99-99d1-9ff1237d286f:Microsoft_Library Variable Storage_24.1.0.0.app
- 9856ae4f-d1a7-46ef-89bb-6ef056398228:Microsoft_System Application Test Library_24.1.0.0.app
- 5d86850b-0d76-4eca-bd7b-951ad998e997:Microsoft_Tests-TestLibraries_24.1.0.0.app
- 23de40a6-dfe8-4f80-80db-d70f83ce8caf:Microsoft_Test Runner_24.1.0.0.app
Compiling apps
_____ _ _ _
/ ____| (_) (_)
| | ___ _ __ ___ _ __ _| |_ _ __ __ _ __ _ _ __ _ __ ___
| | / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` | / _` | '_ \| '_ \/ __|
| |____ (_) | | | | | | |_) | | | | | | | (_| | | (_| | |_) | |_) \__ \
\_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, | \__,_| .__/| .__/|___/
| | __/ | | | | |
|_| |___/ |_| |_|
_____ _ _ _____ _ _ ______ _ _
/ ____| | | (_) / ____| (_) | | ____| | | | |
| | _ __ ___ __ _| |_ _ _ __ __ _ | | ___ _ __ ___ _ __ _| | ___ _ __| |__ ___ | | __| | ___ _ __
| | | '__/ _ \/ _` | __| | '_ \ / _` | | | / _ \| '_ ` _ \| '_ \| | |/ _ \ '__| __/ _ \| |/ _` |/ _ \ '__|
| |____| | | __/ (_| | |_| | | | | (_| | | |___| (_) | | | | | | |_) | | | __/ | | | | (_) | | (_| | __/ |
\_____|_| \___|\__,_|\__|_|_| |_|\__, | \_____\___/|_| |_| |_| .__/|_|_|\___|_| |_| \___/|_|\__,_|\___|_|
__/ | | |
|___/ |_|
PS CallStack :
- Write-PSCallStack (HelperFunctions.ps1 Line 1639)
- <ScriptBlock> (Run-AlPipeline.ps1 Line 711)
- GetCompilerFolder (Run-AlPipeline.ps1 Line 699)
- <ScriptBlock> (Run-AlPipeline.ps1 Line 2038)
- <ScriptBlock> (Run-AlPipeline.ps1 Line 1692)
- <ScriptBlock> (Run-AlPipeline.ps1 Line 1687)
- <ScriptBlock> (Run-AlPipeline.ps1 Line 1259)
- Run-AlPipeline (Run-AlPipeline.ps1 Line 1244)
- <ScriptBlock> ( Line 1)
Creating CompilerFolder 'https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/sandbox/25.2.27733.28402/de'
Downloading artifact /sandbox/25.2.27733.28402/de
Downloading C:\Temp\User\4e236ffe-7212-4792-ad57-042c8ec6f5ae.zip
Unpacking artifact to tmp folder using 7zip
Downloading platform artifact /sandbox/25.2.27733.28402/platform
Downloading C:\Temp\User\79205d50-e733-4769-88a6-b0a7beee7d82.zip
Unpacking artifact to tmp folder using 7zip
Downloading Prerequisite Components
Downloading c:\bcartifacts.cache\sandbox\25.2.27733.28402\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
Downloading c:\bcartifacts.cache\sandbox\25.2.27733.28402\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
using 7zip
Enumerating Apps in C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols
Getting .app info C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\cache_AppInfo.json
CompilerFolder C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks created
Creating CompilerFolder took 426 seconds
Creating AppSourceCop.json for validation
AppSourceCop.json content:
{
"supportedCountries": [
"de"
],
"mandatoryAffixes": [
"M365"
]
}
Compiling C:\Temp\Pipeline\workspace\app
Using Symbols Folder: C:\Temp\Pipeline\workspace\.packages
Enumerating Apps in CompilerFolder C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols
Getting .app info C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\cache_AppInfo.json
Enumerating Apps in Symbols Folder C:\Temp\Pipeline\workspace\.packages
Getting .app info C:\Temp\Pipeline\workspace\.packages\cache_AppInfo.json
Processing dependency Microsoft_Application_24.1.0.0 ()
Dependency App not found
Copying C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\Microsoft_Application_25.2.27733.28402.app to C:\Temp\Pipeline\workspace\.packages
Adding dependency to System Application from Microsoft
Adding dependency to Business Foundation from Microsoft
Adding dependency to Base Application from Microsoft
Processing dependency Microsoft_System_24.0.0.0 ()
Dependency App not found
Copying C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\System.app to C:\Temp\Pipeline\workspace\.packages
Processing dependency Microsoft_System Application_25.2.27733.28402 (63ca2fa4-4f03-4f2b-a480-172fef340d3f)
Dependency App not found
Copying C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\Microsoft_System Application_25.2.27733.28402.app to C:\Temp\Pipeline\workspace\.packages
Processing dependency Microsoft_Business Foundation_25.2.27733.28402 (f3552374-a1f2-4356-848e-196002525837)
Dependency App not found
Copying C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\Microsoft_Business Foundation_25.2.27733.28402.app to C:\Temp\Pipeline\workspace\.packages
Processing dependency Microsoft_Base Application_25.2.27733.28402 (437dbf0e-84ff-417a-965d-ed2bb9650972)
Dependency App not found
Copying C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\Microsoft_Base Application_25.2.27733.28402.app to C:\Temp\Pipeline\workspace\.packages
Platform version: 25.2.28250.0
Compiling...
.\alc.exe /project:"C:\Temp\Pipeline\workspace\app" /packagecachepath:"C:\Temp\Pipeline\workspace\.packages" /out:"C:\Temp\Pipeline\workspace\.output\MODUS Consult GmbH_MODUS M365 Foundation_24.1.24112902.0.app" /analyzer:C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\compiler\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /BuildBy:"BcContainerHelper,6.0.30" /assemblyprobingpaths:C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\dlls\OpenXML,C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.11,C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\8.0.11,C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\dlls\Service,C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\dlls\Mock Assemblies
Microsoft (R) AL Compiler version 14.2.19.11719
Copyright (C) Microsoft Corporation. All rights reserved
Compilation started for project 'MODUS M365 Foundation' containing '114' files at '10:47:07.947'.
C:\Temp\Pipeline\workspace\app\src\System.Utilities\CommonManagement.Codeunit.al(743,31): warning AL0432: Method 'OpenChangePasswordDialog' is marked for removal. Reason: Replaced by OpenPasswordChangeDialog without out OldPassword param. Tag: 25.0.
C:\Temp\Pipeline\workspace\app\app.json(17,2): warning AS0081: The InternalsVisibleTo setting will expose your internal objects to any extension with the given name, publisher, and ID. Access modifiers are not designed to be used as a security boundary, but for API development.
Compilation ended at '10:47:20.199'.
C:\Temp\Pipeline\workspace\.output\MODUS Consult GmbH_MODUS M365 Foundation_24.1.24112902.0.app successfully created in 14 seconds
Importing test toolkit
_____ _ _ _ _ _ _ _ _ _
|_ _| | | (_) | | | | | | | | | (_) |
| | _ __ ___ _ __ ___ _ __| |_ _ _ __ __ _ | |_ ___ ___| |_ | |_ ___ ___ | | | ___| |_
| | | '_ ` _ \| '_ \ / _ \| '__| __| | '_ \ / _` | | __/ _ \/ __| __| | __/ _ \ / _ \| | |/ / | __|
_| |_| | | | | | |_) | (_) | | | |_| | | | | (_| | | || __/\__ \ |_ | || (_) | (_) | | <| | |_
|_____|_| |_| |_| .__/ \___/|_| \__|_|_| |_|\__, | \__\___||___/\__| \__\___/ \___/|_|_|\_\_|\__|
| | __/ |
|_| |___/
Get TestToolkit Apps
Downloading AL Language Extension to C:\ProgramData\BcContainerHelper\alLanguageExtension\14.2.1249978.zip
using 7zip
Importing Test Toolkit took 67 seconds
Compiling test apps
_____ _ _ _ _ _
/ ____| (_) (_) | | | |
| | ___ _ __ ___ _ __ _| |_ _ __ __ _ | |_ ___ ___| |_ __ _ _ __ _ __ ___
| | / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` | | __/ _ \ __| __| / _` | '_ \| '_ \/ __|
| |____ (_) | | | | | | |_) | | | | | | | (_| | | |_ __\__ \ |_ | (_| | |_) | |_) \__ \
\_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, | \__\___|___/\__| \__,_| .__/| .__/|___/
| | __/ | | | | |
|_| |___/ |_| |_|
Compiling C:\Temp\Pipeline\workspace\test
Using Symbols Folder: C:\Temp\Pipeline\workspace\.packages
Enumerating Apps in CompilerFolder C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols
Getting .app info C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\cache_AppInfo.json
Enumerating Apps in Symbols Folder C:\Temp\Pipeline\workspace\.packages
Getting .app info C:\Temp\Pipeline\workspace\.packages\cache_AppInfo.json
Processing dependency Microsoft_Application_24.1.0.0 ()
Dependency App exists
Adding dependency to System Application from Microsoft
Adding dependency to Business Foundation from Microsoft
Adding dependency to Base Application from Microsoft
Processing dependency Microsoft_System_24.0.0.0 ()
Dependency App exists
Processing dependency Microsoft_Any_24.1.0.0 (e7320ebb-08b3-4406-b1ec-b4927d3e280b)
Dependency App not found
Copying C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\Microsoft_Any_25.2.27733.28402.app to C:\Temp\Pipeline\workspace\.packages
Processing dependency Microsoft_Library Assert_24.1.0.0 (dd0be2ea-f733-4d65-bb34-a28f4624fb14)
Dependency App not found
Copying C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\Microsoft_Library Assert_25.2.27733.28402.app to C:\Temp\Pipeline\workspace\.packages
Processing dependency Microsoft_Library Variable Storage_24.1.0.0 (5095f467-0a01-4b99-99d1-9ff1237d286f)
Dependency App not found
Copying C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\Microsoft_Library Variable Storage_25.2.27733.28402.app to C:\Temp\Pipeline\workspace\.packages
Processing dependency Microsoft_System Application Test Library_24.1.0.0 (9856ae4f-d1a7-46ef-89bb-6ef056398228)
Dependency App not found
Copying C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\Microsoft_System Application Test Library_25.2.27733.28402.app to C:\Temp\Pipeline\workspace\.packages
Processing dependency Microsoft_Tests-TestLibraries_24.1.0.0 (5d86850b-0d76-4eca-bd7b-951ad998e997)
Dependency App not found
Copying C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\Microsoft_Tests-TestLibraries_25.2.27733.28402.app to C:\Temp\Pipeline\workspace\.packages
Adding dependency to Permissions Mock from Microsoft
Adding dependency to Business Foundation Test Libraries from Microsoft
Processing dependency Microsoft_Test Runner_24.1.0.0 (23de40a6-dfe8-4f80-80db-d70f83ce8caf)
Dependency App not found
Copying C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\Microsoft_Test Runner_25.2.27733.28402.app to C:\Temp\Pipeline\workspace\.packages
Processing dependency MODUS Consult GmbH_MODUS M365 Foundation_24.1.0.0 (d78da1d4-e45e-479e-9bb3-c368752fb48f)
Dependency App exists
Processing dependency Microsoft_System Application_25.2.27733.28402 (63ca2fa4-4f03-4f2b-a480-172fef340d3f)
Dependency App exists
Processing dependency Microsoft_Business Foundation_25.2.27733.28402 (f3552374-a1f2-4356-848e-196002525837)
Dependency App exists
Processing dependency Microsoft_Base Application_25.2.27733.28402 (437dbf0e-84ff-417a-965d-ed2bb9650972)
Dependency App exists
Processing dependency Microsoft_Permissions Mock_25.2.27733.28402 (40860557-a18d-42ad-aecb-22b7dd80dc80)
Dependency App not found
Copying C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\Microsoft_Permissions Mock_25.2.27733.28402.app to C:\Temp\Pipeline\workspace\.packages
Processing dependency Microsoft_Business Foundation Test Libraries_25.2.27733.28402 (bee8cf2f-494a-42f4-aabd-650e87934d39)
Dependency App not found
Copying C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\symbols\Microsoft_Business Foundation Test Libraries_25.2.27733.28402.app to C:\Temp\Pipeline\workspace\.packages
Platform version: 25.2.28250.0
Compiling...
.\alc.exe /project:"C:\Temp\Pipeline\workspace\test" /packagecachepath:"C:\Temp\Pipeline\workspace\.packages" /out:"C:\Temp\Pipeline\workspace\.output\MODUS Consult GmbH_MODUS M365 Foundation Test_24.1.0.0.app" /BuildBy:"BcContainerHelper,6.0.30" /assemblyprobingpaths:C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\dlls\OpenXML,C:\Program Files\dotnet\shared\Microsoft.NETCore.App\8.0.11,C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\8.0.11,C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\dlls\Service,C:\ProgramData\BcContainerHelper\compiler\IchBinZweiOeltanks\dlls\Mock Assemblies
Microsoft (R) AL Compiler version 14.2.19.11719
Copyright (C) Microsoft Corporation. All rights reserved
Compilation started for project 'MODUS M365 Foundation Test' containing '22' files at '10:48:31.819'.
Compilation ended at '10:48:44.394'.
C:\Temp\Pipeline\workspace\.output\MODUS Consult GmbH_MODUS M365 Foundation Test_24.1.0.0.app successfully created in 17 seconds
Compiling apps, test apps and importing test toolkit took 525 seconds
Publishing apps
_____ _ _ _ _ _
| __ \ | | | (_) | | (_)
| |__) | _| |__ | |_ ___| |__ _ _ __ __ _ __ _ _ __ _ __ ___
| ___/ | | | '_ \| | / __| '_ \| | '_ \ / _` | / _` | '_ \| '_ \/ __|
| | | |_| | |_) | | \__ \ | | | | | | | (_| | | (_| | |_) | |_) \__ \
|_| \__,_|_.__/|_|_|___/_| |_|_|_| |_|\__, | \__,_| .__/| .__/|___/
__/ | | | | |
|___/ |_| |_|
_____ _ _ _ _ _
| __ \ | | (_) (_) (_)
| |__) | _| | |_ _ __ __ _ __ _ ___ _ __ ___ _ __ _ ___ _ _ __ ___ __ _ __ _ ___
| ___/ | | | | | | '_ \ / _` | / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
| | | |_| | | | | | | | (_| | | (_| | __/ | | | __/ | | | (__ | | | | | | | (_| | (_| | __/
|_| \__,_|_|_|_|_| |_|\__, | \__, |\___|_| |_|\___|_| |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
__/ | __/ | __/ |
|___/ |___/ |___/
PS CallStack :
- Write-PSCallStack (HelperFunctions.ps1 Line 1639)
- <ScriptBlock> (Run-AlPipeline.ps1 Line 531)
- PullGenericImage (Run-AlPipeline.ps1 Line 518)
- GetBuildContainer (Run-AlPipeline.ps1 Line 552)
- <ScriptBlock> (Run-AlPipeline.ps1 Line 2465)
- <ScriptBlock> (Run-AlPipeline.ps1 Line 2458)
- <ScriptBlock> (Run-AlPipeline.ps1 Line 1259)
- Run-AlPipeline (Run-AlPipeline.ps1 Line 1244)
- <ScriptBlock> ( Line 1)
Pulling mcr.microsoft.com/businesscentral:ltsc2022
Pulling generic image took 481 seconds
_____ _ _ _____ _ _
/ ____| | | (_) / ____| | | (_)
| | _ __ ___ __ _| |_ _ _ __ __ _ | | ___ _ __ | |_ __ _ _ _ __ ___ _ __
| | | '__/ _ \/ _` | __| | '_ \ / _` | | | / _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
| |____| | | __/ (_| | |_| | | | | (_| | | |___| (_) | | | | || (_| | | | | | __/ |
\_____|_| \___|\__,_|\__|_|_| |_|\__, | \_____\___/|_| |_|\__\__,_|_|_| |_|\___|_|
__/ |
|___/
PS CallStack :
- Write-PSCallStack (HelperFunctions.ps1 Line 1639)
- <ScriptBlock> (Run-AlPipeline.ps1 Line 567)
- GetBuildContainer (Run-AlPipeline.ps1 Line 554)
- <ScriptBlock> (Run-AlPipeline.ps1 Line 2465)
- <ScriptBlock> (Run-AlPipeline.ps1 Line 2458)
- <ScriptBlock> (Run-AlPipeline.ps1 Line 1259)
- Run-AlPipeline (Run-AlPipeline.ps1 Line 1244)
- <ScriptBlock> ( Line 1)
Creaing docker container
WARNING: Container name should not exceed 15 characters
BcContainerHelper is version 6.0.30
BcContainerHelper is not running as administrator
Host is Microsoft Windows 11 Enterprise - 10.0.22631.4602
UsePsSession is False
UsePwshForBc24 is True
UseWinRmSession is allow
UseSslForWinRmSession is True
Docker Client Version is 26.1.3
Docker Server Version is 26.1.3
Removing Desktop shortcuts
Fetching all docker images
Fetching all docker volumes
ArtifactUrl and ImageName specified
Building multitenant image my:sandbox-25.2.27733.28402-de-mt based on mcr.microsoft.com/businesscentral:ltsc2022 with https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/sandbox/25.2.27733.28402/de
Pulling latest image mcr.microsoft.com/businesscentral:ltsc2022
ltsc2022: Pulling from businesscentral
Digest: sha256:0c3b3eef6f37d6f78a1cd350c7ff282a568a77e4ed931ff9b7f31adf587590d1
Status: Image is up to date for mcr.microsoft.com/businesscentral:ltsc2022
mcr.microsoft.com/businesscentral:ltsc2022
Generic Tag: 1.0.2.53
Container OS Version: 10.0.20348.2966 (ltsc2022)
Host OS Version: 10.0.22631.4602 (23H2)
Container and host OS are 20348 or above, not using SSL, recommended isolation mode is process.
Using process isolation
Files in c:\bcartifacts.cache\fdpeyfpi.0yz\my:
Copying Platform Artifacts
c:\bcartifacts.cache\sandbox\25.2.27733.28402\platform
Copying Database
Copying Licensefile
Copying ConfigurationPackages
C:\bcartifacts.cache\sandbox\25.2.27733.28402\de\ConfigurationPackages
Copying Extensions
C:\bcartifacts.cache\sandbox\25.2.27733.28402\de\Extensions
Copying Applications.DE
C:\bcartifacts.cache\sandbox\25.2.27733.28402\de\Applications.DE
c:\bcartifacts.cache\fdpeyfpi.0yz
Sending build context to Docker daemon 3.059GB
Step 1/6 : FROM mcr.microsoft.com/businesscentral:ltsc2022
---> b9afa0434679
Step 2/6 : ENV DatabaseServer=localhost DatabaseInstance=SQLEXPRESS DatabaseName=CRONUS IsBcSandbox=Y artifactUrl=https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/sandbox/25.2.27733.28402/de filesOnly=False
---> Running in adfc84e05d50
---> Removed intermediate container adfc84e05d50
---> e2671542171c
Step 3/6 : COPY my /run/
---> 7b131bfb457d
Step 4/6 : COPY NAVDVD /NAVDVD/
---> 814016f266d1
Step 5/6 : RUN \Run\start.ps1 -installOnly -multitenant
---> Running in 75a246b04a53
c:\run\my folder doesn't exist, creating it
Using DVD installer from C:\Run\240
Installing Business Central: multitenant=True, installOnly=True, filesOnly=False, includeTestToolkit=False, includeTestLibrariesOnly=False, includeTestFrameworkOnly=False, includePerformanceToolkit=False, appArtifactPath=, platformArtifactPath=, databasePath=, licenseFilePath=, rebootContainer=False
Installing from DVD
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
C:\NAVDVD\ServiceTier\Program Files
C:\NAVDVD\ServiceTier\System64Folder
Copying Web Client Files
C:\NAVDVD\WebClient\Microsoft Dynamics NAV
Copying ModernDev Files
C:\NAVDVD
C:\NAVDVD\ModernDev\program files\Microsoft Dynamics NAV
Copying additional files
Copying ConfigurationPackages
C:\NAVDVD\ConfigurationPackages
Copying Test Assemblies
C:\NAVDVD\Test Assemblies
Copying Extensions
C:\NAVDVD\Extensions
Copying Applications
C:\NAVDVD\Applications
Copying Applications.DE
C:\NAVDVD\Applications.DE
Copying dependencies
Importing PowerShell Modules
Restoring CRONUS Demo Database
Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
Exporting Application to CRONUS
Removing Application from tenant
Modifying Business Central Service Tier Config File for Docker
Creating Business Central Service Tier
Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
Starting Business Central Service Tier
Importing CRONUS license file
Copying Database on localhost\SQLEXPRESS from tenant to default
Taking database tenant offline
Copying database files
Attaching files as new Database default
Putting database tenant back online
Mounting tenant database
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Stopping Business Central Service Tier
Installation took 496 seconds
Installation complete
---> Removed intermediate container 75a246b04a53
---> da1d5da6493a
Step 6/6 : LABEL legal="http://go.microsoft.com/fwlink/?LinkId=837447" created="202501020957" nav="" cu="" multitenant="Y" country="DE" version="25.2.27733.28402" platform="25.2.28250.0"
---> Running in a040dacd0dc9
---> Removed intermediate container a040dacd0dc9
---> 17f98061dd20
Successfully built 17f98061dd20
Successfully tagged my:sandbox-25.2.27733.28402-de-mt
Building image took 838 seconds
Using image my:sandbox-25.2.27733.28402-de-mt
Creating Container IchBinZweiOeltanks
Style: sandbox
Multitenant: Yes
Version: 25.2.27733.28402
Platform: 25.2.28250.0
Generic Tag: 1.0.2.53
Container OS Version: 10.0.20348.2966 (ltsc2022)
Host OS Version: 10.0.22631.4602 (23H2)
Container and host OS are 20348 or above, not using SSL, recommended isolation mode is process.
Using process isolation
Using locale de-DE
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Additional Parameters:
--volume "C:\Temp\Pipeline\workspace:c:\sources"
--volume "C:\Temp\Pipeline\workspace:c:\shared"
--expose 5986
--env customNavSettings=EnableTaskScheduler=False
Files in C:\ProgramData\BcContainerHelper\Extensions\IchBinZweiOeltanks\my:
- AdditionalOutput.ps1
- AdditionalSetup.ps1
- HelperFunctions.ps1
- MainLoop.ps1
- SetupNavUsers.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container IchBinZweiOeltanks from image my:sandbox-25.2.27733.28402-de-mt
df3bdc4ce9d67287370915b134abb58a803c7d6d3b5b8312cee8244c015e3d1a
Waiting for container IchBinZweiOeltanks to be ready
Adding ICHBINZWEIOELTA to hosts file
Initializing...
Setting host.containerhelper.internal to 172.29.144.1 in container hosts file
Starting Container
Hostname is IchBinZweiOeltanks
PublicDnsName is IchBinZweiOeltanks
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint CBB346E0AC0BB3280DE9445D5961461E9BF17601
DNS identity IchBinZweiOeltanks
Modifying Service Tier Config File with Instance Specific Settings
Modifying Service Tier Config File with settings from environment variable
Setting EnableTaskScheduler to False
Starting Service Tier
Registering event sources
Creating DotNetCore Web Server Instance
Using application pool name: BC
Using default container name: NavWebApplicationContainer
Copy files to WWW root C:\inetpub\wwwroot\BC
Create the application pool BC
Create website: NavWebApplicationContainer without SSL
Update configuration: navsettings.json
Done Configuring Web Client
Enabling Financials User Experience
Dismounting Tenant
Mounting Tenant
Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
Sync'ing Tenant
Tenant is Operational
Creating http download site
Setting SA Password and enabling SA
Creating admin as SQL User and add to sysadmin
Creating SUPER user
WARNING: The password that you entered does not meet the minimum requirements.
It should be at least 8 characters long and contain at least one uppercase
letter, one lowercase letter, and one number.
Assign Premium plan for ADMIN
Enable PSRemoting and setup user for winrm
Creating self-signed certificate for winrm
Container IP Address: 172.29.158.119
Container Hostname : IchBinZweiOeltanks
Container Dns Name : IchBinZweiOeltanks
Web Client : http://IchBinZweiOeltanks/BC/?tenant=default
Dev. Server : http://IchBinZweiOeltanks
Dev. ServerInstance : BC
Dev. Server Tenant : default
Setting IchBinZweiOeltanks to 172.29.158.119 in host hosts file
Setting IchBinZweiOeltanks-default to 172.29.158.119 in host hosts file
Setting IchBinZweiOeltanks-default to 172.29.158.119 in container hosts file
Files:
http://IchBinZweiOeltanks:8080/ALLanguage.vsix
Container Total Physical Memory is 31.8Gb
Container Free Physical Memory is 7.8Gb
Initialization took 117 seconds
Ready for connections!
Reading CustomSettings.config from IchBinZweiOeltanks
Creating Desktop Shortcuts for IchBinZweiOeltanks
Cleanup old dotnet core assemblies
Container IchBinZweiOeltanks successfully created
Use:
Get-BcContainerEventLog -containerName IchBinZweiOeltanks to retrieve a snapshot of the event log from the container
Get-BcContainerDebugInfo -containerName IchBinZweiOeltanks to get debug information about the container
Enter-BcContainer -containerName IchBinZweiOeltanks to open a PowerShell prompt inside the container
Remove-BcContainer -containerName IchBinZweiOeltanks to remove the container again
docker logs IchBinZweiOeltanks to retrieve information about URL's again
Creating Container took 994 seconds
Publishing C:\ProgramData\BcContainerHelper\Extensions\IchBinZweiOeltanks\f925a918-3723-4284-97cf-874b6fc797ae\MODUS Consult GmbH_MODUS M365 Foundation_24.1.24112902.0.app
Synchronizing MODUS M365 Foundation on tenant default
Installing MODUS M365 Foundation on tenant default
App MODUS Consult GmbH_MODUS M365 Foundation_24.1.24112902.0.app successfully published
Publishing C:\ProgramData\BcContainerHelper\Extensions\IchBinZweiOeltanks\4c54c746-4d87-4a0e-b12a-9b6b439a663e\Microsoft_Permissions Mock_25.2.27733.28402.app
Synchronizing Permissions Mock on tenant default
Installing Permissions Mock on tenant default
App Microsoft_Permissions Mock_25.2.27733.28402.app successfully published
Publishing C:\ProgramData\BcContainerHelper\Extensions\IchBinZweiOeltanks\1ddae35e-64d2-4a6f-b366-9e263fdc4d76\Microsoft_Test Runner_25.2.27733.28402.app
Synchronizing Test Runner on tenant default
Installing Test Runner on tenant default
App Microsoft_Test Runner_25.2.27733.28402.app successfully published
Publishing C:\ProgramData\BcContainerHelper\Extensions\IchBinZweiOeltanks\08792723-1092-4be1-a703-f1c28740d931\Microsoft_Any_25.2.27733.28402.app
Synchronizing Any on tenant default
Installing Any on tenant default
App Microsoft_Any_25.2.27733.28402.app successfully published
Publishing C:\ProgramData\BcContainerHelper\Extensions\IchBinZweiOeltanks\6b269033-ed6b-4943-b9bf-bc9556a9e11d\Microsoft_Library Assert_25.2.27733.28402.app
Synchronizing Library Assert on tenant default
Installing Library Assert on tenant default
App Microsoft_Library Assert_25.2.27733.28402.app successfully published
Publishing C:\ProgramData\BcContainerHelper\Extensions\IchBinZweiOeltanks\e71b9f22-4d1b-4f57-b3b7-72dfcf31a473\Microsoft_Library Variable Storage_25.2.27733.28402.app
Synchronizing Library Variable Storage on tenant default
Installing Library Variable Storage on tenant default
App Microsoft_Library Variable Storage_25.2.27733.28402.app successfully published
Publishing C:\ProgramData\BcContainerHelper\Extensions\IchBinZweiOeltanks\0ba381db-3b63-48f6-8a0d-784e15aabd4b\Microsoft_System Application Test Library_25.2.27733.28402.app
Synchronizing System Application Test Library on tenant default
Installing System Application Test Library on tenant default
App Microsoft_System Application Test Library_25.2.27733.28402.app successfully published
Publishing C:\ProgramData\BcContainerHelper\Extensions\IchBinZweiOeltanks\ba7f7bee-a659-4dae-a54c-78e165a9217c\Microsoft_Business Foundation Test Libraries_25.2.27733.28402.app
Synchronizing Business Foundation Test Libraries on tenant default
Installing Business Foundation Test Libraries on tenant default
App Microsoft_Business Foundation Test Libraries_25.2.27733.28402.app successfully published
Publishing C:\ProgramData\BcContainerHelper\Extensions\IchBinZweiOeltanks\2bb74272-0446-4eb7-9b97-f4e607b183d6\Microsoft_Tests-TestLibraries_25.2.27733.28402.app
Synchronizing Tests-TestLibraries on tenant default
Installing Tests-TestLibraries on tenant default
App Microsoft_Tests-TestLibraries_25.2.27733.28402.app successfully published
Publishing C:\ProgramData\BcContainerHelper\Extensions\IchBinZweiOeltanks\d05a63ac-c1bb-4989-a3c1-2c00f10c14b3\Microsoft_AI Test Toolkit_25.2.27733.28402.app
This Extension cannot be published as it has the same App ID and Version as a previously published Extension.
Container Free Physical Memory: 6.5Gb
Disk C: Free 124Gb from 127Gb
Services in container IchBinZweiOeltanks:
Publish-BcContainerApp Telemetry Correlation Id: 19dc3392-d5ba-4f15-b0c9-6450d8487c39
Files in build artifacts folder:
Removing container
Removing Session IchBinZweiOeltanks
Removing container IchBinZweiOeltanks
Removing entries from hosts
Removing IchBinZweiOeltanks from container hosts file
Removing IchBinZweiOeltanks-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\IchBinZweiOeltanks
Run-AlPipeline Telemetry Correlation Id: 22289f3d-335b-4b67-9101-452155b7f46c
Exception: C:\Users\builduser\Documents\PowerShell\Modules\BCContainerHelper\6.0.30\ContainerHandling\Invoke-ScriptInNavContainer.ps1:301:25
Line |
301 | throw $errorMessage
| ~~~~~~~~~~~~~~~~~~~
| This Extension cannot be published as it has the same App ID and Version as a previously published Extension.
Screenshots
./.
ScriptStackTrace
PS C:\Dev\Tools> $Error[0].ScriptStackTrace
at Invoke-ScriptInBcContainer, C:\Users\builduser\Documents\PowerShell\Modules\BCContainerHelper\6.0.30\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 301
at <ScriptBlock>, C:\Users\builduser\Documents\PowerShell\Modules\BCContainerHelper\6.0.30\AppHandling\Publish-NavContainerApp.ps1: line 393
at Publish-BcContainerApp, C:\Users\builduser\Documents\PowerShell\Modules\BCContainerHelper\6.0.30\AppHandling\Publish-NavContainerApp.ps1: line 154
at <ScriptBlock>, C:\Users\builduser\Documents\PowerShell\Modules\BCContainerHelper\6.0.30\AppHandling\Run-AlPipeline.ps1: line 1166
at <ScriptBlock>, C:\Users\builduser\Documents\PowerShell\Modules\BCContainerHelper\6.0.30\AppHandling\Run-AlPipeline.ps1: line 2551
at <ScriptBlock>, C:\Users\builduser\Documents\PowerShell\Modules\BCContainerHelper\6.0.30\AppHandling\Run-AlPipeline.ps1: line 2531
at <ScriptBlock>, C:\Users\builduser\Documents\PowerShell\Modules\BCContainerHelper\6.0.30\AppHandling\Run-AlPipeline.ps1: line 2458
at <ScriptBlock>, C:\Users\builduser\Documents\PowerShell\Modules\BCContainerHelper\6.0.30\AppHandling\Run-AlPipeline.ps1: line 1259
at Run-AlPipeline, C:\Users\builduser\Documents\PowerShell\Modules\BCContainerHelper\6.0.30\AppHandling\Run-AlPipeline.ps1: line 1244
at <ScriptBlock>, <No file>: line 1
Additional context
does it happen all the time? Yes
did it use to work? Yes, 6.0.29 worked
The text was updated successfully, but these errors were encountered:
Describe the issue
Run-AlPipeline publishes already published app (here: Microsoft_AI Test Toolkit). I am unsure if this can happen to other (test) apps too.
Scripts used to create container and cause the issue
The $baseFolder must contain folders app and test.
Full output of scripts
Screenshots
./.
ScriptStackTrace
Additional context
The text was updated successfully, but these errors were encountered: