Open Bug 1646536 Opened 1 year ago Updated 1 year ago

Intermittent browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js | Uncaught exception - TypeError: can't access property "blur", content.document.activeElement is null (Linux)

Categories

(Toolkit :: Form Autofill, defect, P5)

Desktop
Linux
defect

Tracking

()

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: intermittent-failure, leave-open, Whiteboard: [cc-autofill-reserve])

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


[task 2020-06-17T20:32:48.857Z] 20:32:48     INFO - TEST-PASS | browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js | Item should attach with correct binding in "http" - 
[task 2020-06-17T20:32:48.857Z] 20:32:48     INFO - Leaving test bound test_insecure_form
[task 2020-06-17T20:32:48.858Z] 20:32:48     INFO - Entering test bound test_click_on_insecure_warning
[task 2020-06-17T20:32:48.858Z] 20:32:48     INFO - Buffered messages logged at 20:32:45
[task 2020-06-17T20:32:48.859Z] 20:32:48     INFO - expecting the target input being focused and identified
[task 2020-06-17T20:32:48.861Z] 20:32:48     INFO - !previouslyFocused
[task 2020-06-17T20:32:48.862Z] 20:32:48     INFO - FieldsIdentified
[task 2020-06-17T20:32:48.862Z] 20:32:48     INFO - openPopupOn: before VK_DOWN
[task 2020-06-17T20:32:48.863Z] 20:32:48     INFO - expectPopupOpen
[task 2020-06-17T20:32:48.863Z] 20:32:48     INFO - Buffered messages logged at 20:32:46
[task 2020-06-17T20:32:48.864Z] 20:32:48     INFO - getDisplayedPopupItems
[task 2020-06-17T20:32:48.864Z] 20:32:48     INFO - getDisplayedPopupItems
[task 2020-06-17T20:32:48.865Z] 20:32:48     INFO - TEST-PASS | browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js | undefined assertion name - 
[task 2020-06-17T20:32:48.865Z] 20:32:48     INFO - Leaving test bound test_click_on_insecure_warning
[task 2020-06-17T20:32:48.867Z] 20:32:48     INFO - Entering test bound test_press_enter_on_insecure_warning
[task 2020-06-17T20:32:48.868Z] 20:32:48     INFO - Buffered messages logged at 20:32:47
[task 2020-06-17T20:32:48.874Z] 20:32:48     INFO - expecting the target input being focused and identified
[task 2020-06-17T20:32:48.875Z] 20:32:48     INFO - !previouslyFocused
[task 2020-06-17T20:32:48.877Z] 20:32:48     INFO - FieldsIdentified
[task 2020-06-17T20:32:48.878Z] 20:32:48     INFO - openPopupOn: before VK_DOWN
[task 2020-06-17T20:32:48.878Z] 20:32:48     INFO - expectPopupOpen
[task 2020-06-17T20:32:48.879Z] 20:32:48     INFO - getDisplayedPopupItems
[task 2020-06-17T20:32:48.879Z] 20:32:48     INFO - Buffered messages logged at 20:32:48
[task 2020-06-17T20:32:48.880Z] 20:32:48     INFO - TEST-PASS | browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js | undefined assertion name - 
[task 2020-06-17T20:32:48.881Z] 20:32:48     INFO - Buffered messages finished
[task 2020-06-17T20:32:48.882Z] 20:32:48     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js | Uncaught exception - at chrome://mochitests/content/browser/browser/extensions/formautofill/test/browser/creditCard/head.js:327 - TypeError: can't access property "blur", content.document.activeElement is null
[task 2020-06-17T20:32:48.882Z] 20:32:48     INFO - Stack trace:
[task 2020-06-17T20:32:48.882Z] 20:32:48     INFO - @chrome://mochitests/content/browser/browser/extensions/formautofill/test/browser/creditCard/head.js:327:5
[task 2020-06-17T20:32:48.882Z] 20:32:48     INFO - execute@resource://specialpowers/SpecialPowersSandbox.jsm:141:12
[task 2020-06-17T20:32:48.883Z] 20:32:48     INFO - _spawnTask@resource://specialpowers/SpecialPowersChild.jsm:1812:15
[task 2020-06-17T20:32:48.883Z] 20:32:48     INFO - receiveMessage@resource://specialpowers/SpecialPowersChild.jsm:318:21
[task 2020-06-17T20:32:48.884Z] 20:32:48     INFO - Leaving test bound test_press_enter_on_insecure_warning
[task 2020-06-17T20:32:48.884Z] 20:32:48     INFO - expecting record retrievals: addresses
[task 2020-06-17T20:32:48.885Z] 20:32:48     INFO - expecting address removed
[task 2020-06-17T20:32:48.885Z] 20:32:48     INFO - expecting record retrievals: creditCards
[task 2020-06-17T20:32:48.886Z] 20:32:48     INFO - expecting credit card removed
[task 2020-06-17T20:32:48.886Z] 20:32:48     INFO - GECKO(5803) | MEMORY STAT | vsize 3086MB | residentFast 376MB | heapAllocated 119MB
[task 2020-06-17T20:32:48.887Z] 20:32:48     INFO - TEST-OK | browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js | took 13048ms
[task 2020-06-17T20:32:48.887Z] 20:32:48     INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-06-17T20:32:48.888Z] 20:32:48     INFO - TEST-UNEXPECTED-FAIL | browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js | Found an unexpected tab at the end of test run: http://example.org/browser/browser/extensions/formautofill/test/browser/creditCard/autocomplete_creditcard_basic.html? - 
[task 2020-06-17T20:32:48.888Z] 20:32:48     INFO - GECKO(5803) | [Child 6428: Main Thread]: I/DocShellAndDOMWindowLeak ++DOCSHELL 0x7f2a3672e800 == 1 [pid = 6428] [id = {25dfc96e-6cd0-4884-8908-db229e8aaf30}]
[task 2020-06-17T20:32:48.889Z] 20:32:48     INFO - GECKO(5803) | [Child 6428: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 1 (0x7f2a4c593520) [pid = 6428] [serial = 1] [outer = (nil)]
[task 2020-06-17T20:32:48.889Z] 20:32:48     INFO - GECKO(5803) | [Child 6428: Main Thread]: I/DocShellAndDOMWindowLeak ++DOMWINDOW == 2 (0x7f2a30fa3c00) [pid = 6428] [serial = 2] [outer = 0x7f2a4c593520]
[task 2020-06-17T20:32:48.890Z] 20:32:48     INFO - checking window state
[task 2020-06-17T20:32:48.946Z] 20:32:48     INFO - GECKO(5803) | [Parent 5803, Main Thread] WARNING: NS_ENSURE_TRUE(GetWrapper()) failed: file /builds/worker/checkouts/gecko/dom/ipc/JSActor.cpp, line 90
[task 2020-06-17T20:32:48.953Z] 20:32:48     INFO - TEST-START | browser/extensions/formautofill/test/browser/creditCard/browser_manageCreditCardsDialog.js
Whiteboard: [cc-autofill-reserve]
Keywords: leave-open
Whiteboard: [cc-autofill-reserve] → [cc-autofill-reserve][stockwell disabled]

This is running successfully in a local debug build on my macair. So this looks like some sort of a quirk with the hardware we run in automation. I'll keep poking at it to see if I can find good STR for debugging.

Test disabled as per https://hg.mozilla.org/mozilla-central/rev/ff32132cb490

I just realized this bug is related to an rare intermittent failure specific to Linux. Looks like we didn't get a new bug filed for osx. So Im going to file a follow up on OSX off the bug where I enabled the test for all platforms and continue my work there.

Blocks: 1456284
OS: Unspecified → Linux
Hardware: Unspecified → Desktop
Summary: Intermittent browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js | Uncaught exception - at formautofill/test/browser/creditCard/head.js:327 - TypeError: can't access property "blur", content.document.activeElement is null → Intermittent browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js | Uncaught exception - TypeError: can't access property "blur", content.document.activeElement is null (Linux)
Version: unspecified → Trunk

This test was not disabled for Linux.

Whiteboard: [cc-autofill-reserve][stockwell disabled] → [cc-autofill-reserve]

Thanks for updating the bugs!

You need to log in before you can comment on or make changes to this bug.