AL-Go version
8.3
Describe the issue
Creating a new performance test app by workflows fails for Sandbox BC28 w1 when running job on ubuntu
Expected behavior
we expect to create performance test apps like before.
Steps to reproduce
- create a new al-go repo.
- change runs-on to ubuntu-latest
- (create an app - not tested if really required to repro)
- create a performance test app
Additional context (logs, screenshots, etc.)
Logs:
Run microsoft/AL-Go-Actions/CreateApp@v8.3
Run /home/runner/work/_actions/microsoft/AL-Go-Actions/v8.3/CreateApp/../Invoke-AlGoAction.ps1 -ActionName "CreateApp" -Action {
Cloning into 'AlpacaPerformanceTestApp'...
Your branch is up to date with 'origin/main'.
Already on 'main'
Switched to a new branch 'create-performance-test-app/main/260506064445'
Downloading BcContainerHelper latest version from Blob Storage
Import from /home/runner/.BcContainerHelper/6.1.14/BcContainerHelper/BcContainerHelper.ps1
BcContainerHelper version 6.1.14
Setting useCompilerFolder = True
Ignoring unchanged config setting PartnerTelemetryConnectionString
Ignoring unchanged config setting SendExtendedTelemetryToMicrosoft
Setting MicrosoftTelemetryConnectionString = InstrumentationKey=cd2cc63e-0f37-4968-b99a-532411a314b8;IngestionEndpoint=https://northeurope-2.in.applicationinsights.azure.com/
Setting doNotRemovePackagesFolderIfExists = True
BC.HelperFunctions emits usage statistics telemetry to Microsoft
Running on Linux, PowerShell 7.4.14
Template type : Performance Test App
Checking type
Checking appFolders, testFolders and bcptTestFolders
Application Dependency 22.0.0.0
Checking artifact setting for project
Platformurl: https://bcartifacts.blob.core.windows.net/sandbox/indexes/platform.json
Downloading Platform index to /home/runner/work/_temp/bcContainerHelper.platform.json
Downloading w1 index to /home/runner/work/_temp/bcContainerHelper.w1.json
Downloading artifacts from https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/sandbox/28.0.46665.50034/w1
Downloading artifact /sandbox/28.0.46665.50034/w1
Downloading /tmp/527e2eb7-a201-4895-843d-1ea5ecd7f953.zip
Unpacking artifact to tmp folder using Expand-Archive
Downloading platform artifact /sandbox/28.0.46665.50034/platform
Downloading /tmp/df948e5b-840b-45be-924c-04906652f1e5.zip
Unpacking artifact to tmp folder using Expand-Archive
Downloading Prerequisite Components
Downloading /home/runner/.bcartifacts.cache/sandbox/28.0.46665.50034/platform/Prerequisite Components/IIS URL Rewrite Module/rewrite_2.0_rtw_x64.msi
Downloading /home/runner/.bcartifacts.cache/sandbox/28.0.46665.50034/platform/Prerequisite Components/DotNetCore/DotNetCore.1.0.4_1.1.1-WindowsHosting.exe
Updating app- and test Dependencies
Analyzing Test App Dependencies
No performance test apps found in bcptTestFolders in .AL-Go/settings.json
Enabling Microsoft telemetry...
Error: Unexpected error when running action. Error Message: Unable to create performance test app. Error was Could not locate sample app for the Business Central version, StackTrace: at <ScriptBlock>, /home/runner/work/_actions/microsoft/AL-Go-Actions/v8.3/CreateApp/CreateApp.ps1: line 71 <- at <ScriptBlock>, /home/runner/work/_temp/61ea9a96-9840-4527-9507-87c31f3dfb80.ps1: line 3 <- at <ScriptBlock>, /home/runner/work/_actions/microsoft/AL-Go-Actions/v8.3/Invoke-AlGoAction.ps1: line 21 <- at <ScriptBlock>, /home/runner/work/_temp/61ea9a96-9840-4527-9507-87c31f3dfb80.ps1: line 2 <- at <ScriptBlock>, <No file>: line 1
Error: Process completed with exit code 1.
Cause of the Issue:
Casing of path "Applications\TestFramework" in artifact has changed with BC28.
Pathes:
C:\bcartifacts.cache\sandbox\27.5.46862.48112\platform\applications\testframework\performancetoolkit\Microsoft_Performance Toolkit Samples.app
C:\bcartifacts.cache\sandbox\28.0.46665.50034\platform\Applications\TestFramework\performancetoolkit\Microsoft_Performance Toolkit Samples.app
C:\bcartifacts.cache\sandbox\29.0.48782.0\platform\Applications\TestFramework\performancetoolkit\Microsoft_Performance Toolkit Samples.app
|
$sampleApp = Join-Path $folders[1] "Applications\testframework\performancetoolkit\Microsoft_Performance Toolkit Samples.app" |
AL-Go version
8.3
Describe the issue
Creating a new performance test app by workflows fails for Sandbox BC28 w1 when running job on ubuntu
Expected behavior
we expect to create performance test apps like before.
Steps to reproduce
Additional context (logs, screenshots, etc.)
Logs:
Cause of the Issue:
Casing of path "Applications\TestFramework" in artifact has changed with BC28.
Pathes:
AL-Go/Actions/CreateApp/CreateApp.ps1
Line 62 in 59f772f