Bug 201000 - run-webkit-tests: Use -noBulkSymbolication when calling spindump
Summary: run-webkit-tests: Use -noBulkSymbolication when calling spindump
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jonathan Bedard
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-08-21 15:21 PDT by Jonathan Bedard
Modified: 2019-08-27 11:01 PDT (History)
7 users (show)

See Also:


Attachments
Patch (5.56 KB, patch)
2019-08-21 16:34 PDT, Jonathan Bedard
no flags Details | Formatted Diff | Diff
Patch (5.68 KB, patch)
2019-08-22 09:56 PDT, Jonathan Bedard
no flags Details | Formatted Diff | Diff
Patch (5.69 KB, patch)
2019-08-22 10:18 PDT, Jonathan Bedard
no flags Details | Formatted Diff | Diff
Patch (3.80 KB, patch)
2019-08-27 10:14 PDT, Jonathan Bedard
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Bedard 2019-08-21 15:21:57 PDT
In Catalina, we want to opt out of bulk symbolication when calling spindump, since it may prompt the user for credentials.
Comment 1 Jonathan Bedard 2019-08-21 15:22:13 PDT
<rdar://problem/53778938>
Comment 2 Jonathan Bedard 2019-08-21 16:34:46 PDT
Created attachment 376948 [details]
Patch
Comment 3 Alexey Proskuryakov 2019-08-22 09:18:04 PDT
Comment on attachment 376948 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=376948&action=review

> Tools/Scripts/webkitpy/port/darwin.py:181
> +                exit_code = host.executive.run_command(spindump_command + ['-noBulkSymbolication'], return_exit_code=True)

It looks like the fallback won't be needed once macOS Catalina is the oldest supported version. Please add a comment explaining what's happening here in some reasonable detail (at least a radar link, and a FIXME to remove).

That said, I'm not entirely sure which platforms we try to run this on. This is darwin.py, does that mean that this code runs on iOS?
Comment 4 Jonathan Bedard 2019-08-22 09:41:44 PDT
(In reply to Alexey Proskuryakov from comment #3)
> Comment on attachment 376948 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=376948&action=review
> 
> > Tools/Scripts/webkitpy/port/darwin.py:181
> > +                exit_code = host.executive.run_command(spindump_command + ['-noBulkSymbolication'], return_exit_code=True)
> 
> It looks like the fallback won't be needed once macOS Catalina is the oldest
> supported version. Please add a comment explaining what's happening here in
> some reasonable detail (at least a radar link, and a FIXME to remove).
> 
> That said, I'm not entirely sure which platforms we try to run this on. This
> is darwin.py, does that mean that this code runs on iOS?

Yes, this is run on iOS and watchOS too. Both iOS 13 and watchOS 6 have the -noSymbolication flag.
Comment 5 Jonathan Bedard 2019-08-22 09:56:23 PDT
Created attachment 377018 [details]
Patch
Comment 6 Alexey Proskuryakov 2019-08-22 10:04:08 PDT
Comment on attachment 377018 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=377018&action=review

> Tools/Scripts/webkitpy/port/darwin.py:183
> +                #FIXME: Remove when we no longer support Catalina

This is not right - the time to remove is when macOS Catalina is the oldest supported version, not when we no longer support it.

Please add a space after #, and a period at the end of the sentence. I'd also say "remove the fallback", not just "remove".
Comment 7 Jonathan Bedard 2019-08-22 10:18:57 PDT
Created attachment 377023 [details]
Patch
Comment 8 WebKit Commit Bot 2019-08-22 12:04:58 PDT
Comment on attachment 377023 [details]
Patch

Clearing flags on attachment: 377023

Committed r249023: <https://trac.webkit.org/changeset/249023>
Comment 9 WebKit Commit Bot 2019-08-22 12:05:00 PDT
All reviewed patches have been landed.  Closing bug.
Comment 10 Jonathan Bedard 2019-08-27 10:14:33 PDT
Reopening to attach new patch.
Comment 11 Jonathan Bedard 2019-08-27 10:14:34 PDT
Created attachment 377347 [details]
Patch
Comment 12 WebKit Commit Bot 2019-08-27 11:01:37 PDT
Comment on attachment 377347 [details]
Patch

Clearing flags on attachment: 377347

Committed r249151: <https://trac.webkit.org/changeset/249151>
Comment 13 WebKit Commit Bot 2019-08-27 11:01:39 PDT
All reviewed patches have been landed.  Closing bug.