Closed Bug 1802452 Opened 1 year ago Closed 1 year ago

Intermittent toolkit/components/places/tests/bookmarks/test_bookmarks_notifications.js | single tracking bug

Categories

(Toolkit :: Places, defect, P5)

defect

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

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

Details

(Keywords: intermittent-failure, intermittent-testcase, Whiteboard: [retriggered])

Attachments

(1 file)

Filed by: sstanca [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=397664548&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/IZVE_jvURFmvnbDzvdoxhw/runs/0/artifacts/public/logs/live_backing.log


[task 2022-11-25T06:03:39.156Z] 06:03:39     INFO -  TEST-PASS | xpcshell.ini:toolkit/mozapps/extensions/test/xpcshell/test_upgrade.js | took 1354ms
[task 2022-11-25T06:03:39.160Z] 06:03:39     INFO -  Retrying tests that failed when run in parallel.
[task 2022-11-25T06:03:39.161Z] 06:03:39     INFO -  TEST-START | toolkit/components/places/tests/bookmarks/test_bookmarks_notifications.js
[task 2022-11-25T06:03:40.343Z] 06:03:40  WARNING -  TEST-UNEXPECTED-FAIL | toolkit/components/places/tests/bookmarks/test_bookmarks_notifications.js | xpcshell return code: 0
[task 2022-11-25T06:03:40.344Z] 06:03:40     INFO -  TEST-INFO took 1181ms
[task 2022-11-25T06:03:40.344Z] 06:03:40     INFO -  >>>>>>>
[task 2022-11-25T06:03:40.344Z] 06:03:40     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2022-11-25T06:03:40.344Z] 06:03:40     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2022-11-25T06:03:40.344Z] 06:03:40     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2022-11-25T06:03:40.344Z] 06:03:40     INFO -  running event loop
[task 2022-11-25T06:03:40.344Z] 06:03:40     INFO -  toolkit/components/places/tests/bookmarks/test_bookmarks_notifications.js | Starting insert_separator_notification
[task 2022-11-25T06:03:40.345Z] 06:03:40     INFO -  (xpcshell/head.js) | test insert_separator_notification pending (2)
[task 2022-11-25T06:03:40.345Z] 06:03:40     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2022-11-25T06:03:40.345Z] 06:03:40     INFO -  TEST-PASS | toolkit/components/places/tests/bookmarks/test_bookmarks_notifications.js | insert_separator_notification - [insert_separator_notification : 16] [{"type":"bookmark-added","id":7,"itemType":3,"parentId":5,"index":0,"url":"undefined","title":"","dateAdded":"2022-11-25T06:03:39.415Z","guid":"p4rJ7EObeycM","parentGuid":"unfiled_____","source":0,"isTagging":false}] deepEqual [{"type":"bookmark-added","id":7,"itemType":3,"parentId":5,"index":0,"url":"undefined","title":"","dateAdded":"2022-11-25T06:03:39.415Z","guid":"p4rJ7EObeycM","parentGuid":"unfiled_____","source":0,"isTagging":false}]

The test is reordering using Math.random, that means sometimes it may end up in an order that doesn't require reordering, and then we get no notifications.

Assignee: nobody → mak
Status: NEW → ASSIGNED
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/59af3efcf9d3
Ensure unordered bookmarks in test_bookmarks_notifications.js. r=Standard8
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: