Skip to content

[Bug]: Downloading AL Language extension consistently fails, blocking app compilation #2261

@DF1229

Description

@DF1229

AL-Go version

9.0

Describe the issue

Not entirely sure if this is even AL-Go related, but I don't know where else to post this. Apologies if this is the wrong place.

We recently made the switch to self-hosted runners, which went pretty smoothly, up until now.
We have various apps, in various repositories. One "monolith" in its own repo, and some modules split into various apps also in their own repo.
The modules repo is fine, everything compiles without issue. The monolith repo is running into an issue where the AL Language extension download times out after the local container has been made.

Both repositories use the exact same settings, aside from the obvious differences in repo name and project name settings.

Expected behavior

Downloading the AL Language extension should succeed without issue

Steps to reproduce

Run any workflow that builds the app

Additional context (logs, screenshots, etc.)

Succesful compilation log extract

     _____                      _ _ _
    / ____|                    (_) (_)
   | |     ___  _ __ ___  _ __  _| |_ _ __   __ _    __ _ _ __  _ __  ___
   | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` |  / _` | '_ \| '_ \/ __|
   | |____ (_) | | | | | | |_) | | | | | | | (_| | | (_| | |_) | |_) \__ \
    \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
                         | |                 __/ |       | |   | |
                         |_|                |___/        |_|   |_|
  
  Using Version 28.0.103.2
  Copying dependencies from D:\runners\al-go-2\_work\AppSource\AppSource\Build\Core (W1)\.buildartifacts\Dependencies to D:\runners\al-go-2\_work\AppSource\AppSource\Build\Core (W1)\.packages
  Creating AppSourceCop.json for validation
  AppSourceCop.json content:
  {
      "mandatoryAffixes":  [
                               "OKE"
                           ]
  }
  
  Compiling D:\runners\al-go-2\_work\AppSource\AppSource\Apps\One-IT Core Module\Main App
  Copying DLLs from C:\Program Files\Microsoft Dynamics NAV\280\Service to assemblyProbingPath
  Removing dotnet Framework Assemblies
...
...

Failed compilation log extract

     _____                      _ _ _
    / ____|                    (_) (_)
   | |     ___  _ __ ___  _ __  _| |_ _ __   __ _    __ _ _ __  _ __  ___
   | |    / _ \| '_ ` _ \| '_ \| | | | '_ \ / _` |  / _` | '_ \| '_ \/ __|
   | |____ (_) | | | | | | |_) | | | | | | | (_| | | (_| | |_) | |_) \__ \
    \_____\___/|_| |_| |_| .__/|_|_|_|_| |_|\__, |  \__,_| .__/| .__/|___/
                         | |                 __/ |       | |   | |
                         |_|                |___/        |_|   |_|
  
  Using Version 27.7.449.2
  Copying dependencies from D:\runners\al-go-1\_work\OKE\OKE\.buildartifacts\Dependencies to D:\runners\al-go-1\_work\OKE\OKE\.packages
  Copying previous apps to packages folder
  Downloading AL Language Extension to D:\BcContainerHelper\alLanguageExtension\17.0.2273547.zip
  Error downloading..., retrying in 4 seconds...
  Error downloading..., retrying in 8 seconds...
  Error downloading..., retrying in 16 seconds...
  Error downloading..., retrying in 32 seconds...
Files in build artifacts folder:
Removing container
  Get Event Log from container
  Getting event log for bc26102462516
  Removing Session bc26102462516
  Removing container bc26102462516
  Removing entries from hosts
  Removing bc26102462516 from container hosts file
  Removing bc26102462516-* from container hosts file
  Removing Desktop shortcuts
  Removing D:\BcContainerHelper\Extensions\bc26102462516
Run-AlPipeline Telemetry Correlation Id: d2e9d5c2-6095-44ed-9ce6-8e5e6b4119dd
Test-BcContainer Telemetry Correlation Id: 3697e9a2-dfba-4b5b-b2e1-ff1df7a6d7dc
Enabling Microsoft telemetry...
Enabling partner telemetry...
Error: Unexpected error when running action. Error Message: Timeout downloading file, StackTrace: at Download-File, C:\ProgramData\BcContainerHelper\6.1.14\BcContainerHelper\Common\Download-File.ps1: line 83 <- at DownloadLatestAlLanguageExtension, C:\ProgramData\BcContainerHelper\6.1.14\BcContainerHelper\HelperFunctions.ps1: line 1322 <- at RunAlTool, C:\ProgramData\BcContainerHelper\6.1.14\BcContainerHelper\HelperFunctions.ps1: line 1339 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.14\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2336 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.14\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 2334 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.14\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1911 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.14\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1906 <- at <ScriptBlock>, C:\ProgramData\BcContainerHelper\6.1.14\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1437 <- at Run-AlPipeline, C:\ProgramData\BcContainerHelper\6.1.14\BcContainerHelper\AppHandling\Run-AlPipeline.ps1: line 1422 <- at <ScriptBlock>, D:\runners\al-go-1\_work\_actions\microsoft\AL-Go-Actions\v9.0\RunPipeline\RunPipeline.ps1: line 491 <- at <ScriptBlock>, D:\runners\al-go-1\_work\_temp\80654844-6de0-4378-b24d-278160014eef.ps1: line 3 <- at <ScriptBlock>, D:\runners\al-go-1\_work\_actions\microsoft\AL-Go-Actions\v9.0\Invoke-AlGoAction.ps1: line 21 <- at <ScriptBlock>, D:\runners\al-go-1\_work\_temp\80654844-6de0-4378-b24d-278160014eef.ps1: line 2 <- at <ScriptBlock>, <No file>: line 1
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Need more infoPlease add more info about how to repro the problembugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions