-
-
Notifications
You must be signed in to change notification settings - Fork 351
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
Reduce STDERR output during CI #3155
Conversation
fixed a little merge conflict |
@hangy I'm not sure why, but all the traces for the script convert_auchan_data.pl now go to STDERR and it makes the test fail.
|
The script probably never worked before.
As to why it never showed an error during CI, I do not know. |
@hangy : with those changes, will we be testing many more things than before? e.g. all the scripts in /scripts maybe ? "Failing after 131m " --> it will be very problematic if tests take 2 hours. |
No, not really. We're compiling the scripts in
Agreed. That's much too long. Simply checking the Perl syntax/compiling the scripts really shouldn't take that long, though. So there is probably some hidden issue that causes too much data to be processed during compilation. I'll have a look ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what's the status of this PR. Is it possible to break it in multiple parts?
There seem to be numerous improvements that woul be useful to merge.
But it also makes the tests fail because they are too long, so we can't merge it as is.
@stephanegigandet currently, I have no idea what might be causing the build to time out. 🤷♂️ I'll look into splitting it up, since some of the changes should make sense on their own. |
025ab6c
to
13a0a47
Compare
This is done by reducing the default `filter` of the TAP Log::Any adapter. To get back some debug/trace output, it is always possible to run prove the with a different filter: TAP_LOG_FILTER=trace prove -l
13a0a47
to
1cb5af0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I had misunderstood how to use the TAP_LOG_FILTER variable from the comment line. I think I'll add that to a readme file in the t folder. :)
@hangy tests failing |
t/producers.t (Wstat: 512 Tests: 0 Failed: 0) -> that's weird, I don't understand why it fails. |
Me neither. :) I didn't think I modified the files in that way... |
@hangy do you still want to merge this? |
Description: The default test output is reduced by only logging
error
or above to the TAP. If required for debugging, theTAP_LOG_FILTER
environment variable can be set to a different level to override it.Related issues and discussion: #3125