Closed Bug 1620827 Opened 5 years ago Closed 5 years ago

Remove raptor-webext local storage clear call for causing lots of intermittents

Categories

(Testing :: Raptor, defect, P1)

Version 3
defect

Tracking

(firefox75 fixed, firefox76 fixed)

RESOLVED FIXED
mozilla76
Tracking Status
firefox75 --- fixed
firefox76 --- fixed

People

(Reporter: sparky, Assigned: sparky)

References

Details

Attachments

(1 file)

It seems that the storage clear call in the raptor-webext is causing many intermittent failures because of an unknown error:

03-06 18:14:31.788  8014  8080 E GeckoConsole: [JavaScript Error: "IndexedDB UnknownErr: ActorsParent.cpp:613"]
03-06 18:14:31.789  8014  8029 E GeckoConsole: [JavaScript Error: "UnknownError: The operation failed for reasons unrelated to the database itself and not covered by any other error code." {file: "resource://gre/modules/ExtensionStorageIDB.jsm" line: 812}]

I tested removing it and everything works fine without it, I haven't found any issues with that change. Here's a try run showing that the intermittent rate is drastically reduced with this change: https://treeherder.mozilla.org/#/jobs?repo=try&revision=089bd80b6ca40d2c8434c1a9d94a4b539993ee21

For comparison, here's a push that still has the clear call: https://treeherder.mozilla.org/#/jobs?repo=try&revision=bcc0fce02e7fdda70b032ed30903018e318bc76f

This bug is for removing the clear call, and making a couple other minor adjustments.

See Also: → 1620828

This patch removes a storage.local.clear() call from raptor-webext for causing a high number of intermittent failures. It also adds a default value for --host in the mozharness raptor. Finally, a delayed startup for raptorRunner is added with the hope that this will further decrease intermittents (right now, it might be starting at a very noisy time).

Note that the Fenix failures are expected since the latest Fenix build is failing to update the tabs:

03-08 13:11:18.987  7528  7556 I Gecko   : console.info: "[raptor-runnerjs] pageload test start"
03-08 13:11:22.025  7528  7556 W GeckoEventDispatcher: No listener for GeckoView:WebExtension:UpdateTab

The fenix branch (without these changes) has the same failures: https://treeherder.mozilla.org/#/jobs?repo=fenix&selectedJob=292141083

03-08 01:19:56.102  9233  9263 W GeckoEventDispatcher: No listener for GeckoView:WebExtension:UpdateTab
Pushed by gmierz2@outlook.com: https://hg.mozilla.org/integration/autoland/rev/0ea89a168b00 Remove raptor-webext clear storage call for causing intermittents. r=perftest-reviewers,Bebe
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76

Thanks for the (temporarily) removal of the clear() call. I assume it was/is necessary when re-using the same profile across different Raptor tests. I assume we still have warm tests? A simple solution might have been to wrap the code in try/catch instead and only log the error but ignore the rest.

Also regarding the delay, why is it necessary? We already have the post startup delay for any kind of noise, and sleeping another 5s now hardly conflicts with this setting. Also at this point I don't see why the delay is necessary at all.

Flags: needinfo?(gmierz2)

That's what I'm thinking as well. That said, I went through the 2+ years of history on that line of code (going back to the github repo) and I haven't found any mention of this, or any other reason it might be there.

We recently reduced the post-startup-delay to 1 second so it's more or less non-existent now. I added this in the hopes that it would help a bit with intermittents but I don't think it has had any effect. I'll make a patch to remove the delay.

Flags: needinfo?(gmierz2)

(In reply to Greg Mierzwinski [:sparky] from comment #7)

We recently reduced the post-startup-delay to 1 second so it's more or less non-existent now. I added this in the hopes that it would help a bit with intermittents but I don't think it has had any effect. I'll make a patch to remove the delay.

No need for a patch. I have included it in my patch series for bug 1609295.

I would like to see this test-only patch uplifted to beta given that it blocks the uplift of bug 1622213.

Whiteboard: [checkin-needed-beta]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: