Closed Bug 2055973 Opened 4 months ago Closed 3 months ago

194,600 instances of "NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE)" emitted from toolkit/components/url-classifier/nsUrlClassifierDBService.cpp during linux2404-64 debug testing

Categories

(Toolkit :: Safe Browsing, task)

task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: mccr8, Assigned: timhuang)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

194557 WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005 (NS_ERROR_FAILURE): file checkouts/gecko/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp:2145

This warning is extremely frequent on Linux64. It is the most frequent warning. Bizarrely, it appears to be happening mostly during WPT reftests, most often in the HTML Ruby tests. I don't know if this is an artifact of WPTs or what. This specific warning appears to indicate a failure of a call to StartRealTimeLookup. This was added in bug 2010020.

This warning shows up in 93 test suites. A few of the most prevalent:

 11355 - test-linux2404-64/debug-web-platform-tests-reftest-swr-4 Wr4
 11209 - test-linux2404-64/debug-web-platform-tests-reftest-s-2 Wr2
 11167 - test-linux2404-64/debug-web-platform-tests-reftest-1 Wr1
 10888 - test-linux2404-64/debug-web-platform-tests-reftest-swr-nofis-2 Wr2
 10813 - test-linux2404-64/debug-web-platform-tests-reftest-swr-nofis-4 Wr4
 10776 - test-linux2404-64/debug-web-platform-tests-reftest-nofis-1 Wr1
 10650 - test-linux2404-64/debug-web-platform-tests-reftest-swr-nofis-1 Wr1
 10442 - test-linux2404-64/debug-web-platform-tests-reftest-2 Wr2
 10347 - test-linux2404-64/debug-web-platform-tests-reftest-s-1 Wr1
 10289 - test-linux2404-64/debug-web-platform-tests-reftest-nofis-2 Wr2

It shows up in 58318 tests. A few of the most prevalent:

   155 -        /html-ruby-extensions/html-ruby-015.html
   147 -        /html-ruby-extensions/html-ruby-209.html
   147 -        /html-ruby-extensions/html-ruby-408.html
   144 -        /html-ruby-extensions/html-ruby-305.html
   141 -        /html-ruby-extensions/html-ruby-309.html
   139 -        /html-ruby-extensions/html-ruby-406.html
   136 -        /html-ruby-extensions/html-ruby-402.html
   134 -        /html-ruby-extensions/html-ruby-308.html
   132 -        /dom/events/scrolling/scrollend-event-fired-after-sequence-of-scrolls.tentative.html
   129 -        /html-ruby-extensions/html-ruby-013.html

There is also a second warning happening in this file, almost as frequently. That looks like it is a warning when CreateFeatureHolders fails, inside of StartRealTimeLookup.

In the log where this is most frequently happening, it appears that 22,710 lines of this entire file are these two warnings, out of a total length of 79,527 lines. Tim, are these two warnings useful or can we get rid of them? Maybe safe browsing isn't set up properly for these WPTs and that's why it is complaining?

Flags: needinfo?(tihuang)

I think this is caused by missing configurations on WPTs. I will update the code to suppress the warning message.

Flags: needinfo?(tihuang)
Assignee: nobody → tihuang
Status: NEW → ASSIGNED
Pushed by tihuang@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/8e0c8d5be817 https://hg.mozilla.org/integration/autoland/rev/d1d81090795f Suppress the warning message of nsUrlClassifierRealTimeLookupHandler::StartRealTimeLookup(). r=dimi
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
QA Whiteboard: [qa-triage-done-c156/b155]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: