Skip to content
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

Paket install fails on arm arch when running in a docker build on GitHub action runner #4257

Open
legezam opened this issue May 29, 2024 · 1 comment

Comments

@legezam
Copy link

legezam commented May 29, 2024

Description

I have a DockerFile which is based on ARM arch, and inside this file, i call dotnet paket install once. When this DockerFile is being built on GitHub action runner, it fails with an error:

43.64 Paket failed with
43.71 -> TargetInvocationException: Exception has been thrown by the target of an invocation.
43.89 -> NullReferenceException: Object reference not set to an instance of an object.

Please note, if i do exactly the same on x86, it runs smoothly. Also if i build the exact same DockerFile on an AWS graviton ec2 instance, it runs smoothly.

Also there might be some race condition behind the scenes, becase I also saw a rerun also to fail, but with a different error.

Repro steps

I have prepared a github repository to demonstrate the issue:
https://github.com/legezam/paket-issue

Here is a build that has failed:
https://github.com/legezam/paket-issue/actions/runs/9284398447

Here is exactly the same image, but ported to x86:
https://github.com/legezam/paket-issue/tree/x86

And the corresponding build runs to success:
https://github.com/legezam/paket-issue/actions/runs/9284893957

Expected behavior

Arm based paket install runs to success just as x86

Actual behavior

NullReferenceException

Known workarounds

Not that i know of.

Thanks for the help!

@legezam
Copy link
Author

legezam commented May 29, 2024

Please note, this is basically an empty commit on top of the original arm based one, and it fails with a different error:
https://github.com/legezam/paket-issue/actions/runs/9285240624/job/25549312652

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant