Repository navigation
Update EOL versions - #4561
Update EOL versions#4561
Conversation
mikem8361
left a comment
There was a problem hiding this comment.
Looks good pending my comments.
|
The reason the Linux legs are failing is that the new ubuntu images don't have lldb installed. |
|
Is using raw VMs an important scenario? If not, we should switch to just using container images with |
|
Yes, a container image with lldb installed is necessary for all the test only (testOnly set to true) legs (i.e. test_ubuntu_20_04, etc.). The diag repo build yml builds the managed code on the host VM or image and the native code on a container set with the "nativeBuildContainer" property. Neither the host VM or the nativeBuildContainer images need lldb installed as long as the leg has "buildOnly" set to true. It looks like all linux build legs are build only. |
|
Looks like we have much the same problem with clang 16. I'll back out the Alpine changes for now, but we need to find a solution for that. We can discuss the priority of that offline. There is also an Ubuntu 20.04 failure. That's not (AFAICT) part of my changes. |
|
The Linux legs are failing because the new "linux_x64" images do not have the lldb dev package installed. It is named something like "liblldb-14-dev" and includes the header files, etc. to build the lldb SOS plugin. The diagnostics repo images have some extra requirements which is probably way the images haven't been updated recently. |
|
Yup. Waiting on the new images to be published. |
|
I removed the Alpine changes so that we can make some quicker progress. I'm still having trouble @mikem8361. The test is failing that you suggested pointed to lldb missing in the build leg. rich@mazama:~$ docker run --rm -it mcr.microsoft.com/dotnet-buildtools/prereqs:cbl-mariner-2.0-cross-amd64
root [ / ]# tdnf list --installed | grep ldb
lldb.x86_64 12.0.1-2.cm2 @System
lldb-devel.x86_64 12.0.1-2.cm2 @System
root [ / ]#
exitIs this perhaps a version mismatch? Mariner 2.0 has lldb 12. Is that too low? Or is that we need lldb installed on the host side, too? If it is the former, we can wait until the Azure Linux 3.0 images are ready, which will be soon. It has lldb 17. /cc @sbomer |
|
lldb 12 is sufficient. The dbgshim and SOS tests are failing because the shim (libdbgshim.so) or SOS itself (libsosplugin.so) built in the Linux build legs can't be loaded in the Ubuntu 20.04 test legs for some reason. I don't understand it yet. |
|
Is the x64 build not doing a cross build? That would explain it. |
|
Yes, the Linux x64 builds are not cross builds (no -cross command line option). I think the Linux leg in diagnostics.yml needs the crossBuild: true parameter now. We also have this comment in eng/pipelines/build.yml: |
|
I think those lines in build.yml need to be removed now if the new mariner images have the glibc required. |
|
The Mariner cross builds don't have the correct glibc for .NET 6 or 7. They are good for .NET 8+. If this branch is good for .NET 8+, then adopting cross builds is a good approach. |
|
The problem is that SOS needs to run/is hosted on .NET 6/7. We really can't restrict to .NET 8 until 6 and 7 go out of service. |
|
Got it. I didn't realize that |
Replaces #4556
Previous PR used Alpine 3.19 (with clang 17). This PR attempted to update to update with Alpine 3.18 (with clang 16). That also failed.
Container images we should be using for .NET 8+: https://github.com/dotnet/runtime/blob/main/docs/workflow/building/coreclr/linux-instructions.md