Intermittent /webdriver/tests/navigation/current_url.py | test_get_current_url_after_modified_location

NEW
Unassigned

Status

Testing
geckodriver
P5
normal
7 days ago
3 days ago

People

(Reporter: Treeherder Bug Filer, Unassigned)

Tracking

({intermittent-failure})

Version 3
intermittent-failure
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

[task 2018-01-10T11:40:58.412Z] 11:40:58     INFO - session = <webdriver.client.Session object at 0x7fb987f980d0>
[task 2018-01-10T11:40:58.413Z] 11:40:58     INFO - 
[task 2018-01-10T11:40:58.414Z] 11:40:58     INFO -     def test_get_current_url_after_modified_location(session):
[task 2018-01-10T11:40:58.414Z] 11:40:58     INFO -         start = session.transport.send("GET", "session/%s/url" % session.session_id)
[task 2018-01-10T11:40:58.415Z] 11:40:58     INFO -         session.execute_script("window.location.href = 'about:blank#wd_test_modification'")
[task 2018-01-10T11:40:58.416Z] 11:40:58     INFO -         wait(session,
[task 2018-01-10T11:40:58.417Z] 11:40:58     INFO -              lambda s: s.transport.send("GET", "session/%s/url" % session.session_id) != start.body["value"],
[task 2018-01-10T11:40:58.417Z] 11:40:58     INFO -              "URL did not change")
[task 2018-01-10T11:40:58.418Z] 11:40:58     INFO -         result = session.transport.send("GET", "session/%s/url" % session.session_id)
[task 2018-01-10T11:40:58.418Z] 11:40:58     INFO -     
[task 2018-01-10T11:40:58.419Z] 11:40:58     INFO - >       assert_success(result, "about:blank#wd_test_modification")
[task 2018-01-10T11:40:58.420Z] 11:40:58     INFO - 
[task 2018-01-10T11:40:58.420Z] 11:40:58     INFO - result     = <Responsetatus=200 body={"value": "file:///"}>
[task 2018-01-10T11:40:58.421Z] 11:40:58     INFO - session    = <webdriver.client.Session object at 0x7fb987f980d0>
[task 2018-01-10T11:40:58.422Z] 11:40:58     INFO - start      = <Responsetatus=200 body={"value": "file:///"}>
[task 2018-01-10T11:40:58.422Z] 11:40:58     INFO - 
[task 2018-01-10T11:40:58.423Z] 11:40:58     INFO - tests/web-platform/tests/webdriver/tests/navigation/current_url.py:86: 
[task 2018-01-10T11:40:58.424Z] 11:40:58     INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
[task 2018-01-10T11:40:58.424Z] 11:40:58     INFO - 
[task 2018-01-10T11:40:58.425Z] 11:40:58     INFO - response = <Responsetatus=200 body={"value": "file:///"}>
[task 2018-01-10T11:40:58.425Z] 11:40:58     INFO - value = 'about:blank#wd_test_modification'
[task 2018-01-10T11:40:58.426Z] 11:40:58     INFO - 
[task 2018-01-10T11:40:58.426Z] 11:40:58     INFO -     def assert_success(response, value=None):
[task 2018-01-10T11:40:58.426Z] 11:40:58     INFO -         """
[task 2018-01-10T11:40:58.427Z] 11:40:58     INFO -         Verify that the provided webdriver.Response instance described
[task 2018-01-10T11:40:58.427Z] 11:40:58     INFO -         a valid error response as defined by `dfn-send-an-error` and
[task 2018-01-10T11:40:58.427Z] 11:40:58     INFO -         the provided error code.
[task 2018-01-10T11:40:58.428Z] 11:40:58     INFO -     
[task 2018-01-10T11:40:58.428Z] 11:40:58     INFO -         :param response: ``webdriver.Response`` instance.
[task 2018-01-10T11:40:58.428Z] 11:40:58     INFO -         :param value: Expected value of the response body, if any.
[task 2018-01-10T11:40:58.429Z] 11:40:58     INFO -         """
[task 2018-01-10T11:40:58.429Z] 11:40:58     INFO -         assert response.status == 200, str(response.error)
[task 2018-01-10T11:40:58.429Z] 11:40:58     INFO -     
[task 2018-01-10T11:40:58.430Z] 11:40:58     INFO -         if value is not None:
[task 2018-01-10T11:40:58.430Z] 11:40:58     INFO - >           assert response.body["value"] == value
[task 2018-01-10T11:40:58.430Z] 11:40:58     INFO - E           AssertionError
[task 2018-01-10T11:40:58.430Z] 11:40:58     INFO - 
[task 2018-01-10T11:40:58.431Z] 11:40:58     INFO - response   = <Responsetatus=200 body={"value": "file:///"}>
[task 2018-01-10T11:40:58.431Z] 11:40:58     INFO - value      = 'about:blank#wd_test_modification'
[task 2018-01-10T11:40:58.431Z] 11:40:58     INFO - 
[task 2018-01-10T11:40:58.432Z] 11:40:58     INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:86: AssertionError
[task 2018-01-10T11:40:58.432Z] 11:40:58     INFO - ..

Comment 2

3 days ago
19 failures in 788 pushes (0.024 failures/push) were associated with this bug in the last 7 days.    

Repository breakdown:
* autoland: 8
* mozilla-central: 7
* mozilla-inbound: 3
* try: 1

Platform breakdown:
* linux32: 8
* linux64: 6
* linux64-ccov: 5

For more details, see:
https://brasstacks.mozilla.com/orangefactor/?display=Bug&bugid=1429391&startday=2018-01-08&endday=2018-01-14&tree=all
You need to log in before you can comment on or make changes to this bug.