[Webkit-unassigned] [Bug 218643] New: REGRESSION(r268930): It broke the http server of run-benchmark

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 5 20:09:44 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=218643

            Bug ID: 218643
           Summary: REGRESSION(r268930): It broke the http server of
                    run-benchmark
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: aakash_jain at apple.com, jbedard at apple.com

On https://build.webkit.org/builders/GTK-Linux-64-bit-Release-Perf/builds/10332/steps/benchmark-test/logs/stdio the benchmarks are all failing with:

Traceback (most recent call last):
  File "/home/buildbot/worker/gtk-linux-64-release-perf-tests/build/Tools/Scripts/webkitpy/browserperfdash/browserperfdash_runner.py", line 169, in run
    runner.execute()
  File "/home/buildbot/worker/gtk-linux-64-release-perf-tests/build/Tools/Scripts/webkitpy/benchmark_runner/benchmark_runner.py", line 120, in execute
    self._run_benchmark(int(self._plan['count']), web_root)
  File "/home/buildbot/worker/gtk-linux-64-release-perf-tests/build/Tools/Scripts/webkitpy/benchmark_runner/benchmark_runner.py", line 90, in _run_benchmark
    result = self._run_one_test(web_root, self._plan['entry_point'])
  File "/home/buildbot/worker/gtk-linux-64-release-perf-tests/build/Tools/Scripts/webkitpy/benchmark_runner/webserver_benchmark_runner.py", line 43, in _run_one_test
    raise error
AccessDenied: psutil.AccessDenied (pid=12593)


This is caused because the http server launched via a subprocess exits as soon as is launched with an import error.
So then the call to  "psutil.Process(self._server_process.pid).connections()" tries to access the PID of a zombie in /proc causing the AccessDenied error.

The http server exits with this error:

Traceback (most recent call last):
  File "/home/clopez/webkit/webkit/Tools/Scripts/webkitpy/benchmark_runner/http_server_driver/http_server/twisted_http_server.py", line 17, in <module>
    from webkitpy.autoinstalled import twisted
ImportError: No module named webkitpy.autoinstalled


Which in turn is caused because Tools/Scripts is not on PYTHONPATH and it can't find webkitpy.autoinstalled

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201106/61e3ba29/attachment-0001.htm>


More information about the webkit-unassigned mailing list