RESOLVED FIXED 207401
iPad testers failing to launch processes
https://bugs.webkit.org/show_bug.cgi?id=207401
Summary iPad testers failing to launch processes
Jonathan Bedard
Reported 2020-02-07 13:09:16 PST
Our iPad testers are consistently failing to launch processes. Reproducing the issue is difficult, even when attempting to do so on the bots themselves, but our automation is constantly struggling with this.
Attachments
Patch (1.37 KB, patch)
2020-02-07 13:17 PST, Jonathan Bedard
no flags
Jonathan Bedard
Comment 1 2020-02-07 13:09:39 PST
Jonathan Bedard
Comment 2 2020-02-07 13:17:27 PST
Jonathan Bedard
Comment 3 2020-02-07 13:35:18 PST
I've managed to reproduce this twice by running kill-old-processes right before running tests.
Jonathan Bedard
Comment 4 2020-02-07 14:45:42 PST
Alexey Proskuryakov
Comment 5 2020-02-07 16:29:09 PST
Comment on attachment 390118 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=390118&action=review > Tools/BuildSlaveSupport/kill-old-processes:102 > + "Simulator.app", This is surprising, apps don't usually have .app in the process name. Does this updated line have any effect now?
Jonathan Bedard
Comment 6 2020-02-10 08:07:32 PST
(In reply to Alexey Proskuryakov from comment #5) > Comment on attachment 390118 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=390118&action=review > > > Tools/BuildSlaveSupport/kill-old-processes:102 > > + "Simulator.app", > > This is surprising, apps don't usually have .app in the process name. Does > this updated line have any effect now? It's in the path: Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator Not sure we should really be doing this at actually. This did fix our iPad testers, but it also hosed one of our iPhone bots in the process: https://build.webkit.org/builders/Apple%20iOS%2013%20Simulator%20Release%20WK2%20%28Tests%29/builds/2490 That bot was in a pretty bad state, grabbed a sysdiagnose, but couldn't really do anything else. I restarted it and will continue to monitor it.
Alexey Proskuryakov
Comment 7 2020-02-10 09:25:18 PST
> It's in the path: Xcode.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator Elements in the tasksToKillMac array are passed to killall as regex matches: 'os.system("killall -9 -v -m " + task)' This means that path isn't considered, just the process name. Also, it means that the dot in "Simulator.app" matches any character, which is not a big deal, but is unclean. Try "killall -9 -v -m Terminal.app" in your Terminal session to confirm that it won't be killed.
Note You need to log in before you can comment on or make changes to this bug.