Failing to upload to flakiness dashboard should not be a hard error
authoraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Jan 2016 22:37:49 +0000 (22:37 +0000)
committeraakash_jain@apple.com <aakash_jain@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Jan 2016 22:37:49 +0000 (22:37 +0000)
https://bugs.webkit.org/show_bug.cgi?id=153444
<rdar://problem/22146294>

Reviewed by Alexey Proskuryakov.

* Scripts/webkitpy/layout_tests/controllers/manager.py:
(Manager._upload_json_files): If JSON file is not generated, do not try to upload it.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@195557 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Tools/ChangeLog
Tools/Scripts/webkitpy/layout_tests/controllers/manager.py

index 91d5070..c3f2728 100644 (file)
@@ -1,3 +1,14 @@
+2016-01-25  Aakash Jain  <aakash_jain@apple.com>
+
+        Failing to upload to flakiness dashboard should not be a hard error
+        https://bugs.webkit.org/show_bug.cgi?id=153444
+        <rdar://problem/22146294>
+
+        Reviewed by Alexey Proskuryakov.
+
+        * Scripts/webkitpy/layout_tests/controllers/manager.py:
+        (Manager._upload_json_files): If JSON file is not generated, do not try to upload it.
+
 2016-01-25  Daniel Bates  <dabates@apple.com>
 
         WebKitTestRunner: Credential cache is not cleared between tests
index 6759041..573f89e 100644 (file)
@@ -381,6 +381,7 @@ class Manager(object):
             _log.debug("Finished writing JSON file for the test results server.")
         else:
             _log.debug("Failed to generate JSON file for the test results server.")
+            return
 
         json_files = ["incremental_results.json", "full_results.json", "times_ms.json"]