Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #3276 failed
Job: Spaces basic failed
user renames space using client1 and using client2 he sees that it has been renamed[1oz 1op 1oc-web GUi-RESt]: Test case result
The below summarizes the result of the test " user renames space using client1 and using client2 he sees that it has been renamed[1oz 1op 1oc-web GUi-RESt]" in build 3,276 of Onedata Products - mixed acceptance pkg - Spaces basic.
- Description
- user renames space using client1 and using client2 he sees that it has been renamed[1oz 1op 1oc-web GUi-RESt]
- Test class
- mixed.scenarios.test_spaces_basic
- Method
- test_user_renames_space_using_client1_and_using_client2_he_sees_that_it_has_been_renamed[1oz_1op_1oc-web GUI-REST]
- Duration
- 54 secs
- Status
- Failed (Existing Failure)
Error Log
RuntimeError: no item found in SpaceOverviewPage in DataPage in Onezone page web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="33232d1736a030461e0d66d393ac2221", element="f.EDF881F836F921086D8C47E80EEA0425.d.403BAEEF5C5C8B6D55A423054470BF06.e.86")> css_sel = '.resource-info-tile' err_msg = 'no item found in SpaceOverviewPage in DataPage in Onezone page' def find_web_elem(web_elem_root, css_sel, err_msg): try: _scroll_to_css_sel(web_elem_root, css_sel) > item = web_elem_root.find_element(By.CSS_SELECTOR, css_sel) tests/gui/utils/generic.py:148: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/webelement.py:417: in find_element return self._execute(Command.FIND_CHILD_ELEMENT, {"using": by, "value": value})["value"] /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/webelement.py:395: in _execute return self._parent.execute(command, params) /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 0x7f62c7fe9b80> response = {'status': 404, 'value': '{"value":{"error":"no such element","message":"no such element: Unable to locate element: {\...unknown>\\n#19 0x5617a864cf86 \\u003Cunknown>\\n#20 0x7f8494ddca94 \\u003Cunknown>\\n#21 0x7f8494e69a34 __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.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":".resource-info-tile"} E (Session info: chrome=130.0.6723.69); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception E Stacktrace: E #0 0x5617a864e10a <unknown> E #1 0x5617a8169460 <unknown> E #2 0x5617a81b5f96 <unknown> E #3 0x5617a81b6221 <unknown> E #4 0x5617a81aaa66 <unknown> E #5 0x5617a81da03d <unknown> E #6 0x5617a81aa958 <unknown> E #7 0x5617a81da1de <unknown> E #8 0x5617a81f8af6 <unknown> E #9 0x5617a81d9db3 <unknown> E #10 0x5617a81a8c10 <unknown> E #11 0x5617a81a9bee <unknown> E #12 0x5617a861a39b <unknown> E #13 0x5617a861e338 <unknown> E #14 0x5617a8607ebc <unknown> E #15 0x5617a861eeb7 <unknown> E #16 0x5617a85ed10f <unknown> E #17 0x5617a863c828 <unknown> E #18 0x5617a863c9f0 <unknown> E #19 0x5617a864cf86 <unknown> E #20 0x7f8494ddca94 <unknown> E #21 0x7f8494e69a34 __clone /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/errorhandler.py:229: NoSuchElementException The above exception was the direct cause of the following exception: fixturefunc = <function rename_spaces_in_oz at 0x7f62c8402840> request = <FixtureRequest for <Function test_user_renames_space_using_client1_and_using_client2_he_sees_that_it_has_been_renamed[1oz_1op_1oc-web GUI-REST]>> kwargs = {'client': 'web GUI', 'host': 'onezone', 'hosts': {'oneclient-1': {'container-id': 'e5766f71f511feb758c7c0bc0b9dea0ed0...fault.svc.cluster.local', 'ip': '10.244.40.124', 'name': 'dev-onezone', ...}}, 'new_names_list': '"NewNameSpace"', ...} 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) tests/mixed/steps/space_basic.py:151: in rename_spaces_in_oz rename_spaces_in_oz_using_gui( tests/gui/meta_steps/onezone/spaces.py:190: in rename_spaces_in_oz_using_gui type_space_name_on_rename_space_input_on_overview_page( 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/steps/onezone/overview.py:27: in type_space_name_on_rename_space_input_on_overview_page oz_page(driver)["data"].overview_page.info_tile.rename() tests/gui/utils/core/web_elements.py:60: in __get__ elem = super().__get__(instance, owner) tests/gui/utils/core/web_elements.py:26: in __get__ return find_web_elem( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="33232d1736a030461e0d66d393ac2221", element="f.EDF881F836F921086D8C47E80EEA0425.d.403BAEEF5C5C8B6D55A423054470BF06.e.86")> css_sel = '.resource-info-tile' err_msg = 'no item found in SpaceOverviewPage in DataPage in Onezone page' def find_web_elem(web_elem_root, css_sel, err_msg): try: _scroll_to_css_sel(web_elem_root, css_sel) item = web_elem_root.find_element(By.CSS_SELECTOR, css_sel) except NoSuchElementException as exc: with suppress(TypeError): err_msg = err_msg() > raise RuntimeError(err_msg) from exc E RuntimeError: no item found in SpaceOverviewPage in DataPage in Onezone page tests/gui/utils/generic.py:152: RuntimeError