FreeIPA Jenkins CI test freeipa-integration-forced_client_reenrollment-f19 is failing:
freeipa-integration-forced_client_reenrollment-f19
====================================================================== FAIL: Client re-enrollment using keytab ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest self.test(*self.arg) File "/usr/lib/python2.7/site-packages/ipatests/test_integration/test_forced_client_reenrollment.py", line 76, in test_reenroll_with_keytab assert sshfp_record_pre == sshfp_record_post AssertionError
I checked the SSHFP record outputs and they are not different, only record order has changed. Given that LDAP does not guarantee attribute value order, test needs to be fixed:
def get_sshfp_record(self): sshfp_record = '' client_host = self.clients[0].hostname.split('.')[0] result = self.master.run_command( ['ipa', 'dnsrecord-show', self.master.domain.name, client_host] ) lines = result.stdout_text.splitlines() for line in lines: if 'SSHFP record:' in line: sshfp_record = line.replace('SSHFP record:', '').strip() assert sshfp_record, 'SSHFP record not found' return sshfp_record
I would propose to rather split the records by ',' and turn it into a set.
master:
ipa-3-3:
Metadata Update from @mkosek: - Issue assigned to amisnyov - Issue set to the milestone: FreeIPA 4.0 Backlog
Login to comment on this ticket.