Closed Bug 1539312 Opened 5 years ago Closed 5 years ago

windows/aarch64 - testing\marionette\harness\marionette_harness\tests\unit\test_crash.py | AssertionError: "Process crashed" does not match "Process has been unexpectedly closed (Exit code: 3221225501)

Categories

(Remote Protocol :: Marionette, defect, P5)

Version 3
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1540784

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

#[markdown(off)]
Filed by: egao [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=236167486&repo=try

https://queue.taskcluster.net/v1/task/ezptD6kvQCS8yIzs8JVJrw/runs/0/artifacts/public/logs/live_backing.log

Test: Mn

Platform: windows10-aarch64

Context:
21:28:05 INFO - TEST-START | testing\marionette\harness\marionette_harness\tests\unit\test_crash.py TestCrash.test_crash_chrome_process
21:28:05 INFO - 1553635685378 Marionette DEBUG Accepted connection 25 from 127.0.0.1:52733
21:28:05 INFO - 1553635685381 Marionette DEBUG 25 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
21:28:05 INFO - 1553635685385 Marionette TRACE [6442450945] Frame script loaded
21:28:05 INFO - 1553635685387 Marionette TRACE [6442450945] Frame script registered
21:28:05 INFO - 1553635685390 Marionette DEBUG 25 <- [1,1,null,{"sessionId":"c5ff873e-7034-4a7d-9a5c-7dc8050e919b","capabilities":{"browserName":"firefox","browserVersion":"68.0a ... p\\tmpjq3pvd.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
21:28:05 INFO - 1553635685395 Marionette DEBUG 25 -> [0,2,"WebDriver:SetTimeouts",{"script":30000}]
21:28:05 INFO - 1553635685396 Marionette DEBUG 25 <- [1,2,null,{"value":null}]
21:28:05 INFO - 1553635685398 Marionette DEBUG 25 -> [0,3,"WebDriver:SetTimeouts",{"pageLoad":300000}]
21:28:05 INFO - 1553635685398 Marionette DEBUG 25 <- [1,3,null,{"value":null}]
21:28:05 INFO - 1553635685401 Marionette DEBUG 25 -> [0,4,"WebDriver:SetTimeouts",{"implicit":0}]
21:28:05 INFO - 1553635685402 Marionette DEBUG 25 <- [1,4,null,{"value":null}]
21:28:05 INFO - 1553635685407 Marionette DEBUG 25 -> [0,5,"Marionette:GetContext",{}]
21:28:05 INFO - 1553635685407 Marionette DEBUG 25 <- [1,5,null,{"value":"content"}]
21:28:05 INFO - 1553635685410 Marionette DEBUG 25 -> [0,6,"Marionette:SetContext",{"value":"chrome"}]
21:28:05 INFO - 1553635685410 Marionette DEBUG 25 <- [1,6,null,{"value":null}]
21:28:05 INFO - 1553635685418 Marionette DEBUG 25 -> [0,7,"WebDriver:ExecuteScript",{"script":"Cu.import(\"resource://gre/modules/AppConstants.jsm\");\n return App ... ionette\\tests\\testing\\marionette\\harness\\marionette_harness\\tests\\unit\\test_crash.py","sandbox":"default","line":34}]
21:28:05 INFO - 1553635685423 Marionette DEBUG 25 <- [1,7,null,{"value":true}]
21:28:05 INFO - 1553635685426 Marionette DEBUG 25 -> [0,8,"Marionette:SetContext",{"value":"content"}]
21:28:05 INFO - 1553635685427 Marionette DEBUG 25 <- [1,8,null,{"value":null}]
21:28:05 INFO - 1553635685430 Marionette DEBUG 25 -> [0,9,"Marionette:SetContext",{"value":"content"}]
21:28:05 INFO - 1553635685431 Marionette DEBUG 25 <- [1,9,null,{"value":null}]
21:28:05 INFO - 1553635685433 Marionette DEBUG 25 -> [0,10,"WebDriver:Navigate",{"url":"about:crashparent"}]
21:28:05 INFO - 1553635685441 Marionette TRACE [6442450945] Received DOM event beforeunload for data:text/html;charset=utf-8,%3Cselect%20multiple%3E%20%3Coption%3Efirst%20%3C/select%3E
21:28:05 INFO - 1553635685474 Marionette TRACE [6442450945] Received DOM event pagehide for data:text/html;charset=utf-8,%3Cselect%20multiple%3E%20%3Coption%3Efirst%20%3C/select%3E
21:28:05 INFO - 1553635685476 Marionette TRACE [6442450945] Received DOM event unload for data:text/html;charset=utf-8,%3Cselect%20multiple%3E%20%3Coption%3Efirst%20%3C/select%3E
21:28:05 INFO - 1553635685479 Marionette TRACE [6442450945] Received observer notification outer-window-destroyed
21:28:05 INFO - 1553635685485 Marionette TRACE [17] Frame script loaded
21:28:05 INFO - 1553635685486 Marionette TRACE [17] Frame script registered
21:28:05 INFO - Exiting due to channel error.
21:28:10 ERROR - TEST-UNEXPECTED-FAIL | testing\marionette\harness\marionette_harness\tests\unit\test_crash.py TestCrash.test_crash_chrome_process | AssertionError: "Process crashed" does not match "Process has been unexpectedly closed (Exit code: 3221225501) (Reason: [Errno 10054] An existing connection was forcibly closed by the remote host)"
21:28:10 INFO - Traceback (most recent call last):
21:28:10 INFO - File "C:\tasks\task_1553634905\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 159, in run
21:28:10 INFO - testMethod()
21:28:10 INFO - File "C:\tasks\task_1553634905\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_crash.py", line 102, in test_crash_chrome_process
21:28:10 INFO - self.crash, parent=True)
21:28:10 INFO - TEST-INFO took 5417ms
21:28:10 INFO - Application command: C:\tasks\task_1553634905\build\application\firefox\firefox.exe -no-remote -marionette --wait-for-browser -profile c:\users\testdr~1\appdata\local\temp\tmpjq3pvd.mozrunner
21:28:11 INFO - 1553635691223 Marionette TRACE Received observer notification profile-after-change
21:28:11 INFO - 1553635691303 Marionette TRACE Received observer notification command-line-startup
21:28:11 INFO - 1553635691304 Marionette TRACE Received observer notification nsPref:changed
21:28:11 INFO - 1553635691304 Marionette DEBUG Init aborted (running=false, enabled=true, finalUIStartup=false)
21:28:11 INFO - 1553635691380 Marionette TRACE Received observer notification toplevel-window-ready
21:28:13 INFO - 1553635692986 Marionette TRACE Received observer notification marionette-startup-requested
21:28:13 INFO - 1553635692986 Marionette TRACE Waiting until startup recorder finished recording startup scripts...
21:28:13 INFO - 1553635692995 Marionette TRACE All scripts recorded.
21:28:13 INFO - 1553635693057 Marionette INFO Listening on port 2828
21:28:13 INFO - 1553635693058 Marionette DEBUG Remote service is active
21:28:13 INFO - 1553635693079 Marionette DEBUG Accepted connection 0 from 127.0.0.1:52740
21:28:13 INFO - 1553635693169 Marionette DEBUG Closed connection 0
21:28:13 INFO - 1553635693170 Marionette DEBUG Accepted connection 1 from 127.0.0.1:52743
21:28:13 INFO - 1553635693275 Marionette DEBUG Accepted connection 2 from 127.0.0.1:52751
21:28:13 INFO - 1553635693288 Marionette DEBUG Closed connection 2
21:28:13 INFO - 1553635693289 Marionette DEBUG Closed connection 1
21:28:13 INFO - 1553635693289 Marionette DEBUG Accepted connection 3 from 127.0.0.1:52752
21:28:13 INFO - 1553635693300 Marionette DEBUG 3 -> [0,1,"WebDriver:NewSession",{"strictFileInteractability":true}]
21:28:13 INFO - 1553635693332 Marionette TRACE [2147483649] Frame script loaded
21:28:13 INFO - 1553635693334 Marionette TRACE [2147483649] Frame script registered
21:28:13 INFO - 1553635693344 Marionette DEBUG 3 <- [1,1,null,{"sessionId":"99977324-323b-4597-bfb6-985c4c9f5471","capabilities":{"browserName":"firefox","browserVersion":"68.0a ... p\\tmpjq3pvd.mozrunner","moz:shutdownTimeout":60000,"moz:useNonSpecCompliantPointerOrigin":false,"moz:webdriverClick":true}}]
21:28:13 INFO - 1553635693355 Marionette DEBUG 3 -> [0,2,"WebDriver:DeleteSession",{}]
21:28:13 INFO - 1553635693357 Marionette DEBUG 3 <- [1,2,null,{"value":null}]

This is a new failure that is also observed for Marionette-Headless as well.

Summary: windows/aarch64 - testing\marionette\harness\marionette_harness\tests\unit\test_crash.py TestCrash.test_crash_chrome_process | AssertionError: "Process crashed" does not match "Process has been unexpectedly closed (Exit code: 3221225501) → windows/aarch64 - testing\marionette\harness\marionette_harness\tests\unit\test_crash.py | AssertionError: "Process crashed" does not match "Process has been unexpectedly closed (Exit code: 3221225501)

Use this bug as generic catch-all for new failures that cropped up on the try run linked in comment 0.

  • TestCrash.test_crash_chrome_process
  • TestCrash.test_crash_content_process
  • TestCrashInSetUp.test_crash_in_setup
  • TestCrashInTearDown.test_crash_in_teardown

Gabriele, I assume this also depends on bug 1536221 for correct crash reporting?

Flags: needinfo?(gsvelto)

Yes, I believe none of the crash reporter tests are working ATM.

Flags: needinfo?(gsvelto)
Status: NEW → RESOLVED
Closed: 5 years ago
No longer depends on: 1536221
Resolution: --- → DUPLICATE
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.