Closed Bug 1631567 Opened 4 years ago Closed 4 years ago

Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_unhandled_prompt_behavior.py TestUnhandledPromptBehavior.test_accept_prompt | AssertionError: None != ''

Categories

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

Version 3
defect

Tracking

(firefox76 unaffected, firefox77 wontfix, firefox78 fixed)

RESOLVED FIXED
mozilla78
Tracking Status
firefox76 --- unaffected
firefox77 --- wontfix
firefox78 --- fixed

People

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

References

Details

(Keywords: intermittent-failure)

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


[task 2020-04-20T17:28:59.654Z] 17:28:59 INFO - 1587403739651 Marionette DEBUG 45 -> [0,5,"WebDriver:ExecuteScript",{"script":"return window.return_value","newSandbox":false,"args":[],"filename":"Z:\task_15874 ... ing\marionette\harness\marionette_harness\tests\unit\test_unhandled_prompt_behavior.py","sandbox":"default","line":64}]
[task 2020-04-20T17:28:59.657Z] 17:28:59 INFO - 1587403739653 Marionette DEBUG 45 <- [1,5,null,{"value":null}]
[task 2020-04-20T17:28:59.657Z] 17:28:59 INFO - 1587403739655 Marionette DEBUG 45 -> [0,6,"Marionette:GetContext",{}]
[task 2020-04-20T17:28:59.660Z] 17:28:59 INFO - 1587403739655 Marionette DEBUG 45 <- [1,6,null,{"value":"content"}]
[task 2020-04-20T17:28:59.660Z] 17:28:59 INFO - 1587403739656 Marionette DEBUG 45 -> [0,7,"Marionette:SetContext",{"value":"chrome"}]
[task 2020-04-20T17:28:59.660Z] 17:28:59 INFO - 1587403739657 Marionette DEBUG 45 <- [1,7,null,{"value":null}]
[task 2020-04-20T17:28:59.660Z] 17:28:59 INFO - 1587403739657 Marionette DEBUG 45 -> [0,8,"WebDriver:TakeScreenshot",{"full":true,"hash":false,"id":null,"scroll":true}]
[task 2020-04-20T17:28:59.747Z] 17:28:59 INFO - 1587403739743 Marionette DEBUG 45 <- [1,8,null,{"value":"iVBORw0KGgoAAAANSUhEUgAABQAAAAQHCAYAAACjlsT7AAAgAElEQVR4nOzdbZDU9Z3v/Xl46tqnVO3jiwdbRdXxVLmJMbupnFMWtbUrO ... ACAAAAwJgABAAAAIAxAQgAAAAAYwIQAAAAAMYEIAAAAACMCUAAAAAAGBOAAAAAADAmAAEAAABgTAACAAAAwJgABAAAAICxAN/R8pZc//HKAAAAAElFTkSuQmCC"}]
[task 2020-04-20T17:28:59.750Z] 17:28:59 INFO - 1587403739746 Marionette DEBUG 45 -> [0,9,"Marionette:SetContext",{"value":"content"}]
[task 2020-04-20T17:28:59.750Z] 17:28:59 INFO - 1587403739746 Marionette DEBUG 45 <- [1,9,null,{"value":null}]
[task 2020-04-20T17:28:59.750Z] 17:28:59 INFO - 1587403739747 Marionette DEBUG 45 -> [0,10,"Marionette:GetContext",{}]
[task 2020-04-20T17:28:59.751Z] 17:28:59 INFO - 1587403739747 Marionette DEBUG 45 <- [1,10,null,{"value":"content"}]
[task 2020-04-20T17:28:59.751Z] 17:28:59 INFO - 1587403739748 Marionette DEBUG 45 -> [0,11,"Marionette:SetContext",{"value":"content"}]
[task 2020-04-20T17:28:59.751Z] 17:28:59 INFO - 1587403739748 Marionette DEBUG 45 <- [1,11,null,{"value":null}]
[task 2020-04-20T17:28:59.751Z] 17:28:59 INFO - 1587403739748 Marionette DEBUG 45 -> [0,12,"WebDriver:GetPageSource",{}]
[task 2020-04-20T17:28:59.754Z] 17:28:59 INFO - 1587403739750 Marionette DEBUG 45 <- [1,12,null,{"value":"<html><head>\n<title>Marionette Test</title>\n</head>\n<body>\n\n \n</body></html>"}]
[task 2020-04-20T17:28:59.754Z] 17:28:59 INFO - 1587403739751 Marionette DEBUG 45 -> [0,13,"Marionette:SetContext",{"value":"content"}]
[task 2020-04-20T17:28:59.754Z] 17:28:59 INFO - 1587403739751 Marionette DEBUG 45 <- [1,13,null,{"value":null}]
[task 2020-04-20T17:28:59.757Z] 17:28:59 ERROR - TEST-UNEXPECTED-FAIL | testing/marionette/harness/marionette_harness/tests/unit/test_unhandled_prompt_behavior.py TestUnhandledPromptBehavior.test_accept_prompt | AssertionError: None != ''
[task 2020-04-20T17:28:59.757Z] 17:28:59 INFO - Traceback (most recent call last):
[task 2020-04-20T17:28:59.757Z] 17:28:59 INFO - File "Z:\task_1587400084\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 159, in run
[task 2020-04-20T17:28:59.757Z] 17:28:59 INFO - testMethod()
[task 2020-04-20T17:28:59.758Z] 17:28:59 INFO - File "Z:\task_1587400084\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 33, in wrapper
[task 2020-04-20T17:28:59.758Z] 17:28:59 INFO - return func(self, *args, **kwargs)
[task 2020-04-20T17:28:59.758Z] 17:28:59 INFO - File "Z:\task_1587400084\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_unhandled_prompt_behavior.py", line 73, in test_accept
[task 2020-04-20T17:28:59.758Z] 17:28:59 INFO - expected_notify=False)
[task 2020-04-20T17:28:59.758Z] 17:28:59 INFO - File "Z:\task_1587400084\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_unhandled_prompt_behavior.py", line 65, in perform_user_prompt_check
[task 2020-04-20T17:28:59.758Z] 17:28:59 INFO - self.assertEqual(prompt_result, expected_result)
[task 2020-04-20T17:28:59.758Z] 17:28:59 INFO - TEST-INFO took 137ms

This fails because of:

[task 2020-04-20T17:28:59.651Z] 17:28:59 INFO - JavaScript error: resource://gre/modules/Prompter.jsm, line 639: NS_ERROR_NOT_AVAILABLE: prompt aborted by user

No more failures since the patch on bug 1631362 got landed.

Assignee: nobody → pbz
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
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.