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)
Tracking
()
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.
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?
| Reporter | ||
Comment 1•3 years ago
|
||
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.
Comment 2•3 years ago
|
||
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.
| Reporter | ||
Comment 3•3 years ago
|
||
OK, thanks.
Description
•