build errors on Fedora 24 and CentOS 7

Brian Warner warner at lothar.com
Tue Oct 11 22:49:10 UTC 2016


On 10/11/16 10:25 AM, Lukas Pirl wrote:

>> Hmm. What's the full output of "/bin/ip addr" on that box?
> 
> Please see attached (avoids line wraps).

Hmm.. that output matches the regexp when I compare it locally, and
shouldn't have produced the error that the buildbot saw:

allmydata.test.test_iputil.ListAddresses.test_list_async ...
Traceback (most recent call last):
  File
"/home/tahoe/buildslave/Fedora_24/build/src/allmydata/test/test_iputil.py",
line 105, in _check
    self.failUnlessIn("127.0.0.1", addresses)
  File
"/home/tahoe/buildslave/Fedora_24/build/.tox/py27/lib/python2.7/site-packages/twisted/trial/_synctest.py",
line 485, in assertIn
    % (containee, container))
twisted.trial.unittest.FailTest: '127.0.0.1' not in ['10.10.1.14']
[FAILURE]

Is it possible that the buildslave is running in a different environment
than the one where you ran "/bin/ip addr"? Like, maybe different userids
give different results? I don't know how LXC works well enough to know
if that even makes sense.

Or maybe there's something funny with the regexp? Different newline
convention on that box? Some unicode thing?

I guess the next step is to modify the tests to log the full output from
/bin/ip to test.log, or maybe add a separate buildstep to do the same.

puzzled,
 -Brian



More information about the tahoe-dev mailing list