RESOLVED FIXED 186115
test262-runner should run in verbose mode in automation
https://bugs.webkit.org/show_bug.cgi?id=186115
Summary test262-runner should run in verbose mode in automation
Ryan Haddad
Reported 2018-05-30 16:18:57 PDT
test262-runner should run in verbose mode in automation so that: 1. It provides output so that we can get a better idea what is going wrong when something like this happens: https://build.webkit.org/builders/Apple%20Sierra%20Debug%20Test262%20%28Tests%29/builds/2594/steps/test262-test/logs/stdio 2. It doesn't hit the '1200 seconds without output' timeout if it is legitimately running tests, but taking longer than 1200 seconds.
Attachments
Patch (2.96 KB, patch)
2018-05-30 18:39 PDT, Leo Balter
no flags
Patch (2.80 KB, patch)
2018-05-30 18:50 PDT, Leo Balter
no flags
Leo Balter
Comment 1 2018-05-30 16:40:27 PDT
Thanks for this feedback, Ryan. I've been wondering if we should have verbose mode in the build bot for a while, now you confirmed my thoughts. I have one extra question: should we report all the test files in the verbose mode? Right now it's limited to report all the failures (including the known failures). I believe if we print a line - or even a dot - for each passing test will support the '1200 seconds without output' better
Ryan Haddad
Comment 2 2018-05-30 16:58:24 PDT
(In reply to Leo Balter from comment #1) > Thanks for this feedback, Ryan. I've been wondering if we should have > verbose mode in the build bot for a while, now you confirmed my thoughts. > > I have one extra question: should we report all the test files in the > verbose mode? Right now it's limited to report all the failures (including > the known failures). I think it is fine to print everything in verbose mode, including known failures. We do this with 'run-webkit-tests' in automation (i.e. https://build.webkit.org/builders/Apple%20Sierra%20Release%20WK2%20(Tests)/builds/9702/steps/layout-test/logs/stdio). > I believe if we print a line - or even a dot - for each passing test will > support the '1200 seconds without output' better Yes, any output should prevent the step from hitting the buildbot timeout.
Leo Balter
Comment 3 2018-05-30 18:39:12 PDT
Leo Balter
Comment 4 2018-05-30 18:42:19 PDT
Ryan, I uploaded a patch with the verbose mode toggled for the build bot + dots for known passing tests. It still prints a full "NEW PASS $filename" for tests the were previously failing. I decided to try the dots as I believe this still makes some readable output. I'm also not printing anything the skipped tests, I don't think this will be a problem, but it's easy to also print anything for these cases.
Leo Balter
Comment 5 2018-05-30 18:50:22 PDT
Leo Balter
Comment 6 2018-05-30 18:52:20 PDT
I gave a better look to the wpt report and I believe I was being unnecessarily conservative on printing the passing and skipped files. The new update just prints everything, it's nice to tell what is being surfaced by the runner.
Yusuke Suzuki
Comment 7 2018-05-31 02:54:28 PDT
Comment on attachment 341636 [details] Patch Let's land it and watch on the bot results!
WebKit Commit Bot
Comment 8 2018-05-31 03:21:00 PDT
Comment on attachment 341636 [details] Patch Clearing flags on attachment: 341636 Committed r232343: <https://trac.webkit.org/changeset/232343>
WebKit Commit Bot
Comment 9 2018-05-31 03:21:02 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 10 2018-05-31 03:31:44 PDT
Note You need to log in before you can comment on or make changes to this bug.