https://pantsbuild.org/ logo
#development
Title
# development
e

enough-analyst-54434

02/26/2021, 12:21 AM
I found no open or closed issues for "Fatal Python error: Illegal instruction" but just hit it in a CI burn: https://github.com/pantsbuild/pants/issues/11605 Presumably thats an engine issue.
h

hundreds-father-404

02/26/2021, 12:22 AM
don't think I've seen this one
a

average-vr-56795

02/26/2021, 12:56 AM
IIRC it's what happens when the engine panics?
If CI isn't running with env
RUST_BACKTRACE=full
it should be :)
e

enough-analyst-54434

02/26/2021, 1:03 AM
It is.
a

average-vr-56795

02/26/2021, 1:04 AM
I thought we had code to print out the rust portion of backtrace from the Python if that was set?
Oh wait, this is forking a separate python process which runs a scheduler?
We may want to add that to the test env, I guess?
Weird edge case, for sure :)
e

enough-analyst-54434

02/26/2021, 1:20 AM
No forking. If you look at the backtrace in the ticket, we enter the engine in the test here: https://github.com/pantsbuild/pants/blob/master/src/python/pants/testutil/rule_runner.py#L176
a

average-vr-56795

02/26/2021, 7:14 AM
Then why do I see
/tmp/process-execution7mBvjs
in the top few frames of the stack trace?
It looks like we're forking to run pytest out of process, not clear that process has
RUST_BACKTRACE
set?
w

witty-crayon-22786

02/26/2021, 4:58 PM
h

hundreds-father-404

03/03/2021, 7:42 PM
I got this again in GitHub actions