Closed Bug 1509063 Opened 7 years ago Closed 7 years ago

Intermittent Tier 2 /webdriver/tests/find_element/user_prompts.py | test_accept[capabilities0-alert-None] - setup error

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1498944

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

Filed by: btara [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=213141324&repo=mozilla-inbound https://queue.taskcluster.net/v1/task/WEbCol9uS02wpPad7ZSwpA/runs/0/artifacts/public/logs/live_backing.log [task 2018-11-21T14:59:07.091Z] 14:59:07 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py [task 2018-11-21T14:59:07.092Z] 14:59:07 INFO - STDOUT: :421: in start [task 2018-11-21T14:59:07.093Z] 14:59:07 INFO - STDOUT: value = self.send_command("POST", "session", body=body) [task 2018-11-21T14:59:07.093Z] 14:59:07 INFO - STDOUT: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ [task 2018-11-21T14:59:07.094Z] 14:59:07 INFO - STDOUT: self = <Session (disconnected)>, method = 'POST', url = 'session' [task 2018-11-21T14:59:07.095Z] 14:59:07 INFO - STDOUT: body = {'capabilities': {'alwaysMatch': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox...latform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}, 'unhandledPromptBehavior': 'accept'}}} [task 2018-11-21T14:59:07.096Z] 14:59:07 INFO - STDOUT: def send_command(self, method, url, body=None): [task 2018-11-21T14:59:07.096Z] 14:59:07 INFO - STDOUT: """ [task 2018-11-21T14:59:07.097Z] 14:59:07 INFO - STDOUT: Send a command to the remote end and validate its success. [task 2018-11-21T14:59:07.098Z] 14:59:07 INFO - STDOUT: [task 2018-11-21T14:59:07.099Z] 14:59:07 INFO - STDOUT: :param method: HTTP method to use in request. [task 2018-11-21T14:59:07.100Z] 14:59:07 INFO - STDOUT: :param uri: "Command part" of the HTTP request URL, [task 2018-11-21T14:59:07.100Z] 14:59:07 INFO - STDOUT: e.g. `window/rect`. [task 2018-11-21T14:59:07.101Z] 14:59:07 INFO - STDOUT: :param body: Optional body of the HTTP request. [task 2018-11-21T14:59:07.102Z] 14:59:07 INFO - STDOUT: [task 2018-11-21T14:59:07.103Z] 14:59:07 INFO - STDOUT: :return: `None` if the HTTP response body was empty, otherwise [task 2018-11-21T14:59:07.103Z] 14:59:07 INFO - STDOUT: the `value` field returned after parsing the response [task 2018-11-21T14:59:07.104Z] 14:59:07 INFO - STDOUT: body as JSON. [task 2018-11-21T14:59:07.105Z] 14:59:07 INFO - STDOUT: [task 2018-11-21T14:59:07.106Z] 14:59:07 INFO - STDOUT: :raises error.WebDriverException: If the remote end returns [task 2018-11-21T14:59:07.107Z] 14:59:07 INFO - STDOUT: an error. [task 2018-11-21T14:59:07.107Z] 14:59:07 INFO - STDOUT: :raises ValueError: If the response body does not contain a [task 2018-11-21T14:59:07.108Z] 14:59:07 INFO - STDOUT: `value` key. [task 2018-11-21T14:59:07.110Z] 14:59:07 INFO - STDOUT: """ [task 2018-11-21T14:59:07.111Z] 14:59:07 INFO - STDOUT: response = self.transport.send( [task 2018-11-21T14:59:07.111Z] 14:59:07 INFO - STDOUT: method, url, body, [task 2018-11-21T14:59:07.112Z] 14:59:07 INFO - STDOUT: encoder=protocol.Encoder, decoder=protocol.Decoder, [task 2018-11-21T14:59:07.113Z] 14:59:07 INFO - STDOUT: session=self) [task 2018-11-21T14:59:07.139Z] 14:59:07 INFO - STDOUT: [task 2018-11-21T14:59:07.140Z] 14:59:07 INFO - STDOUT: if response.status != 200: [task 2018-11-21T14:59:07.141Z] 14:59:07 INFO - STDOUT: err = error.from_response(response) [task 2018-11-21T14:59:07.141Z] 14:59:07 INFO - STDOUT: [task 2018-11-21T14:59:07.143Z] 14:59:07 INFO - STDOUT: if isinstance(err, error.InvalidSessionIdException): [task 2018-11-21T14:59:07.144Z] 14:59:07 INFO - STDOUT: # The driver could have already been deleted the session. [task 2018-11-21T14:59:07.146Z] 14:59:07 INFO - STDOUT: self.session_id = None [task 2018-11-21T14:59:07.148Z] 14:59:07 INFO - STDOUT: [task 2018-11-21T14:59:07.149Z] 14:59:07 INFO - STDOUT: > raise err [task 2018-11-21T14:59:07.151Z] 14:59:07 INFO - STDOUT: E UnknownErrorException: unknown error (500): connection refused [task 2018-11-21T14:59:07.153Z] 14:59:07 INFO - STDOUT: body = {'capabilities': {'alwaysMatch': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox...latform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}, 'unhandledPromptBehavior': 'accept'}}} [task 2018-11-21T14:59:07.154Z] 14:59:07 INFO - STDOUT: err = <UnknownErrorException http_status=500> [task 2018-11-21T14:59:07.155Z] 14:59:07 INFO - STDOUT: method = 'POST' [task 2018-11-21T14:59:07.157Z] 14:59:07 INFO - STDOUT: response = <Response status=500 error=<UnknownErrorException http_status=500>> [task 2018-11-21T14:59:07.158Z] 14:59:07 INFO - STDOUT: self = <Session (disconnected)> [task 2018-11-21T14:59:07.161Z] 14:59:07 INFO - STDOUT: url = 'session' [task 2018-11-21T14:59:07.162Z] 14:59:07 INFO - STDOUT: tests/web-platform/tests/tools/webdriver/webdriver/client.py [task 2018-11-21T14:59:07.162Z] 14:59:07 INFO - STDOUT: :472: UnknownErrorException [task 2018-11-21T14:59:07.163Z] 14:59:07 INFO - STDOUT: =============================== warnings summary =============================== [task 2018-11-21T14:59:07.165Z] 14:59:07 INFO - STDOUT: <undetermined location> [task 2018-11-21T14:59:07.166Z] 14:59:07 INFO - STDOUT: Module already imported so cannot be rewritten: mozlog [task 2018-11-21T14:59:07.167Z] 14:59:07 INFO - STDOUT: Module already imported so cannot be rewritten: tests.support.fixtures [task 2018-11-21T14:59:07.168Z] 14:59:07 INFO - STDOUT: -- Docs: http://doc.pytest.org/en/latest/warnings.html [task 2018-11-21T14:59:07.170Z] 14:59:07 INFO - STDOUT: =============== 17 passed, 2 warnings, 1 error in 135.88 seconds =============== [task 2018-11-21T14:59:07.173Z] 14:59:07 INFO - [task 2018-11-21T14:59:07.174Z] 14:59:07 INFO - TEST-UNEXPECTED-ERROR | /webdriver/tests/find_element/user_prompts.py | test_accept[capabilities0-alert-None] - setup error [task 2018-11-21T14:59:07.175Z] 14:59:07 INFO - capabilities = {'unhandledPromptBehavior': 'accept'} [task 2018-11-21T14:59:07.176Z] 14:59:07 INFO - configuration = {'capabilities': {'moz:firefoxOptions': {'binary': '/builds/worker/workspace/build/application/firefox/firefox', 'pref...b-platform.test,www.web-platform.test,xn--n8j6ds53lwwkrqhv28a.web-platform.test'}}}, 'host': '127.0.0.1', 'port': 4444} [task 2018-11-21T14:59:07.176Z] 14:59:07 INFO - request = <SubRequest 'session' for <Function 'test_accept[capabilities0-alert-None]'>>
James, can you, please, take a look? This is a new intermittent which has appeared on today's wpt-sync. https://hg.mozilla.org/integration/mozilla-inbound/rev/a56159835ce8039a70eafbb4f47f83c1c5a90a6c
Flags: needinfo?(james)
This is just a dupe of bug 1498944.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(james)
Resolution: --- → DUPLICATE
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.