Bug 154858 - Disable FTL JIT testing on 32-bit JSC tester bots
Summary: Disable FTL JIT testing on 32-bit JSC tester bots
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 154964 154967
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-01 07:06 PST by Csaba Osztrogonác
Modified: 2016-07-20 02:17 PDT (History)
13 users (show)

See Also:


Attachments
Patch (1.56 KB, patch)
2016-03-01 07:06 PST, Csaba Osztrogonác
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2016-03-01 07:06:00 PST
Now --ftl-jit is passed to run-jsc-stress-tests on these bots (by run-javascriptcore-tests):
- Apple El Capitan 32-bit JSC (BuildAndTest)
- Apple Yosemite 32-bit JSC (BuildAndTest)

There is no reason to run 30k tests instead of 17k
since there is no FTL JIT on 32 bit architectures.
Comment 1 Csaba Osztrogonác 2016-03-01 07:06:53 PST
Created attachment 272563 [details]
Patch
Comment 2 Csaba Osztrogonác 2016-03-01 21:33:31 PST
ping
Comment 3 Alexey Proskuryakov 2016-03-01 22:26:51 PST
Shouldn't this behavior be baked in run-javascriptcore-tests? This combination is never useful, not just on the bots.
Comment 4 WebKit Commit Bot 2016-03-01 22:58:23 PST
Comment on attachment 272563 [details]
Patch

Clearing flags on attachment: 272563

Committed r197442: <http://trac.webkit.org/changeset/197442>
Comment 5 WebKit Commit Bot 2016-03-01 22:58:27 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Csaba Osztrogonác 2016-03-02 00:49:47 PST
(In reply to comment #3)
> Shouldn't this behavior be baked in run-javascriptcore-tests? This
> combination is never useful, not just on the bots.

It would be better ... but I haven't found any simple option 
in run-javascriptcore-tests and webktidirs.pm to determine if
we build Apple Mac x86 JSC.

But I'll be happy to review any patch replaces this with 
a better fix in run-javascriptcore-tests.
Comment 7 Csaba Osztrogonác 2016-03-02 00:51:09 PST
It seems automatical buildbot master restart still doesn't work. :(

Could you possibly restart the master manually?
Comment 8 Alexey Proskuryakov 2016-03-02 09:46:17 PST
> It seems automatical buildbot master restart still doesn't work. :(

It's not supposed to, as it's a fairly dangerous operation, so it's better if someone with direct access to the server is around to perform it.
Comment 9 Alexey Proskuryakov 2016-03-02 09:48:49 PST
> I haven't found any simple option in run-javascriptcore-tests and webktidirs.pm

I do not know how to best do that, but I'm sure that someone on the CC list does.
Comment 10 Csaba Osztrogonác 2016-03-02 09:55:44 PST
(In reply to comment #8)
> > It seems automatical buildbot master restart still doesn't work. :(
> 
> It's not supposed to, as it's a fairly dangerous operation, so it's better
> if someone with direct access to the server is around to perform it.

Previously it worked properly. Nowadays all webkitpy and BuildSlaveSupport change triggers restart except master.cfg and config.json. (bug107052)

I think it can be dangerous only if folks land master.cfg changes 
blindly without local testing or at least unit testing. But in this 
case an immediate rollout would fix the master without direct access
to the server.
Comment 11 Keith Miller 2016-03-02 12:58:58 PST
(In reply to comment #9)
> > I haven't found any simple option in run-javascriptcore-tests and webktidirs.pm
> 
> I do not know how to best do that, but I'm sure that someone on the CC list
> does.

I don't think there is any current way to know if FTL is enabled. One solution would be to have the jsc binary have some option that prints information about the build e.g. if FTL/DFG are enabled. Then run-javascriptcore-tests could just not run the modes relevant to those builds. I'm not sure that's a high priority to implement but maybe it's something we should consider in the future.

A quicker, less general fix would be to have run-javascriptcore-tests run the file command on the jsc binary and not run FTL tests if the binary is 32-bit.
Comment 12 Csaba Osztrogonác 2016-03-02 23:42:30 PST
Ping for master restart.
Comment 13 Ryosuke Niwa 2016-03-03 01:44:41 PST
(In reply to comment #12)
> Ping for master restart.

Done that.
Comment 14 WebKit Commit Bot 2016-03-03 09:26:02 PST
Re-opened since this is blocked by bug 154967
Comment 15 Csaba Osztrogonác 2016-03-03 09:28:32 PST
I won't have time for it, feel free to pick it up if you are 
interested in 80 mins runtime instead of 110 mins on 32 bit bots.
Comment 16 Alexey Proskuryakov 2016-03-03 09:29:58 PST
Rolled out in r197442, so the master needs to be restarted again.
Comment 17 Csaba Osztrogonác 2016-07-20 02:17:57 PDT
Close as resolved/wontfix, because it won't be possible
after https://trac.webkit.org/changeset/203440.