[Python-modules-team] Bug#750233: python-networkx: FTBFS - test fail, order not deterministic?

Michael Tautschnig mt at debian.org
Mon Jun 2 17:39:23 UTC 2014


Package: python-networkx
Version: 1.8.1-1
Severity: serious
Usertags: goto-cc

During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder
and pbuilder) the build failed with the following error.

[...]
running nosetests
running egg_info
writing dependency_links to networkx.egg-info/dependency_links.txt
writing networkx.egg-info/PKG-INFO
writing top-level names to networkx.egg-info/top_level.txt
reading manifest file 'networkx.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'scripts/*'
warning: no files found matching 'networkx/tests/*.txt'
warning: no files found matching 'networkx/*/*/tests/*.txt'
warning: no previously-included files matching '*~' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '.svn' found anywhere in distribution
no previously-included directories found matching 'doc/source/templates/gallery.html'
writing manifest file 'networkx.egg-info/SOURCES.txt'
======================================================================
FAIL: test_project.TestBipartiteWeightedProjection.test_project_weighted_jaccard
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/srv/jenkins-slave/workspace/sid-goto-cc-python-networkx/python-networkx-1.8.1/networkx/algorithms/bipartite/tests/test_project.py", line 319, in test_project_weighted_jaccard
    assert_equal(P.edges(),Panswer.edges())
nose.proxy.AssertionError: Lists differ: [('C', 'D'), ('C', 'B'), ('C', 'A'), ('D', '[47 chars]'A')] != [('D', 'C'), ('D', 'B'), ('D', 'A'), ('E', '[47 chars]'A')]

Further failing tests follow - the full build log is attached. It seems the
order of those lists isn't as deterministic as should be.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-networkx-build-log.txt.gz
Type: application/x-gunzip
Size: 143504 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140602/ca97dc94/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20140602/ca97dc94/attachment-0001.sig>


More information about the Python-modules-team mailing list