web-platform-tests / web-platform-tests/wpt
WebDriver process killed before the Command.QUIT sent to it
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 6.2k
- Forks
- 3.9k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 586
Description
Originally posted as https://github.com/w3c/wptrunner/issues/175 by @lizzygao on 24 Mar 2016, 03:02 UTC:
Run the wptrunner and take the Chrome as the product, like this:
wptrunner --metadata=tests\ --tests=tests\ --binary="C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --product=chrome --webdriver-binary="C:\Users\ygao\bin\chromedriver.exe" --include=2dcontext --processes=1 --log-raw=log-raw.txt > test.txt
Some errors come up about:
URLError:
urlopen error [Errno 10061] No connection could be made because the target machine actively refused itIt caused by the WebDriver process (LocalServer.stop) is killed, and then the QUIT command sent to it (SeleniumProtocol.teardown)
This behavior is not suitable for the QUIT is never working on the WebDriver server side.
Is this an considering issue and being fixed?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Windows wptrunner command from the issue with Chrome and one process. Trace LocalServer.stop and SeleniumProtocol.teardown to confirm the WebDriver process lifecycle; done means teardown sends Command.QUIT while the server is still available and avoids the connection-refused error.
Written by the indexing model from the issue text.
Assessment
- Domain
- cli, testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100