microsoft / AL-Go

The plug-and-play DevOps solution for Business Central app development on GitHub
MIT License
274 stars 114 forks source link

Error running CI/CD action Build stage #933

Open davidaparicioalvarez opened 7 months ago

davidaparicioalvarez commented 7 months ago

Hi,

I run a CI/CD action and raise an error during Creating container:

2024-02-14T18:06:22.8388436Z ##[group]Run microsoft/AL-Go-Actions/RunPipeline@v4.1
2024-02-14T18:06:22.8389058Z with:
2024-02-14T18:06:22.8389329Z   shell: powershell
2024-02-14T18:06:22.8406496Z   parentTelemetryScopeJson: 7b22506172616d6574657273223a7b7d2c22456d6974746564223a66616c73652c22436f7272656c6174696f6e4964223a2230393232626135652d646233622d346231342d623735352d396531626637346437343635222c22506172656e744964223a22222c22416c6c506172616d6574657273223a7b7d2c22546f704964223a2230393232626135652d646233622d346231342d623735352d396531626637346437343635222c224e616d65223a22414c2d476f20776f726b666c6f772072616e3a2043494344222c22537461727454696d65223a225c2f446174652831373037393333393037373231295c2f222c2250726f70657274696573223a7b226576656e744964223a22444f30303931222c226263436f6e7461696e657248656c70657256657273696f6e223a22362e302e35222c22697341646d696e6973747261746f72223a2254727565222c22737461636b5472616365223a225b5c6e2020496e697454656c656d6574727953636f70652061742054656c656d6574727948656c7065722e7073313a206c696e65203231345c6e202043726561746553636f70652061742054656c656d6574727948656c7065722e70736d313a206c696e652037355c6e2020576f726b666c6f77496e697469616c697a652e70733120617420576f726b666c6f77496e697469616c697a652e7073313a206c696e652033355c6e202065303961646335302d623737342d343465362d623761312d6231363730636665326230352e7073312061742065303961646335302d623737342d343465362d623761312d6231363730636665326230352e7073313a206c696e6520345c6e20205c7530303363536372697074426c6f636b5c7530303365206174205c75303033634e6f2066696c655c75303033655c6e5d222c22414c476f56657273696f6e223a2276342e31222c2274797065223a22505445222c2274656d706c61746555726c223a2268747470733a2f2f6769746875622e636f6d2f6d6963726f736f66742f414c2d476f2d505445406d61696e222c227265706f7369746f7279223a22415041574152452f5350414e4953484b495453222c2272756e417474656d7074223a2236222c2272756e4e756d626572223a223832222c2272756e4964223a2237393031343431383936227d2c224576656e744964223a22444f30303931227d
2024-02-14T18:06:22.8424984Z   artifact: https://bcartifacts.azureedge.net/sandbox/23.4.15643.16218/es
2024-02-14T18:06:22.8425692Z   project: .
2024-02-14T18:06:22.8425989Z   buildMode: Default
2024-02-14T18:06:22.8426327Z   installAppsJson: []
2024-02-14T18:06:22.8426679Z   installTestAppsJson: []
2024-02-14T18:06:22.8427289Z   token: ***
2024-02-14T18:06:22.8427573Z env:
2024-02-14T18:06:22.8427833Z   ALGoOrgSettings: 
2024-02-14T18:06:22.8428164Z   ALGoRepoSettings: 
2024-02-14T18:06:22.8428741Z   artifact: https://bcartifacts.azureedge.net/sandbox/23.4.15643.16218/es
2024-02-14T18:06:22.8429462Z   keyVaultCodesignCertificateName: 
2024-02-14T18:06:22.8430078Z   generateDependencyArtifact: True
2024-02-14T18:06:22.8430523Z   doNotRunTests: False
2024-02-14T18:06:22.8430872Z   doNotSignApps: False
2024-02-14T18:06:22.8431566Z   useCompilerFolder: False
2024-02-14T18:06:22.8457878Z   Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":82,"installTestApps":[],"versioningStrategy":0,"installApps":[],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","country":"es","alDoc":{"continuousDeployment":false,"deployToGitHubPages":true,"maxReleases":3,"groupByProject":true,"includeProjects":[],"excludeProjects":[],"header":"Documentation for {REPOSITORY} {VERSION}","footer":"Documentation for \u003ca href=\"https://github.com/{REPOSITORY}\"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href=\"https://aka.ms/AL-Go\"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=2247728\"\u003eALDoc\u003c/a\u003e and \u003ca href=\"https://dotnet.github.io/docfx\"\u003eDocFx\u003c/a\u003e","defaultIndexMD":"## Reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}","defaultReleaseMD":"## Release reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}"},"templateSha":"1e6ebb58fc629cc134759f996f9be9ab6ada7fb4","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","configPackages":[],"generateDependencyArtifact":true,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"self-hosted","doNotBuildTests":false,"environments":["Production (PROD)","Test","Sandbox"],"companyName":"","assignPremiumPlan":false,"artifact":"","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"1.0","doNotPublishApps":false,"githubRunnerShell":"powershell","appFolders":[],"cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","treatTestFailuresAsWarnings":false,"additionalCountries":[],"enableUICop":false,"customCodeCops":[],"appDependencies":[],"doNotRunBcptTests":false,"appDependencyProbingPaths":[],"useCompilerFolder":false,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","shell":"powershell","failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","projects":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":5,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","vsixFile":"","useProjectDependencies":true,"unusedALGoSystemFiles":[],"buildModes":[],"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","doNotSignApps":false,"repoName":"SPANISHKITS","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
2024-02-14T18:06:22.8487003Z   BcContainerHelperPath: C:\ProgramData\BcContainerHelper\6.0.5\BcContainerHelper\BcContainerHelper.ps1
2024-02-14T18:06:22.8487928Z   artifactCacheKey: 
2024-02-14T18:06:22.8489060Z   Secrets: {"licenseFileUrl":"","codeSignCertificateUrl":"","*codeSignCertificatePassword":"","gitHubPackagesContext":"","applicationInsightsConnectionString":""}
2024-02-14T18:06:22.8490296Z   BuildMode: Default
2024-02-14T18:06:22.8490618Z ##[endgroup]
2024-02-14T18:06:22.8744893Z ##[group]Run $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-02-14T18:06:22.8746373Z $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0
2024-02-14T18:06:22.8747276Z try {
2024-02-14T18:06:22.8749539Z   C:\actions-runner\_work\_actions\microsoft\AL-Go-Actions\v4.1\RunPipeline/RunPipeline.ps1 -token $ENV:_token -parentTelemetryScopeJson $ENV:_parentTelemetryScopeJson -artifact $ENV:_artifact -project $ENV:_project -buildMode $ENV:_buildMode -installAppsJson $ENV:_installAppsJson -installTestAppsJson $ENV:_installTestAppsJson
2024-02-14T18:06:22.8751913Z }
2024-02-14T18:06:22.8753245Z catch {
2024-02-14T18:06:22.8754629Z   Write-Host "::ERROR::Unexpected error when running action. Error Message: $($_.Exception.Message.Replace("`r",'').Replace("`n",' ')), StackTrace: $($_.ScriptStackTrace.Replace("`r",'').Replace("`n",' <- '))";
2024-02-14T18:06:22.8756105Z   exit 1
2024-02-14T18:06:22.8756404Z }
2024-02-14T18:06:22.8771182Z shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"
2024-02-14T18:06:22.8771959Z env:
2024-02-14T18:06:22.8772233Z   ALGoOrgSettings: 
2024-02-14T18:06:22.8772570Z   ALGoRepoSettings: 
2024-02-14T18:06:22.8773158Z   artifact: https://bcartifacts.azureedge.net/sandbox/23.4.15643.16218/es
2024-02-14T18:06:22.8773895Z   keyVaultCodesignCertificateName: 
2024-02-14T18:06:22.8774389Z   generateDependencyArtifact: True
2024-02-14T18:06:22.8774831Z   doNotRunTests: False
2024-02-14T18:06:22.8775180Z   doNotSignApps: False
2024-02-14T18:06:22.8775536Z   useCompilerFolder: False
2024-02-14T18:06:22.8801565Z   Settings: {"keyVaultCertificateUrlSecretName":"","microsoftTelemetryConnectionString":"InstrumentationKey=84bd9223-67d4-4378-8590-9e4a46023be2;IngestionEndpoint=https://westeurope-1.in.applicationinsights.azure.com/","type":"PTE","sendExtendedTelemetryToMicrosoft":false,"appBuild":82,"installTestApps":[],"versioningStrategy":0,"installApps":[],"installTestLibraries":false,"runNumberOffset":0,"codeSignCertificatePasswordSecretName":"codeSignCertificatePassword","country":"es","alDoc":{"continuousDeployment":false,"deployToGitHubPages":true,"maxReleases":3,"groupByProject":true,"includeProjects":[],"excludeProjects":[],"header":"Documentation for {REPOSITORY} {VERSION}","footer":"Documentation for \u003ca href=\"https://github.com/{REPOSITORY}\"\u003e{REPOSITORY}\u003c/a\u003e made with \u003ca href=\"https://aka.ms/AL-Go\"\u003eAL-Go for GitHub\u003c/a\u003e, \u003ca href=\"https://go.microsoft.com/fwlink/?linkid=2247728\"\u003eALDoc\u003c/a\u003e and \u003ca href=\"https://dotnet.github.io/docfx\"\u003eDocFx\u003c/a\u003e","defaultIndexMD":"## Reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultIndexMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}","defaultReleaseMD":"## Release reference documentation\\n\\nThis is the generated reference documentation for [{REPOSITORY}](https://github.com/{REPOSITORY}).\\n\\nYou can use the navigation bar at the top and the table of contents to the left to navigate your documentation.\\n\\nYou can change this content by creating/editing the **{INDEXTEMPLATERELATIVEPATH}** file in your repository or use the alDoc:defaultReleaseMD setting in your repository settings file (.github/AL-Go-Settings.json)\\n\\n{RELEASENOTES}"},"templateSha":"1e6ebb58fc629cc134759f996f9be9ab6ada7fb4","partnerTelemetryConnectionString":"","doNotRunTests":false,"enableCodeAnalyzersOnTestApps":false,"runs-on":"windows-latest","configPackages":[],"generateDependencyArtifact":true,"excludeEnvironments":[],"keyVaultCertificatePasswordSecretName":"","rulesetFile":"","licenseFileUrlSecretName":"licenseFileUrl","enableExternalRulesets":false,"memoryLimit":"","keyVaultClientIdSecretName":"","testFolders":[],"githubRunner":"self-hosted","doNotBuildTests":false,"environments":["Production (PROD)","Test","Sandbox"],"companyName":"","assignPremiumPlan":false,"artifact":"","ghTokenWorkflowSecretName":"ghTokenWorkflow","enableTaskScheduler":false,"enableCodeCop":false,"repoVersion":"1.0","doNotPublishApps":false,"githubRunnerShell":"powershell","appFolders":[],"cacheKeepDays":3,"bcptTestFolders":[],"updateDependencies":false,"cacheImageName":"my","treatTestFailuresAsWarnings":false,"additionalCountries":[],"enableUICop":false,"customCodeCops":[],"appDependencies":[],"doNotRunBcptTests":false,"appDependencyProbingPaths":[],"useCompilerFolder":false,"installTestFramework":false,"keyVaultCodesignCertificateName":"","keyVaultName":"","installOnlyReferencedApps":true,"obsoleteTagMinAllowedMajorMinor":"","applicationDependency":"18.0.0.0","applicationInsightsConnectionStringSecretName":"applicationInsightsConnectionString","shell":"powershell","failOn":"error","templateUrl":"https://github.com/microsoft/AL-Go-PTE@main","projects":[],"appSourceCopMandatoryAffixes":[],"projectName":".","testDependencies":[],"appRevision":5,"codeSignCertificateUrlSecretName":"codeSignCertificateUrl","vsixFile":"","useProjectDependencies":true,"unusedALGoSystemFiles":[],"buildModes":[],"templateBranch":"","installPerformanceToolkit":false,"pullRequestTrigger":"pull_request_target","doNotSignApps":false,"repoName":"SPANISHKITS","fullBuildPatterns":[],"alwaysBuildAllProjects":false,"skipUpgrade":false,"installTestRunner":false,"adminCenterApiCredentialsSecretName":"adminCenterApiCredentials"}
2024-02-14T18:06:22.8831178Z   BcContainerHelperPath: C:\ProgramData\BcContainerHelper\6.0.5\BcContainerHelper\BcContainerHelper.ps1
2024-02-14T18:06:22.8832117Z   artifactCacheKey: 
2024-02-14T18:06:22.8833248Z   Secrets: {"licenseFileUrl":"","codeSignCertificateUrl":"","*codeSignCertificatePassword":"","gitHubPackagesContext":"","applicationInsightsConnectionString":""}
2024-02-14T18:06:22.8834463Z   BuildMode: Default
2024-02-14T18:06:22.8835147Z   _token: ***
2024-02-14T18:06:22.8852068Z   _parentTelemetryScopeJson: 7b22506172616d6574657273223a7b7d2c22456d6974746564223a66616c73652c22436f7272656c6174696f6e4964223a2230393232626135652d646233622d346231342d623735352d396531626637346437343635222c22506172656e744964223a22222c22416c6c506172616d6574657273223a7b7d2c22546f704964223a2230393232626135652d646233622d346231342d623735352d396531626637346437343635222c224e616d65223a22414c2d476f20776f726b666c6f772072616e3a2043494344222c22537461727454696d65223a225c2f446174652831373037393333393037373231295c2f222c2250726f70657274696573223a7b226576656e744964223a22444f30303931222c226263436f6e7461696e657248656c70657256657273696f6e223a22362e302e35222c22697341646d696e6973747261746f72223a2254727565222c22737461636b5472616365223a225b5c6e2020496e697454656c656d6574727953636f70652061742054656c656d6574727948656c7065722e7073313a206c696e65203231345c6e202043726561746553636f70652061742054656c656d6574727948656c7065722e70736d313a206c696e652037355c6e2020576f726b666c6f77496e697469616c697a652e70733120617420576f726b666c6f77496e697469616c697a652e7073313a206c696e652033355c6e202065303961646335302d623737342d343465362d623761312d6231363730636665326230352e7073312061742065303961646335302d623737342d343465362d623761312d6231363730636665326230352e7073313a206c696e6520345c6e20205c7530303363536372697074426c6f636b5c7530303365206174205c75303033634e6f2066696c655c75303033655c6e5d222c22414c476f56657273696f6e223a2276342e31222c2274797065223a22505445222c2274656d706c61746555726c223a2268747470733a2f2f6769746875622e636f6d2f6d6963726f736f66742f414c2d476f2d505445406d61696e222c227265706f7369746f7279223a22415041574152452f5350414e4953484b495453222c2272756e417474656d7074223a2236222c2272756e4e756d626572223a223832222c2272756e4964223a2237393031343431383936227d2c224576656e744964223a22444f30303931227d
2024-02-14T18:06:22.8870068Z   _artifact: https://bcartifacts.azureedge.net/sandbox/23.4.15643.16218/es
2024-02-14T18:06:22.8870744Z   _project: .
2024-02-14T18:06:22.8871040Z   _buildMode: Default
2024-02-14T18:06:22.8871385Z   _installAppsJson: []
2024-02-14T18:06:22.8871748Z   _installTestAppsJson: []
2024-02-14T18:06:22.8872107Z ##[endgroup]
2024-02-14T18:06:23.4938044Z Import from C:\ProgramData\BcContainerHelper\6.0.5\BcContainerHelper\BcContainerHelper.ps1
2024-02-14T18:06:23.8663855Z BcContainerHelper version 6.0.5
2024-02-14T18:06:24.5386526Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2024-02-14T18:06:29.6860262Z use settings and secrets
2024-02-14T18:06:29.8608416Z ##[group]Analyzing repository
2024-02-14T18:06:29.8846298Z Checking type
2024-02-14T18:06:30.0267338Z Checking appFolders, testFolders and bcptTestFolders
2024-02-14T18:06:30.1198576Z Application Dependency 23.0.0.0
2024-02-14T18:06:30.1256103Z Checking artifact setting for project
2024-02-14T18:06:30.1627573Z Downloading artifacts from https://bcartifacts.azureedge.net/sandbox/23.4.15643.16218/es
2024-02-14T18:06:30.3429847Z Downloading platform artifact /sandbox/23.4.15643.16218/platform
2024-02-14T18:06:30.3550210Z Downloading C:\Windows\TEMP\0c83113a-1bdb-457a-b640-acda93b221ea.zip
2024-02-14T18:06:30.3632711Z Downloading using WebClient
2024-02-14T18:08:01.8197417Z Unpacking artifact to tmp folder using Expand-Archive
2024-02-14T18:09:31.7965134Z Error unpacking platform artifact downloaded from CDN, retrying download from direct download URL
2024-02-14T18:09:31.8021023Z Downloading C:\Windows\TEMP\0c83113a-1bdb-457a-b640-acda93b221ea.zip
2024-02-14T18:09:31.8045634Z Downloading using WebClient
2024-02-14T18:10:31.9029157Z Unpacking artifact to tmp folder using Expand-Archive
2024-02-14T18:11:58.5543258Z Updating app- and test Dependencies
2024-02-14T18:11:58.6021936Z Analyzing Test App Dependencies
2024-02-14T18:11:58.6115653Z ##[endgroup]
2024-02-14T18:11:58.6167830Z No performance test apps found in bcptTestFolders in .AL-Go\settings.json
2024-02-14T18:11:58.6354032Z ##[warning]No test apps found in testFolders in .AL-Go\settings.json
2024-02-14T18:11:58.6548918Z Checking appDependencyProbingPaths
2024-02-14T18:11:58.6630681Z ##[group]Locating previous release
2024-02-14T18:11:58.6682181Z Getting the latest release from https://api.github.com/repos/APAWARE/SPANISHKITS/releases/latest - branch main
2024-02-14T18:11:58.6930541Z Analyzing releases https://api.github.com/repos/APAWARE/SPANISHKITS/releases
2024-02-14T18:11:59.1476943Z ##[warning]No previous release found
2024-02-14T18:11:59.1530692Z ##[endgroup]
2024-02-14T18:11:59.1715911Z ##[group]Flush ContainerHelper Cache
2024-02-14T18:12:01.8537104Z Running Docker image prune --filter "until=72h"
2024-02-14T18:12:01.9128834Z Completed
2024-02-14T18:12:01.9238106Z ##[endgroup]
2024-02-14T18:12:02.0735121Z Invoke Run-AlPipeline with buildmode Default
2024-02-14T18:12:02.2805163Z ##[group]Parameters
2024-02-14T18:12:02.2807638Z   _____                               _
2024-02-14T18:12:02.2808491Z  |  __ \                             | |
2024-02-14T18:12:02.2809401Z  | |__) |_ _ _ __ __ _ _ __ ___   ___| |_ ___ _ __ ___
2024-02-14T18:12:02.2810625Z  |  ___/ _` | '__/ _` | '_ ` _ \ / _ \ __/ _ \ '__/ __|
2024-02-14T18:12:02.2811561Z  | |  | (_| | | | (_| | | | | | |  __/ |_  __/ |  \__ \
2024-02-14T18:12:02.2812526Z  |_|   \__,_|_|  \__,_|_| |_| |_|\___|\__\___|_|  |___/
2024-02-14T18:12:02.2816449Z 
2024-02-14T18:12:02.2834124Z Pipeline name                   CI/CD
2024-02-14T18:12:02.2848583Z Container name                  bc7901441896
2024-02-14T18:12:02.2863055Z Image name                      my
2024-02-14T18:12:02.2888400Z ArtifactUrl                     https://bcartifacts.azureedge.net/sandbox/23.4.15643.16218/es
2024-02-14T18:12:02.2905595Z SasToken                        Not Specified
2024-02-14T18:12:02.2922166Z BcAuthContext                   Not Specified
2024-02-14T18:12:02.2933611Z Environment                     
2024-02-14T18:12:02.2947833Z ReUseContainer                  False
2024-02-14T18:12:02.2962349Z KeepContainer                   False
2024-02-14T18:12:02.2976544Z useCompilerFolder               False
2024-02-14T18:12:02.3092294Z artifactCachePath               
2024-02-14T18:12:02.3096607Z useDevEndpoint                  False
2024-02-14T18:12:02.3097980Z Auth                            UserPassword
2024-02-14T18:12:02.3482706Z Credential                      admin/Sipy3092
2024-02-14T18:12:02.5858875Z CompanyName                     
2024-02-14T18:12:02.5875308Z MemoryLimit                     8G
2024-02-14T18:12:02.5888850Z FailOn                          error
2024-02-14T18:12:02.5906246Z TreatTestFailuresAsWarnings     False
2024-02-14T18:12:02.5948400Z Enable Task Scheduler           False
2024-02-14T18:12:02.5948899Z Assign Premium Plan             False
2024-02-14T18:12:02.5949368Z Install Test Runner             False
2024-02-14T18:12:02.5964908Z Install Test Framework          False
2024-02-14T18:12:02.5979547Z Install Test Libraries          False
2024-02-14T18:12:02.5994419Z Install Perf. Toolkit           False
2024-02-14T18:12:02.6089727Z InstallOnlyReferencedApps       True
2024-02-14T18:12:02.6095214Z generateDependencyArtifact      True
2024-02-14T18:12:02.6102821Z CopySymbolsFromContainer        False
2024-02-14T18:12:02.6105852Z enableCodeCop                   False
2024-02-14T18:12:02.6106687Z enableAppSourceCop              False
2024-02-14T18:12:02.6107511Z enableUICop                     False
2024-02-14T18:12:02.6108335Z enablePerTenantExtensionCop     True
2024-02-14T18:12:02.6109173Z enableCodeAnalyzersOnTestApps   False
2024-02-14T18:12:02.6109968Z doNotPerformUpgrade             False
2024-02-14T18:12:02.6114804Z doNotPublishApps                False
2024-02-14T18:12:02.6132084Z uninstallRemovedApps            True
2024-02-14T18:12:02.6146485Z escapeFromCops                  False
2024-02-14T18:12:02.6161367Z doNotBuildTests                 False
2024-02-14T18:12:02.6178525Z doNotRunTests                   True
2024-02-14T18:12:02.6192961Z doNotRunBcptTests               True
2024-02-14T18:12:02.6207154Z useDefaultAppSourceRuleSet      False
2024-02-14T18:12:02.6217636Z rulesetFile                     
2024-02-14T18:12:02.6233887Z generateErrorLog                False
2024-02-14T18:12:02.6248241Z enableExternalRulesets          False
2024-02-14T18:12:02.6265017Z azureDevOps                     False
2024-02-14T18:12:02.6306794Z gitLab                          False
2024-02-14T18:12:02.6310259Z gitHubActions                   True
2024-02-14T18:12:02.6310970Z vsixFile                        
2024-02-14T18:12:02.6420098Z License file                    Not specified
2024-02-14T18:12:02.6425543Z CodeSignCertPfxFile             Not specified
2024-02-14T18:12:02.6426575Z CodeSignCertPfxPassword         Not specified
2024-02-14T18:12:02.6465362Z CodeSignCertIsSelfSigned        False
2024-02-14T18:12:02.6476982Z KeyVaultCertPfxFile             Not specified
2024-02-14T18:12:02.6485452Z KeyVaultCertPfxPassword         Not specified
2024-02-14T18:12:02.6496028Z KeyVaultClientId                
2024-02-14T18:12:02.6510427Z BuildOutputFile                 C:\actions-runner\_work\SPANISHKITS\SPANISHKITS\BuildOutput.txt
2024-02-14T18:12:02.6524698Z ContainerEventLogFile           C:\actions-runner\_work\SPANISHKITS\SPANISHKITS\ContainerEventLog.evtx
2024-02-14T18:12:02.6539409Z TestResultsFile                 C:\actions-runner\_work\SPANISHKITS\SPANISHKITS\TestResults.xml
2024-02-14T18:12:02.6553809Z BcptTestResultsFile             C:\actions-runner\_work\SPANISHKITS\SPANISHKITS\bcptTestResults.json
2024-02-14T18:12:02.6568649Z TestResultsFormat               JUnit
2024-02-14T18:12:02.6614087Z AdditionalCountries             
2024-02-14T18:12:02.6631975Z PackagesFolder                  C:\actions-runner\_work\SPANISHKITS\SPANISHKITS\.packages
2024-02-14T18:12:02.6646149Z OutputFolder                    C:\actions-runner\_work\SPANISHKITS\SPANISHKITS\.output
2024-02-14T18:12:02.6729687Z BuildArtifactFolder             C:\actions-runner\_work\SPANISHKITS\SPANISHKITS\.buildartifacts
2024-02-14T18:12:02.6737222Z CreateRuntimePackages           False
2024-02-14T18:12:02.6743766Z AppVersion                      
2024-02-14T18:12:02.6745371Z AppBuild                        82
2024-02-14T18:12:02.6746189Z AppRevision                     5
2024-02-14T18:12:02.6747186Z SourceRepositoryUrl             https://github.com/APAWARE/SPANISHKITS
2024-02-14T18:12:02.6748404Z SourceCommit                    76a144e8a9a8ac020546f3213d2b7982ab856444
2024-02-14T18:12:02.6749630Z BuildBy                         AL-Go for GitHub,v4.1
2024-02-14T18:12:02.6754092Z BuildUrl                        https://github.com/APAWARE/SPANISHKITS/actions/runs/7901441896
2024-02-14T18:12:02.6764094Z Install Apps
2024-02-14T18:12:02.6769430Z - None
2024-02-14T18:12:02.6778773Z Install Test Apps
2024-02-14T18:12:02.6783819Z - None
2024-02-14T18:12:02.6792937Z Previous Apps
2024-02-14T18:12:02.6798036Z - None
2024-02-14T18:12:02.6808484Z Application folders
2024-02-14T18:12:02.6944862Z - C:\actions-runner\_work\SPANISHKITS\SPANISHKITS\SKC CONFIGURADOR OFERTAS
2024-02-14T18:12:02.6951255Z - C:\actions-runner\_work\SPANISHKITS\SPANISHKITS\SKC DOCUMENTOS LOGISTICOS
2024-02-14T18:12:02.6961981Z - C:\actions-runner\_work\SPANISHKITS\SPANISHKITS\SKC LOTES Y CADUCIDADES
2024-02-14T18:12:02.6968150Z - C:\actions-runner\_work\SPANISHKITS\SPANISHKITS\SKC MAESTROS
2024-02-14T18:12:02.6978923Z - C:\actions-runner\_work\SPANISHKITS\SPANISHKITS\SKC OFERTAS
2024-02-14T18:12:02.6984770Z - C:\actions-runner\_work\SPANISHKITS\SPANISHKITS\SKC PAGINAS
2024-02-14T18:12:02.6994366Z Test application folders
2024-02-14T18:12:02.6999630Z - None
2024-02-14T18:12:02.7009489Z BCPT Test application folders
2024-02-14T18:12:02.7014915Z - None
2024-02-14T18:12:02.7024097Z BCPT Test suites
2024-02-14T18:12:02.7029182Z - None
2024-02-14T18:12:02.7038908Z Custom CodeCops
2024-02-14T18:12:02.7117931Z - None
2024-02-14T18:12:02.7162549Z RemoveBcContainer override
2024-02-14T18:12:02.7169198Z 
2024-02-14T18:12:02.7169747Z                 Param([Hashtable]$parameters)
2024-02-14T18:12:02.7171247Z                 Remove-BcContainerSession -containerName $parameters.ContainerName -killPsSessionProcess
2024-02-14T18:12:02.7172656Z                 Remove-BcContainer @parameters
2024-02-14T18:12:02.7180008Z             
2024-02-14T18:12:02.7206951Z ##[endgroup]
2024-02-14T18:12:02.7597526Z ##[group]Pulling generic image
2024-02-14T18:12:02.7743662Z 
2024-02-14T18:12:02.7744497Z   _____       _ _ _                                          _        _
2024-02-14T18:12:02.7745438Z  |  __ \     | | (_)                                        (_)      (_)
2024-02-14T18:12:02.7746398Z  | |__) |   _| | |_ _ __   __ _    __ _  ___ _ __   ___ _ __ _  ___   _ _ __ ___   __ _  __ _  ___
2024-02-14T18:12:02.7747880Z  |  ___/ | | | | | | '_ \ / _` |  / _` |/ _ \ '_ \ / _ \ '__| |/ __| | | '_ ` _ \ / _` |/ _` |/ _ \
2024-02-14T18:12:02.7748891Z  | |   | |_| | | | | | | | (_| | | (_| |  __/ | | |  __/ |  | | (__  | | | | | | | (_| | (_| |  __/
2024-02-14T18:12:02.7749886Z  |_|    \__,_|_|_|_|_| |_|\__, |  \__, |\___|_| |_|\___|_|  |_|\___| |_|_| |_| |_|\__,_|\__, |\___|
2024-02-14T18:12:02.7750838Z                            __/ |   __/ |                                                 __/ |
2024-02-14T18:12:02.7751712Z                           |___/   |___/                                                 |___/
2024-02-14T18:12:02.7752636Z 
2024-02-14T18:12:03.0966500Z Pulling mcr.microsoft.com/businesscentral:10.0.20348.2227
2024-02-14T18:16:18.5876636Z 
2024-02-14T18:16:18.5882129Z Pulling generic image took 256 seconds
2024-02-14T18:16:18.5898826Z ##[endgroup]
2024-02-14T18:16:18.6927001Z ##[group]Creating container
2024-02-14T18:16:18.6937597Z 
2024-02-14T18:16:18.6971932Z    _____                _   _                               _        _
2024-02-14T18:16:18.6972678Z   / ____|              | | (_)                             | |      (_)
2024-02-14T18:16:18.6973384Z  | |     _ __ ___  __ _| |_ _ _ __   __ _    ___ ___  _ __ | |_ __ _ _ _ __   ___ _ __
2024-02-14T18:16:18.6974597Z  | |    | '__/ _ \/ _` | __| | '_ \ / _` |  / __/ _ \| '_ \| __/ _` | | '_ \ / _ \ '__|
2024-02-14T18:16:18.6975365Z  | |____| | |  __/ (_| | |_| | | | | (_| | | (__ (_) | | | | |_ (_| | | | | |  __/ |
2024-02-14T18:16:18.6976132Z   \_____|_|  \___|\__,_|\__|_|_| |_|\__, |  \___\___/|_| |_|\__\__,_|_|_| |_|\___|_|
2024-02-14T18:16:18.6976803Z                                      __/ |
2024-02-14T18:16:18.6977266Z                                     |___/
2024-02-14T18:16:18.6977607Z 
2024-02-14T18:16:18.8607843Z Creaing docker container
2024-02-14T18:16:19.9102210Z BcContainerHelper is version 6.0.5
2024-02-14T18:16:19.9110566Z BcContainerHelper is running as administrator
2024-02-14T18:16:21.3684921Z HyperV is Disabled
2024-02-14T18:16:21.3720148Z UsePsSession is True
2024-02-14T18:16:21.3729742Z Host is Microsoft Windows Server 2022 Standard - 10.0.20348.2322
2024-02-14T18:16:21.4607602Z Docker Client Version is 25.0.3
2024-02-14T18:16:21.4617901Z Docker Server Version is 25.0.3
2024-02-14T18:16:21.6290780Z Removing Desktop shortcuts
2024-02-14T18:16:22.6872369Z Fetching all docker images
2024-02-14T18:16:22.7352569Z Fetching all docker volumes
2024-02-14T18:16:22.7882546Z ArtifactUrl and ImageName specified
2024-02-14T18:16:23.6852024Z Building multitenant image my:sandbox-23.4.15643.16218-es-mt based on mcr.microsoft.com/businesscentral:10.0.20348.2227 with https://bcartifacts.azureedge.net/sandbox/23.4.15643.16218/es
2024-02-14T18:16:23.7007787Z Pulling latest image mcr.microsoft.com/businesscentral:10.0.20348.2227
2024-02-14T18:16:24.0944510Z 10.0.20348.2227: Pulling from businesscentral
2024-02-14T18:16:24.0981230Z Digest: sha256:9c15e1fc1b24d4529c8d53caf11546bd0f5c2ed7555d313cf8bfc90bc4ecc705
2024-02-14T18:16:24.0991837Z Status: Image is up to date for mcr.microsoft.com/businesscentral:10.0.20348.2227
2024-02-14T18:16:24.1107199Z mcr.microsoft.com/businesscentral:10.0.20348.2227
2024-02-14T18:16:24.1855318Z Generic Tag: 1.0.2.14
2024-02-14T18:16:24.2404281Z Container OS Version: 10.0.20348.2227 (ltsc2022)
2024-02-14T18:16:24.2430778Z Host OS Version: 10.0.20348.2322 (ltsc2022)
2024-02-14T18:16:24.2501471Z Using process isolation
2024-02-14T18:16:24.2566421Z Files in c:\bcartifacts.cache\rhq1kmw3.a3t\my:
2024-02-14T18:16:24.2624281Z Copying Platform Artifacts
2024-02-14T18:16:24.2635320Z c:\bcartifacts.cache\sandbox\23.4.15643.16218\platform
2024-02-14T18:16:35.6589370Z Copying Database
2024-02-14T18:16:36.9378479Z Copying Licensefile
2024-02-14T18:16:36.9680114Z Copying ConfigurationPackages
2024-02-14T18:16:36.9688087Z C:\bcartifacts.cache\sandbox\23.4.15643.16218\es\ConfigurationPackages
2024-02-14T18:16:37.0743824Z Copying Extensions
2024-02-14T18:16:37.0770121Z C:\bcartifacts.cache\sandbox\23.4.15643.16218\es\Extensions
2024-02-14T18:16:37.8087761Z Copying Applications.ES
2024-02-14T18:16:37.8105775Z C:\bcartifacts.cache\sandbox\23.4.15643.16218\es\Applications.ES
2024-02-14T18:16:38.5303991Z c:\bcartifacts.cache\rhq1kmw3.a3t
2024-02-14T18:17:18.0800268Z Sending build context to Docker daemon  2.466GB
2024-02-14T18:17:18.0802057Z 
2024-02-14T18:17:18.0829582Z Step 1/6 : FROM mcr.microsoft.com/businesscentral:10.0.20348.2227
2024-02-14T18:17:18.0878891Z  ---> 87a649423117
2024-02-14T18:17:18.0890533Z Step 2/6 : ENV DatabaseServer=localhost DatabaseInstance=SQLEXPRESS DatabaseName=CRONUS IsBcSandbox=Y artifactUrl=https://bcartifacts.azureedge.net/sandbox/23.4.15643.16218/es filesOnly=False
2024-02-14T18:17:18.2723123Z  ---> Running in 8e526e6876ef
2024-02-14T18:17:18.8395407Z  ---> Removed intermediate container 8e526e6876ef
2024-02-14T18:17:18.8411219Z  ---> 48b6ab0ba330
2024-02-14T18:17:18.8417556Z Step 3/6 : COPY my /run/
2024-02-14T18:17:19.5153387Z  ---> 124a37c28b57
2024-02-14T18:17:19.5215430Z Step 4/6 : COPY NAVDVD /NAVDVD/
2024-02-14T18:18:58.4995152Z  ---> 414d2daf8783
2024-02-14T18:18:58.5007490Z Step 5/6 : RUN \Run\start.ps1 -installOnly -multitenant
2024-02-14T18:18:58.8873831Z  ---> Running in fef25448beb0
2024-02-14T18:19:07.4152934Z c:\run\my folder doesn't exist, creating it
2024-02-14T18:19:07.9291062Z Using installer from C:\Run\210-new
2024-02-14T18:19:08.1385248Z Installing Business Central
2024-02-14T18:19:08.1875051Z Installing from DVD
2024-02-14T18:19:08.2070775Z Starting Local SQL Server
2024-02-14T18:19:11.9813007Z Starting Internet Information Server
2024-02-14T18:19:12.4617867Z Copying Service Tier Files
2024-02-14T18:19:12.4755285Z C:\NAVDVD\ServiceTier\Program Files
2024-02-14T18:19:15.9531656Z C:\NAVDVD\ServiceTier\System64Folder
2024-02-14T18:19:16.5823200Z Copying PowerShell Scripts
2024-02-14T18:19:16.5842016Z C:\NAVDVD\WindowsPowerShellScripts\Cloud\NAVAdministration
2024-02-14T18:19:16.6851539Z C:\NAVDVD\WindowsPowerShellScripts\WebSearch
2024-02-14T18:19:16.6982294Z Copying Web Client Files
2024-02-14T18:19:16.6992628Z C:\NAVDVD\WebClient\Microsoft Dynamics NAV
2024-02-14T18:19:22.8982739Z Copying ModernDev Files
2024-02-14T18:19:22.9057130Z C:\NAVDVD
2024-02-14T18:19:23.0557518Z C:\NAVDVD\ModernDev\program files\Microsoft Dynamics NAV
2024-02-14T18:19:23.8054926Z Copying additional files
2024-02-14T18:19:23.8394667Z Copying ConfigurationPackages
2024-02-14T18:19:23.8424168Z C:\NAVDVD\ConfigurationPackages
2024-02-14T18:19:23.9897845Z Copying Test Assemblies
2024-02-14T18:19:23.9982580Z C:\NAVDVD\Test Assemblies
2024-02-14T18:19:24.1548843Z Copying Extensions
2024-02-14T18:19:24.1637776Z C:\NAVDVD\Extensions
2024-02-14T18:19:25.1869904Z Copying Applications
2024-02-14T18:19:25.1968700Z C:\NAVDVD\Applications
2024-02-14T18:19:26.9136331Z Copying Applications.ES
2024-02-14T18:19:26.9845219Z C:\NAVDVD\Applications.ES
2024-02-14T18:19:27.3883098Z Copying dependencies
2024-02-14T18:19:27.4064277Z Copying ReportBuilder
2024-02-14T18:19:44.7260183Z Importing PowerShell Modules
2024-02-14T18:19:50.2785383Z Restoring CRONUS Demo Database
2024-02-14T18:19:51.8299377Z Setting CompatibilityLevel for tenant on localhost\SQLEXPRESS
2024-02-14T18:19:52.8434460Z Exporting Application to CRONUS
2024-02-14T18:20:25.2947926Z Removing Application from tenant
2024-02-14T18:20:30.6751759Z Modifying Business Central Service Tier Config File for Docker
2024-02-14T18:20:30.7469763Z Creating Business Central Service Tier
2024-02-14T18:20:31.2270923Z Installing SIP crypto provider: 'C:\Windows\System32\NavSip.dll'
2024-02-14T18:20:31.2285602Z Starting Business Central Service Tier
2024-02-14T18:20:59.4167704Z Importing CRONUS license file
2024-02-14T18:21:01.8631515Z Copying Database on localhost\SQLEXPRESS from tenant to default
2024-02-14T18:21:01.8671910Z Taking database tenant offline
2024-02-14T18:21:02.0189840Z Copying database files
2024-02-14T18:21:03.6031127Z Attaching files as new Database default
2024-02-14T18:21:04.1992396Z Putting database tenant back online
2024-02-14T18:21:04.2766604Z Mounting tenant database
2024-02-14T18:21:04.3250533Z Mounting Database for default on server localhost\SQLEXPRESS with AllowAppDatabaseWrite = False
2024-02-14T18:26:21.6965366Z Sync'ing Tenant
2024-02-14T18:26:24.8180200Z Tenant is Operational
2024-02-14T18:26:24.8194583Z Stopping Business Central Service Tier
2024-02-14T18:26:25.1722627Z Installation took 437 seconds
2024-02-14T18:26:25.1734160Z Installation complete
2024-02-14T18:28:55.8372865Z New-Bcimage Telemetry Correlation Id: 5d336742-b2a7-41a8-87a9-ff14ff0edd0c
2024-02-14T18:28:56.3043523Z New-BcContainer Telemetry Correlation Id: 8bc8f4db-cce6-4a20-85c6-f48c83867f4d
2024-02-14T18:28:56.3188583Z ##[group]Removing container
2024-02-14T18:28:56.3448845Z Get Event Log from container
2024-02-14T18:28:56.3878332Z Getting event log for bc7901441896
2024-02-14T18:28:56.6323996Z Error: No such object: bc7901441896
2024-02-14T18:28:56.8377320Z Removing Desktop shortcuts
2024-02-14T18:28:56.8755402Z ##[endgroup]
2024-02-14T18:28:57.3519048Z Run-AlPipeline Telemetry Correlation Id: becbc8b6-728f-4548-89c6-ca02633af89a
2024-02-14T18:28:57.8399416Z AL-Go action ran: RunPipeline Telemetry Correlation Id: 2257e8c4-e8eb-48f0-811c-0c16b4e99f9b
2024-02-14T18:28:57.9429353Z ##[error]Unexpected error when running action. Error Message: re-exec error: exit status 1: output: hcsshim::ImportLayer failed in Win32: El sistema no puede encontrar la ruta especificada. (0x3) ExitCode: 1 Commandline: docker build --isolation=process --memory 8G --no-cache --tag my:sandbox-23.4.15643.16218-es-mt c:\bcartifacts.cache\rhq1kmw3.a3t, StackTrace: en DockerDo, C:\ProgramData\BcContainerHelper\6.0.5\BcContainerHelper\HelperFunctions.ps1: línea 272 <- en New-BcImage, C:\ProgramData\BcContainerHelper\6.0.5\BcContainerHelper\ContainerHandling\New-NavImage.ps1: línea 700 <- en New-BcContainer, C:\ProgramData\BcContainerHelper\6.0.5\BcContainerHelper\ContainerHandling\New-NavContainer.ps1: línea 623 <- en <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.5\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: línea 799 <- en <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.5\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: línea 1037 <- en <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.5\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: línea 966 <- en <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.5\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: línea 948 <- en Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.5\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: línea 910 <- en <ScriptBlock>, C:\actions-runner\_work\_actions\microsoft\AL-Go-Actions\v4.1\RunPipeline\RunPipeline.ps1: línea 368 <- en <ScriptBlock>, C:\actions-runner\_work\_temp\91a73a98-c602-4784-aae3-8b156682856b.ps1: línea 4 <- en <ScriptBlock>, <sin archivo>: línea 1
2024-02-14T18:28:58.1276941Z ##[error]Process completed with exit code 1.
freddydk commented 7 months ago

Please provide as much information as possible in order for us to help you.

It looks like you are using a self-hosted runner, is that true? How did you create that? What did you install on that? Did you try with standard GitHub hosted Windows runners? Does that work?

samlehm commented 7 months ago

Have the same problem since yesterday.

All Docker Server (3), running since 2 month without problems have now the same issue. No OS CU update or other works on this servers the last days/weeks.

Last 10h we tried this: Installed latest OS CU update Checked disk space Restarted server docker system prune docker system prune -a Docker Update - Docker Engine v25.0.3 add this parameters { "experimental": false, "storage-opts" ["size=20GB"] } ReRun in DevOps old pipelines - now the have the same issue:

Stopping Business Central Service Tier Installation took 221 seconds Installation complete New-Bcimage Telemetry Correlation Id: 0b5e57d1-a660-45da-8afa-951067727c27 New-BcContainer Telemetry Correlation Id: 93c58d92-b006-498a-a981-1734a7fc582f Removing Desktop shortcuts Run-AlPipeline Telemetry Correlation Id: 5b43bb3e-be2c-46d6-9751-19af4f43a549

[error]DockerDo : re-exec error: exit status 1: output: hcsshim::ImportLayer failed in Win32: The system cannot find the path

specified. (0x3) ExitCode: 1 Commandline: docker build --isolation=process --memory 64G --no-cache --tag bcimage:sandbox-23.4.15643.16247-ch-mt c:\bcartifacts.cache\auqb2lq4.b31 At C:\Program Files\WindowsPowerShell\Modules\BcContainerHelper\6.0.5\ContainerHandling\New-NavImage.ps1:700 char:27

davidaparicioalvarez commented 7 months ago

Hi, I remove and reinstall all software, but same error

It looks like you are using a self-hosted runner, is that true? Yes, it is a local runner windows server 2022

How did you create that? Using instructions at https://github.com/APAWARE/SPANISHKITS/settings/actions/runners

What did you install on that? Windows, Docker, Bc-Containerhelper, Git, GitHUb CLI Docker versión Client: Version: 25.0.3 API version: 1.42 (downgraded from 1.44) Go version: go1.21.6 Git commit: 4debf41 Built: Tue Feb 6 21:13:02 2024 OS/Arch: windows/amd64 Context: default

Server: Mirantis Container Runtime Engine: Version: 23.0.9 API version: 1.42 (minimum version 1.24) Go version: go1.20.12m1 X:boringcrypto Git commit: a9047f2f86 Built: OS/Arch: windows/amd64 Experimental: false

Bc-ContainerHelper 6.0.5 Git git version 2.43.0.windows.1 GitHub Cli https://github.com/cli/cli/releases/tag/v2.43.1

Did you try with standard GitHub hosted Windows runners? No, I cannot use GitHub hosted, No runnner get the job.

Does that work? I don't know

davidaparicioalvarez commented 7 months ago

logs_181.zip Installed all from scratch, Windows also. Same error.

davidaparicioalvarez commented 7 months ago

I think, it is a self-hosted software error...... it is running in a GitHub hosted Windows runner and no errors.

davidaparicioalvarez commented 7 months ago

Solved, new installation from scratch, with Docket and GirHub in Windows Server core 2022, now working

freddydk commented 7 months ago

You can also use https://aka.ms/getbuildagent to create and register a build agent on Azure - that should have all pre-requisites.

AskeHolst commented 7 months ago

I see the same issue on one of our self-hosted runners, all were created with https://aka.ms/getbuildagent so there should not be any difference, but I guess there is. Strangely it only failed for countries where a newer artifact was used, when it reused an older it kept working. So we had a day of ES builds failing, but GB builds working as an example. I might just try to spin up a new runner over the weekend.

samlehm commented 7 months ago

Maybe MS solved the problem or the removing of the two parameters "cacheImage", "CreateRuntimePackages" in settings.json helped.

settings.json { "version": "current", "artifact": "///ch/Current", "cacheImage": true, "CreateRuntimePackages": true },

freddydk commented 7 months ago

I think you guys are seeing different problems giving the same error. The ImportLayer error @davidaparicioalvarez is talking about was fixed by a reinstall (so he says) @samlehm - you reported an error with a specific version of BC when using cacheImage (i.e. building an image just-in-time) - that is probably a bug - if you can provide the script used to provoke this? - please create a new issue? @AskeHolst - what artifacts are you using? is this nextmajor?