'UserWarning: Unbuilt egg for setuptools' on Lucid #1235

Closed
opened 2010-10-29 04:44:59 +00:00 by davidsarah · 7 comments
davidsarah commented 2010-10-29 04:44:59 +00:00
Owner

(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 = ''
(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 = '' ```
tahoe-lafs added the
unknown
major
defect
1.8.0
labels 2010-10-29 04:44:59 +00:00
tahoe-lafs added this to the undecided milestone 2010-10-29 04:44:59 +00:00

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

Apparently this is a bug in the Ubuntu packaging of distribute.
davidsarah commented 2010-10-29 06:18:01 +00:00
Author
Owner

Attachment skip-on-unbuilt-egg-noise.darcs.patch (6584 bytes) added

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

**Attachment** skip-on-unbuilt-egg-noise.darcs.patch (6584 bytes) added test_runner.py: if the only noise is 'UserWarning: Unbuilt egg for setuptools', skip instead of failing the no_noise tests. refs #1235
tahoe-lafs added
code
and removed
unknown
labels 2010-10-29 06:18:53 +00:00
david-sarah@jacaranda.org commented 2010-10-29 06:34:36 +00:00
Author
Owner

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
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 ```
david-sarah@jacaranda.org commented 2010-10-29 19:43:15 +00:00
Author
Owner

In changeset: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.
In changeset: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. ```
david-sarah@jacaranda.org commented 2010-10-29 21:06:31 +00:00
Author
Owner

In changeset:d249589667367877:

test_runner.py: also allow 'from pkg_resources import load_entry_point' as noise. refs #1235.
In changeset:d249589667367877: ``` test_runner.py: also allow 'from pkg_resources import load_entry_point' as noise. refs #1235. ```
david-sarah@jacaranda.org commented 2010-10-29 22:56:48 +00:00
Author
Owner

In changeset:10a5f23df910493b:

test_runner.py: fix error in BinTahoe.test_version_no_noise introduced by last patch. refs #1235
In changeset:10a5f23df910493b: ``` test_runner.py: fix error in BinTahoe.test_version_no_noise introduced by last patch. refs #1235 ```
daira commented 2016-01-15 18:00:45 +00:00
Author
Owner

I think this was actually fixed in 2010.

I think this was actually fixed in 2010.
tahoe-lafs added the
fixed
label 2016-01-15 18:00:45 +00:00
tahoe-lafs modified the milestone from undecided to 1.8.1 2016-01-15 18:00:45 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#1235
No description provided.