Bug#784942: autopkgtest: fails to read Files: from perfectly valid .changes file

Damyan Ivanov dmn at debian.org
Fri Jun 12 19:45:33 UTC 2015


-=| Antonio Terceiro, 29.05.2015 08:01:50 -0300 |=-
> On Tue, May 26, 2015 at 06:31:15PM +0200, Martin Pitt wrote:
> > Control: tag -1 unreproducible
> > 
> > Hey Antonio,
> > 
> > sorry for the late response.
> > 
> > Antonio Terceiro [2015-05-10 19:45 -0300]:
> > > I am missing anything?
> > > 
> > > $ adt-run --user debci --output-dir /tmp/adt-run ../build-area/ruby-defaults_2.1.5.0_amd64.changes --- schroot debci-unstable-amd64
> > > adt-run: error: ../build-area/ruby-defaults_2.1.5.0_amd64.changes is invalid and does not contain Files:
> > > [20]$ cat ../build-area/ruby-defaults_2.1.5.0_amd64.changes
> > 
> > I tried that .changes files, and it works correctly here. Maybe just
> > pasting it into the email destroyed some subtle whitespace? Can you
> > attach the file instead?
> > 
> > I also got ruby-defaults 2.1.5.0 from the archive, sbuilt it, and ran
> > adt-run on the binary unsigned .changes, which also worked.
> > 
> > If you can still reproduce this, I can also send you some patch for
> > enhancing debugging in runner/adt-run files_from_dsc() -- it seems the
> > parse_rfc822() runs into a corner case?
> 
> I can still reproduce it, yes:
> 
> $ adt-run --user debci --output-dir /tmp/adt-run ruby-defaults_2.1.5.0_amd64.changes --- schroot debci-unstable-amd64
> adt-run: error: ruby-defaults_2.1.5.0_amd64.changes is invalid and does not contain Files:
> [20]$ debsign ruby-defaults_2.1.5.0_amd64.changes
> [...]
> Successfully signed dsc and changes files
> $ adt-run --user debci --output-dir /tmp/adt-run ruby-defaults_2.1.5.0_amd64.changes --- schroot debci-unstable-amd64
> adt-run [07:57:45]: version 3.14.2
> adt-run [07:57:45]: command line: /usr/bin/adt-run --user debci --output-dir /tmp/adt-run ruby-defaults_2.1.5.0_amd64.changes --- schroot debci-unstable-amd64
> adt-run [07:57:46]: testbed dpkg architecture: amd64
> adt-run [07:57:46]: @@@@@@@@@@@@@@@@@@@@ source ruby-defaults_2.1.5.0.dsc
> OK
> [...]
> adt-run [07:57:59]: test smoke-test: -----------------------]
> adt-run [07:57:59]: test smoke-test:  - - - - - - - - - - results - - - - - - - - - -
> smoke-test           PASS
> 
> The original ruby-defaults_2.1.5.0_amd64.changes, without the signature,
> is attached.

I have another failing example (attached). Debsign-ing it works around 
the problem.

HTH,
    dam
-------------- next part --------------
Format: 1.8
Date: Fri, 12 Jun 2015 17:52:22 +0200
Source: libwww-mechanize-shell-perl
Binary: libwww-mechanize-shell-perl
Architecture: source all
Version: 0.55-1
Distribution: UNRELEASED
Urgency: low
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Changed-By: gregor herrmann <gregoa at debian.org>
Description:
 libwww-mechanize-shell-perl - interactive shell for WWW::Mechanize
Changes:
 libwww-mechanize-shell-perl (0.55-1) UNRELEASED; urgency=low
 .
   IGNORE-VERSION: 0.53-1
   # no code changes
 .
   [ Ansgar Burchardt ]
   * debian/control: Convert Vcs-* fields to Git.
 .
   [ Angel Abad ]
   * Email change: Angel Abad -> angel at debian.org
 .
   [ gregor herrmann ]
   * debian/control: update {versioned,alternative} (build) dependencies.
 .
   [ Salvatore Bonaccorso ]
   * Change Vcs-Git to canonical URI (git://anonscm.debian.org)
   * Change search.cpan.org based URIs to metacpan.org based URIs
 .
   [ Florian Schlichting ]
   * Import Upstream version 0.53
   * Bump Standards-Version to 3.9.4 (update to copyright-format 1.0)
   * Bump dh compatibility to level 8 (no changes necessary)
 .
   [ gregor herrmann ]
   * Strip trailing slash from metacpan URLs.
 .
   [ Salvatore Bonaccorso ]
   * Update Vcs-Browser URL to cgit web frontend
 .
   [ gregor herrmann ]
   * Add debian/upstream/metadata
   * Import upstream version 0.55
Checksums-Sha1:
 1329a48c84561a525779bc5e8bccf55356121da1 1767 libwww-mechanize-shell-perl_0.55-1.dsc
 f584e573a117be957bcd6e0414b508652c2e8db2 52522 libwww-mechanize-shell-perl_0.55.orig.tar.gz
 1b7c3e00e5b015d52cff9b0c6f767801639c2c87 4012 libwww-mechanize-shell-perl_0.55-1.debian.tar.xz
 59ec8a273c93d18c086744ef280e9f085f59ef3a 36926 libwww-mechanize-shell-perl_0.55-1_all.deb
Checksums-Sha256:
 2c09778aa11761d7fb93ab15fd391d61d35108e7e964470ece84478cbd40d709 1767 libwww-mechanize-shell-perl_0.55-1.dsc
 b0231f7821dcd1d579723d4aea05cdeb023013434f2faf119dd03b4bd13efbde 52522 libwww-mechanize-shell-perl_0.55.orig.tar.gz
 b52c39d08b353d3d00ddeaedd02132e6a3b93299ba965f6313a1aee3e27a12e5 4012 libwww-mechanize-shell-perl_0.55-1.debian.tar.xz
 8f89e07cdf1a960156fe0c314297c1137f39331f3052afcf6ab0e6193d051d92 36926 libwww-mechanize-shell-perl_0.55-1_all.deb
Files:
 d4364cd21926f43f1cc0efc41572b58f 1767 perl optional libwww-mechanize-shell-perl_0.55-1.dsc
 c18f81f8452301a2da58b00cc9970da5 52522 perl optional libwww-mechanize-shell-perl_0.55.orig.tar.gz
 b0b306988376c1ae103c9342d7ea4386 4012 perl optional libwww-mechanize-shell-perl_0.55-1.debian.tar.xz
 3aef16dae33fa71446b1fc07e0824763 36926 perl optional libwww-mechanize-shell-perl_0.55-1_all.deb


More information about the autopkgtest-devel mailing list