Closed Bug 1824129 Opened 2 years ago Closed 2 years ago

Intermittent testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py TestTLSNavigation.test_deactivation | marionette_driver.errors.InvalidSessionIdException: Please start a session

Categories

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

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1635776

People

(Reporter: intermittent-bug-filer, Unassigned)

Details

(Keywords: intermittent-failure)

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


[task 2023-03-23T11:42:10.476Z] 11:42:10     INFO -  TEST-START | testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py TestTLSNavigation.test_deactivation
[task 2023-03-23T11:42:10.731Z] 11:42:10     INFO -  with safe session
[task 2023-03-23T11:42:11.609Z] 11:42:11     INFO -  with unsafe session
[task 2023-03-23T11:42:12.083Z] 11:42:12     INFO -  with safe session again
[task 2023-03-23T11:44:28.828Z] 11:44:28     INFO -  WARNING | IO Completion Port failed to signal process shutdown
[task 2023-03-23T11:44:28.829Z] 11:44:28     INFO -  Parent process 4540 exited with children alive:
[task 2023-03-23T11:44:28.830Z] 11:44:28     INFO -  PIDS: 4448, 8032, 8812, 8596, 5216, 3256, 2460, 8452, 6656, 9256, 9304, 5944
[task 2023-03-23T11:44:28.830Z] 11:44:28     INFO -  Attempting to kill them, but no guarantee of success
[task 2023-03-23T11:48:12.444Z] 11:48:12    ERROR -  TEST-UNEXPECTED-ERROR | testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py TestTLSNavigation.test_deactivation | marionette_driver.errors.InvalidSessionIdException: Please start a session
[task 2023-03-23T11:48:12.444Z] 11:48:12     INFO -  Traceback (most recent call last):
[task 2023-03-23T11:48:12.452Z] 11:48:12     INFO -    File "Z:\task_167957025726227\build\venv\lib\site-packages\marionette_harness\marionette_test\testcases.py", line 198, in run
[task 2023-03-23T11:48:12.452Z] 11:48:12     INFO -      testMethod()
[task 2023-03-23T11:48:12.452Z] 11:48:12     INFO -    File "Z:\task_167957025726227\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_navigation.py", line 842, in test_deactivation
[task 2023-03-23T11:48:12.453Z] 11:48:12     INFO -      session.navigate(invalid_cert_url)
[task 2023-03-23T11:48:12.453Z] 11:48:12     INFO -    File "c:\mozilla-build\python3\lib\contextlib.py", line 137, in __exit__
[task 2023-03-23T11:48:12.453Z] 11:48:12     INFO -      self.gen.throw(typ, value, traceback)
[task 2023-03-23T11:48:12.454Z] 11:48:12     INFO -    File "Z:\task_167957025726227\build\tests\marionette\tests\testing\marionette\harness\marionette_harness\tests\unit\test_navigation.py", line 793, in safe_session
[task 2023-03-23T11:48:12.454Z] 11:48:12     INFO -      self.close_all_tabs()
[task 2023-03-23T11:48:12.454Z] 11:48:12     INFO -    File "Z:\task_167957025726227\build\venv\lib\site-packages\marionette_harness\runner\mixins\window_manager.py", line 31, in close_all_tabs
[task 2023-03-23T11:48:12.454Z] 11:48:12     INFO -      current_window_handles = self.marionette.window_handles
[task 2023-03-23T11:48:12.455Z] 11:48:12     INFO -    File "Z:\task_167957025726227\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1441, in window_handles
[task 2023-03-23T11:48:12.455Z] 11:48:12     INFO -      with self.using_context("content"):
[task 2023-03-23T11:48:12.455Z] 11:48:12     INFO -    File "c:\mozilla-build\python3\lib\contextlib.py", line 119, in __enter__
[task 2023-03-23T11:48:12.455Z] 11:48:12     INFO -      return next(self.gen)
[task 2023-03-23T11:48:12.456Z] 11:48:12     INFO -    File "Z:\task_167957025726227\build\venv\lib\site-packages\marionette_driver\marionette.py", line 1522, in using_context
[task 2023-03-23T11:48:12.456Z] 11:48:12     INFO -      scope = self._send_message("Marionette:GetContext", key="value")
[task 2023-03-23T11:48:12.456Z] 11:48:12     INFO -    File "Z:\task_167957025726227\build\venv\lib\site-packages\marionette_driver\decorators.py", line 24, in _
[task 2023-03-23T11:48:12.457Z] 11:48:12     INFO -      return func(*args, **kwargs)
[task 2023-03-23T11:48:12.457Z] 11:48:12     INFO -    File "Z:\task_167957025726227\build\venv\lib\site-packages\marionette_driver\marionette.py", line 693, in _send_message
[task 2023-03-23T11:48:12.457Z] 11:48:12     INFO -      raise errors.InvalidSessionIdException("Please start a session")
[task 2023-03-23T11:48:12.457Z] 11:48:12     INFO -  TEST-INFO took 361980ms
Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1635776
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.