Bug: Intermittent browser/components/urlbar/tests/unit/test_keywords.js | test_less_then_equal_than_keyword_bug_1124238 - [test_less_then_equal_than_keyword_bug_1124238 : 1] result.type at result index 0 - 3 == 4
Status: RESOLVED
Priority: P5
Resolution: DUPLICATE
Created: 2021-08-02 04:35:56+00:00
Resolved: 2023-08-20 03:57:06+00:00

**Filed by:** malexandru [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=347084361&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/GLH0tG9RROC32S9SyQqokw/runs/1/artifacts/public/logs/live_backing.log

---
```
[task 2021-08-02T04:06:46.187Z] 04:06:46     INFO -  TEST-START | browser/components/urlbar/tests/unit/test_keywords.js
[task 2021-08-02T04:06:48.953Z] 04:06:48  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/unit/test_keywords.js | xpcshell return code: 0
[task 2021-08-02T04:06:48.958Z] 04:06:48     INFO -  TEST-INFO took 2767ms
[task 2021-08-02T04:06:48.958Z] 04:06:48     INFO -  >>>>>>>
[task 2021-08-02T04:06:48.958Z] 04:06:48     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2021-08-02T04:06:48.958Z] 04:06:48     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2021-08-02T04:06:48.959Z] 04:06:48     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2021-08-02T04:06:48.959Z] 04:06:48     INFO -  running event loop
[task 2021-08-02T04:06:48.959Z] 04:06:48     INFO -  browser/components/urlbar/tests/unit/test_keywords.js | Starting initXPCShellDependencies
[task 2021-08-02T04:06:48.959Z] 04:06:48     INFO -  (xpcshell/head.js) | test initXPCShellDependencies pending (2)
[task 2021-08-02T04:06:48.960Z] 04:06:48     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2021-08-02T04:06:48.960Z] 04:06:48     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2021-08-02T04:06:48.960Z] 04:06:48     INFO -  (xpcshell/head.js) | test initXPCShellDependencies finished (2)
[task 2021-08-02T04:06:48.960Z] 04:06:48     INFO -  browser/components/urlbar/tests/unit/test_keywords.js | Starting setup
[task 2021-08-02T04:06:48.961Z] 04:06:48     INFO -  (xpcshell/head.js) | test setup pending (2)
[task 2021-08-02T04:06:48.961Z] 04:06:48     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2021-08-02T04:06:48.961Z] 04:06:48     INFO -  PID 7112 | console.warn: SearchSettings: "get: No settings file exists, new profile?" (new NotFoundError("Could not open the file at C:\\Users\\task_162787351424377\\AppData\\Local\\Temp\\xpc-profile-5pnxo798\\search.json.mozlz4", (void 0), 240))
[task 2021-08-02T04:06:48.961Z] 04:06:48     INFO -  "Extension attached"
[task 2021-08-02T04:06:48.962Z] 04:06:48     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_keywords.js | setup - [setup : 1814] Search provider extension should be running - "running" == "running"
<...>
[task 2021-08-02T04:06:49.009Z] 04:06:49     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_keywords.js | test_less_then_equal_than_keyword_bug_1124238 - [test_less_then_equal_than_keyword_bug_1124238 : 1] Found the expected number of results. - 2 == 2
[task 2021-08-02T04:06:49.010Z] 04:06:49     INFO -  "Comparing results at index 0: actual={"type":3,"source":2,"rowIndex":-1,"heuristic":true,"payload":{"title":"mozilla.com","url":"http://mozilla.com/","icon":"page-icon:http://mozilla.com/","displayUrl":"http://mozilla.com"},"payloadHighlights":{"title":[[0,3]],"url":[[7,3]],"displayUrl":[[7,3]],"icon":[]},"autofill":{"value":"mozilla.com/","selectionStart":3,"selectionEnd":12},"providerName":"Autofill","providerType":1} expected={"type":4,"source":1,"rowIndex":-1,"heuristic":true,"payload":{"title":"http://mozilla.com/","url":"http://mozilla.com/","keyword":"moz","input":"moz","postData":null,"icon":"page-icon:http://mozilla.com/","displayUrl":"http://mozilla.com"},"payloadHighlights":{"title":[[7,3]],"url":[[7,3]],"keyword":[[0,3]],"input":[[0,3]],"displayUrl":[[7,3]],"postData":[],"icon":[]}}"
[task 2021-08-02T04:06:49.010Z] 04:06:49  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/unit/test_keywords.js | test_less_then_equal_than_keyword_bug_1124238 - [test_less_then_equal_than_keyword_bug_1124238 : 1] result.type at result index 0 - 3 == 4
[task 2021-08-02T04:06:49.011Z] 04:06:49     INFO -  -e:null:1
[task 2021-08-02T04:06:49.011Z] 04:06:49     INFO -  exiting test
[task 2021-08-02T04:06:49.011Z] 04:06:49     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2021-08-02T04:06:49.011Z] 04:06:49     INFO -  _abort_failed_test@Z:\task_162787351424377\build\tests\xpcshell\head.js:860:20
[task 2021-08-02T04:06:49.011Z] 04:06:49     INFO -  do_report_result@Z:\task_162787351424377\build\tests\xpcshell\head.js:961:5
[task 2021-08-02T04:06:49.012Z] 04:06:49     INFO -  Assert<@Z:\task_162787351424377\build\tests\xpcshell\head.js:75:21
[task 2021-08-02T04:06:49.012Z] 04:06:49     INFO -  proto.report@resource://testing-common/Assert.jsm:228:10
[task 2021-08-02T04:06:49.012Z] 04:06:49     INFO -  equal@resource://testing-common/Assert.jsm:270:8
[task 2021-08-02T04:06:49.012Z] 04:06:49     INFO -  check_results@Z:/task_162787351424377/build/tests/xpcshell/tests/browser/components/urlbar/tests/unit/head.js:909:12
[task 2021-08-02T04:06:49.012Z] 04:06:49     INFO -  _do_main@Z:\task_162787351424377\build\tests\xpcshell\head.js:240:6
[task 2021-08-02T04:06:49.013Z] 04:06:49     INFO -  _execute_test@Z:\task_162787351424377\build\tests\xpcshell\head.js:597:5
[task 2021-08-02T04:06:49.013Z] 04:06:49     INFO -  @-e:1:1
[task 2021-08-02T04:06:49.013Z] 04:06:49     INFO -  exiting test
[task 2021-08-02T04:06:49.013Z] 04:06:49     INFO -  <<<<<<<
[task 2021-08-02T04:06:49.027Z] 04:06:49     INFO -  TEST-START | services/sync/tests/unit/test_prefs_store.js
[task 2021-08-02T04:06:49.829Z] 04:06:49     INFO -  TEST-PASS | services/sync/tests/unit/test_prefs_store.js | took 802ms
[task 2021-08-02T04:06:49.849Z] 04:06:49     INFO -  TEST-START | toolkit/components/backgroundtasks/tests/xpcshell/test_backgroundtask_deletes_profile.js
[task 2021-08-02T04:06:50.182Z] 04:06:50     INFO -  TEST-PASS | toolkit/components/backgroundtasks/tests/xpcshell/test_backgroundtask_deletes_profile.js | took 333ms
[task 2021-08-02T04:06:50.204Z] 04:06:50     INFO -  TEST-START | toolkit/components/downloads/test/unit/test_DownloadLegacy.js
[task 2021-08-02T04:06:53.437Z] 04:06:53     INFO -  TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadLegacy.js | took 3233ms
[task 2021-08-02T04:06:53.457Z] 04:06:53     INFO -  TEST-START | toolkit/components/downloads/test/unit/test_DownloadCore.js
[task 2021-08-02T04:06:56.643Z] 04:06:56     INFO -  TEST-PASS | toolkit/components/downloads/test/unit/test_DownloadCore.js | took 3187ms
[task 2021-08-02T04:06:56.655Z] 04:06:56     INFO -  TEST-START | toolkit/components/url-classifier/tests/unit/test_listmanager.js
[task 2021-08-02T04:06:58.220Z] 04:06:58     INFO -  TEST-PASS | toolkit/components/url-classifier/tests/unit/test_listmanager.js | took 1565ms
[task 2021-08-02T04:06:58.241Z] 04:06:58     INFO -  INFO | Result summary:
[task 2021-08-02T04:06:58.241Z] 04:06:58     INFO -  INFO | Passed: 1894
[task 2021-08-02T04:06:58.241Z] 04:06:58  WARNING -  INFO | Failed: 1
[task 2021-08-02T04:06:58.241Z] 04:06:58  WARNING -  One or more unittests failed.
[task 2021-08-02T04:06:58.242Z] 04:06:58     INFO -  INFO | Todo: 0
[task 2021-08-02T04:06:58.242Z] 04:06:58     INFO -  INFO | Retried: 6
[task 2021-08-02T04:06:58.242Z] 04:06:58     INFO -  SUITE-END | took 957s
[task 2021-08-02T04:06:58.242Z] 04:06:58     INFO -  Node moz-http2 server shutting down ...
[task 2021-08-02T04:06:58.243Z] 04:06:58     INFO -  Process stdout
[task 2021-08-02T04:06:58.243Z] 04:06:58     INFO -  forked process without handler sent: [object Object]
[task 2021-08-02T04:06:58.244Z] 04:06:58     INFO -  Process stderr
[task 2021-08-02T04:06:58.245Z] 04:06:58     INFO -  (node:3624) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 window_update listeners added to [Flow]. Use emitter.setMaxListeners() to increase limit
[task 2021-08-02T04:06:58.245Z] 04:06:58     INFO -  (node:3624) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 window_update listeners added to [Flow]. Use emitter.setMaxListeners() to increase limit
[task 2021-08-02T04:06:58.246Z] 04:06:58     INFO -  (node:3624) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 window_update listeners added to [Flow]. Use emitter.setMaxListeners() to increase limit
[task 2021-08-02T04:06:58.246Z] 04:06:58     INFO -  (node:3624) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 window_update listeners added to [Flow]. Use emitter.setMaxListeners() to increase limit
[task 2021-08-02T04:06:58.246Z] 04:06:58     INFO -  http3Server server shutting down ...
[task 2021-08-02T04:06:58.352Z] 04:06:58     INFO -  Process stderr
[task 2021-08-02T04:06:58.353Z] 04:06:58     INFO -  zero length datagram received?
<...>
[task 2021-08-02T04:06:58.364Z] 04:06:58     INFO -  zero length datagram received?
[task 2021-08-02T04:06:58.455Z] 04:06:58    ERROR - Return code: 1
[task 2021-08-02T04:06:58.455Z] 04:06:58     INFO - TinderboxPrint: xpcshell-xpcshell<br/>1894/<em class="testfail">1</em>/0
[task 2021-08-02T04:06:58.456Z] 04:06:58  WARNING - # TBPL FAILURE #
[task 2021-08-02T04:06:58.456Z] 04:06:58  WARNING - setting return code to 2
[task 2021-08-02T04:06:58.456Z] 04:06:58  WARNING - The xpcshell suite: xpcshell ran with return status: FAILURE
[task 2021-08-02T04:06:58.456Z] 04:06:58     INFO - Running post-action listener: _package_coverage_data
[task 2021-08-02T04:06:58.456Z] 04:06:58     INFO - Running post-action listener: _resource_record_post_action
[task 2021-08-02T04:06:58.456Z] 04:06:58     INFO - Running post-action listener: process_java_coverage_data
[task 2021-08-02T04:06:58.456Z] 04:06:58     INFO - [mozharness: 2021-08-02 04:06:58.456208Z] Finished run-tests step (success)
[task 2021-08-02T04:06:58.456Z] 04:06:58     INFO - Running post-run listener: _resource_record_post_run
[task 2021-08-02T04:06:58.594Z] 04:06:58     INFO - instance_metadata.json not found; unable to determine instance type
[task 2021-08-02T04:06:58.597Z] 04:06:58     INFO - Validating Perfherder data against Z:\task_162787351424377\mozharness\external_tools\performance-artifact-schema.json
[task 2021-08-02T04:06:58.599Z] 04:06:58     INFO - PERFHERDER_DATA: {"framework": {"name": "job_resource_usage"}, "suites": [{"name": "xpcshell.xpcshell.overall", "extraOptions": ["e10s", "buildbot-unknown"], "subtests": [{"name": "cpu_percent", "value": 17.662575150300608}, {"name": "io_write_bytes", "value": 9946990080}, {"name": "io.read_bytes", "value": 3201371136}, {"name": "io_write_time", "value": 1873}, {"name": "io_read_time", "value": 297}]}, {"name": "xpcshell.xpcshell.start-pulseaudio", "subtests": [{"name": "time", "value": 0.002993345260620117}]}, {"name": "xpcshell.xpcshell.install", "subtests": [{"name": "time", "value": 2.4587907791137695}, {"name": "cpu_percent", "value": 14.06875}]}, {"name": "xpcshell.xpcshell.stage-files", "subtests": [{"name": "time", "value": 0.023998022079467773}]}, {"name": "xpcshell.xpcshell.run-tests", "subtests": [{"name": "time", "value": 1002.3771133422852}, {"name": "cpu_percent", "value": 17.67951005025126}]}]}
[task 2021-08-02T04:06:58.599Z] 04:06:58     INFO - Total resource usage - Wall time: 1004s; CPU: 18%; Read bytes: 3201371136; Write bytes: 9946990080; Read time: 297; Write time: 1873
[task 2021-08-02T04:06:58.599Z] 04:06:58     INFO - TinderboxPrint: CPU usage<br/>17.7%
[task 2021-08-02T04:06:58.599Z] 04:06:58     INFO - TinderboxPrint: I/O read bytes / time<br/>3,201,371,136 / 297
[task 2021-08-02T04:06:58.599Z] 04:06:58     INFO - TinderboxPrint: I/O write bytes / time<br/>9,946,990,080 / 1,873
[task 2021-08-02T04:06:58.599Z] 04:06:58     INFO - TinderboxPrint: CPU idle<br/>6,586.1 (81.9%)
[task 2021-08-02T04:06:58.599Z] 04:06:58     INFO - TinderboxPrint: CPU system<br/>557.0 (6.9%)
[task 2021-08-02T04:06:58.599Z] 04:06:58     INFO - TinderboxPrint: CPU user<br/>889.2 (11.1%)
[task 2021-08-02T04:06:58.600Z] 04:06:58     INFO - start-pulseaudio - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2021-08-02T04:06:58.600Z] 04:06:58     INFO - install - Wall time: 2s; CPU: 14%; Read bytes: 248320; Write bytes: 7016448; Read time: 0; Write time: 5
[task 2021-08-02T04:06:58.600Z] 04:06:58     INFO - stage-files - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2021-08-02T04:06:58.607Z] 04:06:58     INFO - run-tests - Wall time: 1002s; CPU: 18%; Read bytes: 3200741888; Write bytes: 9909351936; Read time: 297; Write time: 1866
[task 2021-08-02T04:06:58.822Z] 04:06:58  WARNING - returning nonzero exit status 2
[taskcluster 2021-08-02T04:06:58.887Z]    Exit Code: 2
[taskcluster 2021-08-02T04:06:58.887Z]    User Time: 0s
[taskcluster 2021-08-02T04:06:58.887Z]  Kernel Time: 31.25ms
[taskcluster 2021-08-02T04:06:58.887Z]    Wall Time: 19m6.9076802s
[taskcluster 2021-08-02T04:06:58.887Z]       Result: FAILED
[taskcluster 2021-08-02T04:06:58.887Z] === Task Finished ===
[taskcluster 2021-08-02T04:06:58.887Z] Task Duration: 19m6.9186799s
```