GUI acceptance tests using environment deployed from packages.
Build: #2950 failed
Job: Oneprovider ACL directories privileges remove failed
remove empty directory[1oz 1op deployed-succeeds-[deletion:delete, content:delete child, content:list files, content:traverse directory]-group-group1]: Test case result
The below summarizes the result of the test " remove empty directory[1oz 1op deployed-succeeds-[deletion:delete, content:delete child, content:list files, content:traverse directory]-group-group1]" in build 2,950 of Onedata Products - gui acceptance pkg - Oneprovider ACL directories privileges remove.
- Description
- remove empty directory[1oz 1op deployed-succeeds-[deletion:delete, content:delete child, content:list files, content:traverse directory]-group-group1]
- Test class
- gui.scenarios.test_oneprovider_acl_dir_privileges_remove
- Method
- test_remove_empty_directory[1oz_1op_deployed-succeeds-[deletion:delete, content:delete child, content:list files, content:traverse directory]-group-group1]
- Duration
- 11 secs
- Status
- Failed (New Failure)
Error Log
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited normally. (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/local/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Stacktrace: #0 0x564dae4f22b3 <unknown> #1 0x564dae2222d7 <unknown> #2 0x564dae24d2ab <unknown> #3 0x564dae24a2f9 <unknown> #4 0x564dae2889a3 <unknown> #5 0x564dae2880ef <unknown> #6 0x564dae27fb73 <unknown> #7 0x564dae2551ab <unknown> #8 0x564dae255f4e <unknown> #9 0x564dae4b3668 <unknown> #10 0x564dae4b7627 <unknown> #11 0x564dae4c1b8c <unknown> #12 0x564dae4b8253 <unknown> #13 0x564dae486927 <unknown> #14 0x564dae4dc018 <unknown> #15 0x564dae4dc1a6 <unknown> #16 0x564dae4eaee3 <unknown> #17 0x7f41c8178a94 <unknown> #18 0x7f41c8205a34 __clone fixturefunc = <function login_using_gui at 0x7fef378fefc0> request = <FixtureRequest for <Function test_remove_empty_directory[1oz_1op_deployed-succeeds-[deletion:delete, content:delete child, content:list files, content:traverse directory]-group-group1]>> kwargs = {'browser_id_list': '[browser_user1, space_owner_browser]', 'capabilities': {'options': <selenium.webdriver.chrome.opt... object at 0x7fef374bc9b0>}, 'displays': {}, 'driver': <function driver.<locals>._get_instance at 0x7fef37489ee0>, ...} def call_fixture_func( fixturefunc: "_FixtureFunc[FixtureValue]", request: FixtureRequest, kwargs ) -> FixtureValue: if is_generator(fixturefunc): fixturefunc = cast( Callable[..., Generator[FixtureValue, None, None]], fixturefunc ) generator = fixturefunc(**kwargs) try: fixture_result = next(generator) except StopIteration: raise ValueError(f"{request.fixturename} did not yield a value") from None finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator) request.addfinalizer(finalizer) else: fixturefunc = cast(Callable[..., FixtureValue], fixturefunc) > fixture_result = fixturefunc(**kwargs) /usr/local/lib/python3.12/dist-packages/_pytest/fixtures.py:913: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) /usr/local/lib/python3.12/dist-packages/decorator.py:232: in fun return caller(func, *(extras + args), **kw) tests/utils/utils.py:93: in wrapper return fun(*args, **kwargs) tests/gui/meta_steps/onezone/common.py:56: in login_using_gui create_instances_of_webdriver( tests/gui/steps/common/browser_creation.py:61: in create_instances_of_webdriver browser = driver() tests/conftest.py:416: in _get_instance web_driver = driver_factory.get_instance() tests/conftest.py:445: in _get_instance return ChromeWithAllLogs(**kwargs) tests/conftest.py:456: in __init__ super().__init__(*args, **kwargs) /usr/local/lib/python3.12/dist-packages/selenium/webdriver/chrome/webdriver.py:45: in __init__ super().__init__( /usr/local/lib/python3.12/dist-packages/selenium/webdriver/chromium/webdriver.py:66: in __init__ super().__init__(command_executor=executor, options=options) /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/webdriver.py:212: in __init__ self.start_session(capabilities) /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/webdriver.py:299: in start_session response = self.execute(Command.NEW_SESSION, caps)["value"] /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/webdriver.py:354: in execute self.error_handler.check_response(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7fef374bf5f0> response = {'status': 500, 'value': '{"value":{"error":"unknown error","message":"unknown error: Chrome failed to start: exited n...unknown>\\n#16 0x564dae4eaee3 \\u003Cunknown>\\n#17 0x7f41c8178a94 \\u003Cunknown>\\n#18 0x7f41c8205a34 __clone\\n"}}'} def check_response(self, response: Dict[str, Any]) -> None: """Checks that a JSON response from the WebDriver does not have an error. :Args: - response - The JSON response from the WebDriver server as a dictionary object. :Raises: If the response contains an error message. """ status = response.get("status", None) if not status or status == ErrorCode.SUCCESS: return value = None message = response.get("message", "") screen: str = response.get("screen", "") stacktrace = None if isinstance(status, int): value_json = response.get("value", None) if value_json and isinstance(value_json, str): import json try: value = json.loads(value_json) if len(value) == 1: value = value["value"] status = value.get("error", None) if not status: status = value.get("status", ErrorCode.UNKNOWN_ERROR) message = value.get("value") or value.get("message") if not isinstance(message, str): value = message message = message.get("message") else: message = value.get("message", None) except ValueError: pass exception_class: Type[WebDriverException] e = ErrorCode() error_codes = [item for item in dir(e) if not item.startswith("__")] for error_code in error_codes: error_info = getattr(ErrorCode, error_code) if isinstance(error_info, list) and status in error_info: exception_class = getattr(ExceptionMapping, error_code, WebDriverException) break else: exception_class = WebDriverException if not value: value = response["value"] if isinstance(value, str): raise exception_class(value) if message == "" and "message" in value: message = value["message"] screen = None # type: ignore[assignment] if "screen" in value: screen = value["screen"] stacktrace = None st_value = value.get("stackTrace") or value.get("stacktrace") if st_value: if isinstance(st_value, str): stacktrace = st_value.split("\n") else: stacktrace = [] try: for frame in st_value: line = frame.get("lineNumber", "") file = frame.get("fileName", "<anonymous>") if line: file = f"{file}:{line}" meth = frame.get("methodName", "<anonymous>") if "className" in frame: meth = f"{frame['className']}.{meth}" msg = " at %s (%s)" msg = msg % (meth, file) stacktrace.append(msg) except TypeError: pass if exception_class == UnexpectedAlertPresentException: alert_text = None if "data" in value: alert_text = value["data"].get("text") elif "alert" in value: alert_text = value["alert"].get("text") raise exception_class(message, screen, stacktrace, alert_text) # type: ignore[call-arg] # mypy is not smart enough here > raise exception_class(message, screen, stacktrace) E selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited normally. E (unknown error: DevToolsActivePort file doesn't exist) E (The process started from chrome location /usr/local/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) E Stacktrace: E #0 0x564dae4f22b3 <unknown> E #1 0x564dae2222d7 <unknown> E #2 0x564dae24d2ab <unknown> E #3 0x564dae24a2f9 <unknown> E #4 0x564dae2889a3 <unknown> E #5 0x564dae2880ef <unknown> E #6 0x564dae27fb73 <unknown> E #7 0x564dae2551ab <unknown> E #8 0x564dae255f4e <unknown> E #9 0x564dae4b3668 <unknown> E #10 0x564dae4b7627 <unknown> E #11 0x564dae4c1b8c <unknown> E #12 0x564dae4b8253 <unknown> E #13 0x564dae486927 <unknown> E #14 0x564dae4dc018 <unknown> E #15 0x564dae4dc1a6 <unknown> E #16 0x564dae4eaee3 <unknown> E #17 0x7f41c8178a94 <unknown> E #18 0x7f41c8205a34 __clone /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/errorhandler.py:229: WebDriverException