Closed Bug 1580682 Opened 6 years ago Closed 5 years ago

Debian 10 - dom/security/test/general/browser.ini | multiple failures | Test timed out -

Categories

(Core :: DOM: Security, defect, P5)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: regression, Whiteboard: [domsecurity-backlog2])

Filed by: egao [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=266072366&repo=try
Full log: https://queue.taskcluster.net/v1/task/AkhUiqJPQjSmnin42wICBQ/runs/0/artifacts/public/logs/live_backing.log


Platform: debian 10
Suite: mochitest-browser-chrome
Chunk: 6

Multiple test files from the manifest dom/security/test/general/browser.ini fail with the same error: Test timed out.

  • browser_abort_visibility
  • browser_test_data_download

Context:
<removed: see comment 1 for correct logs>

Please disregard the first comment logs - I have pasted in the wrong set of logs for the second part.

browser_test_data_text_csv

[task 2019-09-11T08:20:11.982Z] 08:20:11     INFO - TEST-START | dom/security/test/general/browser_test_data_text_csv.js
[task 2019-09-11T08:20:12.159Z] 08:20:12     INFO - GECKO(8547) | JavaScript error: resource://specialpowers/SpecialPowersParent.jsm, line 605: TypeError: this.manager.rootFrameLoader is null
[task 2019-09-11T08:20:12.160Z] 08:20:12     INFO - GECKO(8547) | JavaScript error: , line 0: NS_ERROR_UNEXPECTED:
[task 2019-09-11T08:20:56.988Z] 08:20:56     INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-09-11T08:20:56.988Z] 08:20:56     INFO - Buffered messages logged at 08:20:12
[task 2019-09-11T08:20:56.989Z] 08:20:56     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.com/browser/dom/security/test/general/file_data_text_csv.html" line: 0}]
[task 2019-09-11T08:20:56.990Z] 08:20:56     INFO - window opened, waiting for focus
[task 2019-09-11T08:20:56.990Z] 08:20:56     INFO - must wait for load
[task 2019-09-11T08:20:56.991Z] 08:20:56     INFO - must wait for focus
[task 2019-09-11T08:20:56.991Z] 08:20:56     INFO - Console message: [JavaScript Error: "TypeError: this.manager.rootFrameLoader is null" {file: "resource://specialpowers/SpecialPowersParent.jsm" line: 605}]
[task 2019-09-11T08:20:56.993Z] 08:20:56     INFO - Console message: [JavaScript Error: "NS_ERROR_UNEXPECTED: "]
[task 2019-09-11T08:20:56.994Z] 08:20:56     INFO - Buffered messages finished
[task 2019-09-11T08:20:56.995Z] 08:20:56     INFO - TEST-UNEXPECTED-FAIL | dom/security/test/general/browser_test_data_text_csv.js | Test timed out - 
[task 2019-09-11T08:20:56.995Z] 08:20:56     INFO - GECKO(8547) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 112: uncaught exception: Object
[task 2019-09-11T08:20:56.996Z] 08:20:56     INFO - Console message: [JavaScript Error: "uncaught exception: Object" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 112}]
[task 2019-09-11T08:20:56.997Z] 08:20:56     INFO - GECKO(8547) | MEMORY STAT | vsize 2852MB | residentFast 325MB | heapAllocated 107MB
[task 2019-09-11T08:20:56.998Z] 08:20:56     INFO - TEST-OK | dom/security/test/general/browser_test_data_text_csv.js | took 45014ms
[task 2019-09-11T08:20:57.035Z] 08:20:57     INFO - checking window state
[task 2019-09-11T08:20:57.036Z] 08:20:57     INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-09-11T08:20:57.036Z] 08:20:57     INFO - TEST-UNEXPECTED-FAIL | dom/security/test/general/browser_test_data_text_csv.js | Found a  after previous test timed out - 
[task 2019-09-11T08:20:57.052Z] 08:20:57     INFO - TEST-START | dom/security/test/general/browser_test_referrer_loadInOtherProcess.js

browser_test_data_download

