Closed GreatScott000 closed 3 years ago
two things to try:
I have to .packages folder in the repo. I have explicitly set the imagename to '' still the same error.
2021-03-30T05:17:05.5531860Z ##[section]Starting: Run Pipeline 2021-03-30T05:17:05.5737020Z ============================================================================== 2021-03-30T05:17:05.5737483Z Task : PowerShell 2021-03-30T05:17:05.5737825Z Description : Run a PowerShell script on Linux, macOS, or Windows 2021-03-30T05:17:05.5738149Z Version : 2.180.1 2021-03-30T05:17:05.5738415Z Author : Microsoft Corporation 2021-03-30T05:17:05.5738813Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell 2021-03-30T05:17:05.5739259Z ============================================================================== 2021-03-30T05:17:06.6952763Z Generating script. 2021-03-30T05:17:06.7099150Z Formatted command: . 'D:\a\1\s\scripts\DevOps-Pipeline.ps1' -environment "AzureDevOps" -version "ci" -appBuild 235 -appRevision 0 2021-03-30T05:17:06.7726178Z ========================== Starting Command Output =========================== 2021-03-30T05:17:06.8097362Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a_temp\66fe2e63-bd17-4af0-bc8e-c8920f1d7baf.ps1'" 2021-03-30T05:17:07.3705768Z Set artifact = https://bcartifacts.azureedge.net/onprem/17.2.19367.19735/gb 2021-03-30T05:17:07.3787246Z Set pipelineName = FinTools-ci 2021-03-30T05:17:07.3875095Z Set containerName = hostedagent-fintools-ci 2021-03-30T05:17:07.4106368Z Set installApps = '' 2021-03-30T05:17:07.4147019Z Set previousApps = '' 2021-03-30T05:17:07.4209135Z Set appSourceCopMandatoryAffixes = 'iMS' 2021-03-30T05:17:07.4309931Z Set appSourceCopSupportedCountries = 'gb' 2021-03-30T05:17:07.4351887Z Set appFolders = 'src' 2021-03-30T05:17:07.4387702Z Set testFolders = 'test' 2021-03-30T05:17:07.4451748Z Set memoryLimit = '6G' 2021-03-30T05:17:07.4474327Z Set additionalCountries = '' 2021-03-30T05:17:07.4515321Z Set genericImageName = '' 2021-03-30T05:17:07.4589625Z Set vaultNameForLocal = 'EvolveAppVault' 2021-03-30T05:17:07.4632971Z Set bcContainerHelperVersion = 'Latest' 2021-03-30T05:17:07.4729404Z Set installTestFramework = True 2021-03-30T05:17:07.4833302Z Set installTestLibraries = True 2021-03-30T05:17:07.4929574Z Set installPerformanceToolkit = False 2021-03-30T05:17:07.4980454Z Set enableCodeCop = True 2021-03-30T05:17:07.5021530Z Set enableAppSourceCop = True 2021-03-30T05:17:07.5085192Z Set enablePerTenantExtensionCop = False 2021-03-30T05:17:07.5121041Z Set enableUICop = True 2021-03-30T05:17:07.5204150Z Set doNotSignApps = True 2021-03-30T05:17:07.5222793Z Set doNotRunTests = False 2021-03-30T05:17:07.5262941Z Set cacheImage = True 2021-03-30T05:17:07.5303370Z Set CreateRuntimePackages = True 2021-03-30T05:17:07.5389501Z Set rulesetfile = 'RuleSets\ims.ruleset.json' 2021-03-30T05:17:07.5517915Z Set appPackages = '.packages' 2021-03-30T05:17:08.3510769Z Downloading https://bccontainerhelper.azureedge.net/public/2.0.9.zip 2021-03-30T05:17:29.9550438Z BcContainerHelper version 2.0.9 2021-03-30T05:17:31.4926420Z ____
2021-03-30T05:17:31.4946224Z | \ | |
2021-03-30T05:17:31.4962070Z | |) | __ | |_ 2021-03-30T05:17:31.4974657Z | / _| '__/ _
| ' ` \ / _ \ / \ '/ | 2021-03-30T05:17:31.4992893Z | | | (| | | | (_| | | | | | | _/ | / | _ \ 2021-03-30T05:17:31.5011409Z || _,|| _,|| || ||_|_\|_| |/ 2021-03-30T05:17:31.5017157Z 2021-03-30T05:17:31.5032757Z Pipeline name FinTools-ci 2021-03-30T05:17:31.5040124Z Container name hostedagent-fintools-ci 2021-03-30T05:17:31.5054829Z Image name
2021-03-30T05:17:31.6051672Z ArtifactUrl https://bcartifacts.azureedge.net/onprem/17.2.19367.19735/gb 2021-03-30T05:17:31.6068113Z SasToken Not Specified 2021-03-30T05:17:31.6084295Z BcAuthContext Not Specified 2021-03-30T05:17:31.6101455Z Environment
2021-03-30T05:17:31.6119319Z Credential admin/Niqu6687 2021-03-30T05:17:31.6133460Z MemoryLimit 6G 2021-03-30T05:17:31.6152750Z Enable Task Scheduler False 2021-03-30T05:17:31.6168954Z Assign Premium Plan False 2021-03-30T05:17:31.6185305Z Install Test Runner False 2021-03-30T05:17:31.6200797Z Install Test Framework True 2021-03-30T05:17:31.6216123Z Install Test Libraries True 2021-03-30T05:17:31.6233708Z Install Perf. Toolkit False 2021-03-30T05:17:31.6250398Z CopySymbolsFromContainer False 2021-03-30T05:17:31.6266761Z enableCodeCop True 2021-03-30T05:17:31.6286655Z enableAppSourceCop True 2021-03-30T05:17:31.6304596Z enableUICop True 2021-03-30T05:17:31.6335465Z enablePerTenantExtensionCop False 2021-03-30T05:17:31.6368603Z escapeFromCops False 2021-03-30T05:17:31.6411427Z useDefaultAppSourceRuleSet False 2021-03-30T05:17:31.6440625Z rulesetFile D:\a\1\s_RuleSets\ims.ruleset.json 2021-03-30T05:17:31.6477838Z azureDevOps True 2021-03-30T05:17:31.6506905Z License file Specified 2021-03-30T05:17:31.6529331Z CodeSignCertPfxFile Not specified 2021-03-30T05:17:31.6557278Z TestResultsFile D:\a\1\s\TestResults.xml 2021-03-30T05:17:31.6586288Z TestResultsFormat JUnit 2021-03-30T05:17:31.6676465Z AdditionalCountries
2021-03-30T05:17:31.6696322Z PackagesFolder D:\a\1\s.packages 2021-03-30T05:17:31.6723186Z OutputFolder D:\a\1\s.output 2021-03-30T05:17:31.6749604Z BuildArtifactFolder D:\a\1\a 2021-03-30T05:17:31.6780509Z CreateRuntimePackages True 2021-03-30T05:17:31.6852155Z AppBuild 235 2021-03-30T05:17:31.6882169Z AppRevision 0 2021-03-30T05:17:31.6909625Z Mandatory Affixes iMS 2021-03-30T05:17:31.6939365Z Supported Countries gb 2021-03-30T05:17:31.6955891Z Install Apps 2021-03-30T05:17:31.6975276Z - None 2021-03-30T05:17:31.6995309Z Install Test Apps 2021-03-30T05:17:31.7012382Z - None 2021-03-30T05:17:31.7031728Z Previous Apps 2021-03-30T05:17:31.7048677Z - None 2021-03-30T05:17:31.7066924Z Application folders 2021-03-30T05:17:31.7086573Z - D:\a\1\s\src 2021-03-30T05:17:31.7144966Z Test application folders 2021-03-30T05:17:31.7165919Z - D:\a\1\s\test 2021-03-30T05:17:31.7240095Z 2021-03-30T05:17:31.7255953Z ____ _
2021-03-30T05:17:31.7273512Z | \ | | () () (_)
2021-03-30T05:17:31.7289410Z | |) | | | | _ _ _ _ _ 2021-03-30T05:17:31.7307677Z | _/ | | | | | | ' \ /| / _
|/ \ ' \ / \ '| |/ | | | '_ \ / _
|/ ` |/ \ 2021-03-30T05:17:31.7323658Z | | | || | | | | | | | (| | | (_| | / | | | / | | | ( | | | | | | | (| | (| | / 2021-03-30T05:17:31.7339628Z || _,||||| ||_, | _, |_|| ||_|| ||_| ||| || ||_,|_, |\| 2021-03-30T05:17:31.7357333Z / | / | / |
2021-03-30T05:17:31.7374889Z |__/ |/ |_/
2021-03-30T05:17:31.7379336Z 2021-03-30T05:17:32.1593273Z Pulling mcr.microsoft.com/businesscentral:10.0.17763.1817 2021-03-30T05:25:35.0477273Z 2021-03-30T05:25:35.0489251Z Pulling generic image took 483 seconds 2021-03-30T05:25:35.0593297Z 2021-03-30T05:25:35.0618063Z ___
2021-03-30T05:25:35.0633856Z / _| | | () | | ()
2021-03-30T05:25:35.0651564Z | | _ | | | |_ _ _ 2021-03-30T05:25:35.0673996Z | | | '/ \/ _| __| | '_ \ / _
| / / | ' | / ` | | ' \ / \ '| 2021-03-30T05:25:35.0687226Z | |__| | | __/ (| | || | | | | (| | | ( () | | | | | (| | | | | | / |
2021-03-30T05:25:35.0707583Z \|| _|\,|_||| ||_, | _\/|| ||__,||| ||_|_|
2021-03-30T05:25:35.0764427Z _/ |
2021-03-30T05:25:35.0797975Z |/
2021-03-30T05:25:35.0807814Z 2021-03-30T05:25:35.5606031Z WARNING: Container name should not exceed 15 characters 2021-03-30T05:25:35.9719139Z BcContainerHelper is version 2.0.9 2021-03-30T05:25:35.9735501Z BcContainerHelper is running as administrator 2021-03-30T05:25:35.9793410Z Host is Microsoft Windows Server 2019 Datacenter - ltsc2019 2021-03-30T05:25:39.6036512Z Docker Client Version is 20.10.0 2021-03-30T05:25:39.6073108Z Docker Server Version is 20.10.0 2021-03-30T05:25:40.3933607Z Downloading application artifact /onprem/17.2.19367.19735/gb 2021-03-30T05:25:40.4209648Z Downloading C:\Users\Vssistrator\AppData\Local\Temp\b788616b-3d18-448d-b41f-8ae9b694fa8c.zip 2021-03-30T05:25:49.9027223Z Unpacking application artifact to tmp folder using 7zip 2021-03-30T05:26:05.5817339Z Downloading platform artifact /onprem/17.2.19367.19735/platform 2021-03-30T05:26:05.5856531Z Downloading C:\Users\Vssistrator\AppData\Local\Temp\b044b7ed-0b1c-4962-84cb-2b9e2c1579ac.zip 2021-03-30T05:26:15.8837637Z Unpacking platform artifact to tmp folder using 7zip 2021-03-30T05:26:56.2438977Z Downloading Prerequisite Components 2021-03-30T05:26:56.2599209Z Downloading c:\bcartifacts.cache\onprem\17.2.19367.19735\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe 2021-03-30T05:26:57.7954589Z Downloading c:\bcartifacts.cache\onprem\17.2.19367.19735\platform\Prerequisite Components\Open XML SDK 2.5 for Microsoft Office\OpenXMLSDKv25.msi 2021-03-30T05:26:58.9840552Z Downloading c:\bcartifacts.cache\onprem\17.2.19367.19735\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi 2021-03-30T05:26:58.9842291Z Fetching all docker images 2021-03-30T05:27:00.4432032Z Fetching all docker volumes 2021-03-30T05:27:01.4350784Z Using image mcr.microsoft.com/businesscentral:10.0.17763.1817 2021-03-30T05:27:01.6746193Z Creating Container hostedagent-fintools-ci 2021-03-30T05:27:01.6763943Z Version: 17.2.19367.19735-gb 2021-03-30T05:27:01.6781001Z Style: onprem 2021-03-30T05:27:01.6814815Z Multitenant: No 2021-03-30T05:27:01.6834315Z Platform: 17.0.19353.19730 2021-03-30T05:27:01.6851292Z Generic Tag: 1.0.1.4 2021-03-30T05:27:01.6900294Z Container OS Version: 10.0.17763.1817 (ltsc2019) 2021-03-30T05:27:01.6927551Z Host OS Version: 10.0.17763.1817 (ltsc2019) 2021-03-30T05:27:01.6991826Z Using process isolation 2021-03-30T05:27:01.7143761Z Using locale en-GB 2021-03-30T05:27:01.7245932Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable) 2021-03-30T05:27:01.7679459Z Downloading C:\ProgramData\BcContainerHelper\Extensions\hostedagent-fintools-ci\Microsoft.VisualStudio.Services.VSIXPackage.vsix 2021-03-30T05:27:02.7304478Z Using license file https://evolveapp.blob.core.windows.net/app/BC17License.flf 2021-03-30T05:27:02.7327507Z Downloading C:\ProgramData\BcContainerHelper\Extensions\hostedagent-fintools-ci\my\license.flf 2021-03-30T05:27:02.9803413Z Additional Parameters: 2021-03-30T05:27:02.9808817Z --volume "D:\a\1\s:c:\sources" 2021-03-30T05:27:02.9842343Z --env customNavSettings=EnableTaskScheduler=False 2021-03-30T05:27:02.9867119Z Files in C:\ProgramData\BcContainerHelper\Extensions\hostedagent-fintools-ci\my: 2021-03-30T05:27:02.9940189Z - AdditionalOutput.ps1 2021-03-30T05:27:02.9959668Z - license.flf 2021-03-30T05:27:03.0030444Z - MainLoop.ps1 2021-03-30T05:27:03.0149765Z - SetupVariables.ps1 2021-03-30T05:27:03.0163258Z - updatehosts.ps1 2021-03-30T05:27:03.0180367Z Creating container hostedagent-fintools-ci from image mcr.microsoft.com/businesscentral:10.0.17763.1817 2021-03-30T05:27:07.4374639Z aa40144bfdaed11375f0b43f350fa1bb20710f56bc440da97b233c1176bfc738 2021-03-30T05:27:26.9868957Z Waiting for container hostedagent-fintools-ci to be ready 2021-03-30T05:28:01.1950653Z Adding HOSTEDAGENT-FIN to hosts file 2021-03-30T05:28:07.5618153Z Using artifactUrl https://bcartifacts.azureedge.net/onprem/17.2.19367.19735/gb 2021-03-30T05:28:07.5665583Z Using installer from C:\Run\150-new 2021-03-30T05:28:09.5930110Z Installing Business Central 2021-03-30T05:28:09.9014632Z Installing from artifacts 2021-03-30T05:28:20.2462450Z Starting Local SQL Server 2021-03-30T05:28:20.2485013Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 2021-03-30T05:28:20.2513130Z start... 2021-03-30T05:28:20.3144719Z Starting Internet Information Server 2021-03-30T05:28:23.1962434Z Copying Service Tier Files 2021-03-30T05:28:27.0823481Z Copying PowerShell Scripts 2021-03-30T05:28:27.0842362Z Copying dependencies 2021-03-30T05:28:27.6941088Z Copying ReportBuilder 2021-03-30T05:28:27.7568873Z Importing PowerShell Modules 2021-03-30T05:28:43.5315782Z Determining Database Collation from c:\dl\onprem\17.2.19367.19735\gb\database\Demo Database NAV (17-0).bak 2021-03-30T05:29:38.2202849Z Changing Database Server Collation to Latin1_General_100_CIAS 2021-03-30T05:29:53.0966151Z Restoring CRONUS Demo Database 2021-03-30T05:29:55.3379353Z Setting CompatibilityLevel for CRONUS on localhost\SQLEXPRESS 2021-03-30T05:29:55.3406703Z Modifying Business Central Service Tier Config File for Docker 2021-03-30T05:29:55.3431975Z Creating Business Central Service Tier 2021-03-30T05:29:56.5178316Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll' 2021-03-30T05:29:56.5202788Z Copying Web Client Files 2021-03-30T05:29:56.9799681Z Copying Client Files 2021-03-30T05:29:57.0254566Z Copying ModernDev Files 2021-03-30T05:29:57.0271936Z Copying additional files 2021-03-30T05:29:57.0291695Z Copying ConfigurationPackages 2021-03-30T05:29:57.0320042Z Copying Test Assemblies 2021-03-30T05:29:57.0428191Z Copying Applications 2021-03-30T05:32:16.8097459Z Starting Business Central Service Tier 2021-03-30T05:32:16.8111913Z Importing license file 2021-03-30T05:32:16.8134313Z Stopping Business Central Service Tier 2021-03-30T05:32:16.8279352Z Installation took 255 seconds 2021-03-30T05:32:16.8280649Z Installation complete 2021-03-30T05:32:18.2905191Z Initializing... 2021-03-30T05:32:18.2955172Z Setting host.containerhelper.internal to 172.30.224.1 in container hosts file 2021-03-30T05:32:18.2984178Z Starting Container 2021-03-30T05:32:18.2999124Z Hostname is hostedagent-fintools-ci 2021-03-30T05:32:20.6858813Z PublicDnsName is hostedagent-fintools-ci 2021-03-30T05:32:20.6881594Z Using NavUserPassword Authentication 2021-03-30T05:32:23.6006649Z Creating Self Signed Certificate 2021-03-30T05:32:23.6025610Z Self Signed Certificate Thumbprint BD8C4C5322F0650BCE3B03E9EA4E49E4918EF9D1 2021-03-30T05:32:24.7736487Z Modifying Service Tier Config File with Instance Specific Settings 2021-03-30T05:32:24.8123894Z Modifying Service Tier Config File with settings from environment variable 2021-03-30T05:32:25.9611131Z Setting EnableTaskScheduler to False 2021-03-30T05:32:55.5125943Z Starting Service Tier 2021-03-30T05:32:55.5270840Z Registering event sources 2021-03-30T05:33:03.6602836Z Creating DotNetCore Web Server Instance 2021-03-30T05:33:03.6642781Z Using license file 'c:\run\my\license.flf' 2021-03-30T05:33:05.1303626Z Import License 2021-03-30T05:33:05.1331243Z Creating http download site 2021-03-30T05:33:05.1356013Z Setting SA Password and enabling SA 2021-03-30T05:33:06.4821836Z Creating admin as SQL User and add to sysadmin 2021-03-30T05:33:18.1628803Z Creating SUPER user 2021-03-30T05:33:18.1650019Z Container IP Address: 172.30.228.66 2021-03-30T05:33:18.1678554Z Container Hostname : hostedagent-fintools-ci 2021-03-30T05:33:18.1754905Z Container Dns Name : hostedagent-fintools-ci 2021-03-30T05:33:18.1778316Z Web Client : http://hostedagent-fintools-ci/BC/ 2021-03-30T05:33:18.1800448Z Dev. Server : http://hostedagent-fintools-ci 2021-03-30T05:33:18.1880714Z Dev. ServerInstance : BC 2021-03-30T05:33:18.2073757Z Setting hostedagent-fintools-ci to 172.30.228.66 in host hosts file 2021-03-30T05:33:18.2074137Z 2021-03-30T05:33:18.2088921Z Files: 2021-03-30T05:33:18.2119021Z http://hostedagent-fintools-ci:8080/Microsoft.VisualStudio.Services.VSIXPackage.vsix 2021-03-30T05:33:18.2125406Z 2021-03-30T05:33:18.2290196Z Container Total Physical Memory is 7.0Gb 2021-03-30T05:33:18.2316757Z Container Free Physical Memory is 3.1Gb 2021-03-30T05:33:18.2349508Z 2021-03-30T05:33:18.2400761Z Initialization took 61 seconds 2021-03-30T05:33:18.2444838Z Ready for connections! 2021-03-30T05:33:18.2509330Z Reading CustomSettings.config from hostedagent-fintools-ci 2021-03-30T05:33:22.9701239Z Creating Desktop Shortcuts for hostedagent-fintools-ci 2021-03-30T05:33:23.5884889Z Container hostedagent-fintools-ci successfully created 2021-03-30T05:33:23.5892076Z 2021-03-30T05:33:23.5943748Z Use: 2021-03-30T05:33:23.5971282Z Get-BcContainerEventLog -containerName hostedagent-fintools-ci to retrieve a snapshot of the event log from the container 2021-03-30T05:33:23.6068996Z Get-BcContainerDebugInfo -containerName hostedagent-fintools-ci to get debug information about the container 2021-03-30T05:33:23.6169216Z Enter-BcContainer -containerName hostedagent-fintools-ci to open a PowerShell prompt inside the container 2021-03-30T05:33:23.6195678Z Remove-BcContainer -containerName hostedagent-fintools-ci to remove the container again 2021-03-30T05:33:23.6264110Z docker logs hostedagent-fintools-ci to retrieve information about URL's again 2021-03-30T05:33:23.6523132Z 2021-03-30T05:33:23.6554862Z Creating container took 469 seconds 2021-03-30T05:33:23.6562748Z 2021-03-30T05:33:23.6580184Z ____
2021-03-30T05:33:23.6614666Z / ____| () (_)
2021-03-30T05:33:23.6636966Z | | | | 2021-03-30T05:33:23.6667539Z | | / | '_ \| '_ \| | | | '_ \ / _
| / ` | ' | '_ \/ | 2021-03-30T05:33:23.6678837Z | |__ () | | | | | | |) | | | | | | | (| | | (| | |) | |) _ \ 2021-03-30T05:33:23.6707979Z _____/|| || |_| ._/||||| ||_, | _,_| ./| .__/|/ 2021-03-30T05:33:23.6730068Z | | / | | | | |
2021-03-30T05:33:23.6763392Z || |__/ || |_|
2021-03-30T05:33:23.6769338Z 2021-03-30T05:33:24.0053396Z Using custom ruleset 2021-03-30T05:33:24.1521432Z Using Version 17.0.235.0 2021-03-30T05:33:24.4857795Z Creating AppSourceCop.json for validation 2021-03-30T05:33:27.4977146Z Using Symbols Folder: D:\a\1\s.packages 2021-03-30T05:33:38.7813973Z Downloading symbols: Microsoft_Application_17.2.19367.19735.app 2021-03-30T05:33:38.7995153Z Url : http://172.30.228.66:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=17.0.0.0&tenant=default 2021-03-30T05:33:44.1855697Z Adding dependency to System Application from Microsoft 2021-03-30T05:33:44.1893266Z Adding dependency to Base Application from Microsoft 2021-03-30T05:33:44.1940847Z Downloading symbols: Microsoft_System_17.0.19353.19730.app 2021-03-30T05:33:44.1958096Z Url : http://172.30.228.66:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=17.0.0.0&tenant=default 2021-03-30T05:33:45.5445360Z Downloading symbols: Microsoft_System Application_17.2.19367.19735.app 2021-03-30T05:33:45.5518259Z Url : http://172.30.228.66:7049/BC/dev/packages?publisher=Microsoft&appName=System%20Application&versionText=17.2.0.0&tenant=default 2021-03-30T05:33:47.1104819Z Downloading symbols: Microsoft_Base Application_17.2.19367.19735.app 2021-03-30T05:33:47.1128618Z Url : http://172.30.228.66:7049/BC/dev/packages?publisher=Microsoft&appName=Base%20Application&versionText=17.2.0.0&tenant=default 2021-03-30T05:33:49.0023771Z Compiling... 2021-03-30T05:33:49.0033480Z .\alc.exe /project:"c:\sources\src" /packagecachepath:"c:\sources.packages" /out:"c:\sources.output\Evolve iMS Ltd._iMS Finance Tools_17.0.235.0.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll /ruleset:c:\sources_RuleSets\ims.ruleset.json /assemblyprobingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\170\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\170\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies" 2021-03-30T05:33:58.3560091Z Microsoft (R) AL Compiler version 6.6.6.40897 2021-03-30T05:33:58.3608999Z Copyright (C) Microsoft Corporation. All rights reserved 2021-03-30T05:33:58.3631949Z 2021-03-30T05:33:58.3649968Z Compilation started for project 'iMS Finance Tools' containing '28' files at '5:33:50.61'. 2021-03-30T05:33:58.3656594Z 2021-03-30T05:33:59.2839162Z ##[error]c:\sources\src\PageExtension\iMSFNGeneralLedgerEntries.PageExt.al(17,38): error AL0196: The call is ambiguous between the method 'iMSGetSourceName()' defined in TableExtension 'iMS FN G/L Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' and the method 'iMSGetSourceName()' defined in TableExtension 'iMS G/L Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.2990009Z ##[error]c:\sources\src\PageExtension\iMSFNJobLedgerEntries.PageExt.al(7,42): error AL0196: The call is ambiguous between the method 'iMSGetSourceType()' defined in TableExtension 'iMS FN Job Ledger Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' and the method 'iMSGetSourceType()' defined in TableExtension 'iMS Job Ledger Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.2996481Z ##[error]c:\sources\src\PageExtension\iMSFNJobLedgerEntries.PageExt.al(13,41): error AL0196: The call is ambiguous between the method 'iMSGetSourceNo()' defined in TableExtension 'iMS FN Job Ledger Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' and the method 'iMSGetSourceNo()' defined in TableExtension 'iMS Job Ledger Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3001908Z ##[error]c:\sources\src\PageExtension\iMSFNJobLedgerEntries.PageExt.al(19,38): error AL0196: The call is ambiguous between the method 'iMSGetSourceName()' defined in TableExtension 'iMS FN Job Ledger Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' and the method 'iMSGetSourceName()' defined in TableExtension 'iMS Job Ledger Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3021627Z ##[error]c:\sources\src\PageExtension\iMSGeneralLedgerEntries.PageExt.al(17,38): error AL0196: The call is ambiguous between the method 'iMSGetSourceName()' defined in TableExtension 'iMS FN G/L Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' and the method 'iMSGetSourceName()' defined in TableExtension 'iMS G/L Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3037058Z ##[error]c:\sources\src\PageExtension\iMSJobLedgerEntries.PageExt.al(7,42): error AL0196: The call is ambiguous between the method 'iMSGetSourceType()' defined in TableExtension 'iMS FN Job Ledger Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' and the method 'iMSGetSourceType()' defined in TableExtension 'iMS Job Ledger Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3044102Z ##[error]c:\sources\src\PageExtension\iMSJobLedgerEntries.PageExt.al(13,41): error AL0196: The call is ambiguous between the method 'iMSGetSourceNo()' defined in TableExtension 'iMS FN Job Ledger Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' and the method 'iMSGetSourceNo()' defined in TableExtension 'iMS Job Ledger Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3056955Z ##[error]c:\sources\src\PageExtension\iMSJobLedgerEntries.PageExt.al(19,38): error AL0196: The call is ambiguous between the method 'iMSGetSourceName()' defined in TableExtension 'iMS FN Job Ledger Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' and the method 'iMSGetSourceName()' defined in TableExtension 'iMS Job Ledger Entry' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3069617Z ##[error]c:\sources\src\PageExtension\iMSGeneralLedgerEntries.PageExt.al(1,15): error AL0264: An application object of type 'PageExtension' with ID '9094930' is already declared by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' 2021-03-30T05:33:59.3083196Z ##[error]c:\sources\src\PageExtension\iMSJobLedgerEntries.PageExt.al(1,15): error AL0264: An application object of type 'PageExtension' with ID '9094931' is already declared by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' 2021-03-30T05:33:59.3088284Z ##[error]c:\sources\src\PageExtension\iMSPurchaseLines.PageExt.al(1,15): error AL0264: An application object of type 'PageExtension' with ID '9094932' is already declared by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' 2021-03-30T05:33:59.3104485Z ##[error]c:\sources\src\PageExtension\iMSFNGeneralLedgerEntries.PageExt.al(1,15): error AL0264: An application object of type 'PageExtension' with ID '9094930' is already declared by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' 2021-03-30T05:33:59.3117953Z ##[error]c:\sources\src\PageExtension\iMSFNJobLedgerEntries.PageExt.al(1,15): error AL0264: An application object of type 'PageExtension' with ID '9094931' is already declared by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' 2021-03-30T05:33:59.3123269Z ##[error]c:\sources\src\PageExtension\iMSFNPurchaseLines.PageExt.al(1,15): error AL0264: An application object of type 'PageExtension' with ID '9094932' is already declared by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' 2021-03-30T05:33:59.3136557Z ##[error]c:\sources\src\TableExtension\iMSGLEntry.TableExt.al(1,16): error AL0264: An application object of type 'TableExtension' with ID '9094929' is already declared by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' 2021-03-30T05:33:59.3153008Z ##[error]c:\sources\src\TableExtension\iMSJobLedgerEntry.TableExt.al(1,16): error AL0264: An application object of type 'TableExtension' with ID '9094930' is already declared by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' 2021-03-30T05:33:59.3158825Z ##[error]c:\sources\src\TableExtension\iMSPurchaseLine.TableExt.al(1,16): error AL0264: An application object of type 'TableExtension' with ID '9094931' is already declared by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' 2021-03-30T05:33:59.3173843Z ##[error]c:\sources\src\TableExtension\iMSFNGLEntry.TableExt.al(1,16): error AL0264: An application object of type 'TableExtension' with ID '9094929' is already declared by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' 2021-03-30T05:33:59.3186897Z ##[error]c:\sources\src\TableExtension\iMSFNJobLedgerEntry.TableExt.al(1,16): error AL0264: An application object of type 'TableExtension' with ID '9094930' is already declared by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' 2021-03-30T05:33:59.3195877Z ##[error]c:\sources\src\TableExtension\iMSFNPurchaseLine.TableExt.al(1,16): error AL0264: An application object of type 'TableExtension' with ID '9094931' is already declared by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)' 2021-03-30T05:33:59.3208361Z ##[error]c:\sources\src\TableExtension\iMSFNGLEntry.TableExt.al(1,24): error AL0334: The extension object 'iMS FN G/L Entry' cannot be declared. Another extension for target 'G/L Entry' or the target itself is already declared in this module. 2021-03-30T05:33:59.3222846Z ##[error]c:\sources\src\TableExtension\iMSGLEntry.TableExt.al(1,24): error AL0334: The extension object 'iMS G/L Entry' cannot be declared. Another extension for target 'G/L Entry' or the target itself is already declared in this module. 2021-03-30T05:33:59.3235886Z ##[error]c:\sources\src\TableExtension\iMSFNJobLedgerEntry.TableExt.al(1,24): error AL0334: The extension object 'iMS FN Job Ledger Entry' cannot be declared. Another extension for target 'Job Ledger Entry' or the target itself is already declared in this module. 2021-03-30T05:33:59.3243592Z ##[error]c:\sources\src\TableExtension\iMSJobLedgerEntry.TableExt.al(1,24): error AL0334: The extension object 'iMS Job Ledger Entry' cannot be declared. Another extension for target 'Job Ledger Entry' or the target itself is already declared in this module. 2021-03-30T05:33:59.3257800Z ##[error]c:\sources\src\TableExtension\iMSFNPurchaseLine.TableExt.al(1,24): error AL0334: The extension object 'iMS FN Purchase Line' cannot be declared. Another extension for target 'Purchase Line' or the target itself is already declared in this module. 2021-03-30T05:33:59.3274758Z ##[error]c:\sources\src\TableExtension\iMSPurchaseLine.TableExt.al(1,24): error AL0334: The extension object 'iMS Purchase Line' cannot be declared. Another extension for target 'Purchase Line' or the target itself is already declared in this module. 2021-03-30T05:33:59.3281428Z ##[error]c:\sources\src\TableExtension\iMSFNPurchaseLine.TableExt.al(5,24): error AL0155: A member of type Field with name 'iMS Buy-from Vendor Name' is already defined in TableExtension 'iMS Purchase Line' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3296546Z ##[error]c:\sources\src\TableExtension\iMSPurchaseLine.TableExt.al(5,24): error AL0155: A member of type Field with name 'iMS Buy-from Vendor Name' is already defined in TableExtension 'iMS FN Purchase Line' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3315101Z ##[error]c:\sources\src\TableExtension\iMSFNPurchaseLine.TableExt.al(12,24): error AL0155: A member of type Field with name 'iMS Pay-to Vendor Name' is already defined in TableExtension 'iMS Purchase Line' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3321182Z ##[error]c:\sources\src\TableExtension\iMSPurchaseLine.TableExt.al(12,24): error AL0155: A member of type Field with name 'iMS Pay-to Vendor Name' is already defined in TableExtension 'iMS FN Purchase Line' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3338442Z ##[error]c:\sources\src\PageExtension\iMSFNGeneralLedgerEntries.PageExt.al(1,23): error AL0334: The extension object 'iMS FN General Ledger Entries' cannot be declared. Another extension for target 'General Ledger Entries' or the target itself is already declared in this module. 2021-03-30T05:33:59.3353963Z ##[error]c:\sources\src\PageExtension\iMSGeneralLedgerEntries.PageExt.al(1,23): error AL0334: The extension object 'iMS General Ledger Entries' cannot be declared. Another extension for target 'General Ledger Entries' or the target itself is already declared in this module. 2021-03-30T05:33:59.3366669Z ##[error]c:\sources\src\PageExtension\iMSFNGeneralLedgerEntries.PageExt.al(17,19): error AL0155: A member of type Field with name 'iMSSourceName' is already defined in PageExtension 'iMS General Ledger Entries' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3372081Z ##[error]c:\sources\src\PageExtension\iMSGeneralLedgerEntries.PageExt.al(17,19): error AL0155: A member of type Field with name 'iMSSourceName' is already defined in PageExtension 'iMS FN General Ledger Entries' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3377859Z ##[error]c:\sources\src\PageExtension\iMSFNJobLedgerEntries.PageExt.al(1,23): error AL0334: The extension object 'iMS FN Job Ledger Entries' cannot be declared. Another extension for target 'Job Ledger Entries' or the target itself is already declared in this module. 2021-03-30T05:33:59.3382292Z ##[error]c:\sources\src\PageExtension\iMSJobLedgerEntries.PageExt.al(1,23): error AL0334: The extension object 'iMS Job Ledger Entries' cannot be declared. Another extension for target 'Job Ledger Entries' or the target itself is already declared in this module. 2021-03-30T05:33:59.3399436Z ##[error]c:\sources\src\PageExtension\iMSFNJobLedgerEntries.PageExt.al(7,19): error AL0155: A member of type Field with name 'iMS Source Type' is already defined in PageExtension 'iMS Job Ledger Entries' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3407600Z ##[error]c:\sources\src\PageExtension\iMSJobLedgerEntries.PageExt.al(7,19): error AL0155: A member of type Field with name 'iMS Source Type' is already defined in PageExtension 'iMS FN Job Ledger Entries' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3421408Z ##[error]c:\sources\src\PageExtension\iMSFNJobLedgerEntries.PageExt.al(13,19): error AL0155: A member of type Field with name 'iMS Source No.' is already defined in PageExtension 'iMS Job Ledger Entries' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3436064Z ##[error]c:\sources\src\PageExtension\iMSJobLedgerEntries.PageExt.al(13,19): error AL0155: A member of type Field with name 'iMS Source No.' is already defined in PageExtension 'iMS FN Job Ledger Entries' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3447433Z ##[error]c:\sources\src\PageExtension\iMSFNJobLedgerEntries.PageExt.al(19,19): error AL0155: A member of type Field with name 'iMSSourceName' is already defined in PageExtension 'iMS Job Ledger Entries' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3451775Z ##[error]c:\sources\src\PageExtension\iMSJobLedgerEntries.PageExt.al(19,19): error AL0155: A member of type Field with name 'iMSSourceName' is already defined in PageExtension 'iMS FN Job Ledger Entries' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3462499Z ##[error]c:\sources\src\PageExtension\iMSFNPurchaseLines.PageExt.al(1,23): error AL0334: The extension object 'iMS FN Purchase Lines' cannot be declared. Another extension for target 'Purchase Lines' or the target itself is already declared in this module. 2021-03-30T05:33:59.3473601Z ##[error]c:\sources\src\PageExtension\iMSPurchaseLines.PageExt.al(1,23): error AL0334: The extension object 'iMS Purchase Lines' cannot be declared. Another extension for target 'Purchase Lines' or the target itself is already declared in this module. 2021-03-30T05:33:59.3478347Z ##[error]c:\sources\src\PageExtension\iMSFNPurchaseLines.PageExt.al(17,19): error AL0155: A member of type Field with name 'iMS Pay-to Vendor Name' is already defined in PageExtension 'iMS Purchase Lines' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3492786Z ##[error]c:\sources\src\PageExtension\iMSPurchaseLines.PageExt.al(17,19): error AL0155: A member of type Field with name 'iMS Pay-to Vendor Name' is already defined in PageExtension 'iMS FN Purchase Lines' by the extension 'iMS Finance Tools by Evolve iMS Ltd. (17.0.235.0)'. 2021-03-30T05:33:59.3494013Z 2021-03-30T05:33:59.3494391Z Compilation ended at '5:33:58.242'. 2021-03-30T05:33:59.3494591Z 2021-03-30T05:33:59.3495034Z App generation failed with exit code 1 2021-03-30T05:33:59.3495225Z 2021-03-30T05:33:59.3495661Z ____ _
2021-03-30T05:33:59.3496867Z | _ \ () / | | | ()
2021-03-30T05:33:59.3497741Z | |) | __ | | | |_ _ _ _ 2021-03-30T05:33:59.3498328Z | // \ ' ` \ / \ \ / / | ' \ / ` | | | / | '_ | _/ ` | | ' \ / \ '| 2021-03-30T05:33:59.3498935Z | | \ \ / | | | | | () \ V /| | | | | (| | | |__ () | | | | | (_| | | | | | / |
2021-03-30T05:33:59.3499521Z || _\|| || |_|_/ _/ ||| ||_, | ____/|| ||__,||| ||_||
2021-03-30T05:33:59.3500813Z / |
2021-03-30T05:33:59.3501472Z |/
2021-03-30T05:33:59.3501777Z 2021-03-30T05:34:00.8733244Z Removing container hostedagent-fintools-ci 2021-03-30T05:34:03.6357089Z Removing hostedagent-fintools-ci from container hosts file 2021-03-30T05:34:03.8102841Z Removing hostedagent-fintools-ci-* from container hosts file 2021-03-30T05:34:03.8937720Z Removing C:\ProgramData\BcContainerHelper\Extensions\hostedagent-fintools-ci 2021-03-30T05:34:03.9280940Z 2021-03-30T05:34:03.9302129Z Removing container took 5 seconds 2021-03-30T05:34:04.8390231Z ##[error]App generation failed with exit code 1 At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.9\AppHandling\Compile-AppInNavContainer.ps1:507 char:72
- ... | Where-Object { $ -like "App generation failed*" } | % { throw $ }
+ CategoryInfo : OperationStopped: (App generation failed with exit code 1:String) [], RuntimeException + FullyQualifiedErrorId : App generation failed with exit code 1 2021-03-30T05:34:04.8725703Z ##[error]PowerShell exited with code '1'. 2021-03-30T05:34:05.2240207Z ##[section]Finishing: Run Pipeline
Not sure why, but if you want me to look at it, you would have to .zip your entire source folder and email me a link where I can download that (secure onedrive or like)
Okay, I will see about getting that done. As I said the local repo builds and publishes fine it is only in DevOps that the problem occurs.
FYI, the local-pipeline.ps1 seems to run fine too. Output below:
PS D:\Repos\evolveims\FinTools\src> d:\Repos\evolveims\FinTools\scripts\Local-Pipeline.ps1 Set artifact = https://bcartifacts.azureedge.net/onprem/17.2.19367.19735/gb Set pipelineName = FinTools-ci Set containerName = fintools-ci Set installApps = '' Set previousApps = '' Set appSourceCopMandatoryAffixes = 'iMS' Set appSourceCopSupportedCountries = 'gb' Set appFolders = 'src' Set testFolders = 'test' Set memoryLimit = '6G' Set additionalCountries = '' Set genericImageName = '' Set vaultNameForLocal = 'EvolveAppVault' Set bcContainerHelperVersion = 'Latest' Set installTestFramework = True
Set installTestLibraries = True Set installPerformanceToolkit = False Set enableCodeCop = True Set enableAppSourceCop = True Set enablePerTenantExtensionCop = False Set enableUICop = True Set doNotSignApps = True Set doNotRunTests = False Set cacheImage = True Set CreateRuntimePackages = True Set rulesetfile = '_RuleSets\ims.ruleset.json' Set appPackages = '.packages' Setting hostHelperFolder = d:\bccontainerhelper Setting bcartifactsCacheFolder = d:\bcartifacts.cache BcContainerHelper version 2.0.9 Get Secret CodeSignPfxFileSecret Get Secret CodeSignPfxPasswordSecret Get Secret insiderSasTokenSecret Get Secret LicenseFileSecret Get Secret PasswordSecret Get Secret StorageConnectionStringSecret Get Secret TestToolAppSecret Get Secret TestToolAppTinySecret Get Secret UsernameSecret
| \ | | | |) | | | __ | / _
| '__/ _
| ' ` \ / _ \ / \ '/ | | | | (| | | | (_| | | | | | | _/ | / | _ \ || _,|| _,|| || ||_|_\|_| |___/Pipeline name FinTools-ci Container name fintools-ci Image name ArtifactUrl https://bcartifacts.azureedge.net/onprem/17.2.19367.19735/gb SasToken Not Specified BcAuthContext Not Specified Environment Credential Specified MemoryLimit 6G Enable Task Scheduler False Assign Premium Plan False Install Test Runner False Install Test Framework True Install Test Libraries True Install Perf. Toolkit False CopySymbolsFromContainer False enableCodeCop True enableAppSourceCop True enableUICop True enablePerTenantExtensionCop False escapeFromCops False useDefaultAppSourceRuleSet False rulesetFile D:\Repos\evolveims\FinTools_RuleSets\ims.ruleset.json azureDevOps False License file Specified CodeSignCertPfxFile Not specified TestResultsFile D:\Repos\evolveims\FinTools\TestResults.xml TestResultsFormat JUnit AdditionalCountries PackagesFolder D:\Repos\evolveims\FinTools.packages OutputFolder D:\Repos\evolveims\FinTools.output BuildArtifactFolder CreateRuntimePackages False AppBuild 2147483647 AppRevision 0 Mandatory Affixes iMS Supported Countries gb Install Apps
- None Install Test Apps
- None Previous Apps
- None Application folders
- D:\Repos\evolveims\FinTools\src Test application folders
D:\Repos\evolveims\FinTools\test
| \ | | () () (_) | |_) | | | | _ _ _ _ _ _ | _/ | | | | | | ' \ /
| / _
|/ \ ' \ / \ '| |/ | | | '_ \ / _
|/ ` |/ \ | | | || | | | | | | | (| | | (_| | / | | | / | | | ( | | | | | | | (| | (| | / || _,||||| ||_, | _, |_|| ||_|| ||_| ||| || ||_,|_, |\| / | / | / | |__/ |/ |___/Pulling mcr.microsoft.com/businesscentral:10.0.19042.867
Pulling generic image took 2 seconds
/ _| | | () | | () | | _ | | | |_ _ _ | | | '/ \/ _
| __| | '_ \ / _
| / / | ' | / ` | | ' \ / \ '| | |__| | | __/ (| | || | | | | (| | | ( () | | | | | (| | | | | | / | \|| _|\,|_||| ||_, | _\/|| ||__,||| ||_|_| _/ | |/BcContainerHelper is version 2.0.9 BcContainerHelper is running as administrator Host is Microsoft Windows 10 Pro - 20H2 Docker Client Version is 20.10.5 Docker Server Version is 20.10.5 Fetching all docker images Fetching all docker volumes Using image mcr.microsoft.com/businesscentral:10.0.19042.867 Creating Container fintools-ci Version: 17.2.19367.19735-gb Style: onprem Multitenant: No Platform: 17.0.19353.19730 Generic Tag: 1.0.1.4 Container OS Version: 10.0.19042.867 (20H2) Host OS Version: 10.0.19042.867 (20H2) Using process isolation Using locale en-GB Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable) Downloading d:\bccontainerhelper\Extensions\fintools-ci\Microsoft.VisualStudio.Services.VSIXPackage.vsix Using license file https://evolveapp.blob.core.windows.net/app/BC17License.flf Downloading d:\bccontainerhelper\Extensions\fintools-ci\my\license.flf Additional Parameters: --volume "D:\Repos\evolveims\FinTools:c:\sources" --env customNavSettings=EnableTaskScheduler=False Files in d:\bccontainerhelper\Extensions\fintools-ci\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1 Creating container fintools-ci from image mcr.microsoft.com/businesscentral:10.0.19042.867 b8dd4cf05dbbbce979fcea907fd8a95a576fcd7b3b1dc87c2c70d806d58a4837 Waiting for container fintools-ci to be ready Using artifactUrl https://bcartifacts.azureedge.net/onprem/17.2.19367.19735/gb Using installer from C:\Run\150-new Installing Business Central Installing from artifacts Starting Local SQL Server WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to start... Starting Internet Information Server Copying Service Tier Files Copying PowerShell Scripts Copying dependencies Copying ReportBuilder Importing PowerShell Modules Determining Database Collation from c:\dl\onprem\17.2.19367.19735\gb\database\Demo Database NAV (17-0).bak Changing Database Server Collation to Latin1_General_100_CI_AS Restoring CRONUS Demo Database Setting CompatibilityLevel for CRONUS on localhost\SQLEXPRESS Modifying Business Central Service Tier Config File for Docker Creating Business Central Service Tier Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll' Copying Web Client Files Copying Client Files Copying ModernDev Files Copying additional files Copying ConfigurationPackages Copying Test Assemblies Copying Applications Starting Business Central Service Tier Importing license file Stopping Business Central Service Tier Installation took 216 seconds Installation complete Initializing... Setting host.docker.internal to 192.168.0.11 in container hosts file (copy from host hosts file) Setting gateway.docker.internal to 192.168.0.11 in container hosts file (copy from host hosts file) Setting kubernetes.docker.internal to 127.0.0.1 in container hosts file (copy from host hosts file) Setting dbserver.containerhelper.internal to 192.168.0.11 in container hosts file (copy from host hosts file) Setting host.containerhelper.internal to 192.168.160.1 in container hosts file Starting Container Hostname is fintools-ci PublicDnsName is fintools-ci Using NavUserPassword Authentication Creating Self Signed Certificate Self Signed Certificate Thumbprint 712F5510FB51C3BA840FADD3A6F6A49C365288EB 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 license file 'c:\run\my\license.flf' Import License Creating http download site Setting SA Password and enabling SA Creating admin as SQL User and add to sysadmin Creating SUPER user Container IP Address: 192.168.167.195 Container Hostname : fintools-ci Container Dns Name : fintools-ci Web Client : http://fintools-ci/BC/ Dev. Server : http://fintools-ci Dev. ServerInstance : BC Setting fintools-ci to 192.168.167.195 in host hosts file
Files: http://fintools-ci:8080/Microsoft.VisualStudio.Services.VSIXPackage.vsix
Container Total Physical Memory is 31.7Gb Container Free Physical Memory is 12.3Gb
Initialization took 93 seconds Ready for connections! Reading CustomSettings.config from fintools-ci Creating Desktop Shortcuts for fintools-ci Container fintools-ci successfully created
Use: Get-BcContainerEventLog -containerName fintools-ci to retrieve a snapshot of the event log from the container Get-BcContainerDebugInfo -containerName fintools-ci to get debug information about the container Enter-BcContainer -containerName fintools-ci to open a PowerShell prompt inside the container Remove-BcContainer -containerName fintools-ci to remove the container again docker logs fintools-ci to retrieve information about URL's again
Creating container took 355 seconds
/ _| () (_) | | __ | | | | / | '
_ \| '_ \| | | | '_ \ / _
| / ` | ' | '_ \/ | | |__ () | | | | | | |) | | | | | | | (| | | (| | |) | |) _ \ _____/|| || |_| ._/||||| ||_, | _,_| ./| .__/|/ | | / | | | | | || |__/ || |_|Using custom ruleset Using Version 17.0.2147483647.0 Creating AppSourceCop.json for validation Using Symbols Folder: D:\Repos\evolveims\FinTools.packages Downloading symbols: Microsoft_Application_17.2.19367.19735.app Url : http://192.168.167.195:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=17.0.0.0&tenant=default Adding dependency to System Application from Microsoft Adding dependency to Base Application from Microsoft Downloading symbols: Microsoft_System_17.0.19353.19730.app Url : http://192.168.167.195:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=17.0.0.0&tenant=default Downloading symbols: Microsoft_System Application_17.2.19367.19735.app Url : http://192.168.167.195:7049/BC/dev/packages?publisher=Microsoft&appName=System%20Application&versionText=17.2.0.0&tenant=default Downloading symbols: Microsoft_Base Application_17.2.19367.19735.app Url : http://192.168.167.195:7049/BC/dev/packages?publisher=Microsoft&appName=Base%20Application&versionText=17.2.0.0&tenant=default Compiling... .\alc.exe /project:"c:\sources\src" /packagecachepath:"c:\sources.packages" /out:"c:\sources.output\Evolve iMS Ltd._iMS Finance Tools_17.0.2147483647.0.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll /ruleset:c:\sources_RuleSets\ims.ruleset.json /assemblyprobingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\170\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\170\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies" Microsoft (R) AL Compiler version 6.6.6.40897 Copyright (C) Microsoft Corporation. All rights reserved
Compilation started for project 'iMS Finance Tools' containing '22' files at '9:14:51.346'.
c:\sources\src\extensionsPermissionSet.xml(1,1): info AL1027: The file at location 'c:\sources\src\extensionsPermissionSet.xml' matches the definition for 'PermissionSet'.
Compilation ended at '9:14:55.324'.
D:\Repos\evolveims\FinTools.output\Evolve iMS Ltd._iMS Finance Tools_17.0.2147483647.0.app successfully created in 32 seconds Evolve iMS Ltd._iMS Finance Tools_17.0.2147483647.0.app copied to D:\Repos\evolveims\FinTools.packages
| | | | () | | | | | | | | | () | | | _ | | | | __ | |_ | | | | | | | | | | ' ` | ' \ / | '| | | ' \ / ` | | |/ \ | | | |/ \ / _ | | |/ / | | | || | | | | | |) | () | | | || | | | | (| | | | _ \ | | | () | () | | <| | |_ |___|| || || ./ \/|| _||| ||_, | ||_|/_| ||_/ _/|||__|__| | | / | || |/ Publishing C:\ProgramData\BcContainerHelper\Extensions\fintools-ci\a4907049-ab6b-46db-b076-985c77248d8e\Microsoft_Test Runner.app Synchronizing Test Runner on tenant default Installing Test Runner on tenant default App Microsoft_Test Runner.app successfully published Publishing C:\ProgramData\BcContainerHelper\Extensions\fintools-ci\dc373b63-5940-47ff-85d9-cb72db93ae50\Microsoft_Any.app Synchronizing Any on tenant default Installing Any on tenant default App Microsoft_Any.app successfully published Publishing C:\ProgramData\BcContainerHelper\Extensions\fintools-ci\8cbaaf49-8809-4158-813f-194ccf6a376f\Microsoft_Library Assert.app Synchronizing Library Assert on tenant default Installing Library Assert on tenant default App Microsoft_Library Assert.app successfully published Publishing C:\ProgramData\BcContainerHelper\Extensions\fintools-ci\915ed9a1-1040-41c2-b4ac-3af522cbb858\Microsoft_Library Variable Storage.app Synchronizing Library Variable Storage on tenant default Installing Library Variable Storage on tenant default App Microsoft_Library Variable Storage.app successfully published Publishing C:\ProgramData\BcContainerHelper\Extensions\fintools-ci\ba5d86e2-f526-449c-8817-583cd028860d\Microsoft_System Application Test Library.app Synchronizing System Application Test Library on tenant default Installing System Application Test Library on tenant default App Microsoft_System Application Test Library.app successfully published Publishing C:\ProgramData\BcContainerHelper\Extensions\fintools-ci\e2fb442c-076e-4f90-ada6-b62502991ad6\Microsoft_Tests-TestLibraries.app Synchronizing Tests-TestLibraries on tenant default Installing Tests-TestLibraries on tenant default App Microsoft_Tests-TestLibraries.app successfully published TestToolkit successfully imported
Importing Test Toolkit took 64 seconds
/ _| () (_) | | | | | | __ | | | |_ | |_ | | / | '
_ \| '_ \| | | | '_ \ / _
| | / \ | | / ` | ' | ' \/ | | |_ () | | | | | | |) | | | | | | | (| | | |_ _ \ | | (| | |) | |) _ \ __\/|| || |_| ./||||| ||_, | _\|/_| _,| ./| .__/|/ | | / | | | | | || |__/ || |_| Using Version 17.0.2147483647.0 Using Symbols Folder: D:\Repos\evolveims\FinTools.packages Downloading symbols: Microsoft_Library Assert_17.2.19367.19735.app Url : http://192.168.167.195:7049/BC/dev/packages?publisher=Microsoft&appName=Library%20Assert&versionText=17.0.0.0&tenant=default Downloading symbols: Microsoft_Tests-TestLibraries_17.2.19367.19735.app Url : http://192.168.167.195:7049/BC/dev/packages?publisher=Microsoft&appName=Tests-TestLibraries&versionText=17.0.0.0&tenant=default Adding dependency to System Application Test Library from Microsoft Adding dependency to Library Variable Storage from Microsoft Downloading symbols: Microsoft_System Application Test Library_17.2.19367.19735.app Url : http://192.168.167.195:7049/BC/dev/packages?publisher=Microsoft&appName=System%20Application%20Test%20Library&versionText=17.2.0.0&tenant=default Adding dependency to System Application from Microsoft Adding dependency to Any from Microsoft Downloading symbols: Microsoft_Library Variable Storage_17.2.19367.19735.app Url : http://192.168.167.195:7049/BC/dev/packages?publisher=Microsoft&appName=Library%20Variable%20Storage&versionText=17.2.0.0&tenant=default Downloading symbols: Microsoft_Any_17.2.19367.19735.app Url : http://192.168.167.195:7049/BC/dev/packages?publisher=Microsoft&appName=Any&versionText=17.2.0.0&tenant=default Compiling... .\alc.exe /project:"c:\sources\test" /packagecachepath:"c:\sources.packages" /out:"c:\sources.output\Evolve iMS Ltd._iMS Finance Tools Tests_17.0.2147483647.0.app" /assemblyprobingpaths:"C:\Program Files (x86)\Microsoft Dynamics NAV\170\RoleTailored Client","C:\Program Files\Microsoft Dynamics NAV\170\Service","C:\Program Files (x86)\Open XML SDK\V2.5\lib","c:\Windows\Microsoft.NET\Assembly","C:\Test Assemblies\Mock Assemblies" Microsoft (R) AL Compiler version 6.6.6.40897 Copyright (C) Microsoft Corporation. All rights reservedCompilation started for project 'iMS Finance Tools Tests' containing '4' files at '9:16:3.77'.
c:\sources\test\extensionsPermissionSet.xml(1,1): info AL1027: The file at location 'c:\sources\test\extensionsPermissionSet.xml' matches the definition for 'PermissionSet'.
Compilation ended at '9:16:7.597'.
D:\Repos\evolveims\FinTools.output\Evolve iMS Ltd._iMS Finance Tools Tests_17.0.2147483647.0.app successfully created in 8 seconds Evolve iMS Ltd._iMS Finance Tools Tests_17.0.2147483647.0.app copied to D:\Repos\evolveims\FinTools.packages
Compiling apps, test apps and importing test toolkit took 104 seconds
| \ | | | () | | () /\ | |) | _| | | | | | / \ | / | | | ' | | / | ' | | ' \ / ` | / /\ \ | ' | '_ \/ | | | | || | |) | | _ \ | | | | | | | (| | / __ | |) | |) _ \ || _,|_./|||/| |||| ||\, | // \\ ./| ./|/ / | | | | | |/ || ||
Publishing C:\ProgramData\BcContainerHelper\Extensions\fintools-ci\a90dc1cc-1916-4e16-84ab-001ad39238fc\Evolve iMS Ltd._iMS Finance Tools_17.0.2147483647.0.app Synchronizing iMS Finance Tools on tenant default Installing iMS Finance Tools on tenant default App Evolve iMS Ltd._iMS Finance Tools_17.0.2147483647.0.app successfully published Publishing C:\ProgramData\BcContainerHelper\Extensions\fintools-ci\587ba42a-061b-447a-b4fa-ec41cdf64787\Evolve iMS Ltd._iMS Finance Tools Tests_17.0.2147483647.0.app Synchronizing iMS Finance Tools Tests on tenant default Installing iMS Finance Tools Tests on tenant default App Evolve iMS Ltd._iMS Finance Tools Tests_17.0.2147483647.0.app successfully published
Publishing apps took 5 seconds
| \ (_) | | | | | |) | _ _ | | | |_ | / | | | ' | ' | | ' \ / ` | | |/ _ \ | / | | | \ \ || | | | | | | | | | | | (| | | | _ \ |_ \ || __,|| ||| |||| ||_, | ||\|/_|_/ __/ | |___/
Codeunit 80100 iMS Trial Bal. - 13 Col. Test Success (11.953 seconds) Testfunction TestTB13ColActionExistOnBusinessManagerRC Success (8.413 seconds) Testfunction TestTB13ColFields Success (0.87 seconds) Testfunction TestRoundingPrecisionOne Success (1.574 seconds) Testfunction TestRoundingPrecisionThousand Success (0.133 seconds) Testfunction TestRoundingPrecisionMillion Success (0.127 seconds) Testfunction TestShowInACY Success (0.006 seconds) Testfunction TestReverseSign Success (0.17 seconds) Testfunction EnsureOnly1YearOfCaptionsCreated Success (0.66 seconds) Codeunit 80101 iMS Trial Bal. - Comp. Test Success (0.16 seconds) Testfunction TestTCCompActionExistOnBusinessManagerRC Success (0.16 seconds) Testfunction TestTBCompDefaultValues Success (0 seconds)
Running tests took 50 seconds
| \ () / ____| | | () | |) | _ ___ | | _ | |_ _ | // \ ' ` \ / \ \ / / | ' \ / ` | | | / | '_ | / ` | | ' \ / \ '| | | \ \ / | | | | | () \ V /| | | | | (| | | |____ () | | | | | (| | | | | | / | || \_|| || ||\/ _/ ||| ||_, | __\/|| ||__,||| ||_|_| _/ | |/
Removing container fintools-ci Removing fintools-ci from container hosts file Removing fintools-ci-* from container hosts file Removing d:\bccontainerhelper\Extensions\fintools-ci
Removing container took 16 seconds
AL Pipeline finished in 532 seconds
That is even more strange...
I sent you an email (subject: GITHUB Ambiguous references #1849) with a file transfer link. Let me know you need anything else or you have any issues.
I have tried to run your pipelines (both local and devops) both works fine here. My assumption is that you are looking at some caching problem on the build agent.
How is there a caching issue on a azure devops pool server.
Okay so I discovered that when checking out the source for the branch DevOps was pulling in the original file and the renamed file. I don't know how or why that would occur but I duplicated the code from the branch, put it into a new branch and do a pull request with the pipeline it all just works. Somehow, either GIT or DevOps confused a commit somewhere.
Anyways this is all good now and can be closed.
As always @freddydk thank you for your assistance and patience.
PLEASE DO NOT INCLUDE ANY PASSWORDS OR TOKENS IN YOUR ISSUE!!!
Describe the issue I am getting ambiguous reference errors like below in my build pipeline. I am trying to rename a table extension (serveral actually) and I know this is a problem in some situations but I don't think this is one of them. The code compiles fine in VSC. The application is not in AppSource yet. I have not specified "previousapps" in the settings.json. So how is it I have an ambiguous reference? I have purged my local build agent folders (deleted and recreated agent).
Is something picking up the previous build somewhere to compare it to? I don't see where this is happening.
Scripts used to create container and cause the issue
Full output of scripts
Screenshots If applicable, add screenshots to help explain your problem.
Additional context
YML File