The nightly test test_selinuxusermap.py::test_selinuxusermap::test_misc is failing, see for instance PR#1728 with the following report and logs:
test_selinuxusermap.py::test_selinuxusermap::test_misc
self = <ipatests.test_webui.test_selinuxusermap.test_selinuxusermap object at 0x7f5d6e3e7190> @screenshot def test_misc(self): """ Test various miscellaneous test cases under one roof to save init time """ self.init_app() # test add and add another record self.add_record(selinuxmap.ENTITY, [selinuxmap.DATA, selinuxmap.DATA2]) # test delete multiple records > self.delete_record([selinuxmap.DATA, selinuxmap.DATA2])
Screenshot of the failure: http://freeipa-org-pr-ci.s3-website.eu-central-1.amazonaws.com/jobs/018e58fc-d944-11ec-9f13-fa163e21c439/2022-05-21T21:02:27.082087_test_selinuxusermap_test_misc.png
Test scenario: - Add a new selinuxuser map guest_u:s0 - Add a new selinuxuser map guest_u:s0 - Delete the previously added maps
guest_u:s0
The test fails in the call delete_record of the ui_driver. This method first ensures that the record is present then deletes it. Here, it fails ensuring the record presence, probably because of the notification still visible in the notification area SELinux User Map successfully added.
delete_record
SELinux User Map successfully added
The test should clear the notifications after the addition of new maps.
Update: the issue is not related to the notification. Even when all the notifications are closed, the test fails (see this test report).
Reproduced in : testing_master_latest_selinux-1733 report
test failure seen in testing_master_latest PR 1734 Report
testing_master_latest
Seen in [testing_ipa-4.9_latest_selinux] Nightly PR #1725 https://github.com/freeipa-pr-ci2/freeipa/pull/1725, report
Reproducible in testing_master_latest PR 1743 Report
Reproducible in testing_master_latest PR 1752Report
Reproducible in testing_master_latest PR 1760 Report
Reproducible in testing_master_latest PR 1778 Report
Reproducible in testing_master_latest PR 1813 Report
Reproducible in testing_master_latest PR 1821 Report
Reproducible in testing_master_latest PR 1838 Report
Reproducible in testing_master_latest PR 1856 Report
Reproducible in testing_master_latest PR 1866 Report
Reproducible in testing_master_latest PR 1887 Report
Reproducible in testing_master_latest PR Report
Reproducible in testing_master_latest PR 1906 Report
Reproducible in testing_master_testing_selinux Report
Reproducible in testing_master_latest PR 1916 Report
Reproducible in testing_master_latest PR 1927 Report
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
master:
ipa-4-10:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)