Intermittent browser/extensions/formautofill/test/browser/creditCard/browser_creditCard_dropdown_layout.js | Uncaught exception - The popup should be a form autofill one - timed out after 50 tries.
Categories
(Toolkit :: Form Autofill, defect, P3)
Tracking
()
People
(Reporter: intermittent-bug-filer, Unassigned)
References
(Regression)
Details
(Keywords: intermittent-failure, regression, Whiteboard: [retriggered][cc-autofill-reserve])
Filed by: shindli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=297701210&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/Q0Topn8tQiibTZdRhG0FcQ/runs/0/artifacts/public/logs/live_backing.log
[task 2020-04-15T09:14:46.093Z] 09:14:46 INFO - getDisplayedPopupItems
[task 2020-04-15T09:14:46.093Z] 09:14:46 INFO - getDisplayedPopupItems
[task 2020-04-15T09:14:46.094Z] 09:14:46 INFO - getDisplayedPopupItems
[task 2020-04-15T09:14:46.094Z] 09:14:46 INFO - Buffered messages logged at 09:14:45
[task 2020-04-15T09:14:46.094Z] 09:14:46 INFO - getDisplayedPopupItems
[task 2020-04-15T09:14:46.094Z] 09:14:46 INFO - getDisplayedPopupItems
[task 2020-04-15T09:14:46.094Z] 09:14:46 INFO - getDisplayedPopupItems
[task 2020-04-15T09:14:46.094Z] 09:14:46 INFO - getDisplayedPopupItems
[task 2020-04-15T09:14:46.094Z] 09:14:46 INFO - getDisplayedPopupItems
[task 2020-04-15T09:14:46.095Z] 09:14:46 INFO - getDisplayedPopupItems
[task 2020-04-15T09:14:46.095Z] 09:14:46 INFO - Buffered messages finished
[task 2020-04-15T09:14:46.095Z] 09:14:46 INFO - TEST-UNEXPECTED-FAIL | browser/extensions/formautofill/test/browser/creditCard/browser_creditCard_dropdown_layout.js | Uncaught exception - The popup should be a form autofill one - timed out after 50 tries.
[task 2020-04-15T09:14:46.095Z] 09:14:46 INFO - Leaving test bound test_credit_card_dropdown
[task 2020-04-15T09:14:46.095Z] 09:14:46 INFO - expecting record retrievals: addresses
[task 2020-04-15T09:14:46.095Z] 09:14:46 INFO - expecting record retrievals: creditCards
[task 2020-04-15T09:14:46.096Z] 09:14:46 INFO - expecting credit card removed
[task 2020-04-15T09:14:46.096Z] 09:14:46 INFO - GECKO(2459) | MEMORY STAT | vsize 7631MB | residentFast 331MB | heapAllocated 128MB
[task 2020-04-15T09:14:46.096Z] 09:14:46 INFO - TEST-OK | browser/extensions/formautofill/test/browser/creditCard/browser_creditCard_dropdown_layout.js | took 8811ms
[task 2020-04-15T09:14:46.096Z] 09:14:46 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-04-15T09:14:46.096Z] 09:14:46 INFO - TEST-UNEXPECTED-FAIL | browser/extensions/formautofill/test/browser/creditCard/browser_creditCard_dropdown_layout.js | Found an unexpected tab at the end of test run: https://example.org/browser/browser/extensions/formautofill/test/browser/creditCard/autocomplete_creditcard_basic.html -
[task 2020-04-15T09:14:46.099Z] 09:14:46 INFO - checking window state
[task 2020-04-15T09:14:46.099Z] 09:14:46 INFO - TEST-START | browser/extensions/formautofill/test/browser/creditCard/browser_creditCard_fill_cancel_login.js
[task 2020-04-15T09:14:46.099Z] 09:14:46 INFO - GECKO(2459) | MEMORY STAT | vsize 7626MB | residentFast 331MB | heapAllocated 128MB
[task 2020-04-15T09:14:46.099Z] 09:14:46 INFO - TEST-OK | browser/extensions/formautofill/test/browser/creditCard/browser_creditCard_fill_cancel_login.js | took 21ms
[task 2020-04-15T09:14:46.100Z] 09:14:46 INFO - checking window state
[task 2020-04-15T09:14:46.100Z] 09:14:46 INFO - TEST-START | browser/extensions/formautofill/test/browser/creditCard/browser_editCreditCardDialog.js
[task 2020-04-15T09:14:47.922Z] 09:14:47 INFO - GECKO(2459) | MEMORY STAT | vsize 7648MB | residentFast 357MB | heapAllocated 145MB
[task 2020-04-15T09:14:47.922Z] 09:14:47 INFO - TEST-OK | browser/extensions/formautofill/test/browser/creditCard/browser_editCreditCardDialog.js | took 1883ms
[task 2020-04-15T09:14:47.968Z] 09:14:47 INFO - checking window state
[task 2020-04-15T09:14:47.968Z] 09:14:47 INFO - TEST-START | browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js
[task 2020-04-15T09:14:49.061Z] 09:14:49 INFO - GECKO(2459) | JavaScript error: chrome://global/content/elements/autocomplete-popup.js, line 482: TypeError: item._adjustAcItem is not a function
[task 2020-04-15T09:14:56.358Z] 09:14:56 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-04-15T09:14:56.359Z] 09:14:56 INFO - Buffered messages logged at 09:14:47
[task 2020-04-15T09:14:56.359Z] 09:14:56 INFO - Entering test bound setup
[task 2020-04-15T09:14:56.359Z] 09:14:56 INFO - Leaving test bound setup
[task 2020-04-15T09:14:56.359Z] 09:14:56 INFO - Entering test bound setup_storage
[task 2020-04-15T09:14:56.359Z] 09:14:56 INFO - expecting address saved
[task 2020-04-15T09:14:56.359Z] 09:14:56 INFO - expecting address saved
[task 2020-04-15T09:14:56.359Z] 09:14:56 INFO - expecting address saved
[task 2020-04-15T09:14:56.359Z] 09:14:56 INFO - expecting credit card saved
[task 2020-04-15T09:14:56.359Z] 09:14:56 INFO - expecting credit card saved
[task 2020-04-15T09:14:56.373Z] 09:14:56 INFO - expecting credit card saved
[task 2020-04-15T09:14:56.373Z] 09:14:56 INFO - Leaving test bound setup_storage
[task 2020-04-15T09:14:56.374Z] 09:14:56 INFO - Entering test bound test_insecure_form
[task 2020-04-15T09:14:56.381Z] 09:14:56 INFO - Buffered messages finished
[task 2020-04-15T09:14:56.381Z] 09:14:56 INFO - TEST-UNEXPECTED-FAIL | browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js | Uncaught exception - The popup should be a form autofill one - timed out after 50 tries.
[task 2020-04-15T09:14:56.381Z] 09:14:56 INFO - Leaving test bound test_insecure_form
[task 2020-04-15T09:14:56.381Z] 09:14:56 INFO - Entering test bound test_click_on_insecure_warning
[task 2020-04-15T09:14:56.719Z] 09:14:56 INFO - expecting the target input being focused and identified
[task 2020-04-15T09:14:56.721Z] 09:14:56 INFO - !previouslyFocused
[task 2020-04-15T09:14:56.721Z] 09:14:56 INFO - FieldsIdentified
[task 2020-04-15T09:14:57.336Z] 09:14:57 INFO - openPopupOn: before VK_DOWN
[task 2020-04-15T09:14:57.336Z] 09:14:57 INFO - expectPopupOpen
[task 2020-04-15T09:14:57.853Z] 09:14:57 INFO - getDisplayedPopupItems
[task 2020-04-15T09:14:58.006Z] 09:14:58 INFO - getDisplayedPopupItems
[task 2020-04-15T09:14:58.229Z] 09:14:58 INFO - getDisplayedPopupItems
[task 2020-04-15T09:14:58.445Z] 09:14:58 INFO - getDisplayedPopupItems
[task 2020-04-15T09:15:12.633Z] 09:15:12 INFO - getDisplayedPopupItems
[task 2020-04-15T09:15:12.751Z] 09:15:12 INFO - getDisplayedPopupItems
[task 2020-04-15T09:15:12.969Z] 09:15:12 INFO - getDisplayedPopupItems
[task 2020-04-15T09:15:13.074Z] 09:15:13 INFO - getDisplayedPopupItems
[task 2020-04-15T09:15:13.236Z] 09:15:13 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-04-15T09:15:13.236Z] 09:15:13 INFO - TEST-UNEXPECTED-FAIL | browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js | Uncaught exception - The popup should be a form autofill one - timed out after 50 tries.
[task 2020-04-15T09:15:13.236Z] 09:15:13 INFO - Leaving test bound test_press_enter_on_insecure_warning
[task 2020-04-15T09:15:13.236Z] 09:15:13 INFO - expecting record retrievals: addresses
[task 2020-04-15T09:15:13.236Z] 09:15:13 INFO - expecting address removed
[task 2020-04-15T09:15:13.239Z] 09:15:13 INFO - expecting record retrievals: creditCards
[task 2020-04-15T09:15:13.239Z] 09:15:13 INFO - expecting credit card removed
[task 2020-04-15T09:15:13.284Z] 09:15:13 INFO - GECKO(2459) | MEMORY STAT | vsize 7636MB | residentFast 346MB | heapAllocated 102MB
[task 2020-04-15T09:15:13.284Z] 09:15:13 INFO - TEST-OK | browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js | took 25321ms
[task 2020-04-15T09:15:13.284Z] 09:15:13 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-04-15T09:15:13.284Z] 09:15:13 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-04-15T09:15:13.284Z] 09:15:13 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-04-15T09:15:13.285Z] 09:15:13 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-04-15T09:15:13.285Z] 09:15:13 INFO - Not taking screenshot here: see the one that was previously logged
[task 2020-04-15T09:15:13.285Z] 09:15:13 INFO - TEST-UNEXPECTED-FAIL | browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js | Found an unexpected tab at the end of test run: https://example.org/browser/browser/extensions/formautofill/test/browser/autocomplete_basic.html -
[task 2020-04-15T09:15:13.311Z] 09:15:13 INFO - checking window state
[task 2020-04-15T09:15:13.336Z] 09:15:13 INFO - TEST-START | browser/extensions/formautofill/test/browser/creditCard/browser_manageCreditCardsDialog.js
[task 2020-04-15T09:15:14.392Z] 09:15:14 INFO - GECKO(2459) | MEMORY STAT | vsize 7641MB | residentFast 353MB | heapAllocated 120MB
[task 2020-04-15T09:15:14.392Z] 09:15:14 INFO - TEST-OK | browser/extensions/formautofill/test/browser/creditCard/browser_manageCreditCardsDialog.js | took 1062ms
[task 2020-04-15T09:15:14.420Z] 09:15:14 INFO - checking window state
[task 2020-04-15T09:15:14.423Z] 09:15:14 INFO - TEST-START | browser/extensions/formautofill/test/browser/creditCard/browser_privacyPreferences.js
[task 2020-04-15T09:15:17.005Z] 09:15:17 INFO - GECKO(2459) | MEMORY STAT | vsize 7775MB | residentFast 455MB | heapAllocated 222MB
[task 2020-04-15T09:15:17.005Z] 09:15:17 INFO - TEST-OK | browser/extensions/formautofill/test/browser/creditCard/browser_privacyPreferences.js | took 2578ms
[task 2020-04-15T09:15:17.013Z] 09:15:17 INFO - checking window state
[task 2020-04-15T09:15:18.595Z] 09:15:18 INFO - GECKO(2459) | Completed ShutdownLeaks collections in process 2464
[task 2020-04-15T09:15:18.617Z] 09:15:18 INFO - GECKO(2459) | Completed ShutdownLeaks collections in process 2467
[task 2020-04-15T09:15:18.617Z] 09:15:18 INFO - GECKO(2459) | Completed ShutdownLeaks collections in process 2468
[task 2020-04-15T09:15:18.647Z] 09:15:18 INFO - GECKO(2459) | Completed ShutdownLeaks collections in process 2461
[task 2020-04-15T09:15:18.761Z] 09:15:18 INFO - GECKO(2459) | Completed ShutdownLeaks collections in process 2462
[task 2020-04-15T09:15:18.761Z] 09:15:18 INFO - GECKO(2459) | Completed ShutdownLeaks collections in process 2471
[task 2020-04-15T09:15:18.761Z] 09:15:18 INFO - GECKO(2459) | Completed ShutdownLeaks collections in process 2460
[task 2020-04-15T09:15:18.769Z] 09:15:18 INFO - GECKO(2459) | Completed ShutdownLeaks collections in process 2474
[task 2020-04-15T09:15:18.769Z] 09:15:18 INFO - GECKO(2459) | Completed ShutdownLeaks collections in process 2477
[task 2020-04-15T09:15:18.779Z] 09:15:18 INFO - GECKO(2459) | Completed ShutdownLeaks collections in process 2463
[task 2020-04-15T09:15:19.242Z] 09:15:19 INFO - GECKO(2459) | Completed ShutdownLeaks collections in process 2459
[task 2020-04-15T09:15:19.242Z] 09:15:19 INFO - TEST-START | Shutdown
[task 2020-04-15T09:15:19.242Z] 09:15:19 INFO - Browser Chrome Test Summary
[task 2020-04-15T09:22:28.163Z] 09:22:28 INFO - Mode: e10s
[task 2020-04-15T09:22:28.163Z] 09:22:28 INFO - *** End BrowserChrome Test Results ***
[task 2020-04-15T09:22:28.163Z] 09:22:28 INFO - Buffered messages finished
[task 2020-04-15T09:22:28.163Z] 09:22:28 INFO - SUITE-END | took 1112s
[task 2020-04-15T09:22:28.230Z] 09:22:28 ERROR - Return code: 1
[task 2020-04-15T09:22:28.231Z] 09:22:28 ERROR - Got 8 unexpected statuses
[task 2020-04-15T09:22:28.231Z] 09:22:28 INFO - TinderboxPrint: mochitest-mochitest-browser-chrome<br/>556/<em class="testfail">8</em>/3
[task 2020-04-15T09:22:28.231Z] 09:22:28 WARNING - # TBPL WARNING #
[task 2020-04-15T09:22:28.231Z] 09:22:28 WARNING - setting return code to 1
[task 2020-04-15T09:22:28.231Z] 09:22:28 WARNING - The mochitest suite: mochitest-browser-chrome ran with return status: WARNING
[task 2020-04-15T09:22:28.231Z] 09:22:28 INFO - Running post-action listener: _package_coverage_data
[task 2020-04-15T09:22:28.231Z] 09:22:28 INFO - Running post-action listener: _resource_record_post_action
[task 2020-04-15T09:22:28.232Z] 09:22:28 INFO - Running post-action listener: process_java_coverage_data
[task 2020-04-15T09:22:28.232Z] 09:22:28 INFO - [mozharness: 2020-04-15 09:22:28.232058Z] Finished run-tests step (success)
[task 2020-04-15T09:22:28.232Z] 09:22:28 INFO - Running post-run listener: _resource_record_post_run
[task 2020-04-15T09:22:28.360Z] 09:22:28 INFO - instance_metadata.json not found; unable to determine instance type
[task 2020-04-15T09:22:28.365Z] 09:22:28 INFO - Validating Perfherder data against /Users/cltbld/tasks/task_1586939391/mozharness/external_tools/performance-artifact-schema.json
[task 2020-04-15T09:22:28.369Z] 09:22:28 INFO - PERFHERDER_DATA: {"framework": {"name": "job_resource_usage"}, "suites": [{"subtests": [{"name": "cpu_percent", "value": 21.285819521178627}, {"name": "io_write_bytes", "value": 3391238144}, {"name": "io.read_bytes", "value": 175411200}, {"name": "io_write_time", "value": 14506}, {"name": "io_read_time", "value": 2508}], "extraOptions": ["e10s", "buildbot-unknown"], "name": "mochitest.mochitest-browser-chrome.overall"}, {"subtests": [{"name": "time", "value": 0.0002541542053222656}], "name": "mochitest.mochitest-browser-chrome.start-pulseaudio"}, {"subtests": [{"name": "time", "value": 19.721723079681396}, {"name": "cpu_percent", "value": 37.55277777777778}], "name": "mochitest.mochitest-browser-chrome.install"}, {"subtests": [{"name": "time", "value": 0.00021696090698242188}], "name": "mochitest.mochitest-browser-chrome.stage-files"}, {"subtests": [{"name": "time", "value": 1113.911231994629}, {"name": "cpu_percent", "value": 21.004475164011236}], "name": "mochitest.mochitest-browser-chrome.run-tests"}]}
[task 2020-04-15T09:22:28.369Z] 09:22:28 INFO - Total resource usage - Wall time: 1133s; CPU: 21.0%; Read bytes: 175411200; Write bytes: 3391238144; Read time: 2508; Write time: 14506
[task 2020-04-15T09:22:28.369Z] 09:22:28 INFO - TinderboxPrint: CPU usage<br/>21.0%
[task 2020-04-15T09:22:28.369Z] 09:22:28 INFO - TinderboxPrint: I/O read bytes / time<br/>175,411,200 / 2,508
[task 2020-04-15T09:22:28.369Z] 09:22:28 INFO - TinderboxPrint: I/O write bytes / time<br/>3,391,238,144 / 14,506
[task 2020-04-15T09:22:28.369Z] 09:22:28 INFO - TinderboxPrint: CPU idle<br/>3,106.9 (68.5%)
[task 2020-04-15T09:22:28.369Z] 09:22:28 INFO - TinderboxPrint: CPU system<br/>313.4 (6.9%)
[task 2020-04-15T09:22:28.369Z] 09:22:28 INFO - TinderboxPrint: CPU user<br/>1,113.3 (24.6%)
[task 2020-04-15T09:22:28.369Z] 09:22:28 INFO - TinderboxPrint: Swap in / out<br/>425,930,752 / 0
[task 2020-04-15T09:22:28.370Z] 09:22:28 INFO - start-pulseaudio - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2020-04-15T09:22:28.371Z] 09:22:28 INFO - install - Wall time: 20s; CPU: 38.0%; Read bytes: 267515392; Write bytes: 260882432; Read time: 14335; Write time: 508
[task 2020-04-15T09:22:28.372Z] 09:22:28 INFO - stage-files - Wall time: 0s; CPU: Can't collect data; Read bytes: 0; Write bytes: 0; Read time: 0; Write time: 0
[task 2020-04-15T09:22:28.379Z] 09:22:28 INFO - run-tests - Wall time: 1114s; CPU: 21.0%; Read bytes: 166035456; Write bytes: 3105636352; Read time: 2393; Write time: 13949
[task 2020-04-15T09:22:28.583Z] 09:22:28 WARNING - returning nonzero exit status 1
[fetches 2020-04-15T09:22:28.619Z] removing /Users/cltbld/tasks/task_1586939391/fetches
[fetches 2020-04-15T09:22:28.620Z] finished
[taskcluster 2020-04-15T09:22:28.630Z] Exit Code: 1
[taskcluster 2020-04-15T09:22:28.630Z] User Time: 17m10.80115s
[taskcluster 2020-04-15T09:22:28.630Z] Kernel Time: 3m40.890526s
[taskcluster 2020-04-15T09:22:28.630Z] Wall Time: 20m30.692602373s
[taskcluster 2020-04-15T09:22:28.630Z] Result: FAILED
[taskcluster 2020-04-15T09:22:28.630Z] === Task Finished ===
[taskcluster 2020-04-15T09:22:28.630Z] Task Duration: 20m30.696603546s
[taskcluster 2020-04-15T09:22:28.860Z] Uploading artifact public/logs/localconfig.json from file logs/localconfig.json with content encoding "gzip", mime type "application/json" and expiry 2021-04-15T07:11:15.987Z
[taskcluster 2020-04-15T09:22:29.121Z] Uploading artifact public/test_info/manifests.list from file build/blobber_upload_dir/manifests.list with content encoding "gzip", mime type "text/plain; charset=utf-8" and expiry 2021-04-15T07:11:15.987Z
[taskcluster 2020-04-15T09:22:29.259Z] Uploading artifact public/test_info/mochitest-browser-chrome_errorsummary.log from file build/blobber_upload_dir/mochitest-browser-chrome_errorsummary.log with content encoding "gzip", mime type "text/plain" and expiry 2021-04-15T07:11:15.987Z
[taskcluster 2020-04-15T09:22:29.573Z] Uploading artifact public/test_info/mochitest-browser-chrome_raw.log from file build/blobber_upload_dir/mochitest-browser-chrome_raw.log with content encoding "gzip", mime type "text/plain" and expiry 2021-04-15T07:11:15.987Z
[taskcluster 2020-04-15T09:22:29.887Z] Uploading artifact public/test_info/mozilla-test-fail-screenshot_cZF17O.png from file build/blobber_upload_dir/mozilla-test-fail-screenshot_cZF17O.png with content encoding "", mime type "image/png" and expiry 2021-04-15T07:11:15.987Z
[taskcluster 2020-04-15T09:22:30.168Z] Uploading artifact public/test_info/resource-usage.json from file build/blobber_upload_dir/resource-usage.json with content encoding "gzip", mime type "application/json" and expiry 2021-04-15T07:11:15.987Z
[taskcluster:error] exit status 1
![]() |
||
Comment 1•6 years ago
|
||
This seems to be fixed by the backout of 1607984
https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=success%2Ctestfailed%2Cbusted%2Cexception&revision=cdf53efcd4c99729cd2853a9546f581e22c2cad1
Updated•6 years ago
|
Comment hidden (Intermittent Failures Robot) |
![]() |
||
Updated•6 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment 4•5 years ago
|
||
This test calls await BrowserTestUtils.withNewTab({ gBrowser, url: CC_URL }, async function(
https://searchfox.org/mozilla-central/source/testing/mochitest/BrowserTestUtils/BrowserTestUtils.jsm#137
withNewTab calls let tab = await BrowserTestUtils.openNewForegroundTab(options);
https://searchfox.org/mozilla-central/source/testing/mochitest/BrowserTestUtils/BrowserTestUtils.jsm#144
However, this doesn't wait for the load to complete
Problem in here, is that it calls await TestUtils.waitForTick(); in there. So you can't really set a listener for the load event upon returning from BrowserTestUtils.withNewTab as it may be too late. So the only way to make sure the page is loaded is to add the option to wait for the page to load.
The winNewTab documentation states "Loads a page in a new tab, executes a Task and closes the tab."
One could argue that this method should wait for the page to load in order to "load" the page.
Browsing a few of the tests using BrowserTestUtils.withNewTab; almost all those loading a plain URL have known intermittent issues. My guess is that this is the reason.
:gijs opinion?
try run, with waitForLoad set to true: https://treeherder.mozilla.org/#/jobs?repo=try&revision=16bb6c5bb26d5f1bdaaabaeafd8bdac9e20df855
Comment 5•5 years ago
|
||
(In reply to Jean-Yves Avenard [:jya] from comment #4)
This test calls await BrowserTestUtils.withNewTab({ gBrowser, url: CC_URL }, async function(
https://searchfox.org/mozilla-central/source/testing/mochitest/BrowserTestUtils/BrowserTestUtils.jsm#137withNewTab calls let tab = await BrowserTestUtils.openNewForegroundTab(options);
https://searchfox.org/mozilla-central/source/testing/mochitest/BrowserTestUtils/BrowserTestUtils.jsm#144However, this doesn't wait for the load to complete
It does?
The winNewTab documentation states "Loads a page in a new tab, executes a Task and closes the tab."
One could argue that this method should wait for the page to load in order to "load" the page.
It does. It passes options through to BrowserTestUtils.openNewForegroundTab
which defaults the waitForLoad
param to true
if not passed. https://searchfox.org/mozilla-central/rev/b8fbb6ead517720daf0b0211115f407b4b951c74/testing/mochitest/BrowserTestUtils/BrowserTestUtils.jsm#197,210 .
If there are fission-related issues here, it's possible we're getting spurious load events for about:blank
loading before the real thing loads? In that case, I'd be wondering if those tabs really always loaded about:blank - we try to avoid this in the frontend, so it's possible this regressed with fission.
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 8•5 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Comment 9•5 years ago
|
||
Re-opening as it's quite easy to make this test fail 100% by simply delaying how long it takes for the load event to be fired. By increasing the number of event loop iterations required between the time the load has started and when it actually completes and the load event is fired.
In this try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e83a593266f5f0adcb909666759776bb24986b6c we have permafailures on two tests.
The pushed changes causes one extra event loop to be run before the ParentProcessDocumentChannel resolved the promise before the request actually starts. We get permafailure.
Modifying the MozPromise used so that it uses the direct task queue (similar to microtasks queue), cause the failures to disappear.
(https://treeherder.mozilla.org/#/jobs?repo=try&selectedTaskRun=FL0DTt-pQ4O6fbRMvL2xQw-0&revision=1f2d4d00c7954665815e8e4f13c997e0f2c03759)
We had already disabled the browser/extensions/formautofill/test/browser/creditCard/browser_creditCard_dropdown_layout.js and browser/extensions/formautofill/test/browser/browser_autocomplete_footer.js tests on some platforms in bug 1632098. But we just hid the problem, would be nice to fix it once and for all.
DocumentChannel isn't the cause of those issues, it only make more likely for the existing problem to appear.
Not exactly sure who is the right person to look into this. :Gijs could you recommend someone or look into this issue?
thanks
Comment 10•5 years ago
|
||
(In reply to Jean-Yves Avenard [:jya] from comment #9)
Re-opening as it's quite easy to make this test fail 100% by simply delaying how long it takes for the load event to be fired. By increasing the number of event loop iterations required between the time the load has started and when it actually completes and the load event is fired.
In this try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e83a593266f5f0adcb909666759776bb24986b6c we have permafailures on two tests.
The pushed changes causes one extra event loop to be run before the ParentProcessDocumentChannel resolved the promise before the request actually starts. We get permafailure.Modifying the MozPromise used so that it uses the direct task queue (similar to microtasks queue), cause the failures to disappear.
(https://treeherder.mozilla.org/#/jobs?repo=try&selectedTaskRun=FL0DTt-pQ4O6fbRMvL2xQw-0&revision=1f2d4d00c7954665815e8e4f13c997e0f2c03759)We had already disabled the browser/extensions/formautofill/test/browser/creditCard/browser_creditCard_dropdown_layout.js and browser/extensions/formautofill/test/browser/browser_autocomplete_footer.js tests on some platforms in bug 1632098. But we just hid the problem, would be nice to fix it once and for all.
DocumentChannel isn't the cause of those issues, it only make more likely for the existing problem to appear.Not exactly sure who is the right person to look into this. :Gijs could you recommend someone or look into this issue?
Matt is probably the most knowledgeable about these tests.
Comment 11•5 years ago
|
||
:zibi and :abr are working on CC autofill now so maybe JimM can redirect to one of them?
![]() |
||
Updated•5 years ago
|
![]() |
||
Updated•5 years ago
|
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Updated•3 years ago
|
Comment 15•2 years ago
|
||
https://wiki.mozilla.org/Bug_Triage#Intermittent_Test_Failure_Cleanup
For more information, please visit auto_nag documentation.
Description
•