#6184 Regression found by ipa.test_cmdline.test_cli.TestCLIParsing.test_dnsrecord_add_ask_for_missing_fields
Closed: Invalid Opened by mbasti.

ipa.test_cmdline.test_cli.TestCLIParsing.test_dnsrecord_add_ask_for_missing_fields:

>                       doc, sorted(missing), sorted(extra), expected, got, stack
                    )
                )
E               AssertionError: assert_deepequal: dict keys mismatch.
E                 
E                 missing keys = ['sshfp_part_fingerprint', 'sshfp_part_fp_type']
E                 extra keys = []
E                 expected = {'sshfp_part_fingerprint': u'E3B72BA346B90570EED94BE9334E34AA795CED23', 'sshfp_part_algorithm': u'1', 'idnsname': u'sshfp', 'sshfp_part_fp_type': 1, 'dnszoneidnsname': u'zoneadd.dom-150.idm.lab.eng.brq.redhat.com'}
E                 got = {'dnszoneidnsname': u'zoneadd.dom-150.idm.lab.eng.brq.redhat.com', 'idnsname': u'sshfp', 'sshfp_part_algorithm': u'1'}
E                 path = ()

Failing due to issues described in https://fedorahosted.org/freeipa/ticket/6203, not a test bug.

ldoudova: investigated the issue, tests are most probably ok. It fails precisely due to #6203: the test expects to be asked for missing values and tries to pass them via cmdline, but no request for additional values comes -> it creates entry without those values and thus the test fails. Still would leave #6184 opened until #6203 is fixed and correctness of tests verified.

tests should be rechecked when #6203 is fixed

6203 fixed, test passes, hence closing as invalid ticket.

Metadata Update from @mbasti:
- Issue assigned to lryznaro
- Issue set to the milestone: FreeIPA 4.4.2

Metadata