RESOLVED WONTFIX 204894
EWS: JSC-Tests-EWS should run with debug instead of release
https://bugs.webkit.org/show_bug.cgi?id=204894
Summary EWS: JSC-Tests-EWS should run with debug instead of release
Jonathan Bedard
Reported 2019-12-05 09:26:42 PST
This is a result of a conversation with Mark, who indicated that a debug EWS is probably more valuable than then a release one.
Attachments
Patch (1.15 KB, patch)
2019-12-05 09:34 PST, Jonathan Bedard
mark.lam: review-
Jonathan Bedard
Comment 1 2019-12-05 09:34:56 PST
Alexey Proskuryakov
Comment 2 2019-12-05 09:36:03 PST
Comment on attachment 384912 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=384912&action=review > Tools/ChangeLog:3 > + EWS: JSC-Tests-EWS should run with debug instead of release I'm somewhat skeptical, because historically issues on debug JSC tests were often discarded or deprioritized. Are we seeing many debug-only regressions on JSC tests that are getting fixed?
Alexey Proskuryakov
Comment 3 2019-12-05 09:36:10 PST
Mark Lam
Comment 4 2019-12-05 09:40:35 PST
I found out last night that the debug build runs ridiculously slow. Let me do something to make it complete in a more reasonable time before we apply this change. (In reply to Alexey Proskuryakov from comment #2) > Comment on attachment 384912 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=384912&action=review > > > Tools/ChangeLog:3 > > + EWS: JSC-Tests-EWS should run with debug instead of release > > I'm somewhat skeptical, because historically issues on debug JSC tests were > often discarded or deprioritized. > > Are we seeing many debug-only regressions on JSC tests that are getting > fixed? With a debug build, we check for missing exception checks, and various GC bugs. These bugs will go unnoticed if we don't run with the debug build. That said, let me put together a debug build configuration that makes more sense to run in the EWS first. Stay tuned.
Alexey Proskuryakov
Comment 5 2019-12-05 09:54:12 PST
If there is one that the JSC team is willing to fully defend, we should run it in post-commit testing too, and unskip tests that are marked as skipped in debug.
Mark Lam
Comment 6 2019-12-16 09:37:49 PST
After https://bugs.webkit.org/show_bug.cgi?id=205279 lands, there's one more change that needs to be made in order to have the tests complete in a reasonable amount of time: for the EWS, I recommend only running the default configuration of the tests. That will get us a lot of mileage. To only run the default configuration, you can pass --filter "\.default" to the run-javascriptcore-tests command line in addition to the --debug flag.
Mark Lam
Comment 7 2019-12-16 09:39:01 PST
Comment on attachment 384912 [details] Patch Please also add the command line option --filter '\.default'.
Filip Pizlo
Comment 8 2019-12-16 10:45:23 PST
Comment on attachment 384912 [details] Patch This isn't a great idea. Debug testing takes longer, experiences races that are different from the release ones, and has important behavioral changes (object layout, synchronization) that make it quite different from release. If we test one thing it should be release. If we test two things it should be two different kinds of release builds.
Jonathan Bedard
Comment 9 2019-12-17 11:50:39 PST
After talking with various JSC folks, seems like this is a 'WON'T FIX', although we might modify release builds to do more debug-y things, that seems like it should be another bug.
Note You need to log in before you can comment on or make changes to this bug.