The nightly test test_epn.py::TestEPN::test_EPN_config_file is failing, see for instance PR #1677 with the following logs and report:
test_epn.py::TestEPN::test_EPN_config_file
@pytest.mark.skip_if_platform( "debian", reason="Cannot check installed packages using RPM" ) def test_EPN_config_file(self): """Check that the EPN configuration file is installed. https://pagure.io/freeipa/issue/8374 """ epn_conf = "/etc/ipa/epn.conf" epn_template = "/etc/ipa/epn/expire_msg.template" if tasks.get_platform(self.master) != "fedora": cmd1 = self.master.run_command(["rpm", "-qc", "ipa-client-epn"]) else: cmd1 = self.master.run_command(["rpm", "-qc", "freeipa-client-epn"]) assert epn_conf in cmd1.stdout_text assert epn_template in cmd1.stdout_text cmd2 = self.master.run_command(["sha256sum", epn_conf]) ck = "9977d846539d4945900bd04bae25bf746ac75fb561d3769014002db04e1790b8" > assert cmd2.stdout_text.find(ck) == 0 E assert -1 == 0 E +-1 E -0
This is a regression introduced by the fix for issue #9145 (commit 300f62f on the master branch). The fix provides a new epn.conf file and the test expects a specific sha256sum for the file (hardcoded, corresponding to the file before the new lines were added by the fix). The expectation needs to be updated.
Metadata Update from @frenaud: - Issue assigned to frenaud
Metadata Update from @frenaud: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6243
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.