Closed Bug 1635961 Opened 5 years ago Closed 5 years ago

Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_unhandled_prompt_behavior.py TestUnhandledPromptBehavior.test_ignore_prompt | AssertionError: UnexpectedAlertOpen not raised

Categories

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

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1631112

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: assertion, intermittent-failure)

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


[task 2020-05-06T21:45:27.176Z] 21:45:27     INFO -  TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_unhandled_prompt_behavior.py TestUnhandledPromptBehavior.test_ignore_prompt
[task 2020-05-06T21:45:27.176Z] 21:45:27     INFO -  1588801527172	Marionette	DEBUG	Closed connection 66
[task 2020-05-06T21:45:27.179Z] 21:45:27     INFO -  1588801527174	Marionette	DEBUG	Accepted connection 67 from 127.0.0.1:52060
[task 2020-05-06T21:45:27.179Z] 21:45:27     INFO -  1588801527175	Marionette	DEBUG	67 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
[task 2020-05-06T21:45:27.186Z] 21:45:27     INFO -  1588801527181	Marionette	TRACE	[4] Frame script loaded
[task 2020-05-06T21:45:27.186Z] 21:45:27     INFO -  1588801527182	Marionette	TRACE	[4] Frame script registered
[task 2020-05-06T21:45:27.186Z] 21:45:27     INFO -  1588801527183	Marionette	DEBUG	67 <- [1,1,null,{"sessionId":"7d36d860-3059-43e8-ab43-90307e52e599","capabilities":{"browserName":"firefox","browserVersion":"78.0a ... p\\tmpratykn.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
[task 2020-05-06T21:45:27.189Z] 21:45:27     INFO -  1588801527184	Marionette	DEBUG	67 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}]
[task 2020-05-06T21:45:27.189Z] 21:45:27     INFO -  1588801527184	Marionette	DEBUG	67 <- [1,2,null,{"value":null}]
[task 2020-05-06T21:45:27.189Z] 21:45:27     INFO -  1588801527185	Marionette	DEBUG	67 -> [0,3,"WebDriver:SetTimeouts",{"pageLoad":300000}]
[task 2020-05-06T21:45:27.189Z] 21:45:27     INFO -  1588801527185	Marionette	DEBUG	67 <- [1,3,null,{"value":null}]
[task 2020-05-06T21:45:27.189Z] 21:45:27     INFO -  1588801527186	Marionette	DEBUG	67 -> [0,4,"WebDriver:SetTimeouts",{"implicit":0}]
[task 2020-05-06T21:45:27.189Z] 21:45:27     INFO -  1588801527186	Marionette	DEBUG	67 <- [1,4,null,{"value":null}]
[task 2020-05-06T21:45:27.192Z] 21:45:27     INFO -  1588801527188	Marionette	DEBUG	67 -> [0,5,"WebDriver:DeleteSession",{}]
[task 2020-05-06T21:45:27.192Z] 21:45:27     INFO -  1588801527189	Marionette	DEBUG	67 <- [1,5,null,{"value":null}]
[task 2020-05-06T21:45:27.199Z] 21:45:27     INFO -  1588801527192	Marionette	DEBUG	Closed connection 67
[task 2020-05-06T21:45:27.199Z] 21:45:27     INFO -  1588801527193	Marionette	DEBUG	Accepted connection 68 from 127.0.0.1:52061
[task 2020-05-06T21:45:27.199Z] 21:45:27     INFO -  1588801527194	Marionette	DEBUG	68 -> [0,1,"WebDriver:NewSession",{"unhandledPromptBehavior":"ignore"}]
[task 2020-05-06T21:45:27.204Z] 21:45:27     INFO -  1588801527197	Marionette	TRACE	[4] Frame script loaded
[task 2020-05-06T21:45:27.204Z] 21:45:27     INFO -  1588801527198	Marionette	TRACE	[4] Frame script registered
[task 2020-05-06T21:45:27.204Z] 21:45:27     INFO -  1588801527199	Marionette	DEBUG	68 <- [1,1,null,{"sessionId":"75604d77-2da9-4468-9ef5-c68f9f53ef13","capabilities":{"browserName":"firefox","browserVersion":"78.0a ... p\\tmpratykn.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
[task 2020-05-06T21:45:27.209Z] 21:45:27     INFO -  1588801527202	Marionette	DEBUG	68 -> [0,2,"WebDriver:ExecuteAsyncScript",{"scriptTimeout":null,"newSandbox":true,"args":["prompt","foo prompt"],"filename":"Z:\\ta ... .return_value = null;\n            window.return_value = window[arguments[0]](arguments[1]);","sandbox":"default","line":45}]
[task 2020-05-06T21:45:27.216Z] 21:45:27     INFO -  1588801527210	Marionette	TRACE	Received observer notification tabmodal-dialog-loaded
[task 2020-05-06T21:45:27.216Z] 21:45:27     INFO -  1588801527211	Marionette	DEBUG	68 <- [1,2,null,{"value":null}]
[task 2020-05-06T21:45:27.216Z] 21:45:27     INFO -  1588801527212	Marionette	TRACE	Received event DOMModalDialogClosed
[task 2020-05-06T21:45:27.219Z] 21:45:27     INFO -  JavaScript error: resource://gre/modules/Prompter.jsm, line 1178: NS_ERROR_NOT_AVAILABLE: prompt aborted by user
[task 2020-05-06T21:45:27.219Z] 21:45:27     INFO -  1588801527216	Marionette	DEBUG	68 -> [0,3,"WebDriver:GetTitle",{}]
[task 2020-05-06T21:45:27.219Z] 21:45:27     INFO -  1588801527217	Marionette	DEBUG	68 <- [1,3,null,{"value":"Marionette Test"}]
[task 2020-05-06T21:45:27.222Z] 21:45:27     INFO -  1588801527218	Marionette	DEBUG	68 -> [0,4,"Marionette:GetContext",{}]
[task 2020-05-06T21:45:27.222Z] 21:45:27     INFO -  1588801527218	Marionette	DEBUG	68 <- [1,4,null,{"value":"content"}]
[task 2020-05-06T21:45:27.222Z] 21:45:27     INFO -  1588801527219	Marionette	DEBUG	68 -> [0,5,"Marionette:SetContext",{"value":"chrome"}]
[task 2020-05-06T21:45:27.222Z] 21:45:27     INFO -  1588801527219	Marionette	DEBUG	68 <- [1,5,null,{"value":null}]
[task 2020-05-06T21:45:27.222Z] 21:45:27     INFO -  1588801527219	Marionette	DEBUG	68 -> [0,6,"WebDriver:TakeScreenshot",{"full":true,"hash":false,"id":null,"scroll":true}]
[task 2020-05-06T21:45:27.317Z] 21:45:27     INFO -  1588801527303	Marionette	DEBUG	68 <- [1,6,null,{"value":"iVBORw0KGgoAAAANSUhEUgAABQAAAAQHCAYAAACjlsT7AAAgAElEQVR4nOzdbZDU9Z3v/Xl46tqnVO3jiwdbRdXxVLmJMbupnFMWtbUrO ... AAAAAAMCYAAQAAAGBMAAIAAADAmAAEAAAAgDEBCAAAAABjAhAAAAAAxgQgAAAAAIwJQAAAAAAYE4AAAAAAMCYAAQAAAGAs0UXmkZJ+SPsAAAAASUVORK5CYII="}]
[task 2020-05-06T21:45:27.318Z] 21:45:27     INFO -  1588801527307	Marionette	DEBUG	68 -> [0,7,"Marionette:SetContext",{"value":"content"}]
[task 2020-05-06T21:45:27.318Z] 21:45:27     INFO -  1588801527307	Marionette	DEBUG	68 <- [1,7,null,{"value":null}]
[task 2020-05-06T21:45:27.318Z] 21:45:27     INFO -  1588801527309	Marionette	DEBUG	68 -> [0,8,"Marionette:GetContext",{}]
[task 2020-05-06T21:45:27.319Z] 21:45:27     INFO -  1588801527309	Marionette	DEBUG	68 <- [1,8,null,{"value":"content"}]
[task 2020-05-06T21:45:27.319Z] 21:45:27     INFO -  1588801527310	Marionette	DEBUG	68 -> [0,9,"Marionette:SetContext",{"value":"content"}]
[task 2020-05-06T21:45:27.320Z] 21:45:27     INFO -  1588801527310	Marionette	DEBUG	68 <- [1,9,null,{"value":null}]
[task 2020-05-06T21:45:27.320Z] 21:45:27     INFO -  1588801527311	Marionette	DEBUG	68 -> [0,10,"WebDriver:GetPageSource",{}]
[task 2020-05-06T21:45:27.320Z] 21:45:27     INFO -  1588801527312	Marionette	DEBUG	68 <- [1,10,null,{"value":"<html><head>\n<title>Marionette Test</title>\n</head>\n<body>\n\n \n</body></html>"}]
[task 2020-05-06T21:45:27.321Z] 21:45:27    ERROR -  TEST-UNEXPECTED-FAIL | testing/marionette/harness/marionette_harness/tests/unit/test_unhandled_prompt_behavior.py TestUnhandledPromptBehavior.test_ignore_prompt | AssertionError: UnexpectedAlertOpen not raised
[task 2020-05-06T21:45:27.321Z] 21:45:27     INFO -  Traceback (most recent call last):
[task 2020-05-06T21:45:27.321Z] 21:45:27     INFO -    File "Z:\task_1588796906\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 159, in run
[task 2020-05-06T21:45:27.321Z] 21:45:27     INFO -      testMethod()
[task 2020-05-06T21:45:27.321Z] 21:45:27     INFO -    File "Z:\task_1588796906\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 33, in wrapper
[task 2020-05-06T21:45:27.322Z] 21:45:27     INFO -      return func(self, *args, **kwargs)
[task 2020-05-06T21:45:27.322Z] 21:45:27     INFO -    File "Z:\task_1588796906\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_unhandled_prompt_behavior.py", line 103, in test_ignore
[task 2020-05-06T21:45:27.322Z] 21:45:27     INFO -      expected_close=False)
[task 2020-05-06T21:45:27.322Z] 21:45:27     INFO -    File "Z:\task_1588796906\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_unhandled_prompt_behavior.py", line 49, in perform_user_prompt_check
[task 2020-05-06T21:45:27.322Z] 21:45:27     INFO -      self.marionette.title
[task 2020-05-06T21:45:27.322Z] 21:45:27     INFO -  TEST-INFO took 140ms
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
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.