Title: [251497] trunk/Tools
Revision
251497
Author
[email protected]
Date
2019-10-23 13:47:21 -0700 (Wed, 23 Oct 2019)

Log Message

[ews] iOS-13-Simulator-WK2-Tests-EWS is failing with an KeyError exception
https://bugs.webkit.org/show_bug.cgi?id=203281

Reviewed by Jonathan Bedard.

* BuildSlaveSupport/ews-build/layout_test_failures.py:
(LayoutTestFailures.results_from_string.get_failing_tests): Gracefully handle the case of missing 'report' key.

Modified Paths

Diff

Modified: trunk/Tools/BuildSlaveSupport/ews-build/layout_test_failures.py (251496 => 251497)


--- trunk/Tools/BuildSlaveSupport/ews-build/layout_test_failures.py	2019-10-23 20:43:46 UTC (rev 251496)
+++ trunk/Tools/BuildSlaveSupport/ews-build/layout_test_failures.py	2019-10-23 20:47:21 UTC (rev 251497)
@@ -58,7 +58,7 @@
         failing_tests = []
 
         def get_failing_tests(test, result):
-            if result['report'] in ['REGRESSION', 'MISSING']:
+            if result.get('report') in ['REGRESSION', 'MISSING']:
                 failing_tests.append(test)
 
         cls.parse_full_results_json(json_dict['tests'], get_failing_tests)

Modified: trunk/Tools/ChangeLog (251496 => 251497)


--- trunk/Tools/ChangeLog	2019-10-23 20:43:46 UTC (rev 251496)
+++ trunk/Tools/ChangeLog	2019-10-23 20:47:21 UTC (rev 251497)
@@ -1,3 +1,13 @@
+2019-10-23  Aakash Jain  <[email protected]>
+
+        [ews] iOS-13-Simulator-WK2-Tests-EWS is failing with an KeyError exception
+        https://bugs.webkit.org/show_bug.cgi?id=203281
+
+        Reviewed by Jonathan Bedard.
+
+        * BuildSlaveSupport/ews-build/layout_test_failures.py:
+        (LayoutTestFailures.results_from_string.get_failing_tests): Gracefully handle the case of missing 'report' key.
+
 2019-10-23  Jonathan Bedard  <[email protected]>
 
         Python 3: Add support in webkitpy.results
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to