Acceptance tests using different clients concurrently. Environment deployed from packages.

Build: #3276 failed

Job: Datasets failed

user of client checking sees datasets directory tree created previously via client creating[1oz 1op 1oc-RESt-web GUi]: Test case result

The below summarizes the result of the test " user of client checking sees datasets directory tree created previously via client creating[1oz 1op 1oc-RESt-web GUi]" in build 3,276 of Onedata Products - mixed acceptance pkg - Datasets.
Description
user of client checking sees datasets directory tree created previously via client creating[1oz 1op 1oc-RESt-web GUi]
Test class
mixed.scenarios.test_dataset
Method
test_user_of_client_checking_sees_datasets_directory_tree_created_previously_via_client_creating[1oz_1op_1oc-REST-web GUI]
Duration
2 mins
Status
Failed (Existing Failure)

Error Log

RuntimeError: no  item found in Oneprovider page
web_elem_root = <tests.conftest.ChromeWithAllLogs (session="e87089c927b2dcec8b8b003bb0ba183e")>
css_sel = '.dataset-browser', err_msg = 'no  item found in Oneprovider 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/webdriver.py:748: in find_element
    return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["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 0x7fbbcdf26060>
response = {'status': 404, 'value': '{"value":{"error":"no such element","message":"no such element: Unable to locate element: {\...unknown>\\n#17 0x5576e4795f86 \\u003Cunknown>\\n#18 0x7f4fd4d26a94 \\u003Cunknown>\\n#19 0x7f4fd4db3a34 __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":".dataset-browser"}
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 0x5576e479710a <unknown>
E       #1 0x5576e42b2460 <unknown>
E       #2 0x5576e42fef96 <unknown>
E       #3 0x5576e42ff221 <unknown>
E       #4 0x5576e43445d4 <unknown>
E       #5 0x5576e432303d <unknown>
E       #6 0x5576e4341af6 <unknown>
E       #7 0x5576e4322db3 <unknown>
E       #8 0x5576e42f1c10 <unknown>
E       #9 0x5576e42f2bee <unknown>
E       #10 0x5576e476339b <unknown>
E       #11 0x5576e4767338 <unknown>
E       #12 0x5576e4750ebc <unknown>
E       #13 0x5576e4767eb7 <unknown>
E       #14 0x5576e473610f <unknown>
E       #15 0x5576e4785828 <unknown>
E       #16 0x5576e47859f0 <unknown>
E       #17 0x5576e4795f86 <unknown>
E       #18 0x7f4fd4d26a94 <unknown>
E       #19 0x7f4fd4db3a34 __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 check_dataset_structure_in_op at 0x7fbbced0bd80>
request = <FixtureRequest for <Function test_user_of_client_checking_sees_datasets_directory_tree_created_previously_via_client_creating[1oz_1op_1oc-REST-web GUI]>>
kwargs = {'client': 'web GUI', 'config': '- dir2:\n  - dir4:\n    - dir5\n  - file1', 'host': 'oneprovider-1', 'hosts': {'onecl...808080', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.14.124', 'name': 'dev-onezone', ...}}, ...}

    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/mixed/steps/dataset.py:290: in check_dataset_structure_in_op
    assert_space_content_in_op_gui(
tests/gui/meta_steps/oneprovider/data.py:414: in assert_space_content_in_op_gui
    assert_browser_in_tab_in_op(
/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/data_tab.py:245: in assert_browser_in_tab_in_op
    check_browser_to_load(selenium, browser_id, tmp_memory, op_container, item_browser)
/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/data_tab.py:32: in check_browser_to_load
    items_browser = getattr(op_container(driver), transform(browser))
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 = <tests.conftest.ChromeWithAllLogs (session="e87089c927b2dcec8b8b003bb0ba183e")>
css_sel = '.dataset-browser', err_msg = 'no  item found in Oneprovider 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 Oneprovider page

tests/gui/utils/generic.py:152: RuntimeError