The nightly test fedora-previous/test_webui_network failed in PR #4543. Logs.
report:
self = <ipatests.test_webui.test_automount.TestAutomount object at 0x7f292d7f4450> @screenshot def test_confirm_dialogs_with_enter_key(self): """ Test dialogs can be closed by pressing ENTER """ # Add location self.navigate_to_entity(LOC_ENTITY, 'search') self._add_record_with_enter_key(LOC_DATA) # Add map self.navigate_to_record(LOC_PKEY) self._add_record_with_enter_key(MAP_DATA) # Add key self.navigate_to_record(MAP_PKEY) self._add_record_with_enter_key(KEY_DATA) # Delete key > self._delete_record_with_enter_key(KEY_PKEY) test_webui/test_automount.py:616: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <ipatests.test_webui.test_automount.TestAutomount object at 0x7f292d7f4450> pkey = 'itestkey' def _delete_record_with_enter_key(self, pkey): > assert self.has_record(pkey) E AssertionError: assert False E + where False = <bound method UI_driver.has_record of <ipatests.test_webui.test_automount.TestAutomount object at 0x7f292d7f4450>>('itestkey') E + where <bound method UI_driver.has_record of <ipatests.test_webui.test_automount.TestAutomount object at 0x7f292d7f4450>> = <ipatests.test_webui.test_automount.TestAutomount object at 0x7f292d7f4450>.has_record test_webui/test_automount.py:216: AssertionError
runner log:
2020-04-17 00:51:18,277 DEBUG ============================= test session starts ============================== 2020-04-17 00:51:18,277 DEBUG platform linux -- Python 3.7.6, pytest-5.3.5, py-1.7.0, pluggy-0.13.1 -- /usr/bin/python3 2020-04-17 00:51:18,278 DEBUG cachedir: /root/.pytest_cache 2020-04-17 00:51:18,278 DEBUG metadata: {'Python': '3.7.6', 'Platform': 'Linux-5.4.21-100.fc30.x86_64-x86_64-with-fedora-30-Thirty', 'Packages': {'pytest': '5.3.5', 'py': '1.7.0', 'pluggy': '0.13.1'}, 'Plugins': {'html': '2.0.1', 'metadata': '1.8.0', 'sourceorder': '0.5', 'multihost': '3.0'}} 2020-04-17 00:51:18,278 DEBUG rootdir: /usr/lib/python3.7/site-packages/ipatests 2020-04-17 00:51:18,278 DEBUG plugins: html-2.0.1, metadata-1.8.0, sourceorder-0.5, multihost-3.0 2020-04-17 00:51:18,631 DEBUG collecting ... collected 21 items 2020-04-17 00:51:18,632 DEBUG 2020-04-17 00:53:37,444 DEBUG test_webui/test_automount.py::TestAutomount::test_crud PASSED [ 4%] 2020-04-17 00:54:52,114 DEBUG test_webui/test_automount.py::TestAutomount::test_add_location_dialog PASSED [ 9%] 2020-04-17 00:56:08,846 DEBUG test_webui/test_automount.py::TestAutomount::test_add_map_dialog[maps0] PASSED [ 14%] 2020-04-17 00:57:26,889 DEBUG test_webui/test_automount.py::TestAutomount::test_add_map_dialog[maps1] PASSED [ 19%] 2020-04-17 00:58:27,699 DEBUG test_webui/test_automount.py::TestAutomount::test_add_indirect_map_with_missing_fields PASSED [ 23%] 2020-04-17 00:59:39,305 DEBUG test_webui/test_automount.py::TestAutomount::test_add_duplicated_indirect_map PASSED [ 28%] 2020-04-17 01:00:42,782 DEBUG test_webui/test_automount.py::TestAutomount::test_modify_map[map_data0] PASSED [ 33%] 2020-04-17 01:01:44,758 DEBUG test_webui/test_automount.py::TestAutomount::test_modify_map[map_data1] PASSED [ 38%] 2020-04-17 01:03:06,084 DEBUG test_webui/test_automount.py::TestAutomount::test_add_key_dialog PASSED [ 42%] 2020-04-17 01:04:10,028 DEBUG test_webui/test_automount.py::TestAutomount::test_add_key_with_missing_fields PASSED [ 47%] 2020-04-17 01:05:17,822 DEBUG test_webui/test_automount.py::TestAutomount::test_add_duplicated_key PASSED [ 52%] 2020-04-17 01:06:23,869 DEBUG test_webui/test_automount.py::TestAutomount::test_modify_key PASSED [ 57%] 2020-04-17 01:07:14,301 DEBUG test_webui/test_automount.py::TestAutomount::test_confirm_dialogs_with_enter_key FAILED [ 61%] 2020-04-17 01:08:32,152 DEBUG test_webui/test_dns.py::test_dns::test_zone_record_crud PASSED [ 66%] 2020-04-17 01:10:19,121 DEBUG test_webui/test_dns.py::test_dns::test_forward_zone PASSED [ 71%] 2020-04-17 01:11:24,003 DEBUG test_webui/test_dns.py::test_dns::test_last_entry_deletion PASSED [ 76%] 2020-04-17 01:12:12,141 DEBUG test_webui/test_dns.py::test_dns::test_config_crud PASSED [ 80%] 2020-04-17 01:13:16,016 DEBUG test_webui/test_vault.py::test_vault::test_crud PASSED [ 85%] 2020-04-17 01:14:20,870 DEBUG test_webui/test_vault.py::test_vault::test_add_service_vault PASSED [ 90%] 2020-04-17 01:15:12,175 DEBUG test_webui/test_vault.py::test_vault::test_add_shared_vault PASSED [ 95%] 2020-04-17 01:18:32,530 DEBUG test_webui/test_vault.py::test_vault::test_member_owner_vault PASSED [100%] 2020-04-17 01:18:32,533 DEBUG 2020-04-17 01:18:32,533 DEBUG =================================== FAILURES =================================== 2020-04-17 01:18:32,533 DEBUG ______________ TestAutomount.test_confirm_dialogs_with_enter_key _______________ 2020-04-17 01:18:32,534 DEBUG 2020-04-17 01:18:32,534 DEBUG self = <ipatests.test_webui.test_automount.TestAutomount object at 0x7f292d7f4450> 2020-04-17 01:18:32,534 DEBUG 2020-04-17 01:18:32,534 DEBUG @screenshot 2020-04-17 01:18:32,534 DEBUG def test_confirm_dialogs_with_enter_key(self): 2020-04-17 01:18:32,534 DEBUG """ 2020-04-17 01:18:32,535 DEBUG Test dialogs can be closed by pressing ENTER 2020-04-17 01:18:32,535 DEBUG """ 2020-04-17 01:18:32,535 DEBUG 2020-04-17 01:18:32,535 DEBUG # Add location 2020-04-17 01:18:32,535 DEBUG self.navigate_to_entity(LOC_ENTITY, 'search') 2020-04-17 01:18:32,540 DEBUG self._add_record_with_enter_key(LOC_DATA) 2020-04-17 01:18:32,540 DEBUG 2020-04-17 01:18:32,540 DEBUG # Add map 2020-04-17 01:18:32,540 DEBUG self.navigate_to_record(LOC_PKEY) 2020-04-17 01:18:32,540 DEBUG self._add_record_with_enter_key(MAP_DATA) 2020-04-17 01:18:32,540 DEBUG 2020-04-17 01:18:32,541 DEBUG # Add key 2020-04-17 01:18:32,541 DEBUG self.navigate_to_record(MAP_PKEY) 2020-04-17 01:18:32,541 DEBUG self._add_record_with_enter_key(KEY_DATA) 2020-04-17 01:18:32,541 DEBUG 2020-04-17 01:18:32,541 DEBUG # Delete key 2020-04-17 01:18:32,542 DEBUG > self._delete_record_with_enter_key(KEY_PKEY) 2020-04-17 01:18:32,542 DEBUG 2020-04-17 01:18:32,542 DEBUG test_webui/test_automount.py:616: 2020-04-17 01:18:32,542 DEBUG _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 2020-04-17 01:18:32,542 DEBUG 2020-04-17 01:18:32,543 DEBUG self = <ipatests.test_webui.test_automount.TestAutomount object at 0x7f292d7f4450> 2020-04-17 01:18:32,543 DEBUG pkey = 'itestkey' 2020-04-17 01:18:32,544 DEBUG 2020-04-17 01:18:32,544 DEBUG def _delete_record_with_enter_key(self, pkey): 2020-04-17 01:18:32,544 DEBUG > assert self.has_record(pkey) 2020-04-17 01:18:32,544 DEBUG E AssertionError: assert False 2020-04-17 01:18:32,544 DEBUG E + where False = <bound method UI_driver.has_record of <ipatests.test_webui.test_automount.TestAutomount object at 0x7f292d7f4450>>('itestkey') 2020-04-17 01:18:32,545 DEBUG E + where <bound method UI_driver.has_record of <ipatests.test_webui.test_automount.TestAutomount object at 0x7f292d7f4450>> = <ipatests.test_webui.test_automount.TestAutomount object at 0x7f292d7f4450>.has_record 2020-04-17 01:18:32,545 DEBUG 2020-04-17 01:18:32,545 DEBUG test_webui/test_automount.py:216: AssertionError 2020-04-17 01:18:32,545 DEBUG =============================== warnings summary =============================== 2020-04-17 01:18:32,545 DEBUG /usr/local/lib/python3.7/site-packages/_pytest/junitxml.py:436 2020-04-17 01:18:32,549 DEBUG /usr/local/lib/python3.7/site-packages/_pytest/junitxml.py:436: PytestDeprecationWarning: The 'junit_family' default value will change to 'xunit2' in pytest 6.0. 2020-04-17 01:18:32,550 DEBUG Add 'junit_family=xunit1' to your pytest.ini file to keep the current format in future versions of pytest and silence this warning. 2020-04-17 01:18:32,550 DEBUG _issue_warning_captured(deprecated.JUNIT_XML_DEFAULT_FAMILY, config.hook, 2) 2020-04-17 01:18:32,551 DEBUG 2020-04-17 01:18:32,551 DEBUG test_webui/test_automount.py::TestAutomount::test_crud 2020-04-17 01:18:32,551 DEBUG test_webui/test_dns.py::test_dns::test_zone_record_crud 2020-04-17 01:18:32,551 DEBUG test_webui/test_vault.py::test_vault::test_crud 2020-04-17 01:18:32,552 DEBUG /usr/lib/python3.7/site-packages/ipatests/test_webui/ui_driver.py:194: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. 2020-04-17 01:18:32,552 DEBUG cls.config = yaml.load(conf) 2020-04-17 01:18:32,552 DEBUG 2020-04-17 01:18:32,552 DEBUG test_webui/test_automount.py::TestAutomount::test_crud 2020-04-17 01:18:32,552 DEBUG test_webui/test_automount.py::TestAutomount::test_add_location_dialog 2020-04-17 01:18:32,552 DEBUG test_webui/test_automount.py::TestAutomount::test_add_map_dialog[maps0] 2020-04-17 01:18:32,553 DEBUG test_webui/test_automount.py::TestAutomount::test_add_map_dialog[maps1] 2020-04-17 01:18:32,553 DEBUG test_webui/test_automount.py::TestAutomount::test_add_indirect_map_with_missing_fields 2020-04-17 01:18:32,553 DEBUG test_webui/test_automount.py::TestAutomount::test_add_duplicated_indirect_map 2020-04-17 01:18:32,553 DEBUG test_webui/test_automount.py::TestAutomount::test_modify_map[map_data0] 2020-04-17 01:18:32,553 DEBUG test_webui/test_automount.py::TestAutomount::test_modify_map[map_data1] 2020-04-17 01:18:32,553 DEBUG test_webui/test_automount.py::TestAutomount::test_add_key_dialog 2020-04-17 01:18:32,554 DEBUG test_webui/test_automount.py::TestAutomount::test_add_key_with_missing_fields 2020-04-17 01:18:32,554 DEBUG test_webui/test_automount.py::TestAutomount::test_add_duplicated_key 2020-04-17 01:18:32,554 DEBUG test_webui/test_automount.py::TestAutomount::test_modify_key 2020-04-17 01:18:32,554 DEBUG test_webui/test_automount.py::TestAutomount::test_confirm_dialogs_with_enter_key 2020-04-17 01:18:32,554 DEBUG test_webui/test_dns.py::test_dns::test_zone_record_crud 2020-04-17 01:18:32,554 DEBUG test_webui/test_dns.py::test_dns::test_forward_zone 2020-04-17 01:18:32,555 DEBUG test_webui/test_dns.py::test_dns::test_last_entry_deletion 2020-04-17 01:18:32,555 DEBUG test_webui/test_dns.py::test_dns::test_config_crud 2020-04-17 01:18:32,555 DEBUG test_webui/test_vault.py::test_vault::test_crud 2020-04-17 01:18:32,555 DEBUG test_webui/test_vault.py::test_vault::test_add_service_vault 2020-04-17 01:18:32,555 DEBUG test_webui/test_vault.py::test_vault::test_add_shared_vault 2020-04-17 01:18:32,556 DEBUG test_webui/test_vault.py::test_vault::test_member_owner_vault 2020-04-17 01:18:32,556 DEBUG /usr/lib/python3.7/site-packages/ipatests/test_webui/ui_driver.py:271: DeprecationWarning: use service_log_path instead of log_path 2020-04-17 01:18:32,556 DEBUG driver = webdriver.Firefox(fp, log_path=ff_log_path) 2020-04-17 01:18:32,556 DEBUG 2020-04-17 01:18:32,556 DEBUG -- Docs: https://docs.pytest.org/en/latest/warnings.html 2020-04-17 01:18:32,557 DEBUG -------------------- generated xml file: /vagrant/junit.xml -------------------- 2020-04-17 01:18:32,557 DEBUG --------------- generated html file: file:///vagrant/report.html --------------- 2020-04-17 01:18:32,557 DEBUG ============ 1 failed, 20 passed, 25 warnings in 1634.34s (0:27:14) ============
Metadata Update from @fcami: - Issue tagged with: test-failure, tests
Also happened in testing_master_previous nightly test with fedora31 in PR 193, see logs.
testing_master_previous
New failure observed for this test case in PR 292, see the logs:
self = <ipatests.test_webui.test_automount.TestAutomount object at 0x7f52e4b5c050> @screenshot def test_confirm_dialogs_with_enter_key(self): """ Test dialogs can be closed by pressing ENTER """ # Add location self.navigate_to_entity(LOC_ENTITY, 'search') self._add_record_with_enter_key(LOC_DATA) # Add map > self.navigate_to_record(LOC_PKEY) E selenium.common.exceptions.ElementClickInterceptedException: Message: Element <a href="#itestloc"> is not clickable at point (84,262) because another element <div class="modal-backdrop fade"> obscures it
Whole log:
self = <ipatests.test_webui.test_automount.TestAutomount object at 0x7f52e4b5c050> @screenshot def test_confirm_dialogs_with_enter_key(self): """ Test dialogs can be closed by pressing ENTER """ # Add location self.navigate_to_entity(LOC_ENTITY, 'search') self._add_record_with_enter_key(LOC_DATA) # Add map > self.navigate_to_record(LOC_PKEY) test_webui/test_automount.py:608: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ test_webui/ui_driver.py:1245: in navigate_to_record link.click() /usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webelement.py:80: in click self._execute(Command.CLICK_ELEMENT) /usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webelement.py:633: in _execute return self._parent.execute(command, params) /usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py:321: in execute self.error_handler.check_response(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7f52e4b520d0> response = {'status': 400, 'value': '{"value":{"error":"element click intercepted","message":"Element <a href=\\"#itestloc\\"> is...te@chrome://marionette/content/listener.js:447:7\\nclickElement@chrome://marionette/content/listener.js:1342:18\\n"}}'} def check_response(self, response): """ 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 status is None or status == ErrorCode.SUCCESS: return value = None message = response.get("message", "") screen = response.get("screen", "") stacktrace = None if isinstance(status, int): value_json = response.get('value', None) if value_json and isinstance(value_json, basestring): import json try: value = json.loads(value_json) if len(value.keys()) == 1: value = value['value'] status = value.get('error', None) if status is None: status = value["status"] message = value["value"] if not isinstance(message, basestring): value = message message = message.get('message') else: message = value.get('message', None) except ValueError: pass exception_class = ErrorInResponseException if status in ErrorCode.NO_SUCH_ELEMENT: exception_class = NoSuchElementException elif status in ErrorCode.NO_SUCH_FRAME: exception_class = NoSuchFrameException elif status in ErrorCode.NO_SUCH_WINDOW: exception_class = NoSuchWindowException elif status in ErrorCode.STALE_ELEMENT_REFERENCE: exception_class = StaleElementReferenceException elif status in ErrorCode.ELEMENT_NOT_VISIBLE: exception_class = ElementNotVisibleException elif status in ErrorCode.INVALID_ELEMENT_STATE: exception_class = InvalidElementStateException elif status in ErrorCode.INVALID_SELECTOR \ or status in ErrorCode.INVALID_XPATH_SELECTOR \ or status in ErrorCode.INVALID_XPATH_SELECTOR_RETURN_TYPER: exception_class = InvalidSelectorException elif status in ErrorCode.ELEMENT_IS_NOT_SELECTABLE: exception_class = ElementNotSelectableException elif status in ErrorCode.ELEMENT_NOT_INTERACTABLE: exception_class = ElementNotInteractableException elif status in ErrorCode.INVALID_COOKIE_DOMAIN: exception_class = InvalidCookieDomainException elif status in ErrorCode.UNABLE_TO_SET_COOKIE: exception_class = UnableToSetCookieException elif status in ErrorCode.TIMEOUT: exception_class = TimeoutException elif status in ErrorCode.SCRIPT_TIMEOUT: exception_class = TimeoutException elif status in ErrorCode.UNKNOWN_ERROR: exception_class = WebDriverException elif status in ErrorCode.UNEXPECTED_ALERT_OPEN: exception_class = UnexpectedAlertPresentException elif status in ErrorCode.NO_ALERT_OPEN: exception_class = NoAlertPresentException elif status in ErrorCode.IME_NOT_AVAILABLE: exception_class = ImeNotAvailableException elif status in ErrorCode.IME_ENGINE_ACTIVATION_FAILED: exception_class = ImeActivationFailedException elif status in ErrorCode.MOVE_TARGET_OUT_OF_BOUNDS: exception_class = MoveTargetOutOfBoundsException elif status in ErrorCode.JAVASCRIPT_ERROR: exception_class = JavascriptException elif status in ErrorCode.SESSION_NOT_CREATED: exception_class = SessionNotCreatedException elif status in ErrorCode.INVALID_ARGUMENT: exception_class = InvalidArgumentException elif status in ErrorCode.NO_SUCH_COOKIE: exception_class = NoSuchCookieException elif status in ErrorCode.UNABLE_TO_CAPTURE_SCREEN: exception_class = ScreenshotException elif status in ErrorCode.ELEMENT_CLICK_INTERCEPTED: exception_class = ElementClickInterceptedException elif status in ErrorCode.INSECURE_CERTIFICATE: exception_class = InsecureCertificateException elif status in ErrorCode.INVALID_COORDINATES: exception_class = InvalidCoordinatesException elif status in ErrorCode.INVALID_SESSION_ID: exception_class = InvalidSessionIdException elif status in ErrorCode.UNKNOWN_METHOD: exception_class = UnknownMethodException else: exception_class = WebDriverException if value == '' or value is None: value = response['value'] if isinstance(value, basestring): if exception_class == ErrorInResponseException: raise exception_class(response, value) raise exception_class(value) if message == "" and 'message' in value: message = value['message'] screen = None if 'screen' in value: screen = value['screen'] stacktrace = None if 'stackTrace' in value and value['stackTrace']: stacktrace = [] try: for frame in value['stackTrace']: line = self._value_or_default(frame, 'lineNumber', '') file = self._value_or_default(frame, 'fileName', '<anonymous>') if line: file = "%s:%s" % (file, line) meth = self._value_or_default(frame, 'methodName', '<anonymous>') if 'className' in frame: meth = "%s.%s" % (frame['className'], meth) msg = " at %s (%s)" msg = msg % (meth, file) stacktrace.append(msg) except TypeError: pass if exception_class == ErrorInResponseException: raise exception_class(response, message) elif 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) > raise exception_class(message, screen, stacktrace) E selenium.common.exceptions.ElementClickInterceptedException: Message: Element <a href="#itestloc"> is not clickable at point (84,262) because another element <div class="modal-backdrop fade"> obscures it /usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py:242: ElementClickInterceptedException
testing_master_previous Nightly PR #294 failed in test_webui/test_automount.py::TestAutomount::test_confirm_dialogs_with_enter_key:
self = <ipatests.test_webui.test_automount.TestAutomount object at 0x7f5229ddbdd0> @screenshot def test_confirm_dialogs_with_enter_key(self): """ Test dialogs can be closed by pressing ENTER """ # Add location self.navigate_to_entity(LOC_ENTITY, 'search') self._add_record_with_enter_key(LOC_DATA) # Add map self.navigate_to_record(LOC_PKEY) self._add_record_with_enter_key(MAP_DATA) # Add key self.navigate_to_record(MAP_PKEY) self._add_record_with_enter_key(KEY_DATA) # Delete key > self._delete_record_with_enter_key(KEY_PKEY) test_webui/test_automount.py:616: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <ipatests.test_webui.test_automount.TestAutomount object at 0x7f5229ddbdd0> pkey = 'itestkey' def _delete_record_with_enter_key(self, pkey): > assert self.has_record(pkey) E AssertionError: assert False E + where False = <bound method UI_driver.has_record of <ipatests.test_webui.test_automount.TestAutomount object at 0x7f5229ddbdd0>>('itestkey') E + where <bound method UI_driver.has_record of <ipatests.test_webui.test_automount.TestAutomount object at 0x7f5229ddbdd0>> = <ipatests.test_webui.test_automount.TestAutomount object at 0x7f5229ddbdd0>.has_record test_webui/test_automount.py:216: AssertionError
Another failure: PR304, logs
Another failure: PR356, logs
Another failure : PR 374, logs
Another failure: PR #423
Also happened in PR #431
Metadata Update from @frenaud: - Issue tagged with: webui
Another failure, PR #767
Another failure, PR #1105, logs
Since this is transient issue linked to speed of the system, I vote for closing it.
Metadata Update from @mpolovka: - Issue close_status updated to: worksforme - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.