autobuild and dnspython

Noel Power nopower at
Wed Sep 5 18:07:32 UTC 2018


I was trying to push my branch to autobuild, I'm running into a problem
with dnspython [1], it appears we have an intree version in third_party
(that isn't used in gitlab CI) The version is in samba seems woefully
out of date, what is the procedure here?, do I need to try and port the
failing bits to python3 (and that may not be trivial at all)

I am not aware of the history here but surely this package isn't
something we need to be hanging on to is it ? do we have some real samba
specific stuff in there. It would be great if the autobuild machine
could just use system python/python3 dnspython packages and/or drop that
completely from thirdparty (something tells me it's not going to be that
easy :///)




[24(179)/36 at 6m4s] samba.tests.emulate.traffic.python3(ad_dc_ntvfs)
Traceback (most recent call last):
  File "/memdisk/npower/a/b2097362/samba-py3/source4/scripting/bin/subunitrun", line 87, in <module>
    TestProgram(module=None, args=args, opts=subunitopts)
  File "bin/python/samba/tests/", line 65, in __init__
    super(TestProgram, self).__init__(module=module, argv=argv)
  File "bin/python/samba/subunit/", line 542, in __init__
  File "bin/python/samba/subunit/", line 601, in parseArgs
  File "bin/python/samba/subunit/", line 610, in createTests
  File "/usr/lib/python3.4/unittest/", line 146, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.4/unittest/", line 146, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.4/unittest/", line 105, in loadTestsFromName
    module = __import__('.'.join(parts_copy))
  File "bin/python/samba/tests/emulate/", line 23, in <module>
    from samba.emulate import traffic
  File "bin/python/samba/emulate/", line 31, in <module>
    from samba.emulate import traffic_packets
  File "bin/python/samba/emulate/", line 40, in <module>
    import dns.resolver
  File "./third_party/dnspython/dns/", line 28, in <module>
    import dns.message
  File "./third_party/dnspython/dns/", line 176
    return '<DNS message, ID ' + `` + '>'

More information about the samba-technical mailing list