BCContainerHelper version
6.1.11
Describe the issue
On BC 27.5 sandbox artifacts (country: NO), Import-TestToolkitToBcContainer completes and prints "TestToolkit successfully imported", but Run-TestsInBcContainer immediately fails with:
Cannot open page 130455. You might need to import the test toolkit to the container and/or remove the folder C:\ProgramData\BcContainerHelper\Extensions\...\PsTestTool and retry. You might also have URL or Company name wrong.
The root cause is that Import-TestToolkitToBcContainer only installs Tests-TestLibraries and AI Test Toolkit — it does not install Tests-TestRunner. However, Run-TestsInBcContainer (PsTestFunctions.ps1: line 598) still tries to open page 130455, which lives in Tests-TestRunner. Since Tests-TestRunner is absent from BC 27.5 artifacts (replaced by AI Test Toolkit), the page does not exist and the run fails.
Steps to reproduce
- Create a BC 27.5 container with
installTestRunner=$true, installTestFramework=$true, installTestLibraries=$true via Run-AlPipeline (e.g. via AL-Go v8.1)
- Observe that
Tests-TestLibraries and AI Test Toolkit are installed, but not Tests-TestRunner
Import-TestToolkitToBcContainer reports TestToolkit successfully imported
Run-TestsInBcContainer fails: Cannot open page 130455
Artifact used
https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/sandbox/27.5.46862.47891/no
Installed apps after import (relevant)
| App ID |
Name |
Installed |
5d86850b-0d76-4eca-bd7b-951ad998e997 |
Tests-TestLibraries |
✅ |
2156302a-872f-4568-be0b-60968696f0d5 |
AI Test Toolkit |
✅ |
| (classic test runner) |
Tests-TestRunner |
❌ missing |
Expected behavior
Either:
Run-TestsInBcContainer should detect that AI Test Toolkit is installed and use its page instead of 130455, or
Import-TestToolkitToBcContainer should still install Tests-TestRunner if present in the artifacts, and only fall back to AI Test Toolkit if it is not
Stack trace
at Run-TestsInBcContainer, BcContainerHelper\6.1.11\BcContainerHelper\AppHandling\Run-TestsInNavContainer.ps1: line 598
at <ScriptBlock>, Run-AlPipeline.ps1: line 1231
at Run-AlPipeline, Run-AlPipeline.ps1: line 1270
Additional context
- Triggered via AL-Go v8.3 on a GitHub Actions runner (Windows Server 2025, hyperv isolation)
- Container creation log shows
includeTestToolkit=False (expected — toolkit is imported separately)
- The import group
##[group]Importing test toolkit runs for ~113 seconds, installs TestLibraries and AI Test Toolkit, then exits with "TestToolkit successfully imported" — no error
- ~90 seconds later,
Run-TestsInBcContainer fails at page 130455
BCContainerHelper version
6.1.11
Describe the issue
On BC 27.5 sandbox artifacts (country: NO),
Import-TestToolkitToBcContainercompletes and prints "TestToolkit successfully imported", butRun-TestsInBcContainerimmediately fails with:The root cause is that
Import-TestToolkitToBcContaineronly installsTests-TestLibrariesandAI Test Toolkit— it does not installTests-TestRunner. However,Run-TestsInBcContainer(PsTestFunctions.ps1: line 598) still tries to open page 130455, which lives inTests-TestRunner. SinceTests-TestRunneris absent from BC 27.5 artifacts (replaced byAI Test Toolkit), the page does not exist and the run fails.Steps to reproduce
installTestRunner=$true,installTestFramework=$true,installTestLibraries=$trueviaRun-AlPipeline(e.g. via AL-Go v8.1)Tests-TestLibrariesandAI Test Toolkitare installed, but notTests-TestRunnerImport-TestToolkitToBcContainerreportsTestToolkit successfully importedRun-TestsInBcContainerfails:Cannot open page 130455Artifact used
Installed apps after import (relevant)
5d86850b-0d76-4eca-bd7b-951ad998e9972156302a-872f-4568-be0b-60968696f0d5Expected behavior
Either:
Run-TestsInBcContainershould detect thatAI Test Toolkitis installed and use its page instead of 130455, orImport-TestToolkitToBcContainershould still installTests-TestRunnerif present in the artifacts, and only fall back toAI Test Toolkitif it is notStack trace
Additional context
includeTestToolkit=False(expected — toolkit is imported separately)##[group]Importing test toolkitruns for ~113 seconds, installs TestLibraries and AI Test Toolkit, then exits with "TestToolkit successfully imported" — no errorRun-TestsInBcContainerfails at page 130455