Bug: Intermittent browser/components/urlbar/tests/unit/test_slow_heuristic.js | single tracking bug
Status: RESOLVED
Priority: P5
Resolution: INCOMPLETE
Created: 2023-09-28 20:02:17+00:00
Resolved: 2023-10-25 12:02:46+00:00

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

---
```
[task 2023-09-28T19:39:42.510Z] 19:39:42     INFO -  TEST-PASS | toolkit/xre/test/test_launch_without_hang.js | took 5311ms
[task 2023-09-28T19:39:42.523Z] 19:39:42     INFO -  Retrying tests that failed when run in parallel.
[task 2023-09-28T19:39:42.524Z] 19:39:42     INFO -  TEST-START | browser/components/urlbar/tests/unit/test_slow_heuristic.js
[task 2023-09-28T19:39:56.828Z] 19:39:56  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/unit/test_slow_heuristic.js | xpcshell return code: 0
[task 2023-09-28T19:39:56.828Z] 19:39:56     INFO -  TEST-INFO took 14304ms
[task 2023-09-28T19:39:56.840Z] 19:39:56     INFO -  >>>>>>>
[task 2023-09-28T19:39:56.840Z] 19:39:56     INFO -  (xpcshell/head.js) | test MAIN run_test pending (1)
[task 2023-09-28T19:39:56.840Z] 19:39:56     INFO -  (xpcshell/head.js) | test run_next_test 0 pending (2)
[task 2023-09-28T19:39:56.841Z] 19:39:56     INFO -  (xpcshell/head.js) | test MAIN run_test finished (2)
[task 2023-09-28T19:39:56.841Z] 19:39:56     INFO -  running event loop
[task 2023-09-28T19:39:56.841Z] 19:39:56     INFO -  browser/components/urlbar/tests/unit/test_slow_heuristic.js | Starting test_chunking_delays
[task 2023-09-28T19:39:56.841Z] 19:39:56     INFO -  (xpcshell/head.js) | test test_chunking_delays pending (2)
[task 2023-09-28T19:39:56.841Z] 19:39:56     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_slow_heuristic.js | test_chunking_delays - [test_chunking_delays : 13] The deferring timeout must be larger than the heuristic chunk timer - 1000 > 200
[task 2023-09-28T19:39:56.841Z] 19:39:56     INFO -  (xpcshell/head.js) | test run_next_test 0 finished (2)
[task 2023-09-28T19:39:56.841Z] 19:39:56     INFO -  (xpcshell/head.js) | test run_next_test 1 pending (2)
[task 2023-09-28T19:39:56.842Z] 19:39:56     INFO -  (xpcshell/head.js) | test test_chunking_delays finished (2)
[task 2023-09-28T19:39:56.842Z] 19:39:56     INFO -  browser/components/urlbar/tests/unit/test_slow_heuristic.js | Starting test_normal
[task 2023-09-28T19:39:56.842Z] 19:39:56     INFO -  (xpcshell/head.js) | test test_normal pending (2)
[task 2023-09-28T19:39:56.842Z] 19:39:56     INFO -  "Creating new queryContext with searchString: test"
[task 2023-09-28T19:39:56.842Z] 19:39:56     INFO -  "Creating new queryContext with searchString: test"
[task 2023-09-28T19:39:56.842Z] 19:39:56     INFO -  (xpcshell/head.js) | test run_next_test 1 finished (2)
[task 2023-09-28T19:39:56.843Z] 19:39:56     INFO -  TEST-PASS | browser/components/urlbar/tests/unit/test_slow_heuristic.js | test_normal - [test_normal : 89] It took 9140.0547ms from start to return results - 10000 > 9140.0547
[task 2023-09-28T19:39:56.843Z] 19:39:56  WARNING -  TEST-UNEXPECTED-FAIL | browser/components/urlbar/tests/unit/test_slow_heuristic.js | test_normal - [test_normal : 99] It took 10676.984100000001ms from start to cancel the query - 10000 > 10676.984100000001
[task 2023-09-28T19:39:56.843Z] 19:39:56     INFO -  Z:/task_169592486560207/build/tests/xpcshell/tests/browser/components/urlbar/tests/unit/test_slow_heuristic.js:test_normal:99
[task 2023-09-28T19:39:56.843Z] 19:39:56     INFO -  Z:\task_169592486560207\build\tests\xpcshell\head.js:_do_main:245
[task 2023-09-28T19:39:56.843Z] 19:39:56     INFO -  Z:\task_169592486560207\build\tests\xpcshell\head.js:_execute_test:592
[task 2023-09-28T19:39:56.843Z] 19:39:56     INFO -  -e:null:1
[task 2023-09-28T19:39:56.844Z] 19:39:56     INFO -  exiting test
[task 2023-09-28T19:39:56.844Z] 19:39:56     INFO -  Unexpected exception NS_ERROR_ABORT:
[task 2023-09-28T19:39:56.844Z] 19:39:56     INFO -  _abort_failed_test@Z:\task_169592486560207\build\tests\xpcshell\head.js:865:20
[task 2023-09-28T19:39:56.844Z] 19:39:56     INFO -  do_report_result@Z:\task_169592486560207\build\tests\xpcshell\head.js:974:5
[task 2023-09-28T19:39:56.844Z] 19:39:56     INFO -  Assert<@Z:\task_169592486560207\build\tests\xpcshell\head.js:70:21
[task 2023-09-28T19:39:56.844Z] 19:39:56     INFO -  Assert.prototype.report@resource://testing-common/Assert.sys.mjs:238:10
[task 2023-09-28T19:39:56.844Z] 19:39:56     INFO -  compareNumbers@resource://testing-common/Assert.sys.mjs:544:10
[task 2023-09-28T19:39:56.844Z] 19:39:56     INFO -  greater@resource://testing-common/Assert.sys.mjs:569:18
[task 2023-09-28T19:39:56.844Z] 19:39:56     INFO -  test_normal@Z:/task_169592486560207/build/tests/xpcshell/tests/browser/components/urlbar/tests/unit/test_slow_heuristic.js:99:10
[task 2023-09-28T19:39:56.845Z] 19:39:56     INFO -  _do_main@Z:\task_169592486560207\build\tests\xpcshell\head.js:245:6
[task 2023-09-28T19:39:56.845Z] 19:39:56     INFO -  _execute_test@Z:\task_169592486560207\build\tests\xpcshell\head.js:592:5
[task 2023-09-28T19:39:56.845Z] 19:39:56     INFO -  @-e:1:1
[task 2023-09-28T19:39:56.845Z] 19:39:56     INFO -  exiting test
[task 2023-09-28T19:39:56.845Z] 19:39:56     INFO -  "Force a GC"
[task 2023-09-28T19:39:56.845Z] 19:39:56     INFO -  <<<<<<<
[task 2023-09-28T19:39:56.857Z] 19:39:56     INFO -  TEST-START | toolkit/components/reputationservice/test/unit/test_app_rep_maclinux.js
[task 2023-09-28T19:39:56.857Z] 19:39:56     INFO -  TEST-SKIP | toolkit/components/reputationservice/test/unit/test_app_rep_maclinux.js | took 0ms
[task 2023-09-28T19:39:56.857Z] 19:39:56     INFO -  INFO | Result summary:
[task 2023-09-28T19:39:56.857Z] 19:39:56     INFO -  INFO | Passed: 785
[task 2023-09-28T19:39:56.857Z] 19:39:56  WARNING -  INFO | Failed: 1
[task 2023-09-28T19:39:56.857Z] 19:39:56  WARNING -  One or more unittests failed.
[task 2023-09-28T19:39:56.857Z] 19:39:56     INFO -  INFO | Todo: 0
[task 2023-09-28T19:39:56.857Z] 19:39:56     INFO -  INFO | Retried: 2
[task 2023-09-28T19:39:56.857Z] 19:39:56     INFO -  SUITE-END | took 1845s
[task 2023-09-28T19:39:56.858Z] 19:39:56     INFO -  Node moz-http2 server shutting down ...
[task 2023-09-28T19:39:56.860Z] 19:39:56     INFO -  http3Server server shutting down ...
[task 2023-09-28T19:39:56.999Z] 19:39:56     INFO - Return code: 1
[task 2023-09-28T19:39:57.010Z] 19:39:56     INFO - TinderboxPrint: xpcshell-xpcshell<br/>785/<em class="testfail">1</em>/0
[task 2023-09-28T19:39:57.010Z] 19:39:57  WARNING - setting return code to 2
[task 2023-09-28T19:39:57.010Z] 19:39:57     INFO - The xpcshell suite: xpcshell ran with return status: FAILURE
[task 2023-09-28T19:39:57.010Z] 19:39:57     INFO - Running post-action listener: _package_coverage_data
[task 2023-09-28T19:39:57.010Z] 19:39:57     INFO - Running post-action listener: _resource_record_post_action
[task 2023-09-28T19:39:57.010Z] 19:39:57     INFO - Running post-action listener: process_java_coverage_data
[task 2023-09-28T19:39:57.010Z] 19:39:57     INFO - [mozharness: 2023-09-28 19:39:57.010530Z] Finished run-tests step (success)
[task 2023-09-28T19:39:57.010Z] 19:39:57     INFO - [mozharness: 2023-09-28 19:39:57.010530Z] Running uninstall step.
[task 2023-09-28T19:39:57.010Z] 19:39:57     INFO - Running pre-action listener: _resource_record_pre_action
[task 2023-09-28T19:39:57.010Z] 19:39:57     INFO - Running main action method: uninstall
[task 2023-09-28T19:39:57.010Z] 19:39:57     INFO - Skipping uninstall for non-MSIX test
[task 2023-09-28T19:39:57.010Z] 19:39:57     INFO - Running post-action listener: _resource_record_post_action
[task 2023-09-28T19:39:57.010Z] 19:39:57     INFO - [mozharness: 2023-09-28 19:39:57.010530Z] Finished uninstall step (success)
[task 2023-09-28T19:39:57.010Z] 19:39:57     INFO - Running post-run listener: _resource_record_post_run
[task 2023-09-28T19:39:57.219Z] 19:39:57     INFO - instance_metadata.json not found; unable to determine instance type
[task 2023-09-28T19:39:57.227Z] 19:39:57     INFO - Validating Perfherder data against Z:\task_169592486560207\mozharness\external_tools\performance-artifact-schema.json
[task 2023-09-28T19:39:57.230Z] 19:39:57     INFO - PERFHERDER_DATA: {"framework": {"name": "job_resource_usage"}, "suites": [{"name": "xpcshell.xpcshell.overall", "extraOptions": ["e10s", "buildbot-unknown"], "subtests": [{"name": "cpu_percent", "value": 23.649682642487083}, {"name": "io_write_bytes", "value": 6765690880}, {"name": "io.read_bytes", "value": 1728099328}, {"name": "io_write_time", "value": 154}, {"name": "io_read_time", "value": 327}]}, {"name": "xpcshell.xpcshell.start-pulseaudio", "subtests": [{"name": "time", "value": 0.0016522407531738281}, {"name": "cpu_percent", "value": 0}]}, {"name": "xpcshell.xpcshell.install", "subtests": [{"name": "time", "value": 2.7155802249908447}, {"name": "cpu_percent", "value": 35.53125}]}, {"name": "xpcshell.xpcshell.stage-files", "subtests": [{"name": "time", "value": 0.043616294860839844}, {"name": "cpu_percent", "value": 0}]}, {"name": "xpcshell.xpcshell.run-tests", "subtests": [{"name": "time", "value": 1930.9104135036469}, {"name": "cpu_percent", "value": 23.631804618578137}]}, {"name": "xpcshell.xpcshell.uninstall", "subtests": [{"name": "time", "value": 0.0}, {"name": "cpu_percent", "value": 0}]}]}
[task 2023-09-28T19:39:57.230Z] 19:39:57     INFO - Total resource usage - Wall time: 1933s; CPU: Can't collect data; Read bytes: 1728099328; Write bytes: 6765690880; Read time: 327; Write time: 154
[task 2023-09-28T19:39:57.230Z] 19:39:57     INFO - TinderboxPrint: I/O read bytes / time<br/>1,728,099,328 / 327
[task 2023-09-28T19:39:57.230Z] 19:39:57     INFO - TinderboxPrint: I/O write bytes / time<br/>6,765,690,880 / 154
[task 2023-09-28T19:39:57.230Z] 19:39:57     INFO - TinderboxPrint: CPU idle<br/>11,809.4 (76.3%)
[task 2023-09-28T19:39:57.230Z] 19:39:57     INFO - TinderboxPrint: CPU system<br/>1,372.8 (8.9%)
[task 2023-09-28T19:39:57.230Z] 19:39:57     INFO - TinderboxPrint: CPU user<br/>2,279.1 (14.7%)
[task 2023-09-28T19:39:57.230Z] 19:39:57     INFO - start-pulseaudio - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2023-09-28T19:39:57.231Z] 19:39:57     INFO - install - Wall time: 3s; CPU: 36%; Read bytes: 646144; Write bytes: 7143424; Read time: 0; Write time: 0
[task 2023-09-28T19:39:57.231Z] 19:39:57     INFO - stage-files - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2023-09-28T19:39:57.243Z] 19:39:57     INFO - run-tests - Wall time: 1931s; CPU: 24%; Read bytes: 1726708224; Write bytes: 6741471232; Read time: 327; Write time: 154
[task 2023-09-28T19:39:57.247Z] 19:39:57     INFO - uninstall - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2023-09-28T19:39:57.672Z] 19:39:57  WARNING - returning nonzero exit status 2
```