-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[ARM32] qemu: Unsupported syscall: 389
when running console app in Docker
#8614
Comments
@dotnet/arm32-contrib @janvorli |
The syscall 389 on ARM32 seems to be the membarrier. According to the docs, it was added in Linux 4.11. dotnet core doesn't use it, so I assume one of our 3rd party dependencies try to call it to see if it is present. So I would assume the message is benign. |
Looks like this happens in CI too: https://ci.dot.net/job/dotnet_coreclr/job/master/job/arm_cross_debug_ubuntu16.04_prtest/4680/
|
It looks like some tools like qemu (or in my case valgrind) don't yet have support for that. |
Is it possible to use the latest version of ARM qemu with |
@RussKeldorph I am seeing this issue repeatedly in dotnet/coreclr#17142, it is blocking me from having a clean CI. What is the guidance here? I have reset it 3 times and each time it takes hours to run and then fails. Should I start ignoring the armrel legs of the CI? |
@davmason dotnet/coreclr#17028 is possibly more relevant. Yes, for now you can ignore these failures. I hope to have the job out of the default trigger soon since there is no outlook for a fix. |
Looks like dotnet/dotnet-docker-nightly#328 despite causing QEMU failures? |
These are failing almost every job with "qeumu: Unsupported syscall: 389". Issue: https://github.com/dotnet/coreclr/issues/12972.
@janvorli - I am seeing a more severe variant of this with the new ARM SDK builds. Steps to reproduce
Results:
You can also reproduce this on Linux when using qemu but the setup is more complex. |
I hit the issue when trying to build an image based on |
Also seeing this issue on OSX 10.13.6 using image
|
Same error :( |
@eshvatskyi which runtime version have you tried it with? We have fixed a bunch of ARM issues in 2.1.5. |
FROM microsoft/dotnet:2.1-sdk-stretch-arm32v7 |
Also seeing this issue for
Error :
Extra info:
|
Any news? |
same ARG REPO=mcr.microsoft.com/dotnet/core/runtime-deps RUN apt-get update Install ASP.NET CoreENV ASPNETCORE_VERSION 2.2.2 RUN curl -SL --output aspnetcore.tar.gz https://dotnetcli.blob.core.windows.net/dotnet/aspnetcore/Runtime/$ASPNETCORE_VERSION/aspnetcore-runtime-$ASPNETCORE_VERSION-linux-arm.tar.gz |
This is still an issue with For me, the issue actually happens on Strangely enough, this is ONLY an issue on ARM32v7, the same build runs perfectly on |
Looks like the same as dotnet/dotnet-docker#1512. Still present in 3.1 containers :( |
As @okodron suggested, try upgrading to latest qemu that should have the syscall implemented. We do not test or support .NET Core on qemu. We have tried using qemu to run tests in CI for a while, but we have found quemu to be too unstable for what .NET Core needs. If you are using docker just for building, .NET Core 3.1 tooling supports cross-compilation that allows |
@jkotas So, what you are saying is to build within x86/x64 container, target linux_arm and just copy published files to correct arm based image? That should work, thanks. |
While testing the new arm32v7 Docker images for .NET Core I'm seeing
qemu: Unsupported syscall: 389
written to the output whenever I run a console application in an arm Docker container on a Windows 10 machine. I don't see this if I run the same Docker image on a physical arm32 device (e.g. raspberry pi).Steps to reproduce
dotnet new console
Note: The Dockerfile for msimons/dotnet-nightly:2-runtime-stretch-arm32v7 is contained in dotnet/dotnet-docker-nightly#328
3. Run the following from your project dir
docker build -t armapp .
4. Run the image
docker run --rm armapp
Expected Output of App
Output of App
Notes
--privileged
and--security-opt="seccomp=unconfined"
options but see no difference in behavior.The text was updated successfully, but these errors were encountered: