Closed Bug 1506898 Opened 1 year ago Closed 1 year ago

Intermittent /webdriver/tests/set_window_rect/set.py | test_negative_x_y - assert 60 <= 0

Categories

(Testing :: geckodriver, defect, P5)

Version 3
defect

Tracking

(firefox64 unaffected, firefox65 fixed, firefox66 fixed)

RESOLVED FIXED
mozilla66
Tracking Status
firefox64 --- unaffected
firefox65 --- fixed
firefox66 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: whimboo)

References

(Depends on 1 open bug)

Details

(Keywords: intermittent-failure)

Filed by: nerli [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=211425365&repo=try

https://queue.taskcluster.net/v1/task/Ya4hkhEtTByqM7XUaCr74A/runs/0/artifacts/public/logs/live_backing.log

[task 2018-11-13T14:31:30.549Z] 14:31:30     INFO - STDOUT: =============================== warnings summary ===============================
[task 2018-11-13T14:31:30.551Z] 14:31:30     INFO - STDOUT: <undetermined location>
[task 2018-11-13T14:31:30.552Z] 14:31:30     INFO - STDOUT:   Module already imported so cannot be rewritten: mozlog
[task 2018-11-13T14:31:30.552Z] 14:31:30     INFO - STDOUT: -- Docs: http://doc.pytest.org/en/latest/warnings.html
[task 2018-11-13T14:31:30.553Z] 14:31:30     INFO - STDOUT: =============== 1 failed, 69 passed, 1 warnings in 32.94 seconds ===============
[task 2018-11-13T14:31:30.591Z] 14:31:30     INFO - 
[task 2018-11-13T14:31:30.591Z] 14:31:30     INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_no_change[rect17] 
[task 2018-11-13T14:31:30.592Z] 14:31:30     INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_no_change[rect18] 
[task 2018-11-13T14:31:30.592Z] 14:31:30     INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_no_change[rect19] 
[task 2018-11-13T14:31:30.592Z] 14:31:30     INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_fully_exit_fullscreen 
[task 2018-11-13T14:31:30.593Z] 14:31:30     INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_restore_from_minimized 
[task 2018-11-13T14:31:30.593Z] 14:31:30     INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_restore_from_maximized 
[task 2018-11-13T14:31:30.594Z] 14:31:30     INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_height_width 
[task 2018-11-13T14:31:30.594Z] 14:31:30     INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_height_width_larger_than_max 
[task 2018-11-13T14:31:30.594Z] 14:31:30     INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_height_width_as_current 
[task 2018-11-13T14:31:30.595Z] 14:31:30     INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_x_y 
[task 2018-11-13T14:31:30.595Z] 14:31:30     INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/set_window_rect/set.py | test_negative_x_y - assert 60 <= 0
[task 2018-11-13T14:31:30.596Z] 14:31:30     INFO - session = <Session 8549dcd2-1ab8-481a-9908-beb2952f87b6>
[task 2018-11-13T14:31:30.596Z] 14:31:30     INFO - 
[task 2018-11-13T14:31:30.596Z] 14:31:30     INFO -     def test_negative_x_y(session):
[task 2018-11-13T14:31:30.597Z] 14:31:30     INFO -         original = session.window.rect
[task 2018-11-13T14:31:30.597Z] 14:31:30     INFO -     
[task 2018-11-13T14:31:30.598Z] 14:31:30     INFO -         response = set_window_rect(session, {"x": - 8, "y": - 8})
[task 2018-11-13T14:31:30.598Z] 14:31:30     INFO -     
[task 2018-11-13T14:31:30.598Z] 14:31:30     INFO -         os = session.capabilities["platformName"]
[task 2018-11-13T14:31:30.599Z] 14:31:30     INFO -         # certain WMs prohibit windows from being moved off-screen
[task 2018-11-13T14:31:30.599Z] 14:31:30     INFO -         if os == "linux":
[task 2018-11-13T14:31:30.599Z] 14:31:30     INFO -             rect = assert_success(response)
[task 2018-11-13T14:31:30.600Z] 14:31:30     INFO - >           assert rect["x"] <= 0
[task 2018-11-13T14:31:30.600Z] 14:31:30     INFO - E           assert 60 <= 0
[task 2018-11-13T14:31:30.601Z] 14:31:30     INFO - 
[task 2018-11-13T14:31:30.601Z] 14:31:30     INFO - original   = {'height': 600, 'width': 800, 'x': 60, 'y': 60}
[task 2018-11-13T14:31:30.601Z] 14:31:30     INFO - os         = 'linux'
[task 2018-11-13T14:31:30.601Z] 14:31:30     INFO - rect       = {'height': 600, 'width': 800, 'x': 60, 'y': 60}
[task 2018-11-13T14:31:30.602Z] 14:31:30     INFO - response   = <Responsetatus=200 body={"value": {"y": 60, "x": 60, "height": 600, "width": 800}}>
[task 2018-11-13T14:31:30.602Z] 14:31:30     INFO - session    = <Session 8549dcd2-1ab8-481a-9908-beb2952f87b6>
[task 2018-11-13T14:31:30.603Z] 14:31:30     INFO - 
[task 2018-11-13T14:31:30.604Z] 14:31:30     INFO - tests/web-platform/tests/webdriver/tests/set_window_rect/set.py:241: AssertionError
[task 2018-11-13T14:31:30.605Z] 14:31:30     INFO - .......
The test hasn't been modified for a while. So I assume this is a regression from bug 1492499, whereby it only happened once on try so far. So lets wait for more data.
And notably only on Quantum Renderer.  I’m assuming that is slower
at resizing the window.
With some more logging it would be easier to investigate. This will be done via bug 1510940.
Depends on: 1510940
See Also: → 1516975
Depends on: 1517414

With bug 1478358 landed the "WebDriver:SetWindowRect" command no longer uses a timed promise to wait for a resize event. I also can no longer see this failure classified via Treeherder. So it should hopefully be fixed.

Assignee: nobody → hskupin
Depends on: 1478358
Target Milestone: --- → mozilla66
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.