microsoft / AL-Go

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

[Bug]: AL-GO pull request pipelines stopped working after the weekend #1291

Closed gntpet closed 2 weeks ago

gntpet commented 2 weeks ago

AL-Go version

6.0

Describe the issue

Hey @freddydk ,

We got an issue with our pull requests builds. It started failing after the weekend. Error message is: "The property 'HostConfig' cannot be found on this object. Verify that the property exists" I've checked successful pipeline from Friday, and it was running BcContainerHelper 6.0.26 instead of 6.0.27 It's also strange why it goes to "Importing test data" step. We explicitly has a setting "doNotRunTests": true, and using CompilerFolder instead of container to Build.

When comparing parameters between successful, and not successful runs I notice new param been added "doNotRunPageScriptingTests": false. Thus, I added "doNotRunPageScriptingTests": true to our settings, but it did not help. It still goes into Importing test data phase, and fails there.

2024-11-04T09:22:10.6194750Z ##[endgroup]
2024-11-04T09:22:10.6200314Z ##[group]Importing test data
2024-11-04T09:22:10.6204611Z   _____                            _   _               _            _         _       _
2024-11-04T09:22:10.6205376Z  |_   _|                          | | (_)             | |          | |       | |     | |
2024-11-04T09:22:10.6206209Z    | |  _ __ ___  _ __   ___  _ __| |_ _ _ __   __ _  | |_ ___  ___| |_    __| | __ _| |_ __ _
2024-11-04T09:22:10.6207192Z    | | | '_ ` _ \| '_ \ / _ \| '__| __| | '_ \ / _` | | __/ _ \/ __| __|  / _` |/ _` | __/ _` |
2024-11-04T09:22:10.6208024Z   _| |_| | | | | | |_) | (_) | |  | |_| | | | | (_| | | ||  __/\__ \ |_  | (_| | (_| | || (_| |
2024-11-04T09:22:10.6208858Z  |_____|_| |_| |_| .__/ \___/|_|   \__|_|_| |_|\__, |  \__\___||___/\__|  \__,_|\__,_|\__\__,_|
2024-11-04T09:22:10.6209587Z                  | |                            __/ |
2024-11-04T09:22:10.6210182Z                  |_|                           |___/
2024-11-04T09:22:10.6677595Z Error: No such object: 
2024-11-04T09:22:10.7010077Z Error: No such object: 
2024-11-04T09:22:10.7083649Z ##[group]Files in build artifacts folder:
2024-11-04T09:22:10.7115582Z Dependencies\CCA 2.0.0.397545 - 23.0 (BC 2023 Wave 2).app (24587 bytes)
2024-11-04T09:22:10.7120731Z Dependencies\CDN 6.0.0.181398 - 23.0 (BC 2023 Wave 2).app (1773925 bytes)
2024-11-04T09:22:10.7126072Z Dependencies\Core 9.0.1.185245 - 23.0 (BC 2023 Wave 2).app (2898199 bytes)
2024-11-04T09:22:10.7131384Z Dependencies\DC 12.0.1.187449 - 23.0 (BC 2023 Wave 2).app (18523970 bytes)
2024-11-04T09:22:10.7137241Z ##[endgroup]
2024-11-04T09:22:11.4882992Z Run-AlPipeline Telemetry Correlation Id: 0562f940-8f4a-4682-89f7-8c607053b23c
2024-11-04T09:22:11.7231028Z Applying settings from C:\a\srs-bc\srs-bc\.github\AL-Go-Settings.json
2024-11-04T09:22:11.7248006Z No settings found in C:\a\srs-bc\srs-bc\.AL-Go\settings.json
2024-11-04T09:22:11.7257676Z Applying settings from C:\a\srs-bc\srs-bc\.github\Pull Request Build.settings.json
2024-11-04T09:22:11.7268734Z No settings found in C:\a\srs-bc\srs-bc\.AL-Go\Pull Request Build.settings.json
2024-11-04T09:22:11.7275326Z No settings found in C:\a\srs-bc\srs-bc\.AL-Go\gntpet.settings.json
2024-11-04T09:22:11.8135578Z Enabling Microsoft telemetry...
2024-11-04T09:22:12.0780589Z ##[error]Unexpected error when running action. Error Message: The property 'HostConfig' cannot be found on this object. Verify that the property exists., StackTrace: at Get-BcContainerSharedFolders, C:\ProgramData\BcContainerHelper\6.0.27\BcContainerHelper\ContainerInfo\Get-NavContainerSharedFolders.ps1: line 24 <- at Get-BcContainerPath, C:\ProgramData\BcContainerHelper\6.0.27\BcContainerHelper\ContainerInfo\Get-NavContainerPath.ps1: line 37 <- at Invoke-ScriptInBcContainer, C:\ProgramData\BcContainerHelper\6.0.27\BcContainerHelper\ContainerHandling\Invoke-ScriptInNavContainer.ps1: line 118 <- at New-CompanyInBcContainer, C:\ProgramData\BcContainerHelper\6.0.27\BcContainerHelper\CompanyHandling\New-CompanyInNavContainer.ps1: line 29 <- at <ScriptBlock>, C:\a\srs-bc\srs-bc\SRS.base\.AL-Go\ImportTestDataInBcContainer.ps1: line 2 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.27\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2440 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.0.27\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1055 <- at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.0.27\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1017 <- at <ScriptBlock>, C:\a\_actions\microsoft\AL-Go-Actions\v6.0\RunPipeline\RunPipeline.ps1: line 391 <- at <ScriptBlock>, C:\a\_temp\095bfac4-0e88-4786-b8db-cd16c6aa9e13.ps1: line 3 <- at <ScriptBlock>, C:\a\_actions\microsoft\AL-Go-Actions\v6.0\Invoke-AlGoAction.ps1: line 17 <- at <ScriptBlock>, C:\a\_temp\095bfac4-0e88-4786-b8db-cd16c6aa9e13.ps1: line 2 <- at <ScriptBlock>, <No file>: line 1

Expected behavior

Expected it to work

Steps to reproduce

See description above

Additional context (logs, screenshots, etc.)

No response

freddydk commented 2 weeks ago

Could you share the full log? Then I can better determine where the bug is buried

gntpet commented 2 weeks ago

just did via Yammer