Bug: Intermittent browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] result.payload at result index 2 - {"url":"http://foo.remote.com/desktop/1","title":"http://foo.remote.com/desktop/1","device"
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-06-03 03:00:43+00:00
Resolved: 2022-07-25 22:53:37+00:00

**Filed by:** cbrindusan [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=341591063&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/H5i1ILuqQ--5d2txOX4hWw/runs/0/artifacts/public/logs/live_backing.log
**Reftest URL:** https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/tools/reftest/reftest-analyzer.xhtml#logurl=https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/H5i1ILuqQ--5d2txOX4hWw/runs/0/artifacts/public/logs/live_backing.log&only_show_unexpected=1

---
```
[task 2021-06-03T00:39:31.394Z] 00:39:31     INFO -  TEST-START | browser/components/urlbar/tests/unit/test_remote_tabs.js
[task 2021-06-03T00:39:35.429Z] 00:39:35  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/unit/test_remote_tabs.js | xpcshell return code: 0[task 2021-06-03T00:39:35.497Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | test_many_remotetab_results - [test_many_remotetab_results : 1] result.payload at result index 8 - {"url":"http://foo.remote.com/7","title":"A title","device":"My Phone","icon":"moz-anno:favicon:page-icon:http://foo.remote.com/7","lastUsed":1622075974000,"displayUrl":"http://foo.remote.com/7"} deepEqual {"url":"http://foo.remote.com/7","device":"My Phone","icon":"moz-anno:favicon:page-icon:http://foo.remote.com/7","lastUsed":1622075974000,"title":"A title","displayUrl":"http://foo.remote.com/7"}
[task 2021-06-03T00:39:35.498Z] 00:39:35     INFO -  (xpcshell/head.js) | test run_next_test 11 pending (2)
[task 2021-06-03T00:39:35.498Z] 00:39:35     INFO -  (xpcshell/head.js) | test test_many_remotetab_results finished (2)
[task 2021-06-03T00:39:35.498Z] 00:39:35     INFO -  browser/components/urlbar/tests/unit/test_remote_tabs.js | Starting multiple_clients
[task 2021-06-03T00:39:35.498Z] 00:39:35     INFO -  (xpcshell/head.js) | test multiple_clients pending (2)
[task 2021-06-03T00:39:35.498Z] 00:39:35     INFO -  "Creating new queryContext with searchString: rem"
[task 2021-06-03T00:39:35.498Z] 00:39:35     INFO -  (xpcshell/head.js) | test run_next_test 11 finished (2)
[task 2021-06-03T00:39:35.498Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 26] true == true
[task 2021-06-03T00:39:35.498Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 26] true == true
[task 2021-06-03T00:39:35.498Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] Found the expected number of results. - 7 == 7
[task 2021-06-03T00:39:35.498Z] 00:39:35     INFO -  "Comparing results at index 0: actual={"type":2,"source":3,"rowIndex":-1,"heuristic":true,"payload":{"engine":"Suggestions","query":"rem"},"payloadHighlights":{"engine":[],"icon":[],"query":[],"keyword":[]},"providerName":"HeuristicFallback","providerType":1} expected={"type":2,"source":3,"rowIndex":-1,"heuristic":true,"payload":{"engine":"Suggestions","query":"rem"},"payloadHighlights":{"engine":[],"suggestion":[],"tail":[],"query":[[0,3]],"tailPrefix":[],"tailOffsetIndex":[],"keyword":[],"icon":[],"providesSearchMode":[],"inPrivateWindow":[],"isPrivateEngine":[]}}"
[task 2021-06-03T00:39:35.499Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] result.type at result index 0 - 2 == 2
[task 2021-06-03T00:39:35.499Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] result.source at result index 0 - 3 == 3
[task 2021-06-03T00:39:35.499Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] result.heuristic at result index 0 - true == true
[task 2021-06-03T00:39:35.499Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] result.payload at result index 0 - {"engine":"Suggestions","query":"rem"} deepEqual {"engine":"Suggestions","query":"rem"}
[task 2021-06-03T00:39:35.499Z] 00:39:35     INFO -  "Comparing results at index 1: actual={"type":6,"source":4,"rowIndex":-1,"heuristic":false,"payload":{"url":"http://foo.remote.com/mobile/fresh","title":"http://foo.remote.com/mobile/fresh","device":"My Phone","icon":"moz-anno:favicon:page-icon:http://foo.remote.com/mobile/fresh","lastUsed":1622680774557,"displayUrl":"http://foo.remote.com/mobile/fresh"},"payloadHighlights":{"url":[[11,3]],"title":[[11,3]],"displayUrl":[[11,3]],"device":[],"icon":[],"lastUsed":[]},"providerName":"RemoteTabs","providerType":3} expected={"type":6,"source":4,"rowIndex":-1,"heuristic":false,"payload":{"url":"http://foo.remote.com/mobile/fresh","device":"My Phone","icon":"moz-anno:favicon:page-icon:http://foo.remote.com/mobile/fresh","lastUsed":1622680774557,"title":"http://foo.remote.com/mobile/fresh","displayUrl":"http://foo.remote.com/mobile/fresh"},"payloadHighlights":{"url":[[11,3]],"device":[],"title":[[11,3]],"displayUrl":[[11,3]],"icon":[],"lastUsed":[]}}"
[task 2021-06-03T00:39:35.499Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] result.type at result index 1 - 6 == 6
[task 2021-06-03T00:39:35.499Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] result.source at result index 1 - 4 == 4
[task 2021-06-03T00:39:35.499Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] result.heuristic at result index 1 - false == false
[task 2021-06-03T00:39:35.499Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] result.payload at result index 1 - {"url":"http://foo.remote.com/mobile/fresh","title":"http://foo.remote.com/mobile/fresh","device":"My Phone","icon":"moz-anno:favicon:page-icon:http://foo.remote.com/mobile/fresh","lastUsed":1622680774557,"displayUrl":"http://foo.remote.com/mobile/fresh"} deepEqual {"url":"http://foo.remote.com/mobile/fresh","device":"My Phone","icon":"moz-anno:favicon:page-icon:http://foo.remote.com/mobile/fresh","lastUsed":1622680774557,"title":"http://foo.remote.com/mobile/fresh","displayUrl":"http://foo.remote.com/mobile/fresh"}
[task 2021-06-03T00:39:35.500Z] 00:39:35     INFO -  "Comparing results at index 2: actual={"type":6,"source":4,"rowIndex":-1,"heuristic":false,"payload":{"url":"http://foo.remote.com/desktop/1","title":"http://foo.remote.com/desktop/1","device":"My Desktop","icon":"moz-anno:favicon:page-icon:http://foo.remote.com/desktop/1","lastUsed":1622680773557,"displayUrl":"http://foo.remote.com/desktop/1"},"payloadHighlights":{"url":[[11,3]],"title":[[11,3]],"displayUrl":[[11,3]],"device":[],"icon":[],"lastUsed":[]},"providerName":"RemoteTabs","providerType":3} expected={"type":6,"source":4,"rowIndex":-1,"heuristic":false,"payload":{"url":"http://foo.remote.com/desktop/0","device":"My Desktop","icon":"moz-anno:favicon:page-icon:http://foo.remote.com/desktop/0","lastUsed":1622680773556,"title":"http://foo.remote.com/desktop/0","displayUrl":"http://foo.remote.com/desktop/0"},"payloadHighlights":{"url":[[11,3]],"device":[],"title":[[11,3]],"displayUrl":[[11,3]],"icon":[],"lastUsed":[]}}"
[task 2021-06-03T00:39:35.500Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] result.type at result index 2 - 6 == 6
[task 2021-06-03T00:39:35.500Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] result.source at result index 2 - 4 == 4
[task 2021-06-03T00:39:35.500Z] 00:39:35     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] result.heuristic at result index 2 - false == false
[task 2021-06-03T00:39:35.500Z] 00:39:35  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/unit/test_remote_tabs.js | multiple_clients - [multiple_clients : 1] result.payload at result index 2 - {"url":"http://foo.remote.com/desktop/1","title":"http://foo.remote.com/desktop/1","device":"My Desktop","icon":"moz-anno:favicon:page-icon:http://foo.remote.com/desktop/1","lastUsed":1622680773557,"displayUrl":"http://foo.remote.com/desktop/1"} deepEqual {"url":"http://foo.remote.com/desktop/0","device":"My Desktop","icon":"moz-anno:favicon:page-icon:http://foo.remote.com/desktop/0","lastUsed":1622680773556,"title":"http://foo.remote.com/desktop/0","displayUrl":"http://foo.remote.com/desktop/0"}
```