Closed Bug 1495043 Opened 11 months ago Closed 11 months ago

Intermittent toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1265] [["http://","example.com",200]] deepEqual [["http://","example.com",275]]

Categories

(Toolkit :: Places, defect, P5)

defect

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

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

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Filed by: aiakab [at] mozilla.com

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

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

[task 2018-09-28T16:51:25.570Z] 16:51:25     INFO -  (xpcshell/head.js) | test moreOriginFrecencyStats pending (2)
[task 2018-09-28T16:51:25.572Z] 16:51:25     INFO -  (xpcshell/head.js) | test run_next_test 20 finished (2)
[task 2018-09-28T16:51:25.573Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1265] [] deepEqual []
[task 2018-09-28T16:51:25.574Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1279] 0 == 0
[task 2018-09-28T16:51:25.575Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1283] 0 == 0
[task 2018-09-28T16:51:25.576Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1287] 0 == 0
[task 2018-09-28T16:51:25.577Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1265] [["http://","example.com",100]] deepEqual [["http://","example.com",100]]
[task 2018-09-28T16:51:25.578Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1279] 1 == 1
[task 2018-09-28T16:51:25.580Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1283] 100 == 100
[task 2018-09-28T16:51:25.581Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1287] 10000 == 10000
[task 2018-09-28T16:51:25.582Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1265] [["http://","example.com",200]] deepEqual [["http://","example.com",200]]
[task 2018-09-28T16:51:25.583Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1279] 1 == 1
[task 2018-09-28T16:51:25.584Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1283] 200 == 200
[task 2018-09-28T16:51:25.585Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1287] 40000 == 40000
[task 2018-09-28T16:51:25.586Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1265] [["http://","example.com",300]] deepEqual [["http://","example.com",300]]
[task 2018-09-28T16:51:25.588Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1279] 1 == 1
[task 2018-09-28T16:51:25.589Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1283] 300 == 300
[task 2018-09-28T16:51:25.590Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1287] 90000 == 90000
[task 2018-09-28T16:51:25.591Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1265] [["http://","example.com",400]] deepEqual [["http://","example.com",400]]
[task 2018-09-28T16:51:25.592Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1279] 1 == 1
[task 2018-09-28T16:51:25.593Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1283] 400 == 400
[task 2018-09-28T16:51:25.595Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1287] 160000 == 160000
[task 2018-09-28T16:51:25.596Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1265] [["http://","example.com",200]] deepEqual [["http://","example.com",200]]
[task 2018-09-28T16:51:25.596Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1279] 1 == 1
[task 2018-09-28T16:51:25.598Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1283] 200 == 200
[task 2018-09-28T16:51:25.599Z] 16:51:25     INFO -  TEST-PASS | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1287] 40000 == 40000
[task 2018-09-28T16:51:25.600Z] 16:51:25  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/places/tests/unit/test_origins.js | moreOriginFrecencyStats - [moreOriginFrecencyStats : 1265] [["http://","example.com",200]] deepEqual [["http://","example.com",275]]
[task 2018-09-28T16:51:25.601Z] 16:51:25     INFO -  /builds/worker/workspace/build/tests/xpcshell/tests/toolkit/components/places/tests/unit/test_origins.js:checkDB:1265
[task 2018-09-28T16:51:25.602Z] 16:51:25     INFO -  exiting test
[task 2018-09-28T16:51:25.603Z] 16:51:25     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2018-09-28T16:51:25.605Z] 16:51:25     INFO -  _abort_failed_test@/builds/worker/workspace/build/tests/xpcshell/head.js:746:9
[task 2018-09-28T16:51:25.606Z] 16:51:25     INFO -  do_report_result@/builds/worker/workspace/build/tests/xpcshell/head.js:853:5
[task 2018-09-28T16:51:25.607Z] 16:51:25     INFO -  Assert<@/builds/worker/workspace/build/tests/xpcshell/head.js:55:5
[task 2018-09-28T16:51:25.608Z] 16:51:25     INFO -  proto.report@resource://testing-common/Assert.jsm:214:5
[task 2018-09-28T16:51:25.609Z] 16:51:25     INFO -  deepEqual@resource://testing-common/Assert.jsm:281:3
[task 2018-09-28T16:51:25.610Z] 16:51:25     INFO -  checkDB@/builds/worker/workspace/build/tests/xpcshell/tests/toolkit/components/places/tests/unit/test_origins.js:1265:3
[task 2018-09-28T16:51:25.611Z] 16:51:25     INFO -  async*moreOriginFrecencyStats@/builds/worker/workspace/build/tests/xpcshell/tests/toolkit/components/places/tests/unit/test_origins.js:1186:9
[task 2018-09-28T16:51:25.613Z] 16:51:25     INFO -  async*run_next_test/_run_next_test/<@/builds/worker/workspace/build/tests/xpcshell/head.js:1441:22
[task 2018-09-28T16:51:25.614Z] 16:51:25     INFO -  async*_run_next_test@/builds/worker/workspace/build/tests/xpcshell/head.js:1441:10
[task 2018-09-28T16:51:25.615Z] 16:51:25     INFO -  run@/builds/worker/workspace/build/tests/xpcshell/head.js:692:9
[task 2018-09-28T16:51:25.616Z] 16:51:25     INFO -  _do_main@/builds/worker/workspace/build/tests/xpcshell/head.js:219:3
[task 2018-09-28T16:51:25.617Z] 16:51:25     INFO -  _execute_test@/builds/worker/workspace/build/tests/xpcshell/head.js:533:5
[task 2018-09-28T16:51:25.618Z] 16:51:25     INFO -  @-e:1:1
[task 2018-09-28T16:51:25.619Z] 16:51:25     INFO -  exiting test
[task 2018-09-28T16:51:25.620Z] 16:51:25     INFO -  PID 9354 | Collecting coverage for: /builds/worker/workspace/build/tests/xpcshell/tests/toolkit/components/places/tests/unit/test_origins.js
[task 2018-09-28T16:51:25.621Z] 16:51:25     INFO -  PID 9354 | Writing coverage to: /builds/worker/workspace/build/blobber_upload_dir/jscov_1538153484914.json
[task 2018-09-28T16:51:25.623Z] 16:51:25     INFO -  <<<<<<<
Not sure why this hasn't shown up before. There's a reasonably obvious point of failure - we're not waiting for the frecency updates to happen in the background. It is possible the amount of awaits for other things means we normally don't hit this.
Assignee: nobody → standard8
Status: NEW → ASSIGNED
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b6664d437a23
Ensure background frecency updates have had a chance to run when checking the database in test_origins.js. r=adw
https://hg.mozilla.org/mozilla-central/rev/b6664d437a23
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.