-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration Tests fail due to Ubuntu 16.04 tests being decommissioned. #1729
Integration Tests fail due to Ubuntu 16.04 tests being decommissioned. #1729
Comments
Yes, they are running brownouts now. They moved up the schedule but will be removed in a few days. There is an issue with just changing image - something broke (think it was GitVersion that failed). But needs to be resolved. |
When using Ubuntu 18.04 as the build worker the task
Should probably b e easy to find if debugging in a WSL Ubuntu 18.04. |
I dug into this issue a bit today. The issue, at least in my Ubuntu 18.04 WSL deployment, is that the locale is not configured for a specific language. PS ~> $host
Name : ConsoleHost
Version : 7.1.5
InstanceId : 5069a095-5fcb-4b29-b5f0-1d0800e37568
UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture :
CurrentUICulture :
PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled : True
IsRunspacePushed : False
Runspace : System.Management.Automation.Runspaces.LocalRunspace NOTICE: The value for property "CurrentCulture" is blank. This is what PowerShell returns when calling This is causing the call for To fix this in my lab, I was required to run the following commands before restarting the shell: $ sudo update-locale en_US.utf8
$ sudo locale-gen I need to keep tinkering to see whether I can reproduce and resolve this in the actual build environment. |
Great investigation @nabrond. Seems the bug is in |
We should probably look for a blank value here: https://github.com/dsccommunity/DscResource.Common/blob/c816a0951588a7d01481613bfab85fa7600aa830/source/Public/Get-LocalizedData.ps1#L222 |
Thanks @johlju, that line of code is actually the fix for this issue. I think the problem is actually that the |
I have added a PR for it. |
- SqlServerDsc - Switched to a new Linux build worker for the pipeline (issue #1729).
It seems that when removing the deprecated resources that had no examples the build passed. But I have also merged the suggested fix in the DocGenerator repo. I will release a full version of DocGenerator tomorrow so this does not happen in another repo. @nabrond thank you for the work you put in finding this! Much appreciated! 😄 🙇 |
The module DscResource.DocGenerator have now been released. |
The integration tests as currently defined fail due to the Ubuntu 16.04 environment being phased out. When I looked through the logs, I found the following reference suggesting that this version is out of support: Ubuntu 16.04 environment will be removed on September 20, 2021.
The text was updated successfully, but these errors were encountered: