Closed Bug 1725051 Opened 3 years ago Closed 3 years ago

Intermittent TEST-UNEXPECTED-NOTRUN | /resize-observer/observe.html | guard - expected PASS

Categories

(Core :: Layout, defect, P5)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1724361
Tracking Status
firefox-esr78 --- unaffected
firefox-esr91 --- unaffected
firefox91 --- unaffected
firefox92 --- unaffected
firefox93 --- affected

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression, Whiteboard: [retriggered])

Attachments

(1 obsolete file)

Filed by: abutkovits [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=348010667&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SvT-uhK3TSStodXqWkVQog/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://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/SvT-uhK3TSStodXqWkVQog/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1


[task 2021-08-10T21:43:55.287Z] 21:43:55     INFO - TEST-START | /resize-observer/observe.html
[task 2021-08-10T21:43:55.289Z] 21:43:55     INFO - Run 0/10
[task 2021-08-10T21:43:55.487Z] 21:43:55     INFO - Setting pref layout.css.resizeobserver.enabled (true)
[task 2021-08-10T21:43:57.525Z] 21:43:57     INFO - PID 6512 | ### XPCOM_MEM_BLOAT_LOG defined -- logging bloat/leaks to /tmp/tmpf3fkft1_/runtests_leaks_4550_tab_pid6703.log
[task 2021-08-10T21:43:57.525Z] 21:43:57     INFO - PID 6512 | [6703, Main Thread] WARNING: XPCOM_MEM_BLOAT_LOG is set, disabling native allocations.: file /builds/worker/checkouts/gecko/tools/profiler/core/platform.cpp:254
[task 2021-08-10T21:43:57.544Z] 21:43:57     INFO - PID 6512 | [Child 6703, Main Thread] WARNING: could not set real-time limit in CubebUtils::InitLibrary: file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:636
[task 2021-08-10T21:43:57.572Z] 21:43:57     INFO - PID 6512 | Couldn't convert chrome URL: chrome://branding/locale/brand.properties
[task 2021-08-10T21:43:57.574Z] 21:43:57     INFO - PID 6512 | [Child 6703, Main Thread] WARNING: Could not get the program name for a cubeb stream.: 'NS_SUCCEEDED(rv)', file /builds/worker/checkouts/gecko/dom/media/CubebUtils.cpp:385
[task 2021-08-10T21:43:57.792Z] 21:43:57     INFO - PID 6512 | [Child 6649, Main Thread] WARNING: 'sgo->HandleScriptError(init, &status)', file /builds/worker/checkouts/gecko/dom/base/ResizeObserverController.cpp:157
[task 2021-08-10T21:43:58.028Z] 21:43:58     INFO - PID 6512 | [Child 6649, Main Thread] WARNING: early callback, or time went backwards: '!aAllowIdleDispatch', file /builds/worker/checkouts/gecko/xpcom/threads/IdleTaskRunner.cpp:179
[task 2021-08-10T21:43:58.054Z] 21:43:58     INFO - PID 6512 | [Child 6649, Main Thread] WARNING: early callback, or time went backwards: '!aAllowIdleDispatch', file /builds/worker/checkouts/gecko/xpcom/threads/IdleTaskRunner.cpp:179
[task 2021-08-10T21:43:58.069Z] 21:43:58     INFO - PID 6512 | [Child 6649, Main Thread] WARNING: early callback, or time went backwards: '!aAllowIdleDispatch', file /builds/worker/checkouts/gecko/xpcom/threads/IdleTaskRunner.cpp:179
[task 2021-08-10T21:43:58.087Z] 21:43:58     INFO - PID 6512 | [Child 6649, Main Thread] WARNING: early callback, or time went backwards: '!aAllowIdleDispatch', file /builds/worker/checkouts/gecko/xpcom/threads/IdleTaskRunner.cpp:179
[task 2021-08-10T21:43:58.196Z] 21:43:58     INFO - PID 6512 | [Child 6649, Main Thread] WARNING: early callback, or time went backwards: '!aAllowIdleDispatch', file /builds/worker/checkouts/gecko/xpcom/threads/IdleTaskRunner.cpp:179
[task 2021-08-10T21:43:58.221Z] 21:43:58     INFO - PID 6512 | [Child 6649, Main Thread] WARNING: early callback, or time went backwards: '!aAllowIdleDispatch', file /builds/worker/checkouts/gecko/xpcom/threads/IdleTaskRunner.cpp:179
[task 2021-08-10T21:43:58.234Z] 21:43:58     INFO - PID 6512 | [Child 6649, Main Thread] WARNING: early callback, or time went backwards: '!aAllowIdleDispatch', file /builds/worker/checkouts/gecko/xpcom/threads/IdleTaskRunner.cpp:179
[task 2021-08-10T21:44:27.405Z] 21:44:27     INFO - 
[task 2021-08-10T21:44:27.405Z] 21:44:27     INFO - TEST-PASS | /resize-observer/observe.html | ResizeObserver implemented 
[task 2021-08-10T21:44:27.405Z] 21:44:27     INFO - TEST-UNEXPECTED-NOTRUN | /resize-observer/observe.html | guard - expected PASS
[task 2021-08-10T21:44:27.409Z] 21:44:27     INFO - 
[task 2021-08-10T21:44:27.409Z] 21:44:27     INFO - TEST-PASS | /resize-observer/observe.html | test0: simple observation 
[task 2021-08-10T21:44:27.409Z] 21:44:27     INFO - TEST-PASS | /resize-observer/observe.html | test1: multiple observation on same element trigger only one 
[task 2021-08-10T21:44:27.409Z] 21:44:27     INFO - TEST-PASS | /resize-observer/observe.html | test2: throw exception when observing non-element 
[task 2021-08-10T21:44:27.409Z] 21:44:27     INFO - TEST-PASS | /resize-observer/observe.html | test3: disconnect stops all notifications 
[task 2021-08-10T21:44:27.410Z] 21:44:27     INFO - TEST-PASS | /resize-observer/observe.html | test4: unobserve target stops notifications, unobserve non-observed does nothing 
[task 2021-08-10T21:44:27.410Z] 21:44:27     INFO - TEST-PASS | /resize-observer/observe.html | test5: observe img 
[task 2021-08-10T21:44:27.410Z] 21:44:27     INFO - TEST-UNEXPECTED-FAIL | /resize-observer/observe.html | test6: iframe notifications - assert_equals: expected "success" but got "fail"
[task 2021-08-10T21:44:27.410Z] 21:44:27     INFO - test6/</</</<@http://web-platform.test:8000/resize-observer/observe.html:195:26
[task 2021-08-10T21:44:27.410Z] 21:44:27     INFO - Test.prototype.step@http://web-platform.test:8000/resources/testharness.js:2087:25
[task 2021-08-10T21:44:27.410Z] 21:44:27     INFO - test6/</</<@http://web-platform.test:8000/resize-observer/observe.html:194:16
[task 2021-08-10T21:44:27.410Z] 21:44:27     INFO - TEST-UNEXPECTED-TIMEOUT | /resize-observer/observe.html | expected OK
[task 2021-08-10T21:44:27.410Z] 21:44:27     INFO - TEST-INFO took 32119ms
Summary: Intermittent TV TEST-UNEXPECTED-NOTRUN | /resize-observer/observe.html | guard - expected PASS → Intermittent TEST-UNEXPECTED-NOTRUN | /resize-observer/observe.html | guard - expected PASS
Has Regression Range: --- → yes

test6() is pretty unstable and it makes the whole test file timeout. The test framework of ResizeObserver should continue to check the following tests even if there is a timeout (because we use window.setTimeout to check this case). However, test6() may wait for a message from an iframe forever. So I think we should split it from observe.html and then make it an intermittent.

Assignee: nobody → boris.chiou
Flags: needinfo?(boris.chiou)

test6() has side effects because it is waiting for a message from the
iframe. If it doesn't get anything, the whole test file is timeout and we
don't continue to test other subtests. I'm trying to remove this side
effects of the subtests to avoid unclear intermittent error messages.
Besides, we resolve the promise earlier so hope it helps.

Whiteboard: [retriggered]

Comment on attachment 9236073 [details]
Bug 1725051 - Reduce the side effect of iframe test in observe.html.

Revision D122537 was moved to bug 1724361. Setting attachment 9236073 [details] to obsolete.

Attachment #9236073 - Attachment is obsolete: true

This should be fixed by the patch in Bug 1724361.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: