I run the IPA tests for location plugin:
ipa-run-tests -v test_xmlrpc/test_location_plugin.py ... _______ TestLocationsServer.test_remove_service_weight_from_server[sk\xfa\u0161ka.idna] _______ self = <ipatests.test_xmlrpc.test_location_plugin.TestLocationsServer object at 0x7f87cb450c50> location = <ipatests.test_xmlrpc.tracker.location_plugin.LocationTracker object at 0x7f87cb3d3ef0> server = <ipatests.test_xmlrpc.tracker.server_plugin.ServerTracker object at 0x7f87cb449128> def test_remove_service_weight_from_server(self, location, server): server.update( updates={u'ipaserviceweight': None}, expected_updates={u'enabled_role_servrole': lambda other: True}, > messages=self.messages) usr/lib64/python3/site-packages/ipatests/test_xmlrpc/test_location_plugin.py:216: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ usr/lib64/python3/site-packages/ipatests/test_xmlrpc/tracker/server_plugin.py:134: in update messages=messages) usr/lib64/python3/site-packages/ipatests/test_xmlrpc/tracker/server_plugin.py:116: in check_update assert_deepequal(expected, result) usr/lib64/python3/site-packages/ipatests/util.py:444: in assert_deepequal assert_deepequal(e_sub, g_sub, doc, stack + (key,)) usr/lib64/python3/site-packages/ipatests/util.py:432: in assert_deepequal assert_deepequal(e_sub, g_sub, doc, stack + (i,)) usr/lib64/python3/site-packages/ipatests/util.py:444: in assert_deepequal assert_deepequal(e_sub, g_sub, doc, stack + (key,)) usr/lib64/python3/site-packages/ipatests/util.py:444: in assert_deepequal assert_deepequal(e_sub, g_sub, doc, stack + (key,)) ... E AssertionError: assert_deepequal: expected != got. E E expected = 'named-pkcs11.service' E got = 'bind.service' E path = ('messages', 0, 'data', 'service') ... ====================== 8 failed, 33 passed, 2 warnings in 14.76 seconds =======================
The problem is that the name of systemd unit of named is assumed to be named-pkcs11.service. This is not true for some platforms. For example, Debian uses bind9-pkcs11.
named
named-pkcs11.service
bind9-pkcs11
Metadata Update from @rcritten: - Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/3304 - Issue priority set to: normal - Issue set to the milestone: FreeIPA 4.8
master:
Metadata Update from @rcritten: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.