#8707 [WebUI] test_host.py::test_host::test_associations - timeout reached
Closed: wontfix by frenaud. Opened by mpolovka.

test_webui/test_host.py::test_host::test_associations failed in [testing_ipa-4.9_latest] Nightly PR #695 with an error:

    test_webui/test_host.py::test_host::test_associations   85.01   
self = <ipatests.test_webui.test_host.test_host object at 0x7fefbcb09ca0>
    @screenshot
    def test_associations(self):
        """
        Host direct associations
        """
        self.init_app()
        # prepare
        # -------
>       self.add_record(ENTITY, self.data)
test_webui/test_host.py:366: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
test_webui/ui_driver.py:1481: in add_record
    self.dialog_button_click(btn)
test_webui/ui_driver.py:728: in dialog_button_click
    self._button_click(s, dialog, name)
test_webui/ui_driver.py:769: in _button_click
    self.wait_for_request()
test_webui/ui_driver.py:382: in wait_for_request
    WebDriverWait(self.driver, self.request_timeout).until_not(lambda d: runner.has_active_request())
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <selenium.webdriver.support.wait.WebDriverWait (session="2e4a9700-ee2d-4221-905a-10a9c3970d93")>
method = <function UI_driver.wait_for_request.<locals>.<lambda> at 0x7fefbcae08b0>
message = ''
    def until_not(self, method, message=''):
        """Calls the method provided with the driver as an argument until the \
        return value is False."""
        end_time = time.time() + self._timeout
        while True:
            try:
                value = method(self._driver)
                if not value:
                    return value
            except self._ignored_exceptions:
                return True
            time.sleep(self._poll)
            if time.time() > end_time:
                break
>       raise TimeoutException(message)
E       selenium.common.exceptions.TimeoutException: Message:
/usr/local/lib/python3.9/site-packages/selenium/webdriver/support/wait.py:96: TimeoutException

Full logs


The error can also be seen on [testing_mater_latest], for instance in PR#710:
test_webui_host
- test_webui/test_host.py::test_host::test_crud
- test_webui/test_host.py::test_host::test_kerberos_flags
- test_webui/test_host.py::test_host::test_associations

test_webui_host_net_groups
- test_webui/test_netgroup.py::test_netgroup::test_mod

test_webui_identity
- test_webui/test_idviews.py::test_idviews::test_hosts

Since PR#711, this error also affects:

test_hosts.py

  • test_host::test_certificates

test_user.py

  • test_life_cycles

also affects [testing_master_testing Nightly PR #730]https://github.com/freeipa-pr-ci2/freeipa/pull/730) logs

also affects [testing_master_pki] Nightly PR #747

All the issues seem related to the same cause: the operation completes successfully but a warning is displayed, related to the reverse zone not managed by the IPA server. See for instance http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/20a7b768-6d90-11eb-9729-fa163e60b053/2021-02-13T00:30:55.334535_test_host_test_kerberos_flags.png:

:white_check_mark: Host successfully added
:warning: The host was added but the DNS update failed with: DNS reverse zone 10.in-addr.arpa. for IP address 10.84.149.64 is not managed by this server

Probably related to #8700 ipa-server-install --auto-reverse does not create reverse DNS zone in Fedora 33

Metadata Update from @mpolovka:
- Issue assigned to mpolovka

Metadata Update from @mpolovka:
- Issue assigned to ebelko (was: mpolovka)

Does not happen any more

Metadata Update from @frenaud:
- Issue close_status updated to: wontfix
- Issue status updated to: Closed (was: Open)

Metadata