[task 2019-09-11T08:19:26.927Z] 08:19:26     INFO - TEST-START | dom/security/test/general/browser_test_data_download.js
[task 2019-09-11T08:19:27.084Z] 08:19:27     INFO - GECKO(8547) | JavaScript error: resource://specialpowers/SpecialPowersParent.jsm, line 605: TypeError: this.manager.rootFrameLoader is null
[task 2019-09-11T08:19:27.085Z] 08:19:27     INFO - GECKO(8547) | JavaScript error: , line 0: NS_ERROR_UNEXPECTED:
[task 2019-09-11T08:20:11.925Z] 08:20:11     INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-09-11T08:20:11.926Z] 08:20:11     INFO - Buffered messages logged at 08:19:27
[task 2019-09-11T08:20:11.930Z] 08:20:11     INFO - Console message: [JavaScript Error: "The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol." {file: "http://example.com/browser/dom/security/test/general/file_data_download.html" line: 0}]
[task 2019-09-11T08:20:11.931Z] 08:20:11     INFO - window opened, waiting for focus
[task 2019-09-11T08:20:11.932Z] 08:20:11     INFO - must wait for load
[task 2019-09-11T08:20:11.932Z] 08:20:11     INFO - must wait for focus
[task 2019-09-11T08:20:11.933Z] 08:20:11     INFO - Console message: [JavaScript Error: "TypeError: this.manager.rootFrameLoader is null" {file: "resource://specialpowers/SpecialPowersParent.jsm" line: 605}]
[task 2019-09-11T08:20:11.941Z] 08:20:11     INFO - Console message: [JavaScript Error: "NS_ERROR_UNEXPECTED: "]
[task 2019-09-11T08:20:11.942Z] 08:20:11     INFO - Buffered messages finished
[task 2019-09-11T08:20:11.943Z] 08:20:11     INFO - TEST-UNEXPECTED-FAIL | dom/security/test/general/browser_test_data_download.js | Test timed out - 
[task 2019-09-11T08:20:11.946Z] 08:20:11     INFO - GECKO(8547) | JavaScript error: resource://testing-common/PromiseTestUtils.jsm, line 112: uncaught exception: Object
[task 2019-09-11T08:20:11.946Z] 08:20:11     INFO - Console message: [JavaScript Error: "uncaught exception: Object" {file: "resource://testing-common/PromiseTestUtils.jsm" line: 112}]
[task 2019-09-11T08:20:11.947Z] 08:20:11     INFO - GECKO(8547) | MEMORY STAT | vsize 2825MB | residentFast 319MB | heapAllocated 108MB
[task 2019-09-11T08:20:11.949Z] 08:20:11     INFO - TEST-OK | dom/security/test/general/browser_test_data_download.js | took 45010ms
[task 2019-09-11T08:20:11.965Z] 08:20:11     INFO - checking window state
[task 2019-09-11T08:20:11.965Z] 08:20:11     INFO - Not taking screenshot here: see the one that was previously logged
[task 2019-09-11T08:20:11.966Z] 08:20:11     INFO - TEST-UNEXPECTED-FAIL | dom/security/test/general/browser_test_data_download.js | Found a  after previous test timed out - 

:ckerschb - this test began failing on linux platforms when the test image was switched from Ubuntu 16.04 to Debian 10 under the ongoing work to update our linux test environment.

Both these tests time out on debian 10:

  • browser_test_data_text_csv
  • browser_test_data_download

Would you be able to pass on the ni for this bug to someone that may be able to offer guidance on next steps?

To test changes against the Debian 10 image, please use ./mach try fuzzy --debian-buster flag when pushing to try.

Flags: needinfo?(ckerschb)

Jonathan offered to download Debian and try to reproduce that problem on a Debian machine. 302 the ni? to him...

Flags: needinfo?(ckerschb) → needinfo?(jkt)

:egao I build in an emulated debian 10 machine in an opt build and didn't have an issue. Even with verify test runs I didn't see an issue either.
Is there anything else I can try to make this fail? Do these run differently or have a specific config I should be trying?

Flags: needinfo?(jkt) → needinfo?(egao)

:jkt - I have a recent try push that ran on Debian 10, of the test browser_test_data_download.js, and while the failure appears to remain, it isn't parsed into the list of failures by Treeherder (which is a bit of a red flag to me). Furthermore, the failure occurs at the very end of the run, which makes me wonder if it's running in verify mode or getting messed up by the previous tests that left behind a tab.

Otherwise, it may be the case that the particular Debian 10 image and/or CI environment is causing the failure to crop up?

log: https://taskcluster-artifacts.net/NB50JNlQSrGuso6YpOJhdA/0/public/logs/live_backing.log
treeherder push: https://treeherder.mozilla.org/#/jobs?repo=try&group_state=expanded&author=egao%40mozilla.com&fromchange=cb86b15c5fc0f1d70991d5f7b716e985d4066690&selectedJob=271428695

Flags: needinfo?(egao) → needinfo?(jkt)

The only thing I can see is that we show a download prompt that never closes across multiple tests, In my testing it made no difference though. I tried verify and the whole directory of tests too. I didn't however try all of the mochitests.

I have a build anyway but as I can't repro I'm going to remove my ni. Happy to try other things if there is anything that helps.

Flags: needinfo?(jkt)
Whiteboard: [domsecurity-backlog2]

Closing this bug as invalid due to the redirection of focus towards shoring up ubuntu1804 test image.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.