The nightly test test_subid.py::test_subid::test_subid_range_deletion_not_allowed is failing, see for instance PR #1921 with the following logs and report:
test_subid.py::test_subid::test_subid_range_deletion_not_allowed
self = <ipatests.test_webui.test_subid.test_subid object at 0x7fb60d2898a0> @screenshot def test_subid_range_deletion_not_allowed(self): """ Test to check that subid range delete is not allowed from WebUI i.e Delete button is not available. """ self.init_app() self.navigate_to_entity('subid', facet='search') self.facet_button_click('add') self.select_combobox('ipaowner', 'admin') self.dialog_button_click('add') self.wait(0.3) > self.assert_no_error_dialog() test_webui/test_subid.py:149: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <ipatests.test_webui.test_subid.test_subid object at 0x7fb60d2898a0> def assert_no_error_dialog(self): """ Assert that no error dialog is opened """ dialog = self.get_last_error_dialog() ok = dialog is None if not ok: msg = self.find('p', By.CSS_SELECTOR, dialog).text > assert ok, 'Unexpected error: %s' % msg E AssertionError: Unexpected error: Subordinate id with with name "22dd1120-94e3-4ffd-bed0-83c8981e01a0" or for user "admin" already exists. test_webui/ui_driver.py:2109: AssertionError
This is a new test introduced by commit bf4c512 ipatests: WebUI: do not allow subid range deletion
Test scenario: - add a subid range for the admin user - try to delete the new range
The issue happens in the add step, because there is already a subid range defined for the admin user (done in the test test_admin_subid).
test_admin_subid
Metadata Update from @frenaud: - Issue assigned to sumenon
Reproducible in testing_master_latest PR 1927 Report
testing_master_latest
Reproducible in testing_master_latest PR 1937 Report
Reproducible in testing_master_latest PR 1965 Report
Reproducible in testing_master_latest PR 1975 Report
Reproducible in testing_master_latest PR 1985 Report
Reproducible in testing_master_latest PR 1995 Report
Reproducible in testing_maser_latest PR 2024 Report
testing_maser_latest
Reproducible in testing_master_latest PR 2034 Report
Reproducible in testing_master_latest PR 2043 Report
Reproducible in testing_master_latest PR 2053 Report
master:
ipa-4-10:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)