Closed Bug 1589676 Opened 6 years ago Closed 6 years ago

Perma [tier2] /webdriver/tests/set_window_rect/set.py | test_x_y_floats - assert 0 == 420

Categories

(Testing :: geckodriver, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1589186

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

Filed by: opoprus [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=271886845&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/JjQWEbD3QPG11OJ8UImvZA/runs/0/artifacts/public/logs/live_backing.log


[task 2019-10-18T12:53:45.921Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_width_height_floats
[task 2019-10-18T12:53:45.921Z] 12:53:45 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/set_window_rect/set.py | test_x_y_floats - assert 0 == 420
[task 2019-10-18T12:53:45.921Z] 12:53:45 INFO - session = <Session 4daf528f-3daf-4e6a-9b15-357fb84e8618>
[task 2019-10-18T12:53:45.921Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.922Z] 12:53:45 INFO - def test_x_y_floats(session):
[task 2019-10-18T12:53:45.922Z] 12:53:45 INFO - response = set_window_rect(session, {"x": 0.5, "y": 420})
[task 2019-10-18T12:53:45.922Z] 12:53:45 INFO - value = assert_success(response)
[task 2019-10-18T12:53:45.922Z] 12:53:45 INFO - assert value["x"] == 0
[task 2019-10-18T12:53:45.922Z] 12:53:45 INFO - > assert value["y"] == 420
[task 2019-10-18T12:53:45.922Z] 12:53:45 INFO - E assert 0 == 420
[task 2019-10-18T12:53:45.922Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.922Z] 12:53:45 INFO - response = <Responsetatus=200 body={"value": {"y": 0, "x": 0, "height": 600, "width": 800}}>
[task 2019-10-18T12:53:45.922Z] 12:53:45 INFO - session = <Session 4daf528f-3daf-4e6a-9b15-357fb84e8618>
[task 2019-10-18T12:53:45.923Z] 12:53:45 INFO - value = {'height': 600, 'width': 800, 'x': 0, 'y': 0}
[task 2019-10-18T12:53:45.923Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.923Z] 12:53:45 INFO - tests/web-platform/tests/webdriver/tests/set_window_rect/set.py:93: AssertionError
[task 2019-10-18T12:53:45.928Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.928Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_no_change[rect12]
[task 2019-10-18T12:53:45.929Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_no_change[rect13]
[task 2019-10-18T12:53:45.929Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_no_change[rect14]
[task 2019-10-18T12:53:45.929Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_no_change[rect15]
[task 2019-10-18T12:53:45.929Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_no_change[rect16]
[task 2019-10-18T12:53:45.930Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_no_change[rect17]
[task 2019-10-18T12:53:45.930Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_no_change[rect18]
[task 2019-10-18T12:53:45.930Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_no_change[rect19]
[task 2019-10-18T12:53:45.930Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_fully_exit_fullscreen
[task 2019-10-18T12:53:45.930Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_restore_from_minimized
[task 2019-10-18T12:53:45.930Z] 12:53:45 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/set_window_rect/set.py | test_restore_from_maximized - assert (800, 600) != (800, 600)
[task 2019-10-18T12:53:45.931Z] 12:53:45 INFO - session = <Session 4daf528f-3daf-4e6a-9b15-357fb84e8618>
[task 2019-10-18T12:53:45.931Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.931Z] 12:53:45 INFO - def test_restore_from_maximized(session):
[task 2019-10-18T12:53:45.931Z] 12:53:45 INFO - original_size = session.window.size
[task 2019-10-18T12:53:45.931Z] 12:53:45 INFO - session.window.maximize()
[task 2019-10-18T12:53:45.932Z] 12:53:45 INFO - > assert session.window.size != original_size
[task 2019-10-18T12:53:45.932Z] 12:53:45 INFO - E assert (800, 600) != (800, 600)
[task 2019-10-18T12:53:45.932Z] 12:53:45 INFO - E + where (800, 600) = <webdriver.client.Window object at 0x7fe2a99d75d0>.size
[task 2019-10-18T12:53:45.932Z] 12:53:45 INFO - E + where <webdriver.client.Window object at 0x7fe2a99d75d0> = <Session 4daf528f-3daf-4e6a-9b15-357fb84e8618>.window
[task 2019-10-18T12:53:45.932Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.932Z] 12:53:45 INFO - original_size = (800, 600)
[task 2019-10-18T12:53:45.933Z] 12:53:45 INFO - session = <Session 4daf528f-3daf-4e6a-9b15-357fb84e8618>
[task 2019-10-18T12:53:45.933Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.933Z] 12:53:45 INFO - tests/web-platform/tests/webdriver/tests/set_window_rect/set.py:161: AssertionError
[task 2019-10-18T12:53:45.936Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.937Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_height_width
[task 2019-10-18T12:53:45.937Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_height_width_smaller_than_minimum_browser_size
[task 2019-10-18T12:53:45.937Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_height_width_larger_than_max
[task 2019-10-18T12:53:45.938Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_height_width_as_current
[task 2019-10-18T12:53:45.938Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_height_as_current
[task 2019-10-18T12:53:45.938Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_width_as_current
[task 2019-10-18T12:53:45.939Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_x_y
[task 2019-10-18T12:53:45.940Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_negative_x_y
[task 2019-10-18T12:53:45.940Z] 12:53:45 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_x_y_as_current
[task 2019-10-18T12:53:45.940Z] 12:53:45 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/set_window_rect/set.py | test_x_as_current - AssertionError: assert {'height': 60...100, 'y': 100} == {'height': 600...100, 'y': 110}
[task 2019-10-18T12:53:45.941Z] 12:53:45 INFO - session = <Session 4daf528f-3daf-4e6a-9b15-357fb84e8618>
[task 2019-10-18T12:53:45.941Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.941Z] 12:53:45 INFO - def test_x_as_current(session):
[task 2019-10-18T12:53:45.941Z] 12:53:45 INFO - original = session.window.rect
[task 2019-10-18T12:53:45.941Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.941Z] 12:53:45 INFO - response = set_window_rect(session, {
[task 2019-10-18T12:53:45.941Z] 12:53:45 INFO - "x": original["x"],
[task 2019-10-18T12:53:45.941Z] 12:53:45 INFO - "y": original["y"] + 10
[task 2019-10-18T12:53:45.942Z] 12:53:45 INFO - })
[task 2019-10-18T12:53:45.942Z] 12:53:45 INFO - assert_success(response, {
[task 2019-10-18T12:53:45.942Z] 12:53:45 INFO - "x": original["x"],
[task 2019-10-18T12:53:45.942Z] 12:53:45 INFO - "y": original["y"] + 10,
[task 2019-10-18T12:53:45.942Z] 12:53:45 INFO - "width": original["width"],
[task 2019-10-18T12:53:45.942Z] 12:53:45 INFO - > "height": original["height"]
[task 2019-10-18T12:53:45.942Z] 12:53:45 INFO - })
[task 2019-10-18T12:53:45.942Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.942Z] 12:53:45 INFO - original = {'height': 600, 'width': 800, 'x': 100, 'y': 100}
[task 2019-10-18T12:53:45.942Z] 12:53:45 INFO - response = <Responsetatus=200 body={"value": {"y": 100, "x": 100, "height": 600, "width": 800}}>
[task 2019-10-18T12:53:45.942Z] 12:53:45 INFO - session = <Session 4daf528f-3daf-4e6a-9b15-357fb84e8618>
[task 2019-10-18T12:53:45.943Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.943Z] 12:53:45 INFO - tests/web-platform/tests/webdriver/tests/set_window_rect/set.py:337:
[task 2019-10-18T12:53:45.943Z] 12:53:45 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2019-10-18T12:53:45.943Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.944Z] 12:53:45 INFO - response = <Responsetatus=200 body={"value": {"y": 100, "x": 100, "height": 600, "width": 800}}>
[task 2019-10-18T12:53:45.944Z] 12:53:45 INFO - value = {'height': 600, 'width': 800, 'x': 100, 'y': 110}
[task 2019-10-18T12:53:45.944Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.944Z] 12:53:45 INFO - def assert_success(response, value=None):
[task 2019-10-18T12:53:45.944Z] 12:53:45 INFO - """
[task 2019-10-18T12:53:45.944Z] 12:53:45 INFO - Verify that the provided webdriver.Response instance described
[task 2019-10-18T12:53:45.944Z] 12:53:45 INFO - a valid success response as defined by dfn-send-a-response and
[task 2019-10-18T12:53:45.944Z] 12:53:45 INFO - the provided response value.
[task 2019-10-18T12:53:45.944Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.944Z] 12:53:45 INFO - :param response: webdriver.Response instance.
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - :param value: Expected value of the response body, if any.
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - """
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - assert response.status == 200, str(response.error)
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - if value is not None:
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - > assert response.body["value"] == value
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - E AssertionError: assert {'height': 60...100, 'y': 100} == {'height': 600...100, 'y': 110}
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - E Common items:
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - E {'height': 600, 'width': 800, 'x': 100}
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - E Differing items:
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - E {'y': 100} != {'y': 110}
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - E Full diff:
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - E - {u'height': 600, u'width': 800, u'x': 100, u'y': 100}
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - E ? - - - - -
[task 2019-10-18T12:53:45.945Z] 12:53:45 INFO - E + {'height': 600, 'width': 800, 'x': 100, 'y': 110}
[task 2019-10-18T12:53:45.946Z] 12:53:45 INFO - E ? +
[task 2019-10-18T12:53:45.946Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.946Z] 12:53:45 INFO - response = <Responsetatus=200 body={"value": {"y": 100, "x": 100, "height": 600, "width": 800}}>
[task 2019-10-18T12:53:45.946Z] 12:53:45 INFO - value = {'height': 600, 'width': 800, 'x': 100, 'y': 110}
[task 2019-10-18T12:53:45.946Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.946Z] 12:53:45 INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:70: AssertionError
[task 2019-10-18T12:53:45.947Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.947Z] 12:53:45 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/set_window_rect/set.py | test_y_as_current - AssertionError: assert {'height': 60...110, 'y': 110} == {'height': 600...110, 'y': 100}
[task 2019-10-18T12:53:45.947Z] 12:53:45 INFO - session = <Session 4daf528f-3daf-4e6a-9b15-357fb84e8618>
[task 2019-10-18T12:53:45.947Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.947Z] 12:53:45 INFO - def test_y_as_current(session):
[task 2019-10-18T12:53:45.948Z] 12:53:45 INFO - original = session.window.rect
[task 2019-10-18T12:53:45.948Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.948Z] 12:53:45 INFO - response = set_window_rect(session, {
[task 2019-10-18T12:53:45.948Z] 12:53:45 INFO - "x": original["x"] + 10,
[task 2019-10-18T12:53:45.948Z] 12:53:45 INFO - "y": original["y"]
[task 2019-10-18T12:53:45.948Z] 12:53:45 INFO - })
[task 2019-10-18T12:53:45.948Z] 12:53:45 INFO - assert_success(response, {
[task 2019-10-18T12:53:45.949Z] 12:53:45 INFO - "x": original["x"] + 10,
[task 2019-10-18T12:53:45.949Z] 12:53:45 INFO - "y": original["y"],
[task 2019-10-18T12:53:45.949Z] 12:53:45 INFO - "width": original["width"],
[task 2019-10-18T12:53:45.949Z] 12:53:45 INFO - > "height": original["height"]
[task 2019-10-18T12:53:45.949Z] 12:53:45 INFO - })
[task 2019-10-18T12:53:45.949Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.949Z] 12:53:45 INFO - original = {'height': 600, 'width': 800, 'x': 100, 'y': 100}
[task 2019-10-18T12:53:45.950Z] 12:53:45 INFO - response = <Responsetatus=200 body={"value": {"y": 110, "x": 110, "height": 600, "width": 800}}>
[task 2019-10-18T12:53:45.950Z] 12:53:45 INFO - session = <Session 4daf528f-3daf-4e6a-9b15-357fb84e8618>
[task 2019-10-18T12:53:45.950Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.950Z] 12:53:45 INFO - tests/web-platform/tests/webdriver/tests/set_window_rect/set.py:352:
[task 2019-10-18T12:53:45.950Z] 12:53:45 INFO - _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
[task 2019-10-18T12:53:45.950Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.950Z] 12:53:45 INFO - response = <Responsetatus=200 body={"value": {"y": 110, "x": 110, "height": 600, "width": 800}}>
[task 2019-10-18T12:53:45.950Z] 12:53:45 INFO - value = {'height': 600, 'width': 800, 'x': 110, 'y': 100}
[task 2019-10-18T12:53:45.950Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.950Z] 12:53:45 INFO - def assert_success(response, value=None):
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO - """
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO - Verify that the provided webdriver.Response instance described
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO - a valid success response as defined by dfn-send-a-response and
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO - the provided response value.
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO - :param response: webdriver.Response instance.
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO - :param value: Expected value of the response body, if any.
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO - """
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO - assert response.status == 200, str(response.error)
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO - if value is not None:
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO - > assert response.body["value"] == value
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO - E AssertionError: assert {'height': 60...110, 'y': 110} == {'height': 600...110, 'y': 100}
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO - E Common items:
[task 2019-10-18T12:53:45.951Z] 12:53:45 INFO - E {'height': 600, 'width': 800, 'x': 110}
[task 2019-10-18T12:53:45.952Z] 12:53:45 INFO - E Differing items:
[task 2019-10-18T12:53:45.952Z] 12:53:45 INFO - E {'y': 110} != {'y': 100}
[task 2019-10-18T12:53:45.952Z] 12:53:45 INFO - E Full diff:
[task 2019-10-18T12:53:45.952Z] 12:53:45 INFO - E - {u'height': 600, u'width': 800, u'x': 110, u'y': 110}
[task 2019-10-18T12:53:45.952Z] 12:53:45 INFO - E ? - - - - -
[task 2019-10-18T12:53:45.952Z] 12:53:45 INFO - E + {'height': 600, 'width': 800, 'x': 110, 'y': 100}
[task 2019-10-18T12:53:45.952Z] 12:53:45 INFO - E ? +
[task 2019-10-18T12:53:45.952Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.952Z] 12:53:45 INFO - response = <Responsetatus=200 body={"value": {"y": 110, "x": 110, "height": 600, "width": 800}}>
[task 2019-10-18T12:53:45.952Z] 12:53:45 INFO - value = {'height': 600, 'width': 800, 'x': 110, 'y': 100}
[task 2019-10-18T12:53:45.952Z] 12:53:45 INFO -
[task 2019-10-18T12:53:45.952Z] 12:53:45 INFO - tests/web-platform/tests/webdriver/tests/support/asserts.py:70: AssertionError
[task 2019-10-18T12:53:45.955Z] 12:53:45 INFO - .
[task 2019-10-18T12:53:45.955Z] 12:53:45 INFO - TEST-OK | /webdriver/tests/set_window_rect/set.py | took 12444ms

Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(jhorak)
Resolution: --- → DUPLICATE
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.