test_ftparchive failing on Lucid

Bug #526826 reported by William Grant
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Max Bowsher

Bug Description

test_ftparchive is failing on Lucid, since Lucid's apt-ftparchive outputs SHA1 and SHA256 in addition to the traditional MD5. APT::FTPArchive::SHA1 looks like it's meant to disable it, but it doesn't work even if set.

Failure in test test_generateConfig (lp.archivepublisher.tests.test_ftparchive.TestFTPArchive)
Traceback (most recent call last):
  File "/usr/lib/python2.5/unittest.py", line 260, in run
    testMethod()
  File "/home/wgrant/launchpad/lp-branches/db-devel/lib/lp/archivepublisher/tests/test_ftparchive.py", line 302, in test_generateConfig
    os.path.join(self._distsdir, "hoary-test", "main", "source"))
  File "/home/wgrant/launchpad/lp-branches/db-devel/lib/lp/archivepublisher/tests/test_ftparchive.py", line 106, in _verifyFile
    self.assertEqual(result_text, sample_text, '\n'.join(diff_lines))
  File "/usr/lib/python2.5/unittest.py", line 334, in failUnlessEqual
    (msg or '%r != %r' % (first, second))
AssertionError: Package: foo
  Binary: foo
  Version: 2.15-4
  Priority: extra
  Section: misc
  Maintainer: James Troup <email address hidden>
  Build-Depends: autoconf (>= 2.13), bison, flex, gettext, texinfo, binutils (>= 2.9.5.0.12), gcc (>= 2.95.2-1), dejagnu (>= 1.4.2-1.1), expect (>= 5.32.2-1), dpatch, file
  Architecture: any
  Standards-Version: 3.6.1.0
  Format: 1.0
  Directory: pool/main/f/foo
  Files:
   bf8ef0ec49274621a72c941fbd1d70ed 1326 foo.dsc
   ea140e23ae50a61a79902aa67da5214e 15134701 binutils_2.15.orig.tar.gz
   2cf84daeca019220f5f3753121f012bb 36466 binutils_2.15-4.diff.gz
+ Checksums-Sha1:
+ 4814174f913720747f20a087424460ec6eb9be10 1326 foo.dsc
+
+ Checksums-Sha256:
+ e67f53d4e4479fbfc1ac5ac5a20ec8b4eccbb4d9c56edfc0980371ee481a4fb6 1326 foo.dsc
+

Changed in soyuz:
status: New → Triaged
importance: Undecided → High
tags: added: soyuz-publish tech-debt
Changed in soyuz:
milestone: none → 10.04
Revision history for this message
Max Bowsher (maxb) wrote :

Fixed in devel 10712.
http://bazaar.launchpad.net/~<email address hidden>

Changed in soyuz:
assignee: nobody → Max Bowsher (maxb)
status: Triaged → Fix Committed
Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.