Changeset 240440 in webkit


Ignore:
Timestamp:
Jan 24, 2019 10:26:05 AM (5 years ago)
Author:
Jonathan Bedard
Message:

webkitpy: Missing PID in crashlog name should not be fatal
https://bugs.webkit.org/show_bug.cgi?id=193771

If we can't determine the PID of a crashlog, just ignore the crashlog instead
of raising an exception.

Reviewed by Lucas Forschler.

  • Scripts/webkitpy/port/darwin.py:

(DarwinPort._merge_crash_logs):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r240438 r240440  
     12019-01-24  Jonathan Bedard  <jbedard@apple.com>
     2
     3        webkitpy: Missing PID in crashlog name should not be fatal
     4        https://bugs.webkit.org/show_bug.cgi?id=193771
     5
     6        If we can't determine the PID of a crashlog, just ignore the crashlog instead
     7        of raising an exception.
     8
     9        Reviewed by Lucas Forschler.
     10
     11        * Scripts/webkitpy/port/darwin.py:
     12        (DarwinPort._merge_crash_logs):
     13
    1142019-01-24  Michael Catanzaro  <mcatanzaro@igalia.com>
    215
  • trunk/Tools/Scripts/webkitpy/port/darwin.py

    r239989 r240440  
    105105                    process_name = test.split('-')[0]
    106106                    pid = int(test.split('-')[1])
    107             except IndexError:
     107            except IndexError, ValueError:
    108108                continue
    109109            if not any(entry[1] == process_name and entry[2] == pid for entry in crashed_processes):
Note: See TracChangeset for help on using the changeset viewer.