Closed Bug 1600059 Opened 5 years ago Closed 3 years ago

Intermittent browser/extensions/formautofill/test/browser/browser_autocomplete_footer.js | Uncaught exception - popup should be open - timed out after 50 tries.

Categories

(Toolkit :: Form Autofill, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: enndeakin)

References

(Blocks 1 open bug)

Details

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

Attachments

(3 files)

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


[task 2019-11-28T13:37:59.638Z] 13:37:59 INFO - TEST-INFO | started process screentopng
[task 2019-11-28T13:38:00.387Z] 13:38:00 INFO - TEST-INFO | screentopng: exit 0
[task 2019-11-28T13:38:00.387Z] 13:38:00 INFO - Buffered messages logged at 13:37:52
[task 2019-11-28T13:38:00.388Z] 13:38:00 INFO - Entering test bound setup
[task 2019-11-28T13:38:00.388Z] 13:38:00 INFO - Leaving test bound setup
[task 2019-11-28T13:38:00.389Z] 13:38:00 INFO - Entering test bound setup_storage
[task 2019-11-28T13:38:00.389Z] 13:38:00 INFO - expecting address saved
[task 2019-11-28T13:38:00.389Z] 13:38:00 INFO - expecting address saved
[task 2019-11-28T13:38:00.389Z] 13:38:00 INFO - Console message: [JavaScript Error: "[Exception... "Component returned failure code: 0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH) [nsIXPCComponents_Utils.readUTF8URI]" nsresult: "0x80520001 (NS_ERROR_FILE_UNRECOGNIZED_PATH)" location: "JS frame :: resource://gre/modules/L10nRegistry.jsm :: this.L10nRegistry.loadSync :: line 759" data: no]"]
[task 2019-11-28T13:38:00.389Z] 13:38:00 INFO - this.L10nRegistry.loadSync@resource://gre/modules/L10nRegistry.jsm:759:19
[task 2019-11-28T13:38:00.389Z] 13:38:00 INFO - fetchFile@resource://gre/modules/L10nRegistry.jsm:674:31
[task 2019-11-28T13:38:00.390Z] 13:38:00 INFO - generateResourceSetSync/<@resource://gre/modules/L10nRegistry.jsm:579:19
[task 2019-11-28T13:38:00.390Z] 13:38:00 INFO - generateResourceSetSync@resource://gre/modules/L10nRegistry.jsm:574:22
[task 2019-11-28T13:38:00.390Z] 13:38:00 INFO - generateResourceSetsForLocaleSync@resource://gre/modules/L10nRegistry.jsm:410:44
[task 2019-11-28T13:38:00.390Z] 13:38:00 INFO - generateBundlesSync@resource://gre/modules/L10nRegistry.jsm:172:7
[task 2019-11-28T13:38:00.390Z] 13:38:00 INFO - touchNext@resource://gre/modules/Localization.jsm:167:37
[task 2019-11-28T13:38:00.390Z] 13:38:00 INFO - onChange@resource://gre/modules/Localization.jsm:500:20
[task 2019-11-28T13:38:00.390Z] 13:38:00 INFO - Localization@resource://gre/modules/Localization.jsm:227:10
[task 2019-11-28T13:38:00.390Z] 13:38:00 INFO - getRegionDisplayNames@resource://gre/modules/mozIntl.jsm:736:19
[task 2019-11-28T13:38:00.390Z] 13:38:00 INFO - _normalizeCountry@resource://formautofill/FormAutofillStorage.jsm:1626:43
[task 2019-11-28T13:38:00.391Z] 13:38:00 INFO - _normalizeFields@resource://formautofill/FormAutofillStorage.jsm:1568:10
[task 2019-11-28T13:38:00.391Z] 13:38:00 INFO - _normalizeRecord@resource://formautofill/FormAutofillStorage.jsm:1321:10
[task 2019-11-28T13:38:00.391Z] 13:38:00 INFO - add@resource://formautofill/FormAutofillStorage.jsm:388:12
[task 2019-11-28T13:38:00.391Z] 13:38:00 INFO - receiveMessage@resource://formautofill/FormAutofillParent.jsm:271:52
[task 2019-11-28T13:38:00.391Z] 13:38:00 INFO - MessageListener.receiveMessageinit@resource://formautofill/FormAutofillParent.jsm:119:19
[task 2019-11-28T13:38:00.391Z] 13:38:00 INFO - onStartup@jar:file:///builds/worker/workspace/build/application/firefox/browser/features/formautofill@mozilla.org.xpi!/api.js:173:24
[task 2019-11-28T13:38:00.392Z] 13:38:00 INFO - onStartup/<@resource://gre/modules/ExtensionCommon.jsm:1392:17
[task 2019-11-28T13:38:00.392Z] 13:38:00 INFO - promise callback
onStartup@resource://gre/modules/ExtensionCommon.jsm:1390:62
[task 2019-11-28T13:38:00.392Z] 13:38:00 INFO - onStartup/<@resource://gre/modules/ExtensionCommon.jsm:1844:57
[task 2019-11-28T13:38:00.392Z] 13:38:00 INFO - onStartup@resource://gre/modules/ExtensionCommon.jsm:1844:38
[task 2019-11-28T13:38:00.392Z] 13:38:00 INFO - apiManager</<@resource://gre/modules/ExtensionParent.jsm:104:35
[task 2019-11-28T13:38:00.392Z] 13:38:00 INFO - emit@resource://gre/modules/ExtensionCommon.jsm:327:32
[task 2019-11-28T13:38:00.392Z] 13:38:00 INFO - startup/<@resource://gre/modules/Extension.jsm:2334:22
[task 2019-11-28T13:38:00.392Z] 13:38:00 INFO - addStartupStatePromise@resource://gre/modules/Extension.jsm:1759:13
[task 2019-11-28T13:38:00.392Z] 13:38:00 INFO - startup@resource://gre/modules/Extension.jsm:2333:14
[task 2019-11-28T13:38:00.393Z] 13:38:00 INFO - async*startup@resource://gre/modules/Extension.jsm:1556:27
[task 2019-11-28T13:38:00.393Z] 13:38:00 INFO - callBootstrapMethod@resource://gre/modules/addons/XPIProvider.jsm:1791:33
[task 2019-11-28T13:38:00.393Z] 13:38:00 INFO - startup@resource://gre/modules/addons/XPIProvider.jsm:1895:32
[task 2019-11-28T13:38:00.393Z] 13:38:00 INFO - startup@resource://gre/modules/addons/XPIProvider.jsm:2464:39
[task 2019-11-28T13:38:00.393Z] 13:38:00 INFO - callProvider@resource://gre/modules/AddonManager.jsm:215:31
[task 2019-11-28T13:38:00.393Z] 13:38:00 INFO - _startProvider@resource://gre/modules/AddonManager.jsm:651:17
[task 2019-11-28T13:38:00.394Z] 13:38:00 INFO - startup@resource://gre/modules/AddonManager.jsm:875:14
[task 2019-11-28T13:38:00.394Z] 13:38:00 INFO - startup@resource://gre/modules/AddonManager.jsm:3534:26
[task 2019-11-28T13:38:00.394Z] 13:38:00 INFO - observe@resource://gre/modules/addonManager.js:87:29

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID

