Closed Bug 1504157 Opened Last year Closed 9 months ago

Intermittent browser_roundedWindow_windowSetting_max_inner.js,browser_roundedWindow_windowSetting_max_outer.js,browser_roundedWindow_windowSetting_mid_inner.js | The screen.height has a correct rounded value - 100 == (600|1000) -

Categories

(Core :: Security, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox-esr60 --- unaffected
firefox65 --- fixed
firefox66 --- fixed
firefox67 --- fixed

People

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

References

Details

(Keywords: intermittent-failure, Whiteboard: [stockwell fixed])

Attachments

(2 files)

Filed by: aciure [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=209376575&repo=autoland

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

[task 2018-11-02T09:16:44.266Z] 09:16:44     INFO - TEST-START | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_max_outer.js
[task 2018-11-02T09:16:50.019Z] 09:16:50     INFO - TEST-INFO | started process screentopng
[task 2018-11-02T09:16:50.550Z] 09:16:50     INFO - TEST-INFO | screentopng: exit 0
[task 2018-11-02T09:16:50.551Z] 09:16:50     INFO - Buffered messages logged at 09:16:44
[task 2018-11-02T09:16:50.551Z] 09:16:50     INFO - Entering test bound 
[task 2018-11-02T09:16:50.551Z] 09:16:50     INFO - Buffered messages logged at 09:16:47
[task 2018-11-02T09:16:50.551Z] 09:16:50     INFO - Leaving test bound 
[task 2018-11-02T09:16:50.551Z] 09:16:50     INFO - Entering test bound 
[task 2018-11-02T09:16:50.551Z] 09:16:50     INFO - Buffered messages logged at 09:16:48
[task 2018-11-02T09:16:50.551Z] 09:16:50     INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_max_outer.js | The screen.width has a correct rounded value - 1000 == 1000 - 
[task 2018-11-02T09:16:50.551Z] 09:16:50     INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_max_outer.js | The window.innerWidth has a correct rounded value - 1000 == 1000 - 
[task 2018-11-02T09:16:50.551Z] 09:16:50     INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_max_outer.js | The screen.height has a correct rounded value - 1000 == 1000 - 
[task 2018-11-02T09:16:50.554Z] 09:16:50     INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_max_outer.js | The window.innerHeight has a correct rounded value - 1000 == 1000 - 
[task 2018-11-02T09:16:50.556Z] 09:16:50     INFO - Buffered messages logged at 09:16:49
[task 2018-11-02T09:16:50.559Z] 09:16:50     INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_max_outer.js | The screen.width has a correct rounded value - 1000 == 1000 - 
[task 2018-11-02T09:16:50.562Z] 09:16:50     INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_max_outer.js | The window.innerWidth has a correct rounded value - 1000 == 1000 - 
[task 2018-11-02T09:16:50.563Z] 09:16:50     INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_max_outer.js | The screen.height has a correct rounded value - 1000 == 1000 - 
[task 2018-11-02T09:16:50.564Z] 09:16:50     INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_max_outer.js | The window.innerHeight has a correct rounded value - 1000 == 1000 - 
[task 2018-11-02T09:16:50.565Z] 09:16:50     INFO - Buffered messages finished
[task 2018-11-02T09:16:50.566Z] 09:16:50     INFO - TEST-UNEXPECTED-FAIL | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_max_outer.js | The screen.height has a correct rounded value - 100 == 1000 - 
[task 2018-11-02T09:16:50.567Z] 09:16:50     INFO - Stack trace:
[task 2018-11-02T09:16:50.567Z] 09:16:50     INFO - resource://testing-common/content-task.js line 59 > eval:win.onresize:36
[task 2018-11-02T09:16:50.569Z] 09:16:50     INFO - Not taking screenshot here: see the one that was previously logged
[task 2018-11-02T09:16:50.570Z] 09:16:50     INFO - TEST-UNEXPECTED-FAIL | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_max_outer.js | The window.innerHeight has a correct rounded value - 100 == 1000 - 
[task 2018-11-02T09:16:50.570Z] 09:16:50     INFO - Stack trace:
[task 2018-11-02T09:16:50.571Z] 09:16:50     INFO - resource://testing-common/content-task.js line 59 > eval:win.onresize:38
[task 2018-11-02T09:16:51.278Z] 09:16:51     INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_max_outer.js | The screen.width has a correct rounded value - 1000 == 1000 -
Summary: Intermittent browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_max_outer.js | The screen.height has a correct rounded value - 100 == 1000 - → Intermittent browser_roundedWindow_windowSetting_max_inner.js,browser_roundedWindow_windowSetting_max_outer.js,browser_roundedWindow_windowSetting_mid_inner.js | The screen.height has a correct rounded value - 100 == (600|1000) -

This bug failed 36 in the last 7 days. Occurs on linux64 and linux32 platforms on pgo, opt and asan build types.

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

Wennie: Can you please take a look at this bug?

Flags: needinfo?(wleung)
Whiteboard: [stockwell needswork]
Whiteboard: [stockwell needswork] → [stockwell needswork:owner]

:Wennie Did you have a chance to take a look at Comment 16?
In the last 7 days there are 75 failures.
Thank you!

I can check this

Assignee: nobody → xeonchen
Status: NEW → ASSIGNED
Flags: needinfo?(wleung)
Priority: P5 → P2

I suspect the root cause is that |win.onresize| has been called twice, because successful test count remains the same.

avoid the condition been checked twice.

Pushed by xeonchen@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/933722dee47b
make onsize event triggered once; r=smaug
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Flags: in-testsuite+
Whiteboard: [stockwell disable-recommended] → [stockwell fixed]
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Duplicate of this bug: 1526663

using one window to test resize event twice with 2 separated event listener might potentially action on incorrect resize event.

Pushed by xeonchen@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/a2bc4dbac66a
Don't share window object between 2 tests; r=smaug
Status: REOPENED → RESOLVED
Closed: 10 months ago9 months ago
Resolution: --- → FIXED

This is happening on beta:

https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=231932246&repo=mozilla-beta&lineNumber=4138

[task 2019-03-05T17:17:40.678Z] 17:17:40 INFO - TEST-START | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js
[task 2019-03-05T17:17:42.733Z] 17:17:42 INFO - TEST-INFO | started process screentopng
[task 2019-03-05T17:17:43.219Z] 17:17:43 INFO - TEST-INFO | screentopng: exit 0
[task 2019-03-05T17:17:43.220Z] 17:17:43 INFO - Buffered messages logged at 17:17:40
[task 2019-03-05T17:17:43.220Z] 17:17:43 INFO - Entering test bound
[task 2019-03-05T17:17:43.221Z] 17:17:43 INFO - Buffered messages logged at 17:17:41
[task 2019-03-05T17:17:43.221Z] 17:17:43 INFO - Leaving test bound
[task 2019-03-05T17:17:43.221Z] 17:17:43 INFO - Entering test bound
[task 2019-03-05T17:17:43.221Z] 17:17:43 INFO - Buffered messages logged at 17:17:42
[task 2019-03-05T17:17:43.222Z] 17:17:43 INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js | The screen.width has a correct rounded value - 600 == 600 -
[task 2019-03-05T17:17:43.224Z] 17:17:43 INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js | The window.innerWidth has a correct rounded value - 600 == 600 -
[task 2019-03-05T17:17:43.226Z] 17:17:43 INFO - Buffered messages finished
[task 2019-03-05T17:17:43.228Z] 17:17:43 INFO - TEST-UNEXPECTED-FAIL | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js | The screen.height has a correct rounded value - 100 == 600 -
[task 2019-03-05T17:17:43.230Z] 17:17:43 INFO - Stack trace:
[task 2019-03-05T17:17:43.231Z] 17:17:43 INFO - resource://testing-common/content-task.js line 59 > eval:null:36
[task 2019-03-05T17:17:43.233Z] 17:17:43 INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-03-05T17:17:43.236Z] 17:17:43 INFO - TEST-UNEXPECTED-FAIL | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js | The window.innerHeight has a correct rounded value - 100 == 600 -
[task 2019-03-05T17:17:43.239Z] 17:17:43 INFO - Stack trace:
[task 2019-03-05T17:17:43.240Z] 17:17:43 INFO - resource://testing-common/content-task.js line 59 > eval:null:38
[task 2019-03-05T17:17:43.331Z] 17:17:43 INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js | The screen.width has a correct rounded value - 600 == 600 -
[task 2019-03-05T17:17:43.334Z] 17:17:43 INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js | The window.innerWidth has a correct rounded value - 600 == 600 -
[task 2019-03-05T17:17:43.353Z] 17:17:43 INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js | The screen.height has a correct rounded value - 600 == 600 -
[task 2019-03-05T17:17:43.355Z] 17:17:43 INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js | The window.innerHeight has a correct rounded value - 600 == 600 -
[task 2019-03-05T17:17:43.739Z] 17:17:43 INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js | The screen.width has a correct rounded value - 600 == 600 -
[task 2019-03-05T17:17:43.740Z] 17:17:43 INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js | The window.innerWidth has a correct rounded value - 600 == 600 -
[task 2019-03-05T17:17:43.756Z] 17:17:43 INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js | The screen.height has a correct rounded value - 600 == 600 -
[task 2019-03-05T17:17:43.759Z] 17:17:43 INFO - TEST-PASS | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js | The window.innerHeight has a correct rounded value - 600 == 600 -
[task 2019-03-05T17:17:43.776Z] 17:17:43 INFO - Leaving test bound
[task 2019-03-05T17:17:43.854Z] 17:17:43 INFO - GECKO(4806) | MEMORY STAT | vsize 2093MB | residentFast 565MB | heapAllocated 271MB
[task 2019-03-05T17:17:43.855Z] 17:17:43 INFO - TEST-OK | browser/components/resistfingerprinting/test/browser/browser_roundedWindow_windowSetting_mid_outer.js | took 3175ms

See Also: → 1542880
Duplicate of this bug: 1542880
Duplicate of this bug: 1546181
You need to log in before you can comment on or make changes to this bug.