Closed
Bug 1481348
Opened 6 years ago
Closed 6 years ago
Intermittent JavaScript Error: "Polling for changes failed: Server error 404 Not Found: "JSON.parse: unexpected character at line 1 column 1 of the JSON data
Categories
(Firefox :: Remote Settings Client, defect, P5)
Firefox
Remote Settings Client
Tracking
()
RESOLVED
FIXED
Firefox 64
Tracking | Status | |
---|---|---|
firefox64 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: leplatrem)
References
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
Filed by: aciure [at] mozilla.com https://treeherder.mozilla.org/logviewer.html#?job_id=192309708&repo=mozilla-central https://queue.taskcluster.net/v1/task/I6eqEZi6TWW6LSF0RLQ5Xw/runs/0/artifacts/public/logs/live_backing.log 8:26:55 INFO - TEST-PASS | browser/components/payments/test/browser/browser_total.js | Check unmodified total currency amount - "$2.00 USD" == "$2.00 USD" - 18:26:55 INFO - Buffered messages logged at 18:26:55 18:26:55 INFO - Leaving test bound test_modifier_with_no_method_selected 18:26:55 INFO - Entering test bound test_modifier_with_no_method_selected 18:26:55 INFO - adding a basic-card 18:26:55 INFO - Console message: [JavaScript Error: "Polling for changes failed: Server error 404 Not Found: "JSON.parse: unexpected character at line 1 column 1 of the JSON data"." {file: "resource://services-settings/remote-settings.js" line: 717}] 18:26:55 INFO - remoteSettingsFunction/remoteSettings.pollChanges@resource://services-settings/remote-settings.js:717:13 18:26:55 INFO - async*notify@jar:file:///Z:/task_1533576206/build/application/firefox/omni.ja!/components/RemoteSettingsComponents.js:24:5 18:26:55 INFO - TM_notify/<@jar:file:///Z:/task_1533576206/build/application/firefox/omni.ja!/components/nsUpdateTimerManager.js:197:11 18:26:55 INFO - TM_notify@jar:file:///Z:/task_1533576206/build/application/firefox/omni.ja!/components/nsUpdateTimerManager.js:244:7 18:26:55 INFO - 18:26:55 INFO - Buffered messages finished 18:26:55 INFO - TEST-UNEXPECTED-FAIL | browser/components/payments/test/browser/browser_total.js | [JavaScript Error: "Polling for changes failed: Server error 404 Not Found: "JSON.parse: unexpected character at line 1 column 1 of the JSON data"." {file: "resource://services-settings/remote-settings.js" line: 717}] 18:26:55 INFO - remoteSettingsFunction/remoteSettings.pollChanges@resource://services-settings/remote-settings.js:717:13 18:26:55 INFO - async*notify@jar:file:///Z:/task_1533576206/build/application/firefox/omni.ja!/components/RemoteSettingsComponents.js:24:5 18:26:55 INFO - TM_notify/<@jar:file:///Z:/task_1533576206/build/application/firefox/omni.ja!/components/nsUpdateTimerManager.js:197:11 18:26:55 INFO - TM_notify@jar:file:///Z:/task_1533576206/build/application/firefox/omni.ja!/components/nsUpdateTimerManager.js:244:7 18:26:55 INFO - - 18:26:55 INFO - Stack trace: 18:26:55 INFO - chrome://mochitests/content/browser/browser/components/payments/test/browser/head.js:onConsoleMessage:331 18:26:55 INFO - chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js:observe/<:385 18:26:56 INFO - waitForMessageFromWidget: paymentDialogReady 18:26:56 INFO - GECKO(6148) | ++DOCSHELL 000001E2F6443000 == 6 [pid = 6148] [id = {03178357-fb44-4043-9727-ffdc65613ccf}] 18:26:56 INFO - GECKO(6148) | ++DOMWINDOW == 14 (000001E2F6506400) [pid = 6148] [serial = 146] [outer = 0000000000000000] 18:26:56 INFO - GECKO(6148) | ++DOMWINDOW == 15 (000001E2E819E400) [pid = 6148] [serial = 147] [outer = 000001E2F6506400] 18:26:56 INFO - GECKO(6148) | --DOMWINDOW == 3 (0000025EBE523600) [pid = 7244] [serial = 116] [outer = 0000000000000000] [url = https://example.com/browser/browser/components/payments/test/browser/blank_page.html] 18:26:56 INFO - GECKO(6148) | [Parent 6148, Main Thread] WARNING: NS_ENSURE_TRUE(root) failed: file z:/build/build/src/layout/base/nsDocumentViewer.cpp, line 3544 18:26:56 INFO - GECKO(6148) | ++DOCSHELL 000001BFA566B800 == 2 [pid = 6536] [id = {93d44052-10eb-45b7-b3d2-e397f6ba2c02}] 18:26:56 INFO - GECKO(6148) | ++DOMWINDOW == 13 (000001BFA5627200) [pid = 6536] [serial = 181] [outer = 0000000000000000] 18:26:56 INFO - GECKO(6148) | ++DOMWINDOW == 14 (000001BFA7432C00) [pid = 6536] [serial = 182] [outer = 000001BFA5627200] 18:26:56 INFO - GECKO(6148) | ++DOMWINDOW == 15 (000001BFA7C0C000) [pid = 6536] [serial = 183] [outer = 000001BFA5627200] 18:26:56 INFO - GECKO(6148) | ++DOCSHELL 000001BFA7C72000 == 3 [pid = 6536] [id = {3b323304-a971-4f8a-84e9-47dae5a39039}] 18:26:56 INFO - GECKO(6148) | ++DOMWINDOW == 16 (000001BFA7C4B400) [pid = 6536] [serial = 184] [outer = 0000000000000000] 18:26:56 INFO - GECKO(6148) | ++DOMWINDOW == 17 (000001BFA8A1A000) [pid = 6536] [serial = 185] [outer = 000001BFA7C4B400] 18:26:57 INFO - Got paymentDialogReady from widget
Updated•6 years ago
|
Whiteboard: [webpayments] [triage]
Updated•6 years ago
|
Component: WebPayments UI → Remote Settings Client
Summary: Intermittent browser/components/payments/test/browser/browser_total.js | [JavaScript Error: "Polling for changes failed: Server error 404 Not Found: "JSON.parse: unexpected character at line 1 column 1 of the JSON data → Intermittent JavaScript Error: "Polling for changes failed: Server error 404 Not Found: "JSON.parse: unexpected character at line 1 column 1 of the JSON data
Whiteboard: [webpayments] [triage]
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → mathieu
Assignee | ||
Comment 5•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6d4bae5015e03c4118a5f9f6a94b30299f847eae
Comment 6•6 years ago
|
||
Comment on attachment 9001719 [details] Bug 1481348 - Prevent intermittent failures with fake RemoteSettings server r?glasserc Ethan Glasser-Camp (:glasserc) has approved the revision.
Attachment #9001719 -
Flags: review+
Assignee | ||
Comment 7•6 years ago
|
||
Thanks Ethan for your review.
I'm aware that the current patch is not entirely elegant. I'm going to be off for the next 2 weeks. If this issue becomes too annoying, we can land it as it is, and iterate later.
> Can you confirm that we don't expect any users to self-host RemoteSettings? If so, I'm OK with it. If not, I'm a little nervous about the test, because it could mask server misconfiguration.
Indeed, users that self-host remote settings could have some server configuration error masked.
Or for example, when using STAGE, changing the polling endpoint preference to a bad value would silently fail.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 10•6 years ago
|
||
leplatrem: Hi, this is perma failing on the last merge: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&revision=95b4b8e25577093b1e2358ce08cdd8c3ee191cc2&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=usercancel&filter-resultStatus=runnable&filter-searchStr=windows10-64-ccov%20debug%20Mochitests%20with%20e10s%20test-windows10-64-ccov%2Fdebug-mochitest-browser-chrome-e10s-1%20M-e10s(bc1)&selectedJob=196587280
Flags: needinfo?(mathieu)
Comment hidden (Intermittent Failures Robot) |
Comment 13•6 years ago
|
||
:marco, Hi, I see that Mathieu Leplatre its on PTO, could you find time to have a look at this? Its a perma failing windows10-64-ccov debug: https://treeherder.mozilla.org/#/jobs?repo=mozilla-central&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=runnable&filter-searchStr=windows10-64-ccov%20debug%20Mochitests%20with%20e10s%20test-windows10-64-ccov%2Fdebug-mochitest-browser-chrome-e10s-1%20M-e10s(bc1)&selectedJob=196827877 Thanks!
Flags: needinfo?(mcastelluccio)
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 15•6 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7ecc78b06f14036173e2cd298a79debb7bf704c5
Comment 16•6 years ago
|
||
Pushed by mleplatre@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1cb35a652277 Prevent intermittent failures with fake RemoteSettings server r=glasserc
Updated•6 years ago
|
Flags: needinfo?(mcastelluccio)
Comment 17•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1cb35a652277
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(mathieu)
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Comment 20•6 years ago
|
||
The bot keeps pinging here saying «Resolving this bug is a high priority» while the graph shows a drop :) Eliza, could you please confirm that this is resolved? Thanks!
Flags: needinfo?(ebalazs)
Comment 21•6 years ago
|
||
Yes, this is resolved, no failures in the last 7 days (5th-12th Sept). The failures from Comment 19 are from the 4th of Sept, and this was fixed on the 5th of Sept.
Flags: needinfo?(ebalazs)
You need to log in
before you can comment on or make changes to this bug.
Description
•