Build: #10 failed
Job: Oneprovider data tab was successful
user successfully jumps to a previously nonvisible file after writing its name prefix to jump input[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user successfully jumps to a previously nonvisible file after writing its name prefix to jump input[1oz 1op deployed]" in build 10 of Onedata Products - gui acceptance pkg - feature-VFS-12098-test-couchbase-upgrade-to-6.x-from-4.1 - Oneprovider data tab.
- Description
- user successfully jumps to a previously nonvisible file after writing its name prefix to jump input[1oz 1op deployed]
- Test class
- gui.scenarios.test_oneprovider_data_tab
- Method
- test_user_successfully_jumps_to_a_previously_nonvisible_file_after_writing_its_name_prefix_to_jump_input[1oz_1op_deployed]
- Duration
- 3 mins
- Status
- Failed (New Failure)
Error Log
selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: stale element not found (Session info: chrome=115.0.5763.0); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception Stacktrace: #0 0x55ab657ee2b3 <unknown> #1 0x55ab6551e2d7 <unknown> #2 0x55ab6552285e <unknown> #3 0x55ab655240c0 <unknown> #4 0x55ab6552417c <unknown> #5 0x55ab65557512 <unknown> #6 0x55ab6557bda2 <unknown> #7 0x55ab655526e6 <unknown> #8 0x55ab6557bf6e <unknown> #9 0x55ab65593fe9 <unknown> #10 0x55ab6557bb73 <unknown> #11 0x55ab655511ab <unknown> #12 0x55ab65551f4e <unknown> #13 0x55ab657af668 <unknown> #14 0x55ab657b3627 <unknown> #15 0x55ab657bdb8c <unknown> #16 0x55ab657b4253 <unknown> #17 0x55ab65782927 <unknown> #18 0x55ab657d8018 <unknown> #19 0x55ab657d81a6 <unknown> #20 0x55ab657e6ee3 <unknown> #21 0x7fb3d1b50a94 <unknown> #22 0x7fb3d1bdda34 __clone fixturefunc = <function assert_item_displayed_on_page at 0x7fa8555a19e0> request = <FixtureRequest for <Function test_user_successfully_jumps_to_a_previously_nonvisible_file_after_writing_its_name_prefix_to_jump_input[1oz_1op_deployed]>> kwargs = {'browser_id': 'browser', 'item_list': '"file_100"', 'option': 'is', 'tmp_memory': defaultdict(<class 'dict'>, {'brows...odal': None}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7fa854b43bc0>}}), ...} 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/steps/oneprovider/file_browser.py:614: in assert_item_displayed_on_page visible_files = browser.names_of_visible_elems() tests/gui/utils/oneprovider/file_browser/__init__.py:90: in names_of_visible_elems names = [f.text.split("\n")[0] for f in files if len(f.text.split("\n")) > 1] /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/webelement.py:90: in text return self._execute(Command.GET_ELEMENT_TEXT)["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 0x7fa85477eae0> response = {'status': 404, 'value': '{"value":{"error":"stale element reference","message":"stale element reference: stale elemen...unknown>\\n#20 0x55ab657e6ee3 \\u003Cunknown>\\n#21 0x7fb3d1b50a94 \\u003Cunknown>\\n#22 0x7fb3d1bdda34 __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.StaleElementReferenceException: Message: stale element reference: stale element not found E (Session info: chrome=115.0.5763.0); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception E Stacktrace: E #0 0x55ab657ee2b3 <unknown> E #1 0x55ab6551e2d7 <unknown> E #2 0x55ab6552285e <unknown> E #3 0x55ab655240c0 <unknown> E #4 0x55ab6552417c <unknown> E #5 0x55ab65557512 <unknown> E #6 0x55ab6557bda2 <unknown> E #7 0x55ab655526e6 <unknown> E #8 0x55ab6557bf6e <unknown> E #9 0x55ab65593fe9 <unknown> E #10 0x55ab6557bb73 <unknown> E #11 0x55ab655511ab <unknown> E #12 0x55ab65551f4e <unknown> E #13 0x55ab657af668 <unknown> E #14 0x55ab657b3627 <unknown> E #15 0x55ab657bdb8c <unknown> E #16 0x55ab657b4253 <unknown> E #17 0x55ab65782927 <unknown> E #18 0x55ab657d8018 <unknown> E #19 0x55ab657d81a6 <unknown> E #20 0x55ab657e6ee3 <unknown> E #21 0x7fb3d1b50a94 <unknown> E #22 0x7fb3d1bdda34 __clone /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/errorhandler.py:229: StaleElementReferenceException