Bug: Intermittent browser/base/content/test/static/browser_all_files_referenced.js | single tracking bug
Status: NEW
Priority: P5
Created: 2024-04-21 12:23:30+00:00
Resolved: 2025-03-03 06:30:58+00:00

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

---
```
[task 2024-04-21T11:43:01.778Z] 11:43:01     INFO - TEST-START | browser/base/content/test/static/browser_all_files_referenced.js
[task 2024-04-21T11:43:12.913Z] 11:43:12     INFO - TEST-INFO | started process screencapture
[task 2024-04-21T11:43:13.163Z] 11:43:13     INFO - TEST-INFO | screencapture: exit 0
[task 2024-04-21T11:43:13.163Z] 11:43:13     INFO - Buffered messages logged at 11:43:01
[task 2024-04-21T11:43:13.163Z] 11:43:13     INFO - Entering test bound checkAllTheFiles
[task 2024-04-21T11:43:13.164Z] 11:43:13     INFO - Buffered messages finished
[task 2024-04-21T11:43:13.165Z] 11:43:13     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | Uncaught exception in test bound checkAllTheFiles - at chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:635 - InternalError: too much recursion
[task 2024-04-21T11:43:13.165Z] 11:43:13     INFO - Stack trace:
[task 2024-04-21T11:43:13.165Z] 11:43:13     INFO - parseCodeFile/<@chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:635:21
[task 2024-04-21T11:43:13.166Z] 11:43:13     INFO - promise callback*parseCodeFile@chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:615:34
[task 2024-04-21T11:43:13.166Z] 11:43:13     INFO - checkAllTheFiles/<@chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:922:9
[task 2024-04-21T11:43:13.166Z] 11:43:13     INFO - throttledMapPromises@resource://testing-common/PerfTestHelpers.sys.mjs:26:25
[task 2024-04-21T11:43:13.166Z] 11:43:13     INFO - async*checkAllTheFiles@chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:921:25
[task 2024-04-21T11:43:13.166Z] 11:43:13     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-04-21T11:43:13.166Z] 11:43:13     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-04-21T11:43:13.166Z] 11:43:13     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-04-21T11:43:13.166Z] 11:43:13     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1128:14
[task 2024-04-21T11:43:13.166Z] 11:43:13     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-04-21T11:43:13.166Z] 11:43:13     INFO - Leaving test bound checkAllTheFiles
[task 2024-04-21T11:43:13.167Z] 11:43:13     INFO - GECKO(1248) | JavaScript error: chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js, line 635: InternalError: too much recursion
[task 2024-04-21T11:43:13.167Z] 11:43:13     INFO - Not taking screenshot here: see the one that was previously logged
[task 2024-04-21T11:43:13.170Z] 11:43:13     INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/static/browser_all_files_referenced.js | A promise chain failed to handle a rejection: too much recursion - stack: parseCodeFile/<@chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:635:21
[task 2024-04-21T11:43:13.170Z] 11:43:13     INFO - promise callback*parseCodeFile@chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:615:34
[task 2024-04-21T11:43:13.170Z] 11:43:13     INFO - checkAllTheFiles/<@chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:922:9
[task 2024-04-21T11:43:13.170Z] 11:43:13     INFO - throttledMapPromises@resource://testing-common/PerfTestHelpers.sys.mjs:26:25
[task 2024-04-21T11:43:13.170Z] 11:43:13     INFO - async*checkAllTheFiles@chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js:921:25
[task 2024-04-21T11:43:13.170Z] 11:43:13     INFO - async*handleTask@chrome://mochikit/content/browser-test.js:1139:26
[task 2024-04-21T11:43:13.170Z] 11:43:13     INFO - _runTaskBasedTest@chrome://mochikit/content/browser-test.js:1211:18
[task 2024-04-21T11:43:13.170Z] 11:43:13     INFO - Tester_execTest@chrome://mochikit/content/browser-test.js:1353:14
[task 2024-04-21T11:43:13.171Z] 11:43:13     INFO - nextTest/<@chrome://mochikit/content/browser-test.js:1128:14
[task 2024-04-21T11:43:13.171Z] 11:43:13     INFO - SimpleTest.waitForFocus/<@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1058:13
[task 2024-04-21T11:43:13.171Z] 11:43:13     INFO - Rejection date: Sun Apr 21 2024 11:43:12 GMT+0000 (Greenwich Mean Time) - false == true - {"filename":"resource://testing-common/PromiseTestUtils.sys.mjs","name":"assertNoUncaughtRejections","sourceId":613,"lineNumber":266,"columnNumber":14,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":576,"lineNumber":774,"columnNumber":29,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"testScope/test_finish/<","sourceId":576,"lineNumber":1806,"columnNumber":25,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"run","sourceId":576,"lineNumber":1726,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"run@chrome://mochikit/content/browser-test.js:1726:9\n","nativeSavedFrame":{}},"formattedStack":"testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1806:25\nrun@chrome://mochikit/content/browser-test.js:1726:9\n","nativeSavedFrame":{}},"formattedStack":"nextTest@chrome://mochikit/content/browser-test.js:774:29\ntestScope/test_finish/<@chrome://mochikit/content/browser-test.js:1806:25\nrun@chrome://mochikit/content/browser-test.js:1726:9\n","nativeSavedFrame":{}},"formattedStack":"assertNoUncaughtRejections@resource://testing-common/PromiseTestUtils.sys.mjs:266:14\nnextTest@chrome://mochikit/content/browser-test.js:774:29\ntestScope/test_finish/<@chrome://mochikit/content/browser-test.js:1806:25\nrun@chrome://mochikit/content/browser-test.js:1726:9\n","nativeSavedFrame":{}}
[task 2024-04-21T11:43:13.171Z] 11:43:13     INFO - Stack trace:
[task 2024-04-21T11:43:13.171Z] 11:43:13     INFO - resource://testing-common/PromiseTestUtils.sys.mjs:assertNoUncaughtRejections:266
[task 2024-04-21T11:43:13.171Z] 11:43:13     INFO - chrome://mochikit/content/browser-test.js:nextTest:774
[task 2024-04-21T11:43:13.171Z] 11:43:13     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1806
[task 2024-04-21T11:43:13.171Z] 11:43:13     INFO - chrome://mochikit/content/browser-test.js:run:1726
[task 2024-04-21T11:43:13.172Z] 11:43:13     INFO - Console message: [JavaScript Error: "InternalError: too much recursion" {file: "chrome://mochitests/content/browser/browser/base/content/test/static/browser_all_files_referenced.js" line: 635}]
[task 2024-04-21T11:43:13.172Z] 11:43:13     INFO - GECKO(1248) | MEMORY STAT vsizeMaxContiguous not supported in this build configuration.
[task 2024-04-21T11:43:13.173Z] 11:43:13     INFO - GECKO(1248) | MEMORY STAT | vsize 8132MB | residentFast 728MB | heapAllocated 539MB
[task 2024-04-21T11:43:13.173Z] 11:43:13     INFO - TEST-OK | browser/base/content/test/static/browser_all_files_referenced.js | took 11207ms
```