HodorNV / HodorNV/ALOps

NextMajor Pipelines for BC25 failing - Install AL TestTool - Codeunit 'Library - No. Series' is missing

Open
#780 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
PowerShell
Stars
63
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
Since this weekend all of our NextMajor Pipelines are failing.
Could you please provide some help to fix this?

the used yaml
please provide the yaml that you used. It helps you put the yaml like this:

  - task: ALOpsAppPublish@1
    displayName: 'Install AL TestTool'
    inputs:
      usedocker: true
      installaltesttool: true
      install_al_app_names: |
        System Application Test Library  
        Library Variable Storage  
        Permissions Mock  
        Library Assert  
        Any  
        Test Runner  
        Tests-TestLibraries
      strictappnames: true

the output
Also the complete output is necessary for us to see what is going on. Also use backtics:

2024-08-04T14:11:10.8754537Z *** Get App Info: C:\Extensions\Microsoft_Library Assert_25.0.22589.0.app
2024-08-04T14:11:11.7352214Z *** Get App Tenant Info
2024-08-04T14:11:13.0604283Z *** Sync App: [Microsoft / Library Assert]
2024-08-04T14:11:14.7806550Z *** Install App: [Microsoft / Library Assert]
2024-08-04T14:11:16.4710957Z ***
2024-08-04T14:11:16.5472255Z *** Get App Info: C:\Extensions\Microsoft_Any_25.0.22589.0.app
2024-08-04T14:11:17.2782717Z *** Get App Tenant Info
2024-08-04T14:11:18.5561161Z *** Sync App: [Microsoft / Any]
2024-08-04T14:11:19.7752711Z *** Install App: [Microsoft / Any]
2024-08-04T14:11:21.2282478Z ***
2024-08-04T14:11:21.2292534Z *** Get App Info: C:\Extensions\Microsoft_Library Variable Storage_25.0.22589.0.app
2024-08-04T14:11:22.0593748Z *** Get App Tenant Info
2024-08-04T14:11:23.3475881Z *** Sync App: [Microsoft / Library Variable Storage]
2024-08-04T14:11:24.6355881Z *** Install App: [Microsoft / Library Variable Storage]
2024-08-04T14:11:26.1837941Z ***
2024-08-04T14:11:26.1842385Z *** Get App Info: C:\Applications\System Application\Test\Microsoft_System Application Test Library.app
2024-08-04T14:11:27.0219519Z *** Get App Tenant Info
2024-08-04T14:11:28.2969184Z *** Publish App: [Microsoft / System Application Test Library]
2024-08-04T14:11:40.4828296Z *** Sync App: [Microsoft / System Application Test Library]
2024-08-04T14:11:44.8446092Z *** Install App: [Microsoft / System Application Test Library]
2024-08-04T14:11:48.6378850Z ***
2024-08-04T14:11:48.7072965Z *** Get App Info: C:\Extensions\Microsoft_Permissions Mock_25.0.22589.0.app
2024-08-04T14:11:49.4204573Z *** Get App Tenant Info
2024-08-04T14:11:50.6678052Z *** Sync App: [Microsoft / Permissions Mock]
2024-08-04T14:11:51.8675546Z *** Install App: [Microsoft / Permissions Mock]
2024-08-04T14:11:53.9741078Z ***
2024-08-04T14:11:53.9750293Z *** Get App Info: C:\Applications\BaseApp\Test\Microsoft_Tests-TestLibraries.app
2024-08-04T14:11:54.7945350Z *** Get App Tenant Info
2024-08-04T14:11:56.3815023Z *** Publish App: [Microsoft / Tests-TestLibraries]
2024-08-04T14:11:58.2837886Z ##[error]AL-TestTool installation failed: Publish-NAVApp:
error AL1024: A package with publisher 'Microsoft', name 'Business Foundation Test Libraries', and a version compatible with '25.0.0.0' could not be loaded. Symbols for the requested app Business Foundation Test Libraries by Microsoft 25.0.0.0 could not be found in the database.
LibraryUtility.Codeunit.al(19,26): error AL0185: Codeunit 'Library - No. Series' is missing

Expected behavior
It should work as before.

Additional context
Maybe we have to add something to install_al_app_names, but I don't know what.
What's even more strang is that the NextMajor Pipelines did work for three months..

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ALOpsAppPublish@1 task and its install_al_app_names handling, then reproduce the NextMajor pipeline using the YAML and output shown. Trace how AL TestTool dependencies are selected and published, especially Business Foundation Test Libraries and Library - No. Series. Done means the pipeline installs the test libraries without AL1024 or AL0185 errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
ci-cd, devops, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.