seeing it with the ParentProcessDocumentChannelEnabled.

Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Status: REOPENED → RESOLVED
Closed: 5 years ago4 years ago
Resolution: --- → INCOMPLETE

The test is currently disabled on mac for perma-fail but is referenced as a reason.

I can easily reproduce this intermittent when changing the timing for the load event fired by the docShell, when it should have no impact.

re-opening

Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Whiteboard: [ccautofill]
Whiteboard: [ccautofill] → [cc-autofill-reserve]
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → INCOMPLETE
Whiteboard: [cc-autofill-reserve]

This bug is itemized in the test ini files as being tied to a slew of tests that are disabled. Reopening.

Severity: normal → S3
Status: RESOLVED → REOPENED
Priority: P5 → P3
Resolution: INCOMPLETE → ---
Whiteboard: [cc-autofill-reserve]
Type: defect → enhancement
See Also: → 1700685
Blocks: 1700788
Assignee: nobody → enndeakin
Blocks: 1701078
Status: REOPENED → ASSIGNED
Pushed by neil@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9a742ac1be88
browser_autocomplete_footer.js doesn't account for collapsed items, causing it to fail when run twice or in sequence with certain other tests, r=mak
https://hg.mozilla.org/integration/autoland/rev/6e03b1a45863
remove some usages of waitForCondition in formautofill tests and replace with waitForMutationCondition and waiting for popup event notifications in the child process to see if this fixes the intermittent failures, r=mak
Backout by csabou@mozilla.com:
https://hg.mozilla.org/mozilla-central/rev/6f8320a4798f
Backed out 2 changesets for bc failures on browser_autocomplete_footer.js. CLOSED TREE

Backed out changeset 6e03b1a45863 (bug 1600059)
Backed out changeset 9a742ac1be88 (bug 1600059)

This issue on Mac which affects a number of tests is that the docshell or document is not yet initialized in some manner (haven't fully investigated), so the formfill code cannot get the windowtype to use (at https://searchfox.org/mozilla-central/rev/716d7cd80b3dcd81c005ad13b51d3e6a85bd7e73/xpfe/appshell/nsAppShellWindowEnumerator.cpp#29 )

I'm going to check in the changes without the tests re-enabled.

Flags: needinfo?(enndeakin)
Pushed by neil@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8abbf48cb458
browser_autocomplete_footer.js doesn't account for collapsed items, causing it to fail when run twice or in sequence with certain other tests, r=mak
https://hg.mozilla.org/integration/autoland/rev/a87f968573f9
remove some usages of waitForCondition in formautofill tests and replace with waitForMutationCondition and waiting for popup event notifications in the child process to see if this fixes the intermittent failures, r=mak
Status: ASSIGNED → RESOLVED
Closed: 4 years ago3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
See Also: → 1717432

I filed a new bug 1717432 on re-enabling these tests on Mac.

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

Attachment

General

Creator:
Created:
Updated:
Size: