Title: [278998] trunk/Tools
Revision
278998
Author
[email protected]
Date
2021-06-17 11:24:51 -0700 (Thu, 17 Jun 2021)

Log Message

[Win] Exception running layout tests
https://bugs.webkit.org/show_bug.cgi?id=227114

Reviewed by Jonathan Bedard.

Catch exception and print warning message.

* Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py:
(TaskPool.__exit__):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (278997 => 278998)


--- trunk/Tools/ChangeLog	2021-06-17 18:18:44 UTC (rev 278997)
+++ trunk/Tools/ChangeLog	2021-06-17 18:24:51 UTC (rev 278998)
@@ -1,3 +1,15 @@
+2021-06-17  Per Arne Vollan  <[email protected]>
+
+        [Win] Exception running layout tests
+        https://bugs.webkit.org/show_bug.cgi?id=227114
+
+        Reviewed by Jonathan Bedard.
+
+        Catch exception and print warning message.
+
+        * Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py:
+        (TaskPool.__exit__):
+
 2021-06-17  Alex Christensen  <[email protected]>
 
         Remove empty header WebTypesInternal.h

Modified: trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py (278997 => 278998)


--- trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py	2021-06-17 18:18:44 UTC (rev 278997)
+++ trunk/Tools/Scripts/libraries/webkitcorepy/webkitcorepy/task_pool.py	2021-06-17 18:24:51 UTC (rev 278998)
@@ -459,7 +459,10 @@
                 if sys.version_info >= (3, 7):
                     worker.kill()
                 elif hasattr(signal, 'SIGKILL'):
-                    os.kill(worker.pid, signal.SIGKILL)
+                    try:
+                        os.kill(worker.pid, signal.SIGKILL)
+                    except OSError as e:
+                        log.warn('Failed to terminate worker ' + str(worker.pid) + ' with error ' + str(e))
                 else:
                     worker.terminate()
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to