Issue 1159641 in chromium: "ServerError raised: Port 8000 is already in use" when running WPTs locally

6 views
Skip to first unread message

davidvc via monorail

unread,
Dec 16, 2020, 8:29:42 PM12/16/20
to ecosyst...@chromium.org
Status: Untriaged
Owner: ----
CC: robe...@chromium.org, ecosyst...@chromium.org
Components: Test>WebTests
OS: Linux
Pri: 2
Type: Bug

New issue 1159641 by dav...@chromium.org: "ServerError raised: Port 8000 is already in use" when running WPTs locally
https://bugs.chromium.org/p/chromium/issues/detail?id=1159641

I'm getting the following error when I run a few WPTs in a row on my Linux workstation. I ran into this a separate time a couple days ago; that was the first time I'd seen this problem. StackOverflow suggests trying `lsof -p 8000`, which doesn't print anything out... but I'm still seeing the error. I imagine rebooting my workstation would fix it, but that's quite an ordeal. Is there a better workaround?


ServerError raised: Port 8000 is already in use.
Traceback (most recent call last):
File "/usr/local/google/home/davidvc/chromium/src/third_party/blink/tools/blinkpy/web_tests/run_web_tests.py", line 71, in main
return run(port, options, args, printer).exit_code
File "/usr/local/google/home/davidvc/chromium/src/third_party/blink/tools/blinkpy/web_tests/run_web_tests.py", line 703, in run
run_details = manager.run(args)
File "/usr/local/google/home/davidvc/chromium/src/third_party/blink/tools/blinkpy/web_tests/controllers/manager.py", line 166, in run
self._start_servers(tests_to_run)
File "/usr/local/google/home/davidvc/chromium/src/third_party/blink/tools/blinkpy/web_tests/controllers/manager.py", line 473, in _start_servers
number_of_drivers=self._options.max_locked_shards)
File "/usr/local/google/home/davidvc/chromium/src/third_party/blink/tools/blinkpy/web_tests/port/base.py", line 1447, in start_http_server
server.start()
File "/usr/local/google/home/davidvc/chromium/src/third_party/blink/tools/blinkpy/web_tests/servers/server_base.py", line 107, in start
self._check_that_all_ports_are_available()
File "/usr/local/google/home/davidvc/chromium/src/third_party/blink/tools/blinkpy/web_tests/servers/server_base.py", line 314, in _check_that_all_ports_are_available
raise ServerError('Port %d is already in use.' % port)
ServerError: Port 8000 is already in use.

--
You received this message because:
1. You were specifically CC'd on the issue

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment or make updates.
Reply all
Reply to author
Forward
0 new messages