#1235 closed defect (fixed)

'UserWarning: Unbuilt egg for setuptools' on Lucid

Reported by: davidsarah Owned by: zooko
Priority: major Milestone: 1.8.1
Component: code Version: 1.8.0
Keywords: ubuntu lucid setuptools Cc: rockstar
Launchpad Bug: 576434

Description (last modified by daira)

http://tahoe-lafs.org/buildbot/builders/lucid-amd64/builds/31/steps/test/logs/stdio :

[FAIL]: allmydata.test.test_runner.BinTahoe.test_version_no_noise

Traceback (most recent call last):
  File "/home/buildslave/tahoe-buildslave/lucid-amd64/build/src/allmydata/test/test_runner.py", line 160, in _cb
    self.failUnlessEqual(err, "", str(res))
twisted.trial.unittest.FailTest: ('allmydata-tahoe: 1.8.0-r4766, foolscap: 0.5.1, pycryptopp: 0.5.25, zfec: 1.4.7, Twisted: 10.1.0, Nevow: 0.10.0, zope.interface: 3.5.3, python: 2.6.5, platform: Linux-Ubuntu_10.04-x86_64-64bit_ELF, sqlite: 3.6.22, simplejson: 2.1.1, distribute: 0.6.10, argparse: 1.1, pycrypto: 2.3, pyOpenSSL: 0.10, pyutil: 1.7.12, zbase32: 1.1.2, setuptools: 0.6, pyasn1: 0.0.11a, pysqlite: 2.4.1\n', '/home/buildslave/tahoe-buildslave/lucid-amd64/build/support/bin/tahoe:6: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)\n  from pkg_resources import load_entry_point\n', 0)
not equal:
a = '/home/buildslave/tahoe-buildslave/lucid-amd64/build/support/bin/tahoe:6: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)\n  from pkg_resources import load_entry_point\n'
b = ''

===============================================================================
[FAIL]: allmydata.test.test_runner.RunNode.test_client_no_noise

Traceback (most recent call last):
  File "/home/buildslave/tahoe-buildslave/lucid-amd64/build/src/allmydata/test/test_runner.py", line 442, in _cb2
    self.failUnlessEqual(err, "", errstr)
twisted.trial.unittest.FailTest: cc=0, OUT: '', ERR: '/home/buildslave/tahoe-buildslave/lucid-amd64/build/support/bin/tahoe:6: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)
  from pkg_resources import load_entry_point
'
not equal:
a = '/home/buildslave/tahoe-buildslave/lucid-amd64/build/support/bin/tahoe:6: UserWarning: Unbuilt egg for setuptools [unknown version] (/usr/lib/python2.6/dist-packages)\n  from pkg_resources import load_entry_point\n'
b = ''

Attachments (1)

skip-on-unbuilt-egg-noise.darcs.patch (6.4 KB) - added by davidsarah at 2010-10-29T06:18:01Z.
test_runner.py: if the only noise is 'UserWarning?: Unbuilt egg for setuptools', skip instead of failing the no_noise tests. refs #1235

Download all attachments as: .zip

Change History (10)

comment:1 Changed at 2010-10-29T04:47:45Z by davidsarah

  • Launchpad Bug set to 576434

comment:2 Changed at 2010-10-29T05:04:51Z by zooko

  • Cc rockstar added

Apparently this is a bug in the Ubuntu packaging of distribute.

Changed at 2010-10-29T06:18:01Z by davidsarah

test_runner.py: if the only noise is 'UserWarning?: Unbuilt egg for setuptools', skip instead of failing the no_noise tests. refs #1235

comment:3 Changed at 2010-10-29T06:18:53Z by davidsarah

  • Component changed from unknown to code
  • Keywords review-needed added
  • Owner changed from nobody to zooko

comment:4 Changed at 2010-10-29T06:34:36Z by david-sarah@…

In [4782/ticket1190]:

test_runner.py: if the only noise is 'UserWarning?: Unbuilt egg for setuptools', skip instead of failing the no_noise tests. refs #1235

comment:5 Changed at 2010-10-29T19:43:15Z by david-sarah@…

In 8c95f88b4f112328:

test_runner.py: if the only noise is 'UserWarning?: Unbuilt egg for setuptools', skip instead of failing the no_noise tests. This version avoids 'any' to be compatible with Python < 2.5. refs #1235.

comment:6 Changed at 2010-10-29T21:06:31Z by david-sarah@…

In d249589667367877:

test_runner.py: also allow 'from pkg_resources import load_entry_point' as noise. refs #1235.

comment:7 Changed at 2010-10-29T22:56:48Z by david-sarah@…

In 10a5f23df910493b:

(The changeset message doesn't reference this ticket)

comment:8 Changed at 2010-12-01T20:08:20Z by davidsarah

  • Keywords review-needed removed

comment:9 Changed at 2016-01-15T18:00:45Z by daira

  • Description modified (diff)
  • Milestone changed from undecided to 1.8.1
  • Resolution set to fixed
  • Status changed from new to closed

I think this was actually fixed in 2010.

Note: See TracTickets for help on using tickets.