GUI acceptance tests using environment deployed from packages.

Build: #2915 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,915 of Onedata Products - gui acceptance pkg - 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 in the current frame
  (Session info: chrome=129.0.6668.70); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception
Stacktrace:
#0 0x5632a5d0a13a <unknown>
#1 0x5632a59f05e0 <unknown>
#2 0x5632a59f6443 <unknown>
#3 0x5632a59f8105 <unknown>
#4 0x5632a59f818c <unknown>
#5 0x5632a5a45dce <unknown>
#6 0x5632a5a451e6 <unknown>
#7 0x5632a5a8c227 <unknown>
#8 0x5632a5a64b22 <unknown>
#9 0x5632a5a83d7d <unknown>
#10 0x5632a5a648c3 <unknown>
#11 0x5632a5a326b3 <unknown>
#12 0x5632a5a3368e <unknown>
#13 0x5632a5cd4b3b <unknown>
#14 0x5632a5cd8ac1 <unknown>
#15 0x5632a5cc1335 <unknown>
#16 0x5632a5cd9642 <unknown>
#17 0x5632a5ca649f <unknown>
#18 0x5632a5cf9038 <unknown>
#19 0x5632a5cf9203 <unknown>
#20 0x5632a5d08f8c <unknown>
#21 0x7f135b885a94 <unknown>
#22 0x7f135b912a34 __clone
fixturefunc = <function wt_click_on_elem_in_store_details_modal at 0x7f5d20edfb00>
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:418: 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:431: in click_on_elem_in_store_details_modal
    modal.single_file_container.clickable_name()
tests/gui/utils/core/web_objects.py:21: in __call__
    self.click()
tests/gui/utils/core/base.py:81: in click
    click_on_web_elem(self.driver, self._click_area,
tests/gui/utils/generic.py:170: 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 0x7f5d20b5c9e0>
response = {'status': 404, 'value': '{"value":{"error":"stale element reference","message":"stale element reference: stale elemen...unknown>\\n#20 0x5632a5d08f8c \\u003Cunknown>\\n#21 0x7f135b885a94 \\u003Cunknown>\\n#22 0x7f135b912a34 __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 in the current frame
E         (Session info: chrome=129.0.6668.70); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception
E       Stacktrace:
E       #0 0x5632a5d0a13a <unknown>
E       #1 0x5632a59f05e0 <unknown>
E       #2 0x5632a59f6443 <unknown>
E       #3 0x5632a59f8105 <unknown>
E       #4 0x5632a59f818c <unknown>
E       #5 0x5632a5a45dce <unknown>
E       #6 0x5632a5a451e6 <unknown>
E       #7 0x5632a5a8c227 <unknown>
E       #8 0x5632a5a64b22 <unknown>
E       #9 0x5632a5a83d7d <unknown>
E       #10 0x5632a5a648c3 <unknown>
E       #11 0x5632a5a326b3 <unknown>
E       #12 0x5632a5a3368e <unknown>
E       #13 0x5632a5cd4b3b <unknown>
E       #14 0x5632a5cd8ac1 <unknown>
E       #15 0x5632a5cc1335 <unknown>
E       #16 0x5632a5cd9642 <unknown>
E       #17 0x5632a5ca649f <unknown>
E       #18 0x5632a5cf9038 <unknown>
E       #19 0x5632a5cf9203 <unknown>
E       #20 0x5632a5d08f8c <unknown>
E       #21 0x7f135b885a94 <unknown>
E       #22 0x7f135b912a34 __clone

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