dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
14.97k stars 4.66k forks source link

PAL test eventprovider/eventprovidertest does not pass on Arm/Arm64 machines in CI #42291

Open davidwrighton opened 4 years ago

davidwrighton commented 4 years ago

This test fails in CI on the Arm and Arm64 platforms with the following error:

/root/helix/work/workitem/eventprovider/eventprovidertest: error while loading shared libraries: liblttng-ust.so.0: cannot open shared object file: No such file or directory

davidwrighton commented 4 years ago

It does pass for Ubuntu 1604 machines.

janvorli commented 3 years ago

This sounds like a missing package on the CI machines. @MattGal is there a list of packages we install on the arm and arm64 Linux devices in the CI lab so that I can check it?

MattGal commented 3 years ago

@janvorli there isn't complete data here and this comment is 314 days old so I can't speak definitively, but we can tell from the path logged (/root/helix/work/workitem/) that this is running inside a docker container on Linux, which means all you need is a compatible device and access to the Microsoft Container Registry to get your repro environment.

That narrows your search down greatly (as well as making it possible to get a local repro on any old ubuntu ARM64 machine). It's definitely one of these from https://github.com/dotnet/dotnet-buildtools-prereqs-docker/:

src\alpine\3.10\helix\arm64v8
src\alpine\3.11\helix\arm64v8
src\alpine\3.12\helix\arm32v7
src\alpine\3.12\helix\arm64v8
src\alpine\3.13\helix\arm32v7
src\debian\10\docker-testrunner\arm64v8
src\debian\10\helix\arm32v7
src\debian\10\helix\arm64v8
src\debian\11\helix\arm32v7
src\debian\11\helix\arm64v8
src\debian\9\helix\arm32v7
src\debian\9\helix\arm64v8
src\ubuntu\16.04\helix\arm32v7
src\ubuntu\16.04\helix\arm64v8
src\ubuntu\18.04\helix\arm32v7
src\ubuntu\18.04\helix\arm64v8

As usual, if you do narrow it down and need to borrow an ARM64 device to try out some stuff in Docker with, just ping @ilyas1974 or stop by the DncEng First Responders Teams channel and we'll do our best to find you something.

janvorli commented 3 years ago

Ok, great, that's simple to repro for me locally then. I have a couple of Linux ARM64 devices here.

janvorli commented 3 years ago

The problem is that the helix Ubuntu / Debian arm/arm64 docker images are missing the liblttng-ust0 package.

mangod9 commented 3 years ago

Hi @MattGal, is this something which should be moved to infra path to get the missing package added?

MattGal commented 3 years ago

@mangod9 I don't think so... we've had good luck with folks like @wfurt self-serving here. If you find yourself blocked, @dotnet/dnceng will happily join in but it's as simple as:

Please try this, and as noted before if you get stuck anywhere I'm happy to help.

mangod9 commented 1 year ago

Moving out, not sure if this is still an issue.