Closed lvanvugt closed 1 year ago
Dear @lvanvugt ,
This seems like a problem with the images. Please note Microsoft made some changes to the generic-images for v22, but.... they only updated the generic-images for SUPPORTED Operating systems. Hence, if you are running an outdated OS, the "Get-BestGenericImageForOs" will return an image that is not updated for v22. The code searches for a specific PSD1 file, which is moved for v22, if it's not found the container will skip the entire "Install Test-Toolkit" step.
2 solutions for this:
Kind regards,
Dear @lvanvugt,
If you want to manipulate the files in the images, here is the source: https://github.com/microsoft/nav-docker/tree/master/generic/Run
It are the files you can find in "210-new" folder that contain the updates for BC v22.
Kind regards,
Thanx!
Hence, if you are running an outdated OS, the "Get-BestGenericImageForOs" will return an image that is not updated for v22.
Do you know where I can find which OS versions are outdated?
I have solved the issue by running Windows updates on my agents server. Something which is not done automatically. Was considering to create new Azure VMs, but thought I could give it a try with Windows update. So far, so good.
The suggested option seemed a bit to tedious in all honesty.
Issue
Building my app and test app on BC22 throws an erro when compiling the test app and wanting to download the dependencies. On BC21, 20, 19 and 18 I have no issues at all using the same yaml.
The error occurs when wanting to download
Any
app. For full log see below, but this is the section with the error:I reran the pipeline to let it create a SQL backup that I restored and indeed all test library apps, like
Any
,Library Assert
,Tests-Test Libraries
, etc. have not been deployed into this database.Used yaml
Output
Expected behavior
Test library apps have been installed