-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Test failure in Mix.Tasks.TestTest (test --listen-on-stdin does not exit on compilation failure) #13660
Comments
Further details, if relevant: Hardware information (CPU, memory)
Operating environment information (kernel, libc)
Toolchain information (GCC, binutils, Perl)
|
Hi @awilfox, we don’t ship with any native code ij Elixir. So if the GCC version matters, then it is most likely an Erlang bug. But the test case is only checking I/O channels, so it may even be something happening at the OS level. In other words, my bet is that we are surfacing a problem downstream somewhere with I/O channels. |
For now, I pushed a commit to main that will help us understand more the timeout cases. So we know if something has been written to the pipe or not at all. |
Thanks for the quick work. Applied tip of main to 1.16.3 and received:
I'm not very familiar with Erlang, unfortunately; is there a guide somewhere on how I should proceed debugging this issue? |
This is interesting! The receives the I/O signal but never finishes restarting. I would try reproducing the issue first outside of tests. Do this:
Does it work? |
Yes:
[ file changed, then Return pressed ]
|
Thank you. Unfortunately I do not know the root cause, although everything indicates to be an issue elsewhere. Note Erlang/OTP 24 is no longer officially supported, so I'd recommend migrating to a more recent version and see if the issue persists. Btw, this pull request was recently merged to Erlang/OTP: erlang/otp#8553 - in case you want to try latest GCC too. |
Hi @awilfox, do you have updates here on more recent Erlang/OTP on the latest GCC? Thank you! |
Upgrading to Erlang/OTP 27 and then Elixir 1.17.2 passes tests on all our environments now. Thank you! |
Elixir and Erlang/OTP versions
Also seen on:
Operating system
Adélie Linux 1.0-beta5
Current behavior
We at Adélie Linux are rebuilding our entire package tree against GCC 13. While building Elixir, we ran into this test failure:
I never saw this reported for GCC 8 builds. It happens both with 1.15.7 and 1.16.3, and I can reproduce it every time building for 32-bit x86 on an Intel Skylake using an i586 chroot. We also saw it transiently (but not every time) on an Ampere arm64 builder. Downstream tracker is adelie/packages#1182.
Expected behavior
Tests to pass, as they did when Erlang and Elixir were compiled against GCC 8.5.0.
The text was updated successfully, but these errors were encountered: