-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Ubuntu 18.04 agents have unexpected default locale #3120
Comments
Hello, @dougbu
|
@al-cheb was that changed in the last day or so❔ And, are you saying https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-README.md is not up-to-date❔ Separately, are the agents used for Azure Pipelines and GitHub Actions different despite the fact https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?view=azure-devops&tabs=yaml#software links to the above README.md file❔ The missing package would completely explain the test failures we're seeing for the listed PRs. |
Shoot. The agents aren't appropriate for our builds but the problem isn't as simple as adding Not sure where to look next to enable us to use the newer Ubuntu agents… |
We don't include every version of default pre-installed packages in the documentation file.
It's the same image Azure Pipelines and GitHub Action . PS. I can reproduce the issue on my test fresh vm with Azure Ubuntu Server 18.04:
|
Looks like the tests are fixed - aspnet/BuildTools#1000 |
@al-cheb that PR validated using Ubuntu 16.04. The root cause of the test failures is an unexpected locale ( |
Did a quick test with aspnet/BuildTools#999. On Ubuntu 16.04 agents, the default locale is I only see Ubuntu 16.04
Ubuntu 18.04
WorkaroundFortunately, the workaround is pretty simple and no But, if it's an unintended change between the two images, I suggest that be corrected. |
libicu60
package
Renamed to reflect current understanding of the problem. /btw
Ah, makes sense 😺 |
We don't have any plans to change the default locale on Azure Ubuntu images provided by Canonical publisher - https://stackoverflow.com/questions/55673886/what-is-the-difference-between-c-utf-8-and-en-us-utf-8-locales (e.g. - https://lintut.com/how-to-set-up-system-locale-on-ubuntu-18-04/)
|
🆗 I'll stick w/ our workaround. /cc @JunTaoLuo @wtgodbe, please do the same in the branches and repos you're updating. |
See the bottom of #3120 (comment) for the workaround I meant |
Description
We (ASP.NET Core team) are attempting to move from Ubuntu 16.04 to 18.04 Microsoft-hosted agents. Our builds are failing because
libicu60
is not installed on the newer agents. See also https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1604-README.md (wherelibicu55
is installed) versus https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu1804-README.md (where the stringicu
isn't matched at all).Area for Triage:
Packages
Question, Bug, or Feature?:
Bug
But if there's a task to install
libicu60
(the version aligned with Ubuntu 18.04) in our pipelines, I'm all ears.Virtual environments affected
Image version
Image version where you are experiencing the issue.
20210330.1
Expected behavior
A description of what you expected to happen.
Expect our tests to continue working correctly. Note https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#dependencies lists
libicu60
as a prerequisite for .NET Core on Ubuntu.Actual behavior
A description of what is actually happening.
libicu60
is missing from the image and some of our tests are failing due to string ordering issues. See for example failures in https://dev.azure.com/dnceng/public/_build/results?buildId=1073540Repro steps
A description with steps to reproduce the issue. If your have a public example or repo to share,
please provide the link.
Rerun one of the following PR validation builds
The text was updated successfully, but these errors were encountered: