#8992 Nightly test failure in test_webui/test_host.py/test_host/test_search
Closed: worksforme by mpolovka. Opened by mpolovka.

Nightly test test_host.py/test_host/test_search is failing in [testing_master_previous] Nightly PR #1176 with an error

self = <ipatests.test_webui.test_host.test_host object at 0x7faf3053bd30>
    def test_search(self):
        self.init_app()
        self.navigate_to_entity(ENTITY)
        self.add_record(ENTITY, [self.data2, self.data3])
        # positive search filter
        self.fill_search_filter(self.pkey2)
        actions = ActionChains(self.driver)
        actions.send_keys(Keys.ENTER).perform()
        self.wait(0.5)
>       self.assert_record(self.pkey2)
test_webui/test_host.py:770: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
self = <ipatests.test_webui.test_host.test_host object at 0x7faf3053bd30>
pkey = 'host-13f1ed72.ipa.test', parent = None, table_name = None
negative = False
    def assert_record(self, pkey, parent=None, table_name=None, negative=False):
        """
        Assert that record is in current search table
        """
        has = self.has_record(pkey, parent, table_name)
        has |= self.has_record(pkey.lower(), parent, table_name)
        if negative:
            assert not has, "Record exists when it shouldn't: %s" % pkey
        else:
>           assert has, 'Record does not exist: %s' % pkey
E           AssertionError: Record does not exist: host-13f1ed72.ipa.test
test_webui/ui_driver.py:2180: AssertionError

Full report


@miskopo webui tests don't save the http error_log file => I won't be able to diagnose

I tried a rerun and the failure was not reproduced. We can either keep this issue open with low priority, or close and re-open if it happens again. Your call...

I vote for closing and potential re-opening.

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

Metadata