#8650 Updated dnspython-2.1.0 causes a test failure
Closed: fixed 3 years ago by frenaud. Opened 3 years ago by rcritten.

Issue

ipatests.test_ipapython.test_dnsutil.TestSortSRV::test_prio is failing in Azure where pip is pulling in a newer version of dnspython, 2.1.0, than is in Fedora (python3-dns):

>      hs = mksrv(-1, 0, 443, u"special")

cls = <class 'dns.rdtypes.IN.SRV.SRV'>, value = -1

    @classmethod
    def _as_uint16(cls, value):
        if not isinstance(value, int):
            raise ValueError('not an integer')
        if value < 0 or value > 65535:
>           raise ValueError('not a uint16')
E           ValueError: not a uint16

../dns/rdata.py:385: ValueError

python3-dns-2.0.0-1.fc33 returns this as:

<DNS IN SRV rdata: -1 0 443 special.>

See https://github.com/freeipa/freeipa/pull/5401


Metadata Update from @rcritten:
- Issue assigned to rcritten

3 years ago

Metadata Update from @frenaud:
- Issue tagged with: test-failure, tests

3 years ago

master:

  • e619c9f Remove invalid test case for DNS SRV priority

ipa-4-8:

  • 2fd0ee3 Remove invalid test case for DNS SRV priority

ipa-4-9:

  • 071b712 Remove invalid test case for DNS SRV priority

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

3 years ago

Login to comment on this ticket.

Metadata