Closed Bug 1833508 Opened 3 years ago Closed 3 years ago

Intermittent test timeouts, after/around log lines `console.error: (new Error("Polling for changes failed: Unexpected content-type \"text/plain;charset=US-ASCII\".", "resource://services-settings/remote-settings.sys.mjs", 324))`

Categories

(Firefox :: Remote Settings Client, defect)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1812040

People

(Reporter: dholbert, Unassigned)

References

Details

We have quite a few intermittent test timeouts where the timeout happens right after this line:

console.error: (new Error("Polling for changes failed: Unexpected content-type "text/plain;charset=US-ASCII".", "resource://services-settings/remote-settings.sys.mjs", 324))

I first noticed this in bug 1787008 comment 47, but then I searched bugzilla for remote-settings.sys.mjs and found 166 bug reports that all appear to have this string included in some copypasted log snippet, which is a bit suspicious.

Here's that bugzilla search:
https://bugzilla.mozilla.org/buglist.cgi?longdesc=remote-settings.sys.mjs&classification=Client%20Software&classification=Developer%20Infrastructure&classification=Components&classification=Server%20Software&classification=Other&list_id=16556093&longdesc_type=allwordssubstr&query_format=advanced&resolution=---

Some examples: bug 1833413, bug 1833434.

In many cases (like those)^, this line is the last thing that gets logged before a timeout, which makes it look suspiciously like the culprit.

However, in other cases, it gets logged a bit later on and seems like it might just be background noise (?), e.g. in bug 1833155 where it's logged twice, along with some similar logging for resource://services-settings/Utils.sys.mjs".

If it's not related to the timeouts, it's creating some confusing background noise that would be nice to omit, to reduce confusion.

Standard8, it looks like you've made most of the recent edits to that file - perhaps you could take a look at this or know who might be the right person to do so?

Flags: needinfo?(standard8)

This reminds me of bug 1714615 where leplatrem added some insights in e.g. bug 1714615 comment 72 -- I should probably direct the needinfo at him.

Flags: needinfo?(mathieu)
See Also: → 1714615

This is probably a duplicate of bug 1812040 which has more discussion about the issue. I doubt the timeouts are related to this, though obviously the noise doesn't help.

Flags: needinfo?(standard8)

OK, thanks.

Status: NEW → RESOLVED
Closed: 3 years ago
Duplicate of bug: 1812040
Flags: needinfo?(mathieu)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.