Closed blimmer closed 5 months ago
Welcome to the Pantsbuild Community. This looks like your first issue here. Thanks for taking the time to write it.
If you haven't already, feel free to come say hi on Slack.
If you have questions, or just want to surface this issue, check out the #development
channel.
(If you want to check it out without logging in, check out our Linen mirror)
Thanks again, and we look forward to your next Issue/PR :smile:!
@blimmer so ... what about this: https://github.com/pantsbuild/pants/issues/18135#issuecomment-1563196282
That comment and this bug seem to be in contradiction.
@blimmer it looks to me like #18135 (fixed by #18166) is only in 2.15.1+.
@blimmer so ... what about this: https://github.com/pantsbuild/pants/issues/18135#issuecomment-1563196282
Yes, I'll update that comment. I thought it was fixed, but then I encountered this issue.
I finally got back to this and upgraded to pants
2.19.0. I haven't seen this issue again. Thanks for the help debugging this!
Describe the bug
I tried switching from the
./pants
wrapper script over to use scie-pants, but I'm encountering a reproducible error in my CI environment when runningpants
:The script I'm running looks like this:
What I'm trying to do here is pretty straightforward, but not directly supported by
pants
(inlerna
all of this is justyarn lerna run --since '' cdk -- deploy
). This script basically just runs thecdk_deploy
task (which is anexperimental_run_shell_command
) in all projects that changed since the last deployment.However, I consistently get the exception above when using
scie-pants
. I went back to the./pants
wrapper and don't encounter this problem anymore.Pants version
2.14.2
OS
This process only runs in our CI (CircleCI), a Linux Ubuntu 22.04 environment.
Additional info
Here's the
gdb
output from the CoreDump. Shout out to @jsirois, who patiently helped me a ton in Slack.CircleCI CrashDump Parsing Steps
For future travelers using CircleCI, here's what I did to capture a stack trace on CircleCI:
ulimit -c unlimited
. If you get an error, theulimit
is already likely set tounlimited
.apport
config file. I had to do this to get the crash report saved to a known location.apport
.crash
file:gdb
with the properso
files linked up. NOTE: you will need to update the paths in~/.circleci/.cache
to match what's on your runner instance.