-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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: change jenkins reporter #56808
base: main
Are you sure you want to change the base?
Conversation
@cjihrig I think this might fix it. The format is intended for GitHub actions so we might need to create a new option in The view from #56739 (comment) shouldn't appear because that seems to be from
in the ci and now we're no longer using tap. Not sure where the jenkins config is so I can't check |
I don't think this is currently correct (but I'm also not 100% sure, so please bear with me). I think we still want the Python runner to output TAP when run in Jenkins. I believe there is other tooling in the CI that relies on that TAP output. I think we want to update |
Do you think we want them directly in |
I don't really have a preference, but since the flags are already set that way in |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #56808 +/- ##
=======================================
Coverage 89.21% 89.21%
=======================================
Files 663 663
Lines 192012 192012
Branches 36927 36924 -3
=======================================
+ Hits 171296 171306 +10
+ Misses 13586 13576 -10
Partials 7130 7130 |
I was asking because I'm not sure if test file might be used for other things that might not want those flags, but the makefile probably isn't used for anything else |
I know test.py is used to run tests locally by some folks. I'm not sure beyond that, but I believe we'll always want that reporter specified since this is being done to make the failure output something more acceptable for core contributors. |
da921e9
to
5143039
Compare
Changed, I thought we wanted to get rid of all the
|
No, that's just TAP. We're trying to address the opinion that unit tests that use So we're trying to get rid of this (copied from #56739 (comment)):
There is also the stack trace view show below. This one is particularly problematic because the plugin used to create it butchers the output into something like this:
|
The good news is that this seems to mostly work:
and stacktrace view:
The bad news is that we also run the test suite inside of a worker thread, and that appears to be breaking: https://ci.nodejs.org/job/node-test-commit-custom-suites-freestyle/40511/. The error looks like this:
And the command that is run for that is |
Perhaps this is the area where the flags should be set (including for the GitHub Actions runs). |
This PR intends to change the test reporter in Jenkins CI to report errors only.
Follow up of #56739