-
-
Notifications
You must be signed in to change notification settings - Fork 649
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 output is truncated #20171
Comments
seems to have been something from 05e89ec |
reverting the upgrade of indicatif is sufficient to resolve this |
Can you isolate a repro? I haven't observed anything like this and I did a bunch of testing. |
Also, can you see it happening with anything except test output? |
Yeah. I've looked a bit at the indicatif codebase and if we can find a repro I can probably fix it. But I've been running with that fix locally and in multiple projects without seeing any issues. It does seem like a race-like problem so maybe dependent on load etc. |
I tried with the other goals. I think it affects them too, but it's harder to tell (lint and check are missing a few blank lines at the bottom).
|
Do you have any other setting overrides apart from that command line? My output is consistently the following (>10 tries):
So that has multiple differences to yours, and seems (a) correct and (b) consistent. |
that output should have the lines
I don't have any other overrides in place. |
Ack, thanks. Got confused specifically by this part in the original post: It's interesting, the reason I upgraded was for some other multiline output to work correctly -- streaming workunit logs into each job. That is broken on 0.17.4... 😢 Edit: And I have a repro outside of Pants! The issue is |
Describe the bug
Output of tests is truncated.
Good:
Bad:
All the test output is captured, and I'm pretty sure it's being sent to be presented. I think it also has to do with the "vertical size" of the text, in that if I remove all the newlines from the message the full text is printed. There doesn't appear to be a major difference in behaviour between a shorter output and a much longer output, in that both have some truncation.
Pants version
2.19.0a0
OS
Linux
The text was updated successfully, but these errors were encountered: