Bug: Intermittent toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | single tracking bug
Status: REOPENED
Priority: P5
Created: 2023-12-21 16:49:02+00:00
Resolved: 2025-02-17 07:01:45+00:00

**Filed by:** nfay [at] mozilla.com
**Parsed log:** https://treeherder.mozilla.org/logviewer?job_id=441036360&repo=autoland
**Full log:** https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/W56bkVblSMW-6I-vFB9igA/runs/0/artifacts/public/logs/live_backing.log

---
```
[task 2023-12-21T15:27:02.258Z] 15:27:02     INFO - TEST-START | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js
[task 2023-12-21T15:27:03.681Z] 15:27:03     INFO - GECKO(8117) | [ERROR firefox_on_glean::private::string] Unable to set string metric in non-main process. Ignoring.
[task 2023-12-21T15:27:03.985Z] 15:27:03     INFO - GECKO(8117) | JavaScript warning: resource://pdf.js/web/viewer.mjs, line 8992: Script terminated by timeout at:
[task 2023-12-21T15:27:03.985Z] 15:27:03     INFO - GECKO(8117) | #resizeObserverCallback@resource://pdf.js/web/viewer.mjs:8992:25
[task 2023-12-21T15:27:03.985Z] 15:27:03     INFO - GECKO(8117) | ResizeObserverCallback*@resource://pdf.js/web/viewer.mjs:7639:21
[task 2023-12-21T15:27:03.985Z] 15:27:03     INFO - GECKO(8117) | PDFViewer@resource://pdf.js/web/viewer.mjs:7644:14
[task 2023-12-21T15:27:03.986Z] 15:27:03     INFO - GECKO(8117) | _initializeViewerComponents@resource://pdf.js/web/viewer.mjs:9897:23
[task 2023-12-21T15:27:03.986Z] 15:27:03     INFO - GECKO(8117) | initialize@resource://pdf.js/web/viewer.mjs:9785:16
[task 2023-12-21T15:27:03.986Z] 15:27:03     INFO - GECKO(8117) | async*run@resource://pdf.js/web/viewer.mjs:10028:16
[task 2023-12-21T15:27:03.987Z] 15:27:03     INFO - GECKO(8117) | webViewerLoad@resource://pdf.js/web/viewer.mjs:12491:24
[task 2023-12-21T15:27:03.987Z] 15:27:03     INFO - GECKO(8117) | @resource://pdf.js/web/viewer.mjs:12495:3
[task 2023-12-21T15:27:12.055Z] 15:27:12     INFO - TEST-INFO | started process screencapture
[task 2023-12-21T15:27:12.180Z] 15:27:12     INFO - TEST-INFO | screencapture: exit 0
[task 2023-12-21T15:27:12.180Z] 15:27:12     INFO - Buffered messages logged at 15:27:02
[task 2023-12-21T15:27:12.180Z] 15:27:12     INFO - Entering test bound test
[task 2023-12-21T15:27:12.180Z] 15:27:12     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | pdf handler defaults to always-ask is false - 
[task 2023-12-21T15:27:12.181Z] 15:27:12     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | pdf handler defaults to internal - 
[task 2023-12-21T15:27:12.181Z] 15:27:12     INFO - Pref action: 3
[task 2023-12-21T15:27:12.181Z] 15:27:12     INFO - Console message: [JavaScript Warning: "Partitioned cookie or storage access was provided to “http://example.com/browser/toolkit/components/pdfjs/test/file_pdfjs_test.pdf” because it is loaded in the third-party context and dynamic state partitioning is enabled."]
[task 2023-12-21T15:27:12.181Z] 15:27:12     INFO - Buffered messages logged at 15:27:03
[task 2023-12-21T15:27:12.181Z] 15:27:12     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | document must have a span containing 'and found references' - {} == true - 
[task 2023-12-21T15:27:12.181Z] 15:27:12     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | 0 == 0 - 
[task 2023-12-21T15:27:12.181Z] 15:27:12     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | Element "#editorFreeText" must be available in order to be clicked - true == true - 
[task 2023-12-21T15:27:12.182Z] 15:27:12     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | 2 == 2 - 
[task 2023-12-21T15:27:12.182Z] 15:27:12     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | 2 == 2 - 
[task 2023-12-21T15:27:12.182Z] 15:27:12     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | document must have a span containing 'forums and ask questions' - {} == true - 
[task 2023-12-21T15:27:12.182Z] 15:27:12     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | 3 == 3 - 
[task 2023-12-21T15:27:12.182Z] 15:27:12     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | 3 == 3 - 
[task 2023-12-21T15:27:12.182Z] 15:27:12     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | 0 == 0 - 
[task 2023-12-21T15:27:12.182Z] 15:27:12     INFO - Global property added while loading chrome://global/content/printUtils.js: SHOW_PAGE_SETUP_MENU
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - Global property added while loading chrome://global/content/printUtils.js: PRINT_ALWAYS_SILENT
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - Global property added while loading chrome://global/content/printUtils.js: PREFER_SYSTEM_DIALOG
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - TEST-PASS | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | 1 == 1 - 
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - Leaving test bound test
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - Console message: [JavaScript Warning: "Script terminated by timeout at:
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - #resizeObserverCallback@resource://pdf.js/web/viewer.mjs:8992:25
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - ResizeObserverCallback*@resource://pdf.js/web/viewer.mjs:7639:21
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - PDFViewer@resource://pdf.js/web/viewer.mjs:7644:14
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - _initializeViewerComponents@resource://pdf.js/web/viewer.mjs:9897:23
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - initialize@resource://pdf.js/web/viewer.mjs:9785:16
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - async*run@resource://pdf.js/web/viewer.mjs:10028:16
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - webViewerLoad@resource://pdf.js/web/viewer.mjs:12491:24
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - @resource://pdf.js/web/viewer.mjs:12495:3
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - " {file: "resource://pdf.js/web/viewer.mjs" line: 8992}]
[task 2023-12-21T15:27:12.183Z] 15:27:12     INFO - Buffered messages finished
[task 2023-12-21T15:27:12.184Z] 15:27:12     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | waiting for vsync to be disabled - timed out after 50 tries. - false == true - {"filename":"chrome://mochikit/content/browser-test.js","name":"ensureVsyncDisabled","sourceId":560,"lineNumber":606,"columnNumber":19,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":560,"lineNumber":775,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"testScope/test_finish/<","sourceId":560,"lineNumber":1805,"columnNumber":25,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"run","sourceId":560,"lineNumber":1725,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"run@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}},"formattedStack":"testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1805:25\nrun@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}},"formattedStack":"async*nextTest@chrome://mochikit/content/browser-test.js:775:18\ntestScope/test_finish/<@chrome://mochikit/content/browser-test.js:1805:25\nrun@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"ensureVsyncDisabled@chrome://mochikit/content/browser-test.js:606:19\nasync*nextTest@chrome://mochikit/content/browser-test.js:775:18\ntestScope/test_finish/<@chrome://mochikit/content/browser-test.js:1805:25\nrun@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}}
[task 2023-12-21T15:27:12.184Z] 15:27:12     INFO - Stack trace:
[task 2023-12-21T15:27:12.184Z] 15:27:12     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:606
[task 2023-12-21T15:27:12.184Z] 15:27:12     INFO - chrome://mochikit/content/browser-test.js:nextTest:775
[task 2023-12-21T15:27:12.184Z] 15:27:12     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1805
[task 2023-12-21T15:27:12.184Z] 15:27:12     INFO - chrome://mochikit/content/browser-test.js:run:1725
[task 2023-12-21T15:27:12.184Z] 15:27:12     INFO - Not taking screenshot here: see the one that was previously logged
[task 2023-12-21T15:27:12.185Z] 15:27:12     INFO - TEST-UNEXPECTED-FAIL | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | vsync remained enabled at the end of the test. Is there an animation still running? Consider talking to the performance team for tips to solve this. - false == true - {"filename":"chrome://mochikit/content/browser-test.js","name":"ensureVsyncDisabled","sourceId":560,"lineNumber":607,"columnNumber":19,"sourceLine":"","asyncCause":null,"asyncCaller":{"filename":"chrome://mochikit/content/browser-test.js","name":"nextTest","sourceId":560,"lineNumber":775,"columnNumber":18,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"testScope/test_finish/<","sourceId":560,"lineNumber":1805,"columnNumber":25,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":{"filename":"chrome://mochikit/content/browser-test.js","name":"run","sourceId":560,"lineNumber":1725,"columnNumber":9,"sourceLine":"","asyncCause":null,"asyncCaller":null,"caller":null,"formattedStack":"run@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}},"formattedStack":"testScope/test_finish/<@chrome://mochikit/content/browser-test.js:1805:25\nrun@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}},"formattedStack":"async*nextTest@chrome://mochikit/content/browser-test.js:775:18\ntestScope/test_finish/<@chrome://mochikit/content/browser-test.js:1805:25\nrun@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}},"caller":null,"formattedStack":"ensureVsyncDisabled@chrome://mochikit/content/browser-test.js:607:19\nasync*nextTest@chrome://mochikit/content/browser-test.js:775:18\ntestScope/test_finish/<@chrome://mochikit/content/browser-test.js:1805:25\nrun@chrome://mochikit/content/browser-test.js:1725:9\n","nativeSavedFrame":{}}
[task 2023-12-21T15:27:12.185Z] 15:27:12     INFO - Stack trace:
[task 2023-12-21T15:27:12.185Z] 15:27:12     INFO - chrome://mochikit/content/browser-test.js:ensureVsyncDisabled:607
[task 2023-12-21T15:27:12.185Z] 15:27:12     INFO - chrome://mochikit/content/browser-test.js:nextTest:775
[task 2023-12-21T15:27:12.185Z] 15:27:12     INFO - chrome://mochikit/content/browser-test.js:testScope/test_finish/<:1805
[task 2023-12-21T15:27:12.185Z] 15:27:12     INFO - chrome://mochikit/content/browser-test.js:run:1725
[task 2023-12-21T15:27:12.185Z] 15:27:12     INFO - GECKO(8117) | MEMORY STAT | vsize 418927MB | residentFast 421MB | heapAllocated 145MB
[task 2023-12-21T15:27:12.186Z] 15:27:12     INFO - TEST-OK | toolkit/components/pdfjs/test/browser_pdfjs_editing_telemetry.js | took 9798ms
[task 2023-12-21T15:27:14.126Z] 15:27:14     INFO - checking window state
[task 2023-12-21T15:27:14.131Z] 15:27:14     INFO - TEST-START | toolkit/components/pdfjs/test/browser_pdfjs_fill_login.js
```