Open Bug 1557985 Opened 5 years ago Updated 2 years ago

Intermittent devtools/client/responsive/test/browser/browser_orientationchange_event.js | Orientation is still landscape-primary. - "portrait-primary" == "landscape-primary" -

Categories

(DevTools :: Responsive Design Mode, defect, P5)

defect

Tracking

(Not tracked)

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(Keywords: intermittent-failure, leave-open, regression, Whiteboard: [stockwell disabled])

Attachments

(1 file)

Filed by: aiakab [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=250793982&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/RikIPJgCTIS2peBQQx8jDw/runs/0/artifacts/public/logs/live_backing.log
Reftest URL: https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://queue.taskcluster.net/v1/task/RikIPJgCTIS2peBQQx8jDw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


23:10:15 INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_orientationchange_event.js | orientationchange event was not dispatched on reload. -
23:10:15 INFO - Check that we still have the previous orientation values.
23:10:15 INFO - TEST-PASS | devtools/client/responsive.html/test/browser/browser_orientationchange_event.js | Orientation angle is still 90 - 90 == 90 -
23:10:15 INFO - TEST-INFO | started process screencapture
23:10:15 INFO - TEST-INFO | screencapture: exit 0
23:10:15 INFO - TEST-UNEXPECTED-FAIL | devtools/client/responsive.html/test/browser/browser_orientationchange_event.js | Orientation is still landscape-primary. - "portrait-primary" == "landscape-primary" -
23:10:15 INFO - Stack trace:
23:10:15 INFO - resource://testing-common/content-task.js line 59 > eval:null:6
23:10:15 INFO - resource://testing-common/content-task.js:null:60
23:10:15 INFO - Closing responsive design mode
23:10:15 INFO - GECKO(1680) | JavaScript error: resource://devtools/server/actors/emulation.js, line 356: TypeError: this.targetActor.docShell is null
23:10:15 INFO - Responsive design mode closed
23:10:15 INFO - Removing tab.
23:10:15 INFO - Waiting for event: 'TabClose' on [object XULElement].
23:10:15 INFO - Got event: 'TabClose' on [object XULElement].
23:10:15 INFO - Tab removed and finished closing
23:10:15 INFO - Leaving test bound
23:10:15 INFO - GECKO(1680) | MEMORY STAT | vsize 7011MB | residentFast 384MB | heapAllocated 172MB
23:10:15 INFO - TEST-OK | devtools/client/responsive.html/test/browser/browser_orientationchange_event.js | took 883ms
23:10:15 INFO - checking window state
23:10:17 INFO - GECKO(1680) | Completed ShutdownLeaks collections in process 1687
23:10:17 INFO - GECKO(1680) | Completed ShutdownLeaks collections in process 1684
23:10:17 INFO - GECKO(1680) | Completed ShutdownLeaks collections in process 1683
23:10:17 INFO - GECKO(1680) | Completed ShutdownLeaks collections in process 1686
23:10:17 INFO - GECKO(1680) | Completed ShutdownLeaks collections in process 1689
23:10:17 INFO - GECKO(1680) | Completed ShutdownLeaks collections in process 1690
23:10:17 INFO - GECKO(1680) | Completed ShutdownLeaks collections in process 1688
23:10:17 INFO - GECKO(1680) | Completed ShutdownLeaks collections in process 1691
23:10:17 INFO - GECKO(1680) | Completed ShutdownLeaks collections in process 1682
23:10:17 INFO - GECKO(1680) | Completed ShutdownLeaks collections in process 1685
23:10:17 INFO - GECKO(1680) | Completed ShutdownLeaks collections in process 1680
23:10:17 INFO - TEST-START | Shutdown

Keywords: regression

Update:
There have been 45 failures within the last 7 days:

  • 5 failures on linux x64 opt
  • 40 failures on linux x64 shippable opt

Recent failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=264505382&repo=autoland&lineNumber=8259

[task 2019-09-02T04:37:42.020Z] 04:37:42 INFO - TEST-PASS | devtools/client/responsive/test/browser/browser_orientationchange_event.js | Orientation angle was updated to 90 degrees. - 90 == 90 -
[task 2019-09-02T04:37:42.021Z] 04:37:42 INFO - Check that the viewport orientation changed, but not the angle after a reload
[task 2019-09-02T04:37:42.021Z] 04:37:42 INFO - Waiting for event: 'only-viewport-orientation-changed' on [object Object].
[task 2019-09-02T04:37:42.041Z] 04:37:42 INFO - Got event: 'only-viewport-orientation-changed' on [object Object].
[task 2019-09-02T04:37:42.041Z] 04:37:42 INFO - TEST-PASS | devtools/client/responsive/test/browser/browser_orientationchange_event.js | orientationchange event was not dispatched on reload. -
[task 2019-09-02T04:37:42.041Z] 04:37:42 INFO - Check that we still have the previous orientation values.
[task 2019-09-02T04:37:42.041Z] 04:37:42 INFO - TEST-PASS | devtools/client/responsive/test/browser/browser_orientationchange_event.js | Orientation angle is still 90 - 90 == 90 -
[task 2019-09-02T04:37:42.041Z] 04:37:42 INFO - TEST-INFO | started process screentopng
[task 2019-09-02T04:37:42.469Z] 04:37:42 INFO - TEST-INFO | screentopng: exit 0
[task 2019-09-02T04:37:42.469Z] 04:37:42 INFO - TEST-UNEXPECTED-FAIL | devtools/client/responsive/test/browser/browser_orientationchange_event.js | Orientation is still landscape-primary. - "portrait-primary" == "landscape-primary" -
[task 2019-09-02T04:37:42.469Z] 04:37:42 INFO - Stack trace:
[task 2019-09-02T04:37:42.469Z] 04:37:42 INFO - resource://testing-common/content-task.js line 62 > eval:null:6
[task 2019-09-02T04:37:42.469Z] 04:37:42 INFO - resource://testing-common/content-task.js:null:63
[task 2019-09-02T04:37:42.469Z] 04:37:42 INFO - Closing responsive design mode
[task 2019-09-02T04:37:42.469Z] 04:37:42 INFO - GECKO(2798) | JavaScript error: resource://devtools/server/actors/emulation.js, line 356: TypeError: this.targetActor.docShell is null
[task 2019-09-02T04:37:42.469Z] 04:37:42 INFO - Responsive design mode closed
[task 2019-09-02T04:37:42.469Z] 04:37:42 INFO - Removing tab.
[task 2019-09-02T04:37:42.469Z] 04:37:42 INFO - Waiting for event: 'TabClose' on [object XULElement].
[task 2019-09-02T04:37:42.469Z] 04:37:42 INFO - Got event: 'TabClose' on [object XULElement].
[task 2019-09-02T04:37:42.470Z] 04:37:42 INFO - Tab removed and finished closing
[task 2019-09-02T04:37:42.470Z] 04:37:42 INFO - Leaving test bound
[task 2019-09-02T04:37:42.472Z] 04:37:42 INFO - GECKO(2798) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 112: uncaught exception: Object
[task 2019-09-02T04:37:42.473Z] 04:37:42 INFO - GECKO(2798) | MEMORY STAT | vsize 3430MB | residentFast 453MB | heapAllocated 196MB
[task 2019-09-02T04:37:42.473Z] 04:37:42 INFO - TEST-OK | devtools/client/responsive/test/browser/browser_orientationchange_event.js | took 443ms

Whiteboard: [stockwell needswork]
Summary: Intermittent devtools/client/responsive.html/test/browser/browser_orientationchange_event.js | Orientation is still landscape-primary. - "portrait-primary" == "landscape-primary" - → Intermittent devtools/client/responsive/test/browser/browser_orientationchange_event.js | Orientation is still landscape-primary. - "portrait-primary" == "landscape-primary" -

Hey Micah, this test appears to be failing quite frequently (looks like non-debug linux builds). Would you please take a look at it?
Recent test failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=265597277&repo=try&lineNumber=7258
Screenshot of the failure: https://taskcluster-artifacts.net/Jk5-cWcKSeqrmrHxSEaC_g/1/public/test_info//mozilla-test-fail-screenshot_7CEBhq.png

Flags: needinfo?(mtigley)
Pushed by dluca@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a50282c943a5 Disable browser_orientationchange_event.js in Linux opt for frequent failures. r=gbrown
Keywords: leave-open
Whiteboard: [stockwell disable-recommended] → [stockwell disabled]

I think this is just an existing race that was exacerbated by my changes.

Flags: needinfo?(kmaglione+bmo)

clearing need info on this since I'm not actively investigating.

Flags: needinfo?(mtigley)
Has Regression Range: --- → yes
Severity: normal → S3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: