Closed Bug 1893807 Opened 7 months ago Closed 7 months ago

Recent intermittent unexpected passes on Windows in WPT IndexedDB/structured-clone.any.worker.html?101-last

Categories

(Core :: Storage: IndexedDB, task)

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: twisniewski, Assigned: twisniewski)

References

Details

Attachments

(1 file)

Recently this WPT began to unexpectedly pass its Not serializable: symbol: Symbol(desc) case on Windows (which Jari says is due to recent nsThreadPool changes).

Our current test expectations for Windows there are [FAIL, NOTRUN]. After a chat with :janv and :jjalkanen, we decided we should adjust them to [PASS, FAIL, NOTRUN].

Assignee: nobody → twisniewski
Status: NEW → ASSIGNED

I assume this is related to:

bug 1878149 - NO and YES: there used to be a defect which caused this test to hang at the end (a bug, might still be relevant, root cause should be removed by nsThreadPool or D206588, we used to add idle timers when closing threads with the IDB custom thread pool, this test case has > 100 instances and it caused a shutdown hang), otherwise it fails because filelist and symbol cloning is incomplete (enhancement)

from bug 1878131 comment 2.

See Also: → 1878149

Isn't that comment about TEST-UNEXPECTED-TIMEOUT ?
I tried to run structured-clone.any.worker.html locally on mac and I got a timeout.

Would it be worth updating the expectation at the same time to also include TIMEOUT for Mac (and/or other platforms), as well as PASS for Windows?

I was just noting in bug 1893912 that quite some IndexedDB WPT tests seem to run close to our timeout limits, and on our MAC test machines (which are slow) this might be even more a problem. Can we just raise the timeout value for WPT tests to see if that solves some issues?

(In reply to Jan Varga [:janv] from comment #3)

I tried to run structured-clone.any.worker.html locally on mac and I got a timeout.

Oh, locally on mac means probably on a fast machine.

See Also: → 1892500

(In reply to Jens Stutte [:jstutte] from comment #5)

I was just noting in bug 1893912 that quite some IndexedDB WPT tests seem to run close to our timeout limits, and on our MAC test machines (which are slow) this might be even more a problem. Can we just raise the timeout value for WPT tests to see if that solves some issues?

It's really bizarre that these tests should ever time out. Maybe there's horrible I/O happening on the test runners? One notable thing is that structured-clone.any.js is using {durability: 'relaxed'} so when bug 1883045 lands maybe the tests will all get a lot happier?

IIUC the test runners are shared resources that host several VMs on the same hardware, another VM causing heavy IO load could definitely interfere, I think. But the captured profiles do not show any anomaly on the IO track, so I am quite unsure if it is more probable we see an over-provisioning of virtual CPU cores in relation to the physical ones that slows down the entire execution when all VMs are on high CPU load, not just IO?

Pushed by twisniewski@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5c04f92b37ae update expectations for structured-clone.any.worker.html?101-last; r=dom-storage-reviewers,asuth
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: