microsoft / navcontainerhelper

Official Microsoft repository for BcContainerHelper, a PowerShell module, which makes it easier to work with Business Central Containers on Docker.
MIT License
386 stars 247 forks source link

App generation failed #1706

Closed ghost closed 3 years ago

ghost commented 3 years ago

I started getting an "App generation failed" this Sunday 14 feb in the azure build pipeline

The app compiles and runs locally but the azure build fails. Wonder if anyone has an idea what's going on.

Thanks for any guidance...

This is the block that fails:

2021-02-15T18:11:15.1787639Z Compiling... 2021-02-15T18:11:15.1887985Z .\alc.exe /project:"c:\sources\app" /packagecachepath:"c:\sources.packages" /out:"c:\sources.output\Cenium AS_Cenium Hospitality ERP Connector_17.0.99.0.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll /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-02-15T18:11:28.4732421Z App generation failed

here is the full build log:

2021-02-15T17:57:42.9058097Z ##[section]Starting: Build
2021-02-15T17:57:43.1187779Z ##[section]Starting: Initialize job
2021-02-15T17:57:43.1189234Z Agent name: 'Hosted Agent'
2021-02-15T17:57:43.1189618Z Agent machine name: 'fv-az166-815'
2021-02-15T17:57:43.1189853Z Current agent version: '2.181.2'
2021-02-15T17:57:43.1326447Z ##[group]Operating System
2021-02-15T17:57:43.1326726Z Microsoft Windows Server 2019
2021-02-15T17:57:43.1326953Z 10.0.17763
2021-02-15T17:57:43.1327120Z Datacenter
2021-02-15T17:57:43.1327533Z ##[endgroup]
2021-02-15T17:57:43.1327890Z ##[group]Virtual Environment
2021-02-15T17:57:43.1328274Z Environment: windows-2019
2021-02-15T17:57:43.1328489Z Version: 20210202.1
2021-02-15T17:57:43.1328856Z Included Software: https://github.com/actions/virtual-environments/blob/win19/20210202.1/images/win/Windows2019-Readme.md
2021-02-15T17:57:43.1329194Z ##[endgroup]
2021-02-15T17:57:43.1330208Z Current image version: '20210202.1'
2021-02-15T17:57:43.1338254Z Agent running as: 'VssAdministrator'
2021-02-15T17:57:43.1384150Z Prepare build directory.
2021-02-15T17:57:43.1694483Z Set build variables.
2021-02-15T17:57:43.1729119Z Download all required tasks.
2021-02-15T17:57:43.1858752Z Downloading task: AzureKeyVault (1.182.1)
2021-02-15T17:57:45.4440710Z Downloading task: PowerShell (2.180.1)
2021-02-15T17:57:45.8958282Z Downloading task: PublishTestResults (2.180.0)
2021-02-15T17:57:46.9291726Z Downloading task: PublishBuildArtifacts (1.158.3)
2021-02-15T17:57:47.0880993Z Checking job knob settings.
2021-02-15T17:57:47.0889408Z    Knob: AgentToolsDirectory = C:/hostedtoolcache/windows Source: ${AGENT_TOOLSDIRECTORY} 
2021-02-15T17:57:47.0890847Z    Knob: AgentPerflog = c:\vsts\perflog Source: ${VSTS_AGENT_PERFLOG} 
2021-02-15T17:57:47.0892191Z Finished checking job knob settings.
2021-02-15T17:57:47.1261224Z Start tracking orphan processes.
2021-02-15T17:57:47.1331495Z ##[section]Finishing: Initialize job
2021-02-15T17:57:47.1693745Z ##[section]Starting: Download secrets: MyDynamics
2021-02-15T17:57:47.2466981Z ==============================================================================
2021-02-15T17:57:47.2467719Z Task         : Azure Key Vault
2021-02-15T17:57:47.2468487Z Description  : Download Azure Key Vault secrets
2021-02-15T17:57:47.2468755Z Version      : 1.182.1
2021-02-15T17:57:47.2469220Z Author       : Microsoft Corporation
2021-02-15T17:57:47.2469798Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-key-vault
2021-02-15T17:57:47.2470164Z ==============================================================================
2021-02-15T17:57:47.8588280Z ##[section]Finishing: Download secrets: MyDynamics
2021-02-15T17:57:47.8627730Z ##[section]Starting: Download secrets: MyDynamics
2021-02-15T17:57:47.8881902Z ==============================================================================
2021-02-15T17:57:47.8882282Z Task         : Azure Key Vault
2021-02-15T17:57:47.8882564Z Description  : Download Azure Key Vault secrets
2021-02-15T17:57:47.8882830Z Version      : 1.182.1
2021-02-15T17:57:47.8883102Z Author       : Microsoft Corporation
2021-02-15T17:57:47.8883470Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-key-vault
2021-02-15T17:57:47.8883858Z ==============================================================================
2021-02-15T17:57:48.2063672Z SubscriptionId: xxxxxxxxxxxxxxxxxxxxxxxxxxx
2021-02-15T17:57:48.2065026Z Key vault name: MyDynamics.
2021-02-15T17:57:48.2081570Z Downloading secret value for: InsiderSasToken.
2021-02-15T17:57:48.3220693Z Downloading secret value for: LicenseFile.
2021-02-15T17:57:48.3222682Z Downloading secret value for: Password.
2021-02-15T17:57:48.3223900Z Downloading secret value for: StorageConnectionString.
2021-02-15T17:57:48.3224921Z Downloading secret value for: CodeSignCertPfxFile.
2021-02-15T17:57:48.3225950Z Downloading secret value for: codeSignCertPfxPassword.
2021-02-15T17:57:49.1211194Z ##[section]Finishing: Download secrets: MyDynamics
2021-02-15T17:57:49.1259871Z ##[section]Starting: Checkout CeniumErpConnector@master to s
2021-02-15T17:57:49.1398882Z ==============================================================================
2021-02-15T17:57:49.1399220Z Task         : Get sources
2021-02-15T17:57:49.1399567Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2021-02-15T17:57:49.1400110Z Version      : 1.0.0
2021-02-15T17:57:49.1400331Z Author       : Microsoft
2021-02-15T17:57:49.1401962Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2021-02-15T17:57:49.1402393Z ==============================================================================
2021-02-15T17:57:49.7310869Z Syncing repository: CeniumErpConnector (Git)
2021-02-15T17:57:49.7423526Z Prepending Path environment variable with directory containing 'git.exe'.
2021-02-15T17:57:50.4350814Z ##[command]git version
2021-02-15T17:57:50.4375495Z git version 2.28.0.windows.1
2021-02-15T17:57:50.4379560Z ##[command]git lfs version
2021-02-15T17:57:51.6829053Z git-lfs/2.13.2 (GitHub; windows amd64; go 1.14.13; git fc664697)
2021-02-15T17:57:51.6995726Z ##[command]git init "D:\a\1\s"
2021-02-15T17:57:51.8405165Z Initialized empty Git repository in D:/a/1/s/.git/
2021-02-15T17:57:51.8471381Z ##[command]git remote add origin https://CenDynamics@dev.azure.com/CenDynamics/CeniumErpConnector/_git/CeniumErpConnector
2021-02-15T17:57:51.9312868Z ##[command]git config gc.auto 0
2021-02-15T17:57:52.0108016Z ##[command]git config --get-all http.https://CenDynamics@dev.azure.com/CenDynamics/CeniumErpConnector/_git/CeniumErpConnector.extraheader
2021-02-15T17:57:52.0542041Z ##[command]git config --get-all http.proxy
2021-02-15T17:57:52.1029977Z ##[command]git config http.version HTTP/1.1
2021-02-15T17:57:52.1616359Z ##[command]git -c http.extraheader="AUTHORIZATION: bearer ***" fetch --force --tags --prune --progress --no-recurse-submodules origin
2021-02-15T17:57:53.6665062Z remote: Azure Repos        
2021-02-15T17:57:54.6707424Z remote: 
2021-02-15T17:57:54.6758927Z remote: Found 1291 objects to send. (33 ms)        
2021-02-15T17:57:54.6762258Z Receiving objects:   0% (1/1291)
2021-02-15T17:57:54.6765036Z Receiving objects:   1% (13/1291)
2021-02-15T17:57:54.6771572Z Receiving objects:   2% (26/1291)
2021-02-15T17:57:54.6791862Z Receiving objects:   3% (39/1291)
2021-02-15T17:57:54.6793687Z Receiving objects:   4% (52/1291)
2021-02-15T17:57:54.6795008Z Receiving objects:   5% (65/1291)
2021-02-15T17:57:54.6797219Z Receiving objects:   6% (78/1291)
2021-02-15T17:57:54.6798655Z Receiving objects:   7% (91/1291)
2021-02-15T17:57:54.6799598Z Receiving objects:   8% (104/1291)
2021-02-15T17:57:54.6800677Z Receiving objects:   9% (117/1291)
2021-02-15T17:57:54.6801602Z Receiving objects:  10% (130/1291)
2021-02-15T17:57:54.6802925Z Receiving objects:  11% (143/1291)
2021-02-15T17:57:54.6804017Z Receiving objects:  12% (155/1291)
2021-02-15T17:57:54.6804742Z Receiving objects:  13% (168/1291)
2021-02-15T17:57:54.6805630Z Receiving objects:  14% (181/1291)
2021-02-15T17:57:54.8697456Z Receiving objects:  15% (194/1291)
2021-02-15T17:57:54.9673106Z Receiving objects:  16% (207/1291)
2021-02-15T17:57:54.9676993Z Receiving objects:  17% (220/1291)
2021-02-15T17:57:54.9678183Z Receiving objects:  18% (233/1291)
2021-02-15T17:57:54.9679156Z Receiving objects:  19% (246/1291)
2021-02-15T17:57:54.9680104Z Receiving objects:  20% (259/1291)
2021-02-15T17:57:54.9681039Z Receiving objects:  21% (272/1291)
2021-02-15T17:57:54.9681964Z Receiving objects:  22% (285/1291)
2021-02-15T17:57:54.9682895Z Receiving objects:  23% (297/1291)
2021-02-15T17:57:54.9683818Z Receiving objects:  24% (310/1291)
2021-02-15T17:57:54.9684746Z Receiving objects:  25% (323/1291)
2021-02-15T17:57:54.9685673Z Receiving objects:  26% (336/1291)
2021-02-15T17:57:54.9686700Z Receiving objects:  27% (349/1291)
2021-02-15T17:57:54.9687654Z Receiving objects:  28% (362/1291)
2021-02-15T17:57:54.9690264Z Receiving objects:  29% (375/1291)
2021-02-15T17:57:54.9692053Z Receiving objects:  30% (388/1291)
2021-02-15T17:57:54.9693011Z Receiving objects:  31% (401/1291)
2021-02-15T17:57:54.9694000Z Receiving objects:  32% (414/1291)
2021-02-15T17:57:54.9694908Z Receiving objects:  33% (427/1291)
2021-02-15T17:57:54.9696553Z Receiving objects:  34% (439/1291)
2021-02-15T17:57:54.9698538Z Receiving objects:  35% (452/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9699789Z Receiving objects:  36% (465/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9700793Z Receiving objects:  37% (478/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9701790Z Receiving objects:  38% (491/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9702771Z Receiving objects:  39% (504/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9703753Z Receiving objects:  40% (517/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9704734Z Receiving objects:  41% (530/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9706599Z Receiving objects:  42% (543/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9707605Z Receiving objects:  43% (556/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9708558Z Receiving objects:  44% (569/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9709508Z Receiving objects:  45% (581/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9710456Z Receiving objects:  46% (594/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9711420Z Receiving objects:  47% (607/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9712384Z Receiving objects:  48% (620/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9713774Z Receiving objects:  49% (633/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9714719Z Receiving objects:  50% (646/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9715652Z Receiving objects:  51% (659/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9716698Z Receiving objects:  52% (672/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9717671Z Receiving objects:  53% (685/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9718605Z Receiving objects:  54% (698/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9719536Z Receiving objects:  55% (711/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9720634Z Receiving objects:  56% (723/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9721586Z Receiving objects:  57% (736/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9722505Z Receiving objects:  58% (749/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9723427Z Receiving objects:  59% (762/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9724378Z Receiving objects:  60% (775/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9725551Z Receiving objects:  61% (788/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9726553Z Receiving objects:  62% (801/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9727497Z Receiving objects:  63% (814/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9728405Z Receiving objects:  64% (827/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9729307Z Receiving objects:  65% (840/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9732424Z Receiving objects:  66% (853/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9734105Z Receiving objects:  67% (865/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9735363Z Receiving objects:  68% (878/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9736591Z Receiving objects:  69% (891/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9738282Z Receiving objects:  70% (904/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9739566Z Receiving objects:  71% (917/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9741248Z Receiving objects:  72% (930/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9742383Z Receiving objects:  73% (943/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9743347Z Receiving objects:  74% (956/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9744309Z Receiving objects:  75% (969/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9745496Z Receiving objects:  76% (982/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9747224Z Receiving objects:  77% (995/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9749680Z Receiving objects:  78% (1007/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9752149Z Receiving objects:  79% (1020/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9758633Z Receiving objects:  80% (1033/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9760905Z Receiving objects:  81% (1046/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9762160Z Receiving objects:  82% (1059/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9764363Z Receiving objects:  83% (1072/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9766171Z Receiving objects:  84% (1085/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9767559Z Receiving objects:  85% (1098/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9768822Z Receiving objects:  86% (1111/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9769328Z Receiving objects:  87% (1124/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9769830Z Receiving objects:  88% (1137/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9770883Z Receiving objects:  89% (1149/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9771469Z Receiving objects:  90% (1162/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9772346Z Receiving objects:  91% (1175/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9772960Z Receiving objects:  92% (1188/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9773549Z Receiving objects:  93% (1201/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9773984Z Receiving objects:  94% (1214/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9774618Z Receiving objects:  95% (1227/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9775088Z Receiving objects:  96% (1240/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9776398Z Receiving objects:  97% (1253/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9777246Z Receiving objects:  98% (1266/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9778327Z Receiving objects:  99% (1279/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9779036Z Receiving objects: 100% (1291/1291), 3.34 MiB | 6.67 MiB/s
2021-02-15T17:57:54.9780741Z Receiving objects: 100% (1291/1291), 4.55 MiB | 4.78 MiB/s, done.
2021-02-15T17:57:54.9781742Z Resolving deltas:   0% (0/808)
2021-02-15T17:57:54.9782304Z Resolving deltas:   1% (10/808)
2021-02-15T17:57:54.9782766Z Resolving deltas:   2% (18/808)
2021-02-15T17:57:54.9784238Z Resolving deltas:   3% (26/808)
2021-02-15T17:57:54.9784908Z Resolving deltas:   4% (35/808)
2021-02-15T17:57:54.9785336Z Resolving deltas:   5% (42/808)
2021-02-15T17:57:54.9785913Z Resolving deltas:   7% (64/808)
2021-02-15T17:57:54.9786318Z Resolving deltas:   9% (73/808)
2021-02-15T17:57:54.9787025Z Resolving deltas:  10% (81/808)
2021-02-15T17:57:54.9787891Z Resolving deltas:  12% (98/808)
2021-02-15T17:57:54.9789035Z Resolving deltas:  13% (109/808)
2021-02-15T17:57:54.9790188Z Resolving deltas:  19% (154/808)
2021-02-15T17:57:54.9790621Z Resolving deltas:  22% (179/808)
2021-02-15T17:57:54.9791027Z Resolving deltas:  23% (187/808)
2021-02-15T17:57:54.9791460Z Resolving deltas:  24% (199/808)
2021-02-15T17:57:54.9791954Z Resolving deltas:  25% (208/808)
2021-02-15T17:57:54.9792365Z Resolving deltas:  26% (211/808)
2021-02-15T17:57:54.9792766Z Resolving deltas:  27% (220/808)
2021-02-15T17:57:54.9793173Z Resolving deltas:  28% (227/808)
2021-02-15T17:57:54.9793778Z Resolving deltas:  29% (238/808)
2021-02-15T17:57:54.9794484Z Resolving deltas:  30% (243/808)
2021-02-15T17:57:54.9795407Z Resolving deltas:  31% (258/808)
2021-02-15T17:57:54.9796160Z Resolving deltas:  32% (259/808)
2021-02-15T17:57:54.9796859Z Resolving deltas:  33% (274/808)
2021-02-15T17:57:54.9797262Z Resolving deltas:  34% (275/808)
2021-02-15T17:57:54.9797934Z Resolving deltas:  35% (289/808)
2021-02-15T17:57:54.9798344Z Resolving deltas:  36% (291/808)
2021-02-15T17:57:54.9798762Z Resolving deltas:  37% (300/808)
2021-02-15T17:57:54.9799169Z Resolving deltas:  38% (311/808)
2021-02-15T17:57:54.9799576Z Resolving deltas:  39% (316/808)
2021-02-15T17:57:54.9800123Z Resolving deltas:  40% (327/808)
2021-02-15T17:57:54.9800618Z Resolving deltas:  41% (332/808)
2021-02-15T17:57:54.9801022Z Resolving deltas:  42% (340/808)
2021-02-15T17:57:54.9801435Z Resolving deltas:  43% (352/808)
2021-02-15T17:57:54.9801834Z Resolving deltas:  44% (358/808)
2021-02-15T17:57:54.9802242Z Resolving deltas:  45% (365/808)
2021-02-15T17:57:54.9802638Z Resolving deltas:  46% (377/808)
2021-02-15T17:57:54.9803067Z Resolving deltas:  48% (394/808)
2021-02-15T17:57:54.9803465Z Resolving deltas:  49% (397/808)
2021-02-15T17:57:54.9803871Z Resolving deltas:  51% (415/808)
2021-02-15T17:57:54.9804280Z Resolving deltas:  54% (443/808)
2021-02-15T17:57:54.9804732Z Resolving deltas:  55% (446/808)
2021-02-15T17:57:54.9805305Z Resolving deltas:  56% (458/808)
2021-02-15T17:57:54.9806051Z Resolving deltas:  59% (481/808)
2021-02-15T17:57:54.9806638Z Resolving deltas:  62% (501/808)
2021-02-15T17:57:54.9807392Z Resolving deltas:  64% (520/808)
2021-02-15T17:57:54.9808710Z Resolving deltas:  66% (538/808)
2021-02-15T17:57:54.9809258Z Resolving deltas:  69% (562/808)
2021-02-15T17:57:54.9810889Z Resolving deltas:  70% (569/808)
2021-02-15T17:57:54.9811444Z Resolving deltas:  71% (575/808)
2021-02-15T17:57:54.9811828Z Resolving deltas:  74% (601/808)
2021-02-15T17:57:54.9812198Z Resolving deltas:  75% (608/808)
2021-02-15T17:57:54.9813878Z Resolving deltas:  77% (627/808)
2021-02-15T17:57:54.9814349Z Resolving deltas:  83% (676/808)
2021-02-15T17:57:54.9815057Z Resolving deltas:  86% (697/808)
2021-02-15T17:57:54.9815631Z Resolving deltas:  88% (713/808)
2021-02-15T17:57:54.9815984Z Resolving deltas:  89% (720/808)
2021-02-15T17:57:54.9816819Z Resolving deltas:  90% (728/808)
2021-02-15T17:57:54.9817194Z Resolving deltas:  94% (764/808)
2021-02-15T17:57:54.9817937Z Resolving deltas:  95% (768/808)
2021-02-15T17:57:54.9818337Z Resolving deltas:  96% (777/808)
2021-02-15T17:57:54.9819066Z Resolving deltas:  97% (785/808)
2021-02-15T17:57:54.9819798Z Resolving deltas:  98% (793/808)
2021-02-15T17:57:54.9820390Z Resolving deltas:  99% (800/808)
2021-02-15T17:57:54.9820784Z Resolving deltas: 100% (808/808)
2021-02-15T17:57:54.9821374Z Resolving deltas: 100% (808/808), done.
2021-02-15T17:57:55.0911232Z From https://dev.azure.com/CenDynamics/CeniumErpConnector/_git/CeniumErpConnector
2021-02-15T17:57:55.0911823Z  * [new branch]      master     -> origin/master
2021-02-15T17:57:55.1830430Z ##[command]git -c http.extraheader="AUTHORIZATION: bearer ***" fetch --force --tags --prune --progress --no-recurse-submodules origin +0ff7717a789e9a385f8fb0fd1cdebbe85d1cb14a:refs/remotes/origin/0ff7717a789e9a385f8fb0fd1cdebbe85d1cb14a
2021-02-15T17:57:55.7103282Z From https://dev.azure.com/CenDynamics/CeniumErpConnector/_git/CeniumErpConnector
2021-02-15T17:57:55.7124193Z  * [new ref]         0ff7717a789e9a385f8fb0fd1cdebbe85d1cb14a -> origin/0ff7717a789e9a385f8fb0fd1cdebbe85d1cb14a
2021-02-15T17:57:55.7825045Z ##[command]git checkout --progress --force 0ff7717a789e9a385f8fb0fd1cdebbe85d1cb14a
2021-02-15T17:57:55.9485638Z Note: switching to '0ff7717a789e9a385f8fb0fd1cdebbe85d1cb14a'.
2021-02-15T17:57:55.9488867Z 
2021-02-15T17:57:55.9492075Z You are in 'detached HEAD' state. You can look around, make experimental
2021-02-15T17:57:55.9493765Z changes and commit them, and you can discard any commits you make in this
2021-02-15T17:57:55.9495102Z state without impacting any branches by switching back to a branch.
2021-02-15T17:57:55.9495946Z 
2021-02-15T17:57:55.9497613Z If you want to create a new branch to retain commits you create, you may
2021-02-15T17:57:55.9499077Z do so (now or later) by using -c with the switch command. Example:
2021-02-15T17:57:55.9500172Z 
2021-02-15T17:57:55.9500937Z   git switch -c <new-branch-name>
2021-02-15T17:57:55.9501536Z 
2021-02-15T17:57:55.9502303Z Or undo this operation with:
2021-02-15T17:57:55.9502885Z 
2021-02-15T17:57:55.9503623Z   git switch -
2021-02-15T17:57:55.9504194Z 
2021-02-15T17:57:55.9505162Z Turn off this advice by setting config variable advice.detachedHead to false
2021-02-15T17:57:55.9506550Z 
2021-02-15T17:57:55.9507599Z HEAD is now at 0ff7717 on lang appsourcesupportg
2021-02-15T17:57:55.9715008Z ##[section]Finishing: Checkout CeniumErpConnector@master to s
2021-02-15T17:57:55.9749576Z ##[section]Starting: Set BuildNumber
2021-02-15T17:57:55.9875202Z ==============================================================================
2021-02-15T17:57:55.9875500Z Task         : PowerShell
2021-02-15T17:57:55.9875749Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2021-02-15T17:57:55.9876000Z Version      : 2.180.1
2021-02-15T17:57:55.9876395Z Author       : Microsoft Corporation
2021-02-15T17:57:55.9876850Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2021-02-15T17:57:55.9877426Z ==============================================================================
2021-02-15T17:57:57.1511259Z Generating script.
2021-02-15T17:57:57.2732721Z ========================== Starting Command Output ===========================
2021-02-15T17:57:57.3004223Z ##[command]"C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a\_temp\71662bcd-0542-4ed7-9b32-f9d2df2e150d.ps1'"
2021-02-15T17:57:57.6836253Z ##[section]Async Command Start: Update Build Number
2021-02-15T17:57:57.8642340Z Update build number to 2.0.99.0 for build 99
2021-02-15T17:57:57.8642811Z ##[section]Async Command End: Update Build Number
2021-02-15T17:57:57.8644720Z ##[section]Finishing: Set BuildNumber
2021-02-15T17:57:57.8682415Z ##[section]Starting: Run Pipeline
2021-02-15T17:57:57.8813399Z ==============================================================================
2021-02-15T17:57:57.8813703Z Task         : PowerShell
2021-02-15T17:57:57.8814309Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2021-02-15T17:57:57.8814591Z Version      : 2.180.1
2021-02-15T17:57:57.8815138Z Author       : Microsoft Corporation
2021-02-15T17:57:57.8816464Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2021-02-15T17:57:57.8816853Z ==============================================================================
2021-02-15T17:57:58.8679888Z Generating script.
2021-02-15T17:57:58.8736743Z Formatted command: . 'D:\a\1\s\scripts\DevOps-Pipeline.ps1' -environment "AzureDevOps" -version "current" -appBuild 99 -appRevision 0
2021-02-15T17:57:58.9169753Z ========================== Starting Command Output ===========================
2021-02-15T17:57:58.9471489Z ##[command]"C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a\_temp\fedefe65-fb9d-4776-a858-35129e1bf5af.ps1'"
2021-02-15T17:57:59.3660347Z Set artifact = ///us/Current
2021-02-15T17:57:59.3690268Z Set pipelineName = my-current
2021-02-15T17:57:59.3805413Z Set containerName = hostedagent-my-current
2021-02-15T17:57:59.3940253Z Set installApps = ''
2021-02-15T17:57:59.3978301Z Set previousApps = 'https://cenbcapps.blob.core.windows.net/ceniumerpconnector/latest/apps.zip?xxxxxxxxxxxxxxxxxxxx
2021-02-15T17:57:59.4004343Z Set appSourceCopMandatoryAffixes = 'CHS_'
2021-02-15T17:57:59.4033195Z Set appSourceCopSupportedCountries = 'us'
2021-02-15T17:57:59.4061720Z Set appFolders = 'app'
2021-02-15T17:57:59.4091813Z Set testFolders = 'test'
2021-02-15T17:57:59.4126252Z Set memoryLimit = '6G'
2021-02-15T17:57:59.4151461Z Set additionalCountries = ''
2021-02-15T17:57:59.4165642Z Set genericImageName = ''
2021-02-15T17:57:59.4212186Z Set vaultNameForLocal = 'MyDynamics'
2021-02-15T17:57:59.4228756Z Set bcContainerHelperVersion = 'preview'
2021-02-15T17:57:59.4284402Z Set installTestFramework = True
2021-02-15T17:57:59.4328608Z Set installTestLibraries = False
2021-02-15T17:57:59.4358937Z Set installPerformanceToolkit = False
2021-02-15T17:57:59.4393413Z Set enableCodeCop = False
2021-02-15T17:57:59.4425599Z Set enableAppSourceCop = True
2021-02-15T17:57:59.4453649Z Set enablePerTenantExtensionCop = False
2021-02-15T17:57:59.4484337Z Set enableUICop = True
2021-02-15T17:57:59.4512892Z Set doNotSignApps = False
2021-02-15T17:57:59.4523297Z Set doNotRunTests = False
2021-02-15T17:57:59.4533613Z Set cacheImage = False
2021-02-15T17:57:59.4564580Z Set CreateRuntimePackages = True
2021-02-15T17:58:00.0349639Z Downloading https://bccontainerhelper.azureedge.net/public/2.0.6-preview346.zip
2021-02-15T17:58:05.6652064Z BcContainerHelper version 2.0.6-preview346
2021-02-15T17:58:07.0436528Z Determining artifacts to use
2021-02-15T17:58:17.2983381Z   _____                               _                
2021-02-15T17:58:17.2993547Z  |  __ \                             | |               
2021-02-15T17:58:17.3000293Z  | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___ 
2021-02-15T17:58:17.3018941Z  |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
2021-02-15T17:58:17.3028178Z  | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
2021-02-15T17:58:17.3051685Z  |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/
2021-02-15T17:58:17.3052450Z 
2021-02-15T17:58:17.3074014Z Pipeline name               my-current
2021-02-15T17:58:17.3086722Z Container name              hostedagent-my-current
2021-02-15T17:58:17.3094864Z Image name                  
2021-02-15T17:58:17.3109360Z ArtifactUrl                 https://bcartifacts.azureedge.net/sandbox/17.4.21491.22091/us
2021-02-15T17:58:17.3117052Z SasToken                    Not Specified
2021-02-15T17:58:17.3236704Z BcAuthContext               Not Specified
2021-02-15T17:58:17.3320732Z Environment                 
2021-02-15T17:58:17.3398009Z Credential                  admin/Jyxi6703
2021-02-15T17:58:17.3417902Z MemoryLimit                 6G
2021-02-15T17:58:17.3431333Z Enable Task Scheduler       False
2021-02-15T17:58:17.3447796Z Assign Premium Plan         False
2021-02-15T17:58:17.3460840Z Install Test Runner         False
2021-02-15T17:58:17.3477688Z Install Test Framework      True
2021-02-15T17:58:17.3493745Z Install Test Libraries      False
2021-02-15T17:58:17.3513770Z Install Perf. Toolkit       False
2021-02-15T17:58:17.3525075Z CopySymbolsFromContainer    False
2021-02-15T17:58:17.3543398Z enableCodeCop               False
2021-02-15T17:58:17.3555404Z enableAppSourceCop          True
2021-02-15T17:58:17.3575724Z enableUICop                 True
2021-02-15T17:58:17.3582398Z enablePerTenantExtensionCop False
2021-02-15T17:58:17.3596715Z escapeFromCops              False
2021-02-15T17:58:17.3613330Z useDefaultAppSourceRuleSet  False
2021-02-15T17:58:17.3621536Z rulesetFile                 
2021-02-15T17:58:17.3633691Z azureDevOps                 True
2021-02-15T17:58:17.3654973Z License file                Specified
2021-02-15T17:58:17.3663461Z CodeSignCertPfxFile         Specified
2021-02-15T17:58:17.3685520Z TestResultsFile             D:\a\1\s\TestResults.xml
2021-02-15T17:58:17.3700022Z TestResultsFormat           JUnit
2021-02-15T17:58:17.3740028Z AdditionalCountries         
2021-02-15T17:58:17.3754152Z PackagesFolder              D:\a\1\s\.packages
2021-02-15T17:58:17.3767235Z OutputFolder                D:\a\1\s\.output
2021-02-15T17:58:17.3780584Z BuildArtifactFolder         D:\a\1\a
2021-02-15T17:58:17.3794847Z CreateRuntimePackages       True
2021-02-15T17:58:17.3809236Z AppBuild                    99
2021-02-15T17:58:17.3828709Z AppRevision                 0
2021-02-15T17:58:17.3842326Z Mandatory Affixes           CHS_
2021-02-15T17:58:17.3856939Z Supported Countries         us
2021-02-15T17:58:17.3861951Z Install Apps
2021-02-15T17:58:17.3870582Z - None
2021-02-15T17:58:17.3879644Z Install Test Apps
2021-02-15T17:58:17.3884041Z - None
2021-02-15T17:58:17.3890685Z Previous Apps
2021-02-15T17:58:17.3897578Z - https://cenbcapps.blob.core.windows.net/ceniumerpconnector/latest/apps.zip?sp=rl&st=2020-12-29T11:43:43Z&se=2021-12-30T11:43:00Z&sv=2019-12-12&sr=b&sig=CUKA%2FyB%2FpN67ke3H9XUVjMUCxiTfvCchhPcUUB28pqQ%3D
2021-02-15T17:58:17.3903814Z Application folders
2021-02-15T17:58:17.3913466Z - D:\a\1\s\app
2021-02-15T17:58:17.3919577Z Test application folders
2021-02-15T17:58:17.4048838Z - D:\a\1\s\test
2021-02-15T17:58:17.4054287Z 
2021-02-15T17:58:17.4061585Z   _____       _ _ _                                          _        _                            
2021-02-15T17:58:17.4070044Z  |  __ \     | | (_)                                        (_)      (_)                           
2021-02-15T17:58:17.4074746Z  | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___ 
2021-02-15T17:58:17.4083143Z  |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
2021-02-15T17:58:17.4088853Z  | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
2021-02-15T17:58:17.4097175Z  |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
2021-02-15T17:58:17.4101752Z                            __/ |   __/ |                                                 __/ |     
2021-02-15T17:58:17.4111519Z                           |___/   |___/                                                 |___/      
2021-02-15T17:58:17.4112020Z 
2021-02-15T17:58:17.8827638Z Pulling mcr.microsoft.com/businesscentral:10.0.17763.1697
2021-02-15T18:02:42.6897781Z 
2021-02-15T18:02:42.6911042Z Pulling generic image took 265 seconds
2021-02-15T18:02:42.6967397Z 
2021-02-15T18:02:42.6976334Z    _____                _   _                               _        _                 
2021-02-15T18:02:42.6980809Z   / ____|              | | (_)                             | |      (_)                
2021-02-15T18:02:42.6989876Z  | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
2021-02-15T18:02:42.6995005Z  | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2021-02-15T18:02:42.7003473Z  | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |   
2021-02-15T18:02:42.7007755Z   \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
2021-02-15T18:02:42.7016652Z                                      __/ |                                             
2021-02-15T18:02:42.7021703Z                                     |___/                                              
2021-02-15T18:02:42.7024800Z 
2021-02-15T18:02:42.8757120Z WARNING: Container name should not exceed 15 characters
2021-02-15T18:02:43.3238305Z BcContainerHelper is version 2.0.6-preview346
2021-02-15T18:02:43.3247275Z BcContainerHelper is running as administrator
2021-02-15T18:02:43.3268199Z Host is Microsoft Windows Server 2019 Datacenter - ltsc2019
2021-02-15T18:02:44.7577845Z Docker Client Version is 19.03.14
2021-02-15T18:02:44.7608559Z Docker Server Version is 19.03.14
2021-02-15T18:02:45.3455807Z Downloading application artifact /sandbox/17.4.21491.22091/us
2021-02-15T18:02:45.3632267Z Downloading C:\Users\VssAdministrator\AppData\Local\Temp\540d024b-760b-49bc-b0d9-035d1950f491.zip
2021-02-15T18:02:58.4954978Z Unpacking application artifact to tmp folder using 7zip
2021-02-15T18:03:10.1721008Z Downloading platform artifact /sandbox/17.4.21491.22091/platform
2021-02-15T18:03:10.1751187Z Downloading C:\Users\VssAdministrator\AppData\Local\Temp\5d11eb5e-83cb-4fee-adf2-9a0d071c344a.zip
2021-02-15T18:03:29.6868527Z Unpacking platform artifact to tmp folder using 7zip
2021-02-15T18:04:00.4073445Z Downloading Prerequisite Components
2021-02-15T18:04:00.4211849Z Downloading c:\bcartifacts.cache\sandbox\17.4.21491.22091\platform\Prerequisite Components\Open XML SDK 2.5 for Microsoft Office\OpenXMLSDKv25.msi
2021-02-15T18:04:00.4662418Z Downloading c:\bcartifacts.cache\sandbox\17.4.21491.22091\platform\Prerequisite Components\IIS URL Rewrite Module\rewrite_2.0_rtw_x64.msi
2021-02-15T18:04:00.5421743Z Downloading c:\bcartifacts.cache\sandbox\17.4.21491.22091\platform\Prerequisite Components\DotNetCore\DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
2021-02-15T18:04:02.1979000Z Fetching all docker images
2021-02-15T18:04:05.9238972Z Using image mcr.microsoft.com/businesscentral:10.0.17763.1697
2021-02-15T18:04:06.5914931Z Creating Container hostedagent-my-current
2021-02-15T18:04:06.5924640Z Version: 17.4.21491.22091-US
2021-02-15T18:04:06.5942034Z Style: sandbox
2021-02-15T18:04:06.5950164Z Multitenant: Yes
2021-02-15T18:04:06.5963928Z Platform: 17.0.21485.22014
2021-02-15T18:04:06.5972639Z Generic Tag: 1.0.1.3
2021-02-15T18:04:06.6018548Z Container OS Version: 10.0.17763.1697 (ltsc2019)
2021-02-15T18:04:06.6024662Z Host OS Version: 10.0.17763.1697 (ltsc2019)
2021-02-15T18:04:06.6047875Z Using process isolation
2021-02-15T18:04:06.7034335Z Using locale en-US
2021-02-15T18:04:06.7060124Z Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
2021-02-15T18:04:06.8479627Z Using license file https://cenbcapps.blob.core.windows.net/licenses/BC170-NO-W1-Demo.flf
2021-02-15T18:04:06.8485113Z Downloading C:\ProgramData\BcContainerHelper\Extensions\hostedagent-my-current\my\license.flf
2021-02-15T18:04:07.1513851Z Additional Parameters:
2021-02-15T18:04:07.1526477Z --volume "D:\a\1\s:c:\sources"
2021-02-15T18:04:07.1533376Z --env customNavSettings=EnableTaskScheduler=False
2021-02-15T18:04:07.1540666Z Files in C:\ProgramData\BcContainerHelper\Extensions\hostedagent-my-current\my:
2021-02-15T18:04:07.1585588Z - AdditionalOutput.ps1
2021-02-15T18:04:07.1593901Z - license.flf
2021-02-15T18:04:07.1600874Z - MainLoop.ps1
2021-02-15T18:04:07.1608966Z - SetupVariables.ps1
2021-02-15T18:04:07.1617268Z - updatehosts.ps1
2021-02-15T18:04:07.1625739Z Creating container hostedagent-my-current from image mcr.microsoft.com/businesscentral:10.0.17763.1697
2021-02-15T18:04:07.9973800Z xxxxxxxxxxxxxxxxx
2021-02-15T18:04:42.5251404Z Waiting for container hostedagent-my-current to be ready
2021-02-15T18:04:48.8148899Z 
2021-02-15T18:04:48.8149776Z WARNING: Waiting for service 'SQL Server (SQLEXPRESS) (MSSQL$SQLEXPRESS)' to 
2021-02-15T18:04:48.8155960Z start...
2021-02-15T18:04:50.5063336Z Starting Internet Information Server
2021-02-15T18:04:50.5068826Z Copying Service Tier Files
2021-02-15T18:04:54.8058041Z Copying PowerShell Scripts
2021-02-15T18:04:54.8066455Z Copying dependencies
2021-02-15T18:04:54.8072818Z Copying ReportBuilder
2021-02-15T18:04:54.8079288Z Importing PowerShell Modules
2021-02-15T18:05:51.4648458Z Determining Database Collation from c:\dl\sandbox\17.4.21491.22091\us\BusinessCentral-US.bak
2021-02-15T18:05:52.8719355Z Restoring CRONUS Demo Database
2021-02-15T18:05:55.3550502Z Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
2021-02-15T18:07:41.2032894Z Exporting Application to CRONUS
2021-02-15T18:07:45.9209642Z Removing Application from tenant
2021-02-15T18:07:45.9215118Z Modifying Business Central Service Tier Config File for Docker
2021-02-15T18:07:45.9219439Z Creating Business Central Service Tier
2021-02-15T18:07:45.9228291Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2021-02-15T18:07:45.9232054Z Copying Web Client Files
2021-02-15T18:07:45.9241418Z Copying Client Files
2021-02-15T18:07:45.9245529Z Copying ModernDev Files
2021-02-15T18:07:45.9262892Z Copying additional files
2021-02-15T18:07:45.9263361Z Copying ConfigurationPackages
2021-02-15T18:07:45.9263724Z Copying Test Assemblies
2021-02-15T18:07:45.9270913Z Copying Extensions
2021-02-15T18:07:45.9279964Z Copying Applications
2021-02-15T18:07:45.9284141Z Copying Applications.US
2021-02-15T18:08:08.0829247Z Starting Business Central Service Tier
2021-02-15T18:08:09.2771458Z Importing license file
2021-02-15T18:08:09.2778313Z Copying Database on localhost\SQLEXPRESS from tenant to default
2021-02-15T18:08:30.1926435Z Taking database tenant offline
2021-02-15T18:08:30.1935698Z Copying database files
2021-02-15T18:08:30.1940321Z Attaching files as new Database default
2021-02-15T18:08:30.1953109Z Putting database tenant back online
2021-02-15T18:08:30.1956847Z Mounting tenant database
2021-02-15T18:10:09.0018229Z Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
2021-02-15T18:10:09.0097395Z Sync'ing Tenant
2021-02-15T18:10:09.0174010Z Tenant is Operational
2021-02-15T18:10:11.7045522Z Stopping Business Central Service Tier
2021-02-15T18:10:11.7056641Z Installation took 331 seconds
2021-02-15T18:10:11.7067886Z Installation complete
2021-02-15T18:10:11.7095760Z Initializing...
2021-02-15T18:10:11.7104500Z Setting host.containerhelper.internal to 172.30.0.1 in container hosts file
2021-02-15T18:10:11.7115029Z Starting Container
2021-02-15T18:10:11.7121169Z Hostname is hostedagent-my-current
2021-02-15T18:10:11.7592215Z PublicDnsName is hostedagent-my-current
2021-02-15T18:10:11.7600697Z Using NavUserPassword Authentication
2021-02-15T18:10:14.4404511Z Creating Self Signed Certificate
2021-02-15T18:10:14.4418964Z Self Signed Certificate Thumbprint xxxxxxxxxxxxxx
2021-02-15T18:10:14.4429720Z Modifying Service Tier Config File with Instance Specific Settings
2021-02-15T18:10:14.4430741Z Modifying Service Tier Config File with settings from environment variable
2021-02-15T18:10:16.2331038Z Setting EnableTaskScheduler to False
2021-02-15T18:10:24.5178188Z Starting Service Tier
2021-02-15T18:10:24.5184038Z Registering event sources
2021-02-15T18:10:33.3898892Z Creating DotNetCore Web Server Instance
2021-02-15T18:10:33.3960222Z Enabling Financials User Experience
2021-02-15T18:10:33.4009610Z Enabling rewrite rule: Don't rewrite system files
2021-02-15T18:10:33.4020696Z Enabling rewrite rule: Already have tenant specified
2021-02-15T18:10:33.4025488Z Enabling rewrite rule: Hostname (without port) to tenant
2021-02-15T18:10:34.3705617Z Using license file 'c:\run\my\license.flf'
2021-02-15T18:10:34.3724939Z Import License
2021-02-15T18:10:36.1873856Z Dismounting Tenant
2021-02-15T18:10:36.1914108Z Mounting Tenant
2021-02-15T18:10:43.5046079Z Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
2021-02-15T18:10:43.5054215Z Sync'ing Tenant
2021-02-15T18:10:43.5256669Z Tenant is Operational
2021-02-15T18:10:44.6950772Z Creating http download site
2021-02-15T18:10:44.6960358Z Setting SA Password and enabling SA
2021-02-15T18:10:44.6963506Z Creating admin as SQL User and add to sysadmin
2021-02-15T18:10:53.2972732Z Creating SUPER user
2021-02-15T18:10:53.2979528Z Container IP Address: 172.30.14.230
2021-02-15T18:10:53.2989331Z Container Hostname  : hostedagent-my-current
2021-02-15T18:10:53.2995620Z Container Dns Name  : hostedagent-my-current
2021-02-15T18:10:53.3005002Z Web Client          : http://hostedagent-my-current/BC/?tenant=default
2021-02-15T18:10:53.3013207Z Dev. Server         : http://hostedagent-my-current
2021-02-15T18:10:53.3029935Z Dev. ServerInstance : BC
2021-02-15T18:10:53.3030412Z Dev. Server Tenant  : default
2021-02-15T18:10:53.3036490Z Setting hostedagent-my-current to xxxx in host hosts file
2021-02-15T18:10:53.3044068Z Setting hostedagent-my-current-default to xxxx in host hosts file
2021-02-15T18:10:53.3047748Z 
2021-02-15T18:10:53.3056573Z Files:
2021-02-15T18:10:53.3063692Z http://hostedagent-my-current:8080/ALLanguage.vsix
2021-02-15T18:10:53.3068342Z 
2021-02-15T18:10:53.3081950Z Container Total Physical Memory is 7.0Gb
2021-02-15T18:10:53.3084124Z Container Free Physical Memory is 2.9Gb
2021-02-15T18:10:53.3087751Z 
2021-02-15T18:10:53.3096352Z Initialization took 44 seconds
2021-02-15T18:10:53.3102952Z Ready for connections!
2021-02-15T18:10:53.3928099Z Reading CustomSettings.config from hostedagent-my-current
2021-02-15T18:10:56.0769913Z Creating Desktop Shortcuts for hostedagent-my-current
2021-02-15T18:10:56.8708738Z Container hostedagent-my-current successfully created
2021-02-15T18:10:56.8712862Z 
2021-02-15T18:10:56.8719307Z Use:
2021-02-15T18:10:56.8729760Z Get-BcContainerEventLog -containerName hostedagent-my-current to retrieve a snapshot of the event log from the container
2021-02-15T18:10:56.8744028Z Get-BcContainerDebugInfo -containerName hostedagent-my-current to get debug information about the container
2021-02-15T18:10:56.8757318Z Enter-BcContainer -containerName hostedagent-my-current to open a PowerShell prompt inside the container
2021-02-15T18:10:56.8771760Z Remove-BcContainer -containerName hostedagent-my-current to remove the container again
2021-02-15T18:10:56.8786548Z docker logs hostedagent-my-current to retrieve information about URL's again
2021-02-15T18:10:56.8962262Z 
2021-02-15T18:10:56.8969560Z Creating container took 494 seconds
2021-02-15T18:10:56.8977052Z 
2021-02-15T18:10:56.8985751Z    _____                      _ _ _                                     
2021-02-15T18:10:56.8993697Z   / ____|                    (_) (_)                                    
2021-02-15T18:10:56.9003552Z  | |     ___  _ __ ___  _ __  _| |_ _ __   __ _    __ _ _ __  _ __  ___ 
2021-02-15T18:10:56.9011979Z  | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` |  / _` | '_ \| '_ \/ __|
2021-02-15T18:10:56.9020082Z  | |____ (_) | | | | | | |_) | | | | | | | (_| | | (_| | |_) | |_) \__ \
2021-02-15T18:10:56.9035528Z   \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
2021-02-15T18:10:56.9047297Z                        | |                 __/ |       | |   | |        
2021-02-15T18:10:56.9052699Z                        |_|                |___/        |_|   |_|        
2021-02-15T18:10:56.9056381Z 
2021-02-15T18:10:57.1237087Z Using Version 17.0.99.0
2021-02-15T18:10:57.2322988Z Copying previous apps to packages folder
2021-02-15T18:10:57.2483002Z Downloading C:\Users\VssAdministrator\AppData\Local\Temp\560aadba-9a42-4a2a-b7bd-0c8d47b3689e
2021-02-15T18:10:58.3509029Z Extracting D:\a\1\s\.packages\Cenium AS_Cenium Hospitality ERP Connector_17.0.93.0.app
2021-02-15T18:10:58.5907263Z Cenium AS_Cenium Hospitality ERP Connector = 17.0.93.0
2021-02-15T18:10:58.6314820Z Creating AppSourceCop.json for validation
2021-02-15T18:10:59.5873671Z Using Symbols Folder: D:\a\1\s\.packages
2021-02-15T18:11:09.3377771Z Downloading symbols: Microsoft_Application_17.4.21491.22091.app
2021-02-15T18:11:09.3389873Z Url : http://172.30.14.230:7049/BC/dev/packages?publisher=Microsoft&appName=Application&versionText=17.0.0.0&tenant=default
2021-02-15T18:11:12.9886431Z Adding dependency to System Application from Microsoft
2021-02-15T18:11:12.9913471Z Adding dependency to Base Application from Microsoft
2021-02-15T18:11:13.0746937Z Downloading symbols: Microsoft_System_17.0.21485.22014.app
2021-02-15T18:11:13.0751553Z Url : http://172.30.14.230:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=17.0.0.0&tenant=default
2021-02-15T18:11:13.4054690Z Downloading symbols: Microsoft_System Application_17.4.21491.22091.app
2021-02-15T18:11:13.4062056Z Url : http://172.30.14.230:7049/BC/dev/packages?publisher=Microsoft&appName=System Application&versionText=17.4.0.0&tenant=default
2021-02-15T18:11:14.0211557Z Downloading symbols: Microsoft_Base Application_17.4.21491.22091.app
2021-02-15T18:11:14.0217691Z Url : http://172.30.14.230:7049/BC/dev/packages?publisher=Microsoft&appName=Base Application&versionText=17.4.0.0&tenant=default
2021-02-15T18:11:15.1787639Z Compiling...
2021-02-15T18:11:15.1887985Z .\alc.exe /project:"c:\sources\app" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\Cenium AS_Cenium Hospitality ERP Connector_17.0.99.0.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll /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-02-15T18:11:28.4732421Z App generation failed
2021-02-15T18:11:28.4753062Z at <ScriptBlock>, <No file>: line 53
2021-02-15T18:11:28.4798988Z at Invoke-ScriptInBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview346\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 44
2021-02-15T18:11:28.4808780Z at Compile-AppInBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview346\AppHandling\Compile-AppInNavContainer.ps1: line 430
2021-02-15T18:11:28.4815787Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview346\AppHandling\Run-AlPipeline.ps1: line 470
2021-02-15T18:11:28.4827624Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview346\AppHandling\Run-AlPipeline.ps1: line 1032
2021-02-15T18:11:28.4835893Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview346\AppHandling\Run-AlPipeline.ps1: line 779
2021-02-15T18:11:28.4839059Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview346\AppHandling\Run-AlPipeline.ps1: line 771
2021-02-15T18:11:28.4848854Z at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview346\AppHandling\Run-AlPipeline.ps1: line 548
2021-02-15T18:11:28.4853698Z at Run-AlPipeline, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview346\AppHandling\Run-AlPipeline.ps1: line 514
2021-02-15T18:11:28.4858655Z at <ScriptBlock>, D:\a\1\s\scripts\DevOps-Pipeline.ps1: line 49
2021-02-15T18:11:28.4865790Z at <ScriptBlock>, D:\a\_temp\fedefe65-fb9d-4776-a858-35129e1bf5af.ps1: line 3
2021-02-15T18:11:28.4872811Z at <ScriptBlock>, <No file>: line 1
2021-02-15T18:11:28.6063757Z 
2021-02-15T18:11:28.6075747Z   _____                           _                _____            _        _                 
2021-02-15T18:11:28.6078543Z  |  __ \                         (_)              / ____|          | |      (_)                
2021-02-15T18:11:28.6086453Z  | |__) |___ _ __ ___   _____   ___ _ __   __ _  | |     ___  _ __ | |_ __ _ _ _ __   ___ _ __ 
2021-02-15T18:11:28.6091828Z  |  _  // _ \ '_ ` _ \ / _ \ \ / / | '_ \ / _` | | |    / _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2021-02-15T18:11:28.6098103Z  | | \ \  __/ | | | | | (_) \ V /| | | | | (_| | | |____ (_) | | | | |_ (_| | | | | |  __/ |   
2021-02-15T18:11:28.6106911Z  |_|  \_\___|_| |_| |_|\___/ \_/ |_|_| |_|\__, |  \_____\___/|_| |_|\__\__,_|_|_| |_|\___|_|   
2021-02-15T18:11:28.6122358Z                                            __/ |                                               
2021-02-15T18:11:28.6123087Z                                           |___/                                                
2021-02-15T18:11:28.6127287Z 
2021-02-15T18:11:29.9262834Z Removing container hostedagent-my-current
2021-02-15T18:11:31.8251366Z Removing hostedagent-my-current from host hosts file
2021-02-15T18:11:31.9775096Z Removing hostedagent-my-current-* from host hosts file
2021-02-15T18:11:32.0082705Z Removing C:\ProgramData\BcContainerHelper\Extensions\hostedagent-my-current
2021-02-15T18:11:32.0279634Z 
2021-02-15T18:11:32.0282302Z Removing container took 3 seconds
2021-02-15T18:11:32.7655962Z ##[error]App generation failed
At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview346\ContainerHandling\Invoke-ScriptInNavCo
ntainer.ps1:45 char:13
+             throw $_.Exception.Message
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (App generation failed:String) [], RuntimeException
    + FullyQualifiedErrorId : App generation failed
2021-02-15T18:11:32.8090136Z ##[error]PowerShell exited with code '1'.
2021-02-15T18:11:32.8792002Z ##[section]Finishing: Run Pipeline
2021-02-15T18:11:32.9987844Z ##[section]Starting: Cleanup
2021-02-15T18:11:33.0797101Z ==============================================================================
2021-02-15T18:11:33.0797507Z Task         : PowerShell
2021-02-15T18:11:33.0797886Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2021-02-15T18:11:33.0798615Z Version      : 2.180.1
2021-02-15T18:11:33.0799070Z Author       : Microsoft Corporation
2021-02-15T18:11:33.0799417Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2021-02-15T18:11:33.0799851Z ==============================================================================
2021-02-15T18:11:34.9229131Z Generating script.
2021-02-15T18:11:34.9282974Z Formatted command: . 'D:\a\1\s\scripts\Cleanup.ps1' -environment "AzureDevOps"
2021-02-15T18:11:34.9777393Z ========================== Starting Command Output ===========================
2021-02-15T18:11:35.0052722Z ##[command]"C:\windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". 'D:\a\_temp\5442f760-9f2f-4264-a6fe-33296ea1a04a.ps1'"
2021-02-15T18:11:35.4662990Z Version not defined, using ci
2021-02-15T18:11:35.4849335Z Set artifact = //17.0.17126.17791/us
2021-02-15T18:11:35.4915979Z Set pipelineName = my-ci
2021-02-15T18:11:35.4991511Z Set containerName = hostedagent-my-ci
2021-02-15T18:11:35.5276801Z Set installApps = ''
2021-02-15T18:11:35.5311050Z Set previousApps = 'https://cenbcapps.blob.core.windows.net/ceniumerpconnector/latest/apps.zip?sp=rl&st=2020-12-29T11:43:43Z&se=2021-12-30T11:43:00Z&sv=2019-12-12&sr=b&sig=CUKA%2FyB%2FpN67ke3H9XUVjMUCxiTfvCchhPcUUB28pqQ%3D'
2021-02-15T18:11:35.5340393Z Set appSourceCopMandatoryAffixes = 'CHS_'
2021-02-15T18:11:35.5377018Z Set appSourceCopSupportedCountries = 'us'
2021-02-15T18:11:35.5403174Z Set appFolders = 'app'
2021-02-15T18:11:35.5436136Z Set testFolders = 'test'
2021-02-15T18:11:35.5470790Z Set memoryLimit = '6G'
2021-02-15T18:11:35.5505288Z Set additionalCountries = ''
2021-02-15T18:11:35.5518270Z Set genericImageName = ''
2021-02-15T18:11:35.5552333Z Set vaultNameForLocal = 'MyDynamics'
2021-02-15T18:11:35.5594966Z Set bcContainerHelperVersion = 'preview'
2021-02-15T18:11:35.5646904Z Set installTestFramework = True
2021-02-15T18:11:35.5697980Z Set installTestLibraries = False
2021-02-15T18:11:35.5731897Z Set installPerformanceToolkit = False
2021-02-15T18:11:35.5762910Z Set enableCodeCop = False
2021-02-15T18:11:35.5794093Z Set enableAppSourceCop = True
2021-02-15T18:11:35.5826401Z Set enablePerTenantExtensionCop = False
2021-02-15T18:11:35.5854449Z Set enableUICop = True
2021-02-15T18:11:35.5889321Z Set doNotSignApps = False
2021-02-15T18:11:35.5903826Z Set doNotRunTests = False
2021-02-15T18:11:35.5914360Z Set cacheImage = False
2021-02-15T18:11:35.5942893Z Set CreateRuntimePackages = True
2021-02-15T18:11:35.6445575Z ##[section]Finishing: Cleanup
2021-02-15T18:11:35.6529958Z ##[section]Starting: Checkout CeniumErpConnector@master to s
2021-02-15T18:11:35.6724555Z ==============================================================================
2021-02-15T18:11:35.6724914Z Task         : Get sources
2021-02-15T18:11:35.6725224Z Description  : Get sources from a repository. Supports Git, TfsVC, and SVN repositories.
2021-02-15T18:11:35.6725595Z Version      : 1.0.0
2021-02-15T18:11:35.6725850Z Author       : Microsoft
2021-02-15T18:11:35.6726157Z Help         : [More Information](https://go.microsoft.com/fwlink/?LinkId=798199)
2021-02-15T18:11:35.6731208Z ==============================================================================
2021-02-15T18:11:36.4005476Z Cleaning any cached credential from repository: CeniumErpConnector (Git)
2021-02-15T18:11:36.4129129Z ##[section]Finishing: Checkout CeniumErpConnector@master to s
2021-02-15T18:11:36.4249961Z ##[section]Starting: Finalize Job
2021-02-15T18:11:36.4343774Z Cleaning up task key
2021-02-15T18:11:36.4345422Z Start cleaning up orphan processes.
2021-02-15T18:11:36.5200441Z ##[section]Finishing: Finalize Job
2021-02-15T18:11:36.5261701Z ##[section]Finishing: Build
freddydk commented 3 years ago

I have made a small change, which tests the return value of the AL compiler differently. Please test again when the next preview is available (in ~4 hours) and let me know if this still fails.

ghost commented 3 years ago

thx for picking up the case. the build failed again using preview 347.

I did stumble on a ticket regarding alc.exe and reports that I thought might be related. I only have a few processing reports, so no rdlc.

Here is a snip from the log:

   _____                      _ _ _                                     
  / ____|                    (_) (_)                                    
 | |     ___  _ __ ___  _ __  _| |_ _ __   __ _    __ _ _ __  _ __  ___ 
 | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` |  / _` | '_ \| '_ \/ __|
 | |____ (_) | | | | | | |_) | | | | | | | (_| | | (_| | |_) | |_) \__ \
  \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
                       | |                 __/ |       | |   | |        
                       |_|                |___/        |_|   |_|        

Using Version 17.0.101.0
Copying previous apps to packages folder
Downloading C:\Users\VssAdministrator\AppData\Local\Temp\26ef1d7a-2e94-45f0-95be-4bb11d267d9d
Extracting D:\a\1\s\.packages\Cenium AS_Cenium Hospitality ERP Connector_17.0.93.0.app
Cenium AS_Cenium Hospitality ERP Connector = 17.0.93.0
Creating AppSourceCop.json for validation
Using Symbols Folder: D:\a\1\s\.packages
Downloading symbols: Microsoft_Application_17.4.21491.22091.app
Url : http://172.24.98.100: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.21485.22014.app
Url : http://172.24.98.100:7049/BC/dev/packages?publisher=Microsoft&appName=System&versionText=17.0.0.0&tenant=default
Downloading symbols: Microsoft_System Application_17.4.21491.22091.app
Url : http://172.24.98.100:7049/BC/dev/packages?publisher=Microsoft&appName=System Application&versionText=17.4.0.0&tenant=default
Downloading symbols: Microsoft_Base Application_17.4.21491.22091.app
Url : http://172.24.98.100:7049/BC/dev/packages?publisher=Microsoft&appName=Base Application&versionText=17.4.0.0&tenant=default
Compiling...
.\alc.exe /project:"c:\sources\app" /packagecachepath:"c:\sources\.packages" /out:"c:\sources\.output\Cenium AS_Cenium Hospitality ERP Connector_17.0.101.0.app" /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.AppSourceCop.dll /analyzer:C:\build\vsix\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll /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"
App generation failed with exit code 1
at <ScriptBlock>, <No file>: line 53
at Invoke-ScriptInBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview347\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 44
at Compile-AppInBcContainer, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview347\AppHandling\Compile-AppInNavContainer.ps1: line 430
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview347\AppHandling\Run-AlPipeline.ps1: line 470
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview347\AppHandling\Run-AlPipeline.ps1: line 1032
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview347\AppHandling\Run-AlPipeline.ps1: line 779
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview347\AppHandling\Run-AlPipeline.ps1: line 771
at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview347\AppHandling\Run-AlPipeline.ps1: line 548
at Run-AlPipeline, C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\2.0.6-preview347\AppHandling\Run-AlPipeline.ps1: line 514
at <ScriptBlock>, D:\a\1\s\scripts\DevOps-Pipeline.ps1: line 49
    + CategoryInfo          : OperationStopped: (App generation failed with exit code 1:String) [], RuntimeException
    + FullyQualifiedErrorId : App generation failed with exit code 1
##[error]PowerShell exited with code '1'.
Finishing: Run Pipeline
freddydk commented 3 years ago

You can switch to latest bccontainerhelper instead of preview, then your build works again.

If possible, I would like to investigate what in your app causes this problem - alc.exe exits with exitcode 1 without signalling any error. I have emailed the moderndev team and asked how this can be, but we might need your app in order to repro the problem. You can email freddyk at microsoft dot com if you would be able to share your source with Microsoft in order to find a reason for this,.

freddydk commented 3 years ago

Shipped in BcContainerHelper 2.0.6