Closed Bug 1554839 Opened 5 years ago Closed 5 years ago

Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py TestTabModalAlerts.test_handle_two_modal_dialogs | NoAlertPresentException:

Categories

(Testing :: Marionette Client and Harness, defect, P5)

Version 3
defect

Tracking

(firefox-esr60 unaffected, firefox67 unaffected, firefox68 unaffected, firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox-esr60 --- unaffected
firefox67 --- unaffected
firefox68 --- unaffected
firefox69 --- fixed

People

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

References

(Regression)

Details

(Keywords: intermittent-failure, regression)

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


[task 2019-05-28T03:12:38.267Z] 03:12:38 INFO - TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py TestTabModalAlerts.test_handle_two_modal_dialogs
[task 2019-05-28T03:12:38.268Z] 03:12:38 INFO - 1559013158259 Marionette DEBUG 20 -> [0,23,"WebDriver:DeleteSession",{}]
[task 2019-05-28T03:12:38.269Z] 03:12:38 INFO - 1559013158261 Marionette DEBUG 20 <- [1,23,null,{"value":null}]
[task 2019-05-28T03:12:38.271Z] 03:12:38 INFO - 1559013158268 Marionette DEBUG Closed connection 20
...
[task 2019-05-28T03:12:38.506Z] 03:12:38 INFO - 1559013158498 Marionette DEBUG 21 <- [1,26,{"error":"unexpected alert open","message":"Dismissed user prompt dialog: Second","stacktrace":"WebDriverError@chrome:/ ... t@chrome://marionette/content/server.js:236:9\n_onJSONObjectReady/<@chrome://marionette/content/transport.js:492:20\n"},null]
[task 2019-05-28T03:12:38.510Z] 03:12:38 WARNING - Failed to gather test failure debug: Dismissed user prompt dialog: Second
[task 2019-05-28T03:12:38.510Z] 03:12:38 WARNING - stacktrace:
[task 2019-05-28T03:12:38.511Z] 03:12:38 WARNING - WebDriverError@chrome://marionette/content/error.js:179:5
[task 2019-05-28T03:12:38.513Z] 03:12:38 WARNING - UnexpectedAlertOpenError@chrome://marionette/content/error.js:462:5
[task 2019-05-28T03:12:38.514Z] 03:12:38 WARNING - GeckoDriver.prototype._handleUserPrompts@chrome://marionette/content/driver.js:3279:13
[task 2019-05-28T03:12:38.515Z] 03:12:38 WARNING - async*GeckoDriver.prototype.getPageSource@chrome://marionette/content/driver.js:1159:14
[task 2019-05-28T03:12:38.515Z] 03:12:38 WARNING - despatch@chrome://marionette/content/server.js:289:40
[task 2019-05-28T03:12:38.516Z] 03:12:38 WARNING - execute@chrome://marionette/content/server.js:262:16
[task 2019-05-28T03:12:38.516Z] 03:12:38 WARNING - onPacket/<@chrome://marionette/content/server.js:235:20
[task 2019-05-28T03:12:38.518Z] 03:12:38 WARNING - onPacket@chrome://marionette/content/server.js:236:9
[task 2019-05-28T03:12:38.518Z] 03:12:38 WARNING - _onJSONObjectReady/<@chrome://marionette/content/transport.js:492:20
[task 2019-05-28T03:12:38.518Z] 03:12:38 WARNING -
[task 2019-05-28T03:12:38.542Z] 03:12:38 INFO - TEST-UNEXPECTED-ERROR | testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py TestTabModalAlerts.test_handle_two_modal_dialogs | NoAlertPresentException:
[task 2019-05-28T03:12:38.542Z] 03:12:38 INFO - stacktrace:
[task 2019-05-28T03:12:38.543Z] 03:12:38 INFO - WebDriverError@chrome://marionette/content/error.js:179:5
[task 2019-05-28T03:12:38.544Z] 03:12:38 INFO - NoSuchAlertError@chrome://marionette/content/error.js:378:5
[task 2019-05-28T03:12:38.544Z] 03:12:38 INFO - GeckoDriver.prototype._checkIfAlertIsPresent@chrome://marionette/content/driver.js:3251:11
[task 2019-05-28T03:12:38.545Z] 03:12:38 INFO - GeckoDriver.prototype.sendKeysToDialog@chrome://marionette/content/driver.js:3227:8
[task 2019-05-28T03:12:38.546Z] 03:12:38 INFO - despatch@chrome://marionette/content/server.js:289:40
[task 2019-05-28T03:12:38.548Z] 03:12:38 INFO - execute@chrome://marionette/content/server.js:262:16
[task 2019-05-28T03:12:38.549Z] 03:12:38 INFO - onPacket/<@chrome://marionette/content/server.js:235:20
[task 2019-05-28T03:12:38.550Z] 03:12:38 INFO - onPacket@chrome://marionette/content/server.js:236:9
[task 2019-05-28T03:12:38.552Z] 03:12:38 INFO - _onJSONObjectReady/<@chrome://marionette/content/transport.js:492:20
[task 2019-05-28T03:12:38.555Z] 03:12:38 INFO - Traceback (most recent call last):
[task 2019-05-28T03:12:38.555Z] 03:12:38 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_harness/marionette_test/testcases.py", line 159, in run
[task 2019-05-28T03:12:38.556Z] 03:12:38 INFO - testMethod()
[task 2019-05-28T03:12:38.556Z] 03:12:38 INFO - File "/builds/worker/workspace/build/tests/marionette/tests/testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py", line 149, in test_handle_two_modal_dialogs
[task 2019-05-28T03:12:38.556Z] 03:12:38 INFO - alert2.send_keys("bar")
[task 2019-05-28T03:12:38.556Z] 03:12:38 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 389, in send_keys
[task 2019-05-28T03:12:38.557Z] 03:12:38 INFO - {"text": Marionette.convert_keys(*string)})
[task 2019-05-28T03:12:38.557Z] 03:12:38 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/decorators.py", line 26, in _
[task 2019-05-28T03:12:38.557Z] 03:12:38 INFO - return func(*args, **kwargs)
[task 2019-05-28T03:12:38.558Z] 03:12:38 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 598, in _send_message
[task 2019-05-28T03:12:38.558Z] 03:12:38 INFO - self._handle_error(err)
[task 2019-05-28T03:12:38.559Z] 03:12:38 INFO - File "/builds/worker/workspace/build/venv/lib/python2.7/site-packages/marionette_driver/marionette.py", line 618, in _handle_error
[task 2019-05-28T03:12:38.559Z] 03:12:38 INFO - raise errors.lookup(error)(message, stacktrace=stacktrace)
[task 2019-05-28T03:12:38.560Z] 03:12:38 INFO - TEST-INFO took 241ms

Summary: Permanent Tier 2 testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py TestTabModalAlerts.test_handle_two_modal_dialogs | NoAlertPresentException: → Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_modal_dialogs.py TestTabModalAlerts.test_handle_two_modal_dialogs | NoAlertPresentException:

Looks like it is happening a lot. Strange that it was all fine on try before landing my patch on bug 1487358.

I will ask for backing out bug 1487358.

Regressed by: 1487358
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Assignee: nobody → hskupin
Has Regression Range: --- → yes
Product: Testing → Remote Protocol
Moving bug to Testing::Marionette Client and Harness component per bug 1815831.
Component: Marionette → Marionette Client and Harness
Product: Remote Protocol → Testing
You need to log in before you can comment on or make changes to this bug.