Replies: 6 comments 5 replies
-
This looks like a failure in test collection. Maybe @cfbolz or @rlamy have seen some of this. It might be some problem with pytest. Did you see this with earlier versions of pytest? |
Beta Was this translation helpful? Give feedback.
-
The weekly testing runs look pretty clean except for one week where |
Beta Was this translation helpful? Give feedback.
-
Hi Wenzel! From the traceback it looks like it's another instance of our 'pytest assert rewriting mystery bug': #3959 Therefore this very likely has nothing to do with nanobind directly. I'm incredibly frustrated with this issue, so far none of the instances have been reproducible on anyones laptop, they happen only on CI. therefore I haven't made much progress on understanding what's going wrong, despite various attempts :-(. Something that I've been meaning to try is to change one of the involved CI scripts to run this PyPy build: https://buildbot.pypy.org/pypy/pypy-lldebug-nightly.tar.bz2 Another option that I've been thinking about is to get CI to produce a coredump somehow and upload that as an artifact. |
Beta Was this translation helpful? Give feedback.
-
I see the nanobind CI run installs Eigen, but not NumPy, so I will add that to the binary-testing CI run. The binary-testing run has an extra "Setup annotations on Linux" step, should that be removed? Looking back at the failures in the workflow, I see:
Going back further, I see more segfaults, mostly on ubuntu, I couldn't find any on macos. I wonder why the binary-testing CI runs don't see any failures when here they occur pretty often. Maybe it is something else entirely like the setup-cmake version? |
Beta Was this translation helpful? Give feedback.
-
The first CI run of pypy/binary-testing#49, which resyncs the CI workflow with upstream, crashed. I commented there on two things that might have changes: using a different cmake github action and some different build macros. Thoughts? |
Beta Was this translation helpful? Give feedback.
-
just a quick update, I've managed to eventually reproduce it locally. the bug is still totally baffling, but at least it's not only on github ci any more. will write an issue to track it and document details how to reproduce it soon. |
Beta Was this translation helpful? Give feedback.
-
Dear PyPy team,
I maintain the nanobind C++ <-> Python interop layer that also ensures PyPy cpyext compatibility through some entries in its build matrix. For a long time now, we've had issues with PyPy crashing spuriously while loading the extensions used in its test suite. You can see an example of such a crash here: https://github.com/wjakob/nanobind/actions/runs/8234561874/job/22516568891
It's unfortunately not very much to go by. Worse, I haven't been able to replicate this crash with separate testing on an intel Linux machine running exactly the same version of PyPy. Hence I wanted to ask a few questions:
setup-python
action). I am wondering if there is a difference between the binary they provide and what I download from the PyPy webpage.My hope with this ticket was to start a discussion and figure out what's wrong.
Thanks,
Wenzel
Beta Was this translation helpful? Give feedback.
All reactions