Closed Bug 1517106 Opened 5 years ago Closed 5 years ago

Intermittent testing\firefox-ui\tests\functional\sessionstore\test_restore_windows_after_windows_shutdown.py TestWindowsShutdown.test_with_variety | IOError: Process still running 70s after quit request

Categories

(Testing :: Firefox UI Tests, defect, P5)

defect

Tracking

(firefox-esr60 fixed, firefox65 fixed, firefox66 fixed, firefox67 fixed)

RESOLVED FIXED
Tracking Status
firefox-esr60 --- fixed
firefox65 --- fixed
firefox66 --- fixed
firefox67 --- fixed

People

(Reporter: intermittent-bug-filer, Unassigned)

References

Details

(Keywords: hang, intermittent-failure, regression)

Filed by: rmaries [at] mozilla.com

https://treeherder.mozilla.org/logviewer.html#?job_id=219489289&repo=mozilla-central

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

11:47:24     INFO -  ERROR: GC found live SharedScriptData 000001EFDAD87880 with ref count 2 at shutdown
11:47:24     INFO -  ERROR: GC found live SharedScriptData 000001EFDAD34340 with ref count 2 at shutdown
11:47:24     INFO -  ERROR: GC found live SharedScriptData 000001EFDAD8EEE0 with ref count 2 at shutdown
11:47:24     INFO -  ERROR: GC found live SharedScriptData 000001EFDE023580 with ref count 2 at shutdown
11:47:24     INFO -  Assertion failure: m_refCount == 1, at z:/build/build/src/js/src/jit/ExecutableAllocator.cpp:49
11:48:31     INFO - TEST-UNEXPECTED-ERROR | testing\firefox-ui\tests\functional\sessionstore\test_restore_windows_after_windows_shutdown.py TestWindowsShutdown.test_with_variety | IOError: Process still running 70s after quit request
11:48:31     INFO - Traceback (most recent call last):
11:48:31     INFO -   File "Z:\task_1546341251\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 159, in run
11:48:31     INFO -     testMethod()
11:48:31     INFO -   File "Z:\task_1546341251\build\tests\firefox-ui\tests\testing\firefox-ui\tests\functional\sessionstore\test_restore_windows_after_windows_shutdown.py", line 32, in test_with_variety
11:48:31     INFO -     self.windows_shutdown_with_variety(restart_by_os=False, expect_restore=True)
11:48:31     INFO -   File "Z:\task_1546341251\build\tests\firefox-ui\tests\testing\firefox-ui\tests\functional\sessionstore\session_store_test_case.py", line 310, in windows_shutdown_with_variety
11:48:31     INFO -     self.marionette.quit(in_app=True, callback=lambda: self.simulate_os_shutdown())
11:48:31     INFO -   File "Z:\task_1546341251\build\venv\lib\site-packages\marionette_driver\decorators.py", line 26, in _
11:48:31     INFO -     return func(*args, **kwargs)
11:48:31     INFO -   File "Z:\task_1546341251\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1128, in quit
11:48:31     INFO -     raise IOError(message.format(self.shutdown_timeout))
11:48:31     INFO - TEST-INFO took 126471ms
11:48:31    ERROR - test_end for testing\firefox-ui\tests\functional\sessionstore\test_restore_windows_after_windows_shutdown.py TestWindowsShutdown.test_with_variety logged while not in progress. Logged with data: {"status": "ERROR", "extra": {"class_name": "test_restore_windows_after_windows_shutdown.TestWindowsShutdown", "method_name": "test_with_variety"}, "expected": "PASS", "test": "testing\\firefox-ui\\tests\\functional\\sessionstore\\test_restore_windows_after_windows_shutdown.py TestWindowsShutdown.test_with_variety", "message": "InvalidSessionIdException: Please start a session", "stack": "Traceback (most recent call last):\n  File \"Z:\\task_1546341251\\build\\venv\\lib\\site-packages\\marionette_harness\\marionette_test\\testcases.py\", line 190, in run\n    self.tearDown()\n  File \"Z:\\task_1546341251\\build\\tests\\firefox-ui\\tests\\testing\\firefox-ui\\tests\\functional\\sessionstore\\session_store_test_case.py\", line 65, in tearDown\n    super(SessionStoreTestCase, self).tearDown()\n  File \"Z:\\task_1546341251\\build\\venv\\lib\\site-packages\\firefox_puppeteer\\mixins.py\", line 97, in tearDown\n    self.marionette.set_context('chrome')\n  File \"Z:\\task_1546341251\\build\\venv\\lib\\site-packages\\marionette_driver\\marionette.py\", line 1461, in set_context\n    {\"value\": context})\n  File \"Z:\\task_1546341251\\build\\venv\\lib\\site-packages\\marionette_driver\\decorators.py\", line 26, in _\n    return func(*args, **kwargs)\n  File \"Z:\\task_1546341251\\build\\venv\\lib\\site-packages\\marionette_driver\\marionette.py\", line 753, in _send_message\n    raise errors.InvalidSessionIdException(\"Please start a session\")\n"}
This is clearly a shutdown hang of Firefox. I can see the assertion as covered on bug 1486101 during the shutdown process, which might actually be causing this hang.
Severity: normal → critical
Component: Firefox UI Tests → General
Depends on: 1486101
Keywords: hang
Product: Testing → Firefox
QA Contact: hskupin
Version: Version 3 → unspecified

No more failures since 20 days. I'm going to mark it as WFM.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME

Most likely fixed by the upgrade of Windows workers to 1803 by bug 1522896.

Component: General → Firefox UI Tests
Depends on: 1522896
Product: Firefox → Testing
QA Contact: hskupin
Resolution: WORKSFORME → FIXED
You need to log in before you can comment on or make changes to this bug.