-
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
cpu (ubuntu-18.04, 3.9, oldest, stable)
fails with segmentation fault
#11184
Comments
Hi @akihironitta, thanks for writing this. This has been failing for a while now. I don't know what would be the cause but I'd say it's either caused by So I would try removing coverage to check or removing tests to see if it still segfaults. |
Just saw some PRs with the job passing, so it is also flaky 😵 |
Is there any progress on resolving this issue? Can we just remove this job? I believe it is causing more harm than good by making our CI red :/ |
I'll leave the decision to @akihironitta as he's the one trying to save us |
Hi @daniellepintz, sorry for the delay. I'm now working on it with Carlos's help but not sure if it'll be resolved in a reasonably short period of time.
IMHO, I'd keep it because it segfaults after the actual testing part finishes in the job, and thus we can still see its result in the log (although "the job" is marked red). If we just remove the job, no one is able to catch any bugs/behaviours with the environment. |
btw, I would not try to install py3.9 on ubuntu 18.04, rater tries ubuntu 20.04 |
@Borda I thought about that, too, and I'll definitely give it a try with a newer version of the OS, but why not install py3.9 on ubuntu18.04? Is there any known issue or something? |
I do not know about any, but why waste time on very unlikely configuration 🐰 |
It seems like a coverage bug on Ubuntu for python 3.9.9 like nedbat/coveragepy#1294? I tried locally in Ubuntu 18.04 with python 3.9.7, the coverage works fine. Could we try python with other versions like 3.9.7? |
Hi @guotuofeng, thanks for your support! It seems like the problem is pytest-dev/pytest#8841 in our case as commented by @\carmocca in the linked PR: #11217 (comment) |
🐛 Bug
Observed that
cpu (ubuntu-18.04, 3.9, oldest, stable)
quite often fails with segmentation fault after the actual tests had passed as the following:To Reproduce
Expected behavior
No segmentation fault 🍏
Environment
conda
,pip
, source):torch.__config__.show()
:Additional context
cc @carmocca @akihironitta @Borda
The text was updated successfully, but these errors were encountered: