Build: #2 failed

Job: Atm workflows stores failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user sees file in result store after modifying input store and lambda data type to file and executing uploaded echo workflow[1oz 1op openfaas]: Test case result

The below summarizes the result of the test " user sees file in result store after modifying input store and lambda data type to file and executing uploaded echo workflow[1oz 1op openfaas]" in build 2 of Onedata Products - gui acceptance pkg - feature-VFS-12098-test-couchbase-upgrade-to-6.x-from-4.1 - Atm workflows stores.
Description
user sees file in result store after modifying input store and lambda data type to file and executing uploaded echo workflow[1oz 1op openfaas]
Test class
gui.scenarios.test_atm_workflows_stores
Method
test_user_sees_file_in_result_store_after_modifying_input_store_and_lambda_data_type_to_file_and_executing_uploaded_echo_workflow[1oz_1op_openfaas]
Duration
7 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 0x556bbcac82b3 <unknown>
#1 0x556bbc7f82d7 <unknown>
#2 0x556bbc7fc85e <unknown>
#3 0x556bbc7fe0c0 <unknown>
#4 0x556bbc7fe17c <unknown>
#5 0x556bbc83bb14 <unknown>
#6 0x556bbc83b1da <unknown>
#7 0x556bbc876766 <unknown>
#8 0x556bbc855da2 <unknown>
#9 0x556bbc86dfe9 <unknown>
#10 0x556bbc855b73 <unknown>
#11 0x556bbc82b1ab <unknown>
#12 0x556bbc82bf4e <unknown>
#13 0x556bbca89668 <unknown>
#14 0x556bbca8d627 <unknown>
#15 0x556bbca97b8c <unknown>
#16 0x556bbca8e253 <unknown>
#17 0x556bbca5c927 <unknown>
#18 0x556bbcab2018 <unknown>
#19 0x556bbcab21a6 <unknown>
#20 0x556bbcac0ee3 <unknown>
#21 0x7f4529c91a94 <unknown>
#22 0x7f4529d1ea34 __clone
fixturefunc = <function wt_click_on_elem_in_store_details_modal at 0x7f75c8ef7b00>
request = <FixtureRequest for <Function test_user_sees_file_in_result_store_after_modifying_input_store_and_lambda_data_type_to_file_and_executing_uploaded_echo_workflow[1oz_1op_openfaas]>>
kwargs = {'browser_id': 'browser', 'modals': <class 'tests.gui.utils.common.modals.Modals'>, 'name': 'file1', 'op_container': <class 'tests.gui.utils.oneprovider.OPLoggedIn'>, ...}

    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/gui/meta_steps/oneprovider/automation/audit_log.py:708: in wt_click_on_elem_in_store_details_modal
    click_on_elem_in_store_details_modal(
tests/gui/meta_steps/oneprovider/automation/audit_log.py:730: in click_on_elem_in_store_details_modal
    modal.single_file_container.clickable_name()
tests/gui/utils/core/web_objects.py:20: in __call__
    self.click()
tests/gui/utils/core/base.py:79: in click
    click_on_web_elem(
tests/gui/utils/generic.py:180: in click_on_web_elem
    action.perform()
/usr/local/lib/python3.12/dist-packages/selenium/webdriver/common/action_chains.py:94: in perform
    self.w3c_actions.perform()
/usr/local/lib/python3.12/dist-packages/selenium/webdriver/common/actions/action_builder.py:96: in perform
    self.driver.execute(Command.W3C_ACTIONS, enc)
/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 0x7f75c6e91c70>
response = {'status': 404, 'value': '{"value":{"error":"stale element reference","message":"stale element reference: stale elemen...unknown>\\n#20 0x556bbcac0ee3 \\u003Cunknown>\\n#21 0x7f4529c91a94 \\u003Cunknown>\\n#22 0x7f4529d1ea34 __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 0x556bbcac82b3 <unknown>
E       #1 0x556bbc7f82d7 <unknown>
E       #2 0x556bbc7fc85e <unknown>
E       #3 0x556bbc7fe0c0 <unknown>
E       #4 0x556bbc7fe17c <unknown>
E       #5 0x556bbc83bb14 <unknown>
E       #6 0x556bbc83b1da <unknown>
E       #7 0x556bbc876766 <unknown>
E       #8 0x556bbc855da2 <unknown>
E       #9 0x556bbc86dfe9 <unknown>
E       #10 0x556bbc855b73 <unknown>
E       #11 0x556bbc82b1ab <unknown>
E       #12 0x556bbc82bf4e <unknown>
E       #13 0x556bbca89668 <unknown>
E       #14 0x556bbca8d627 <unknown>
E       #15 0x556bbca97b8c <unknown>
E       #16 0x556bbca8e253 <unknown>
E       #17 0x556bbca5c927 <unknown>
E       #18 0x556bbcab2018 <unknown>
E       #19 0x556bbcab21a6 <unknown>
E       #20 0x556bbcac0ee3 <unknown>
E       #21 0x7f4529c91a94 <unknown>
E       #22 0x7f4529d1ea34 __clone

/usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/errorhandler.py:229: StaleElementReferenceException