Closed Bug 1518410 Opened 11 months ago Closed 3 months ago

Intermittent browser/modules/test/browser/browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js | www.exämple.test should count as a unique visit - Got 1, expected 2

Categories

(Toolkit :: Telemetry, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- fixed
firefox69 --- wontfix
firefox70 --- fixed
firefox71 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: smaug)

Details

(Keywords: intermittent-failure)

Attachments

(1 file, 1 obsolete file)

Filed by: opoprus [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=220514030&repo=mozilla-inbound

https://queue.taskcluster.net/v1/task/UgPQexZqTQ25vk02nvJWHg/runs/0/artifacts/public/logs/live_backing.log

TEST-PASS | browser/modules/test/browser/browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js | 127.0.0.1 should not count as a unique visit -
05:51:49 INFO - Buffered messages finished
05:51:49 INFO - TEST-UNEXPECTED-FAIL | browser/modules/test/browser/browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js | www.exämple.test should count as a unique visit - Got 1, expected 2
05:51:49 INFO - Stack trace:
05:51:49 INFO - chrome://mochikit/content/browser-test.js:test_is:1316
05:51:49 INFO - chrome://mochitests/content/browser/browser/modules/test/browser/browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js:test_uniqueDomainsVisitedInPast24Hours:40
05:51:49 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1106
05:51:49 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
05:51:49 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
05:51:49 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
05:51:50 INFO - Not taking screenshot here: see the one that was previously logged
05:51:50 INFO - TEST-UNEXPECTED-FAIL | browser/modules/test/browser/browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js | The expiry should work correctly - Got 1, expected 0
05:51:50 INFO - Stack trace:
05:51:50 INFO - chrome://mochikit/content/browser-test.js:test_is:1316
05:51:50 INFO - chrome://mochitests/content/browser/browser/modules/test/browser/browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js:test_uniqueDomainsVisitedInPast24Hours/</<:48
05:51:50 INFO - setTimeout handler*chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest_setTimeoutShim:684
05:51:50 INFO - chrome://mochitests/content/browser/browser/modules/test/browser/browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js:test_uniqueDomainsVisitedInPast24Hours/<:46
05:51:50 INFO - chrome://mochitests/content/browser/browser/modules/test/browser/browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js:test_uniqueDomainsVisitedInPast24Hours:45
05:51:50 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest/<:1106
05:51:50 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1097
05:51:50 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:995
05:51:50 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/waitForFocusInner/focusedOrLoaded/<:803
05:51:51 INFO - GECKO(7428) | [Parent 5708, Main Thread] WARNING: '!mSelection', file z:/build/build/src/editor/libeditor/EditorBase.cpp, line 4823
05:51:51 INFO - GECKO(7428) | [Parent 5708, Main Thread] WARNING: '!editActionData.CanHandle()', file z:/build/build/src/editor/libeditor/EditorBase.cpp, line 1250
05:51:51 INFO - Leaving test bound test_uniqueDomainsVisitedInPast24Hours
05:51:51 INFO - Cleaning up
05:51:51 INFO - GECKO(7428) | MEMORY STAT | vsize 1942MB | vsizeMaxContiguous 131277572MB | residentFast 474MB | heapAllocated 184MB

The test starts to fail quite often on ash repository.
https://searchfox.org/mozilla-central/rev/d1e33e3e11f559952d7d80e722d26a6cf5dd80ac/browser/modules/BrowserUsageTelemetry.jsm#295-298
makes the code rather racy, so trying to increase the timeout a bit.

This patch does not fix occasionally happening bug 1579591

Attachment #9092960 - Attachment is obsolete: true

There is still another related bug 1579591, which this may make a bit less likely, since that seems to be timing dependent, but
the patch is not trying to fix that.

Pushed by opettay@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c4f0426bb75b
try to make browser_UsageTelemetry_uniqueOriginsVisitedInPast24Hours.js fail a bit less likely, r=Ehsan
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.