GUI acceptance tests using environment deployed from packages.
Build: #2947 failed
Job: Onezone tokens failed
user successfully creates access token with all caveats[1oz 2op elasticsearch]: Test case result
The below summarizes the result of the test " user successfully creates access token with all caveats[1oz 2op elasticsearch]" in build 2,947 of Onedata Products - gui acceptance pkg - Onezone tokens.
- Description
- user successfully creates access token with all caveats[1oz 2op elasticsearch]
- Test class
- gui.scenarios.test_onezone_tokens
- Method
- test_user_successfully_creates_access_token_with_all_caveats[1oz_2op_elasticsearch]
- Jira Issue
-
- Duration
- 6 mins
- Status
- Failed (New Failure)
Error Log
selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable (Session info: chrome=115.0.5763.0) Stacktrace: #0 0x5579cc9f72b3 <unknown> #1 0x5579cc727126 <unknown> #2 0x5579cc766872 <unknown> #3 0x5579cc75bcc9 <unknown> #4 0x5579cc784da2 <unknown> #5 0x5579cc75b6e6 <unknown> #6 0x5579cc784f6e <unknown> #7 0x5579cc79cfe9 <unknown> #8 0x5579cc784b73 <unknown> #9 0x5579cc75a1ab <unknown> #10 0x5579cc75af4e <unknown> #11 0x5579cc9b8668 <unknown> #12 0x5579cc9bc627 <unknown> #13 0x5579cc9c6b8c <unknown> #14 0x5579cc9bd253 <unknown> #15 0x5579cc98b927 <unknown> #16 0x5579cc9e1018 <unknown> #17 0x5579cc9e11a6 <unknown> #18 0x5579cc9efee3 <unknown> #19 0x7fbf433d4a94 <unknown> #20 0x7fbf43461a34 __clone fixturefunc = <function create_token_with_config at 0x7f64df320180> request = <FixtureRequest for <Function test_user_successfully_creates_access_token_with_all_caveats[1oz_2op_elasticsearch]>> kwargs = {'browser_id': 'browser', 'config': 'type: access\ncaveats:\n expiration:\n after: 10\n region:\n allow: True\...870e7f', 'hostname': 'dev-onezone.default.svc.cluster.local', 'ip': '10.244.75.253', '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/gui/meta_steps/onezone/tokens.py:318: in create_token_with_config _create_token_with_config( tests/gui/meta_steps/onezone/tokens.py:375: in _create_token_with_config _set_tokens_caveats( tests/gui/meta_steps/onezone/tokens.py:441: in _set_tokens_caveats caveat.set_service_caveats(selenium, browser_id, service_caveats, popups) tests/gui/utils/onezone/token_caveats.py:216: in set_service_caveats self.set_service_in_service_caveat( tests/gui/utils/onezone/token_caveats.py:232: in set_service_in_service_caveat popup.consumer_types[consumer_type]() tests/gui/utils/common/popups/consumer_caveat.py:22: in __call__ self.web_elem.click() /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/webelement.py:94: in click self._execute(Command.CLICK_ELEMENT) /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 0x7f64de229f10> response = {'status': 400, 'value': '{"value":{"error":"element not interactable","message":"element not interactable\\n (Sessio...unknown>\\n#18 0x5579cc9efee3 \\u003Cunknown>\\n#19 0x7fbf433d4a94 \\u003Cunknown>\\n#20 0x7fbf43461a34 __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.ElementNotInteractableException: Message: element not interactable E (Session info: chrome=115.0.5763.0) E Stacktrace: E #0 0x5579cc9f72b3 <unknown> E #1 0x5579cc727126 <unknown> E #2 0x5579cc766872 <unknown> E #3 0x5579cc75bcc9 <unknown> E #4 0x5579cc784da2 <unknown> E #5 0x5579cc75b6e6 <unknown> E #6 0x5579cc784f6e <unknown> E #7 0x5579cc79cfe9 <unknown> E #8 0x5579cc784b73 <unknown> E #9 0x5579cc75a1ab <unknown> E #10 0x5579cc75af4e <unknown> E #11 0x5579cc9b8668 <unknown> E #12 0x5579cc9bc627 <unknown> E #13 0x5579cc9c6b8c <unknown> E #14 0x5579cc9bd253 <unknown> E #15 0x5579cc98b927 <unknown> E #16 0x5579cc9e1018 <unknown> E #17 0x5579cc9e11a6 <unknown> E #18 0x5579cc9efee3 <unknown> E #19 0x7fbf433d4a94 <unknown> E #20 0x7fbf43461a34 __clone /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/errorhandler.py:229: ElementNotInteractableException