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

Antonio Terceiro terceiro at debian.org
Fri May 29 11:01:50 UTC 2015


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.

-- 
Antonio Terceiro <terceiro at debian.org>
-------------- next part --------------
Format: 1.8
Date: Sun, 10 May 2015 19:39:16 -0300
Source: ruby-defaults
Binary: ruby ruby-dev ruby-all-dev libruby libtcltk-ruby ri ruby-full
Architecture: source all
Version: 1:2.1.5.0
Distribution: experimental
Urgency: medium
Maintainer: Antonio Terceiro <terceiro at debian.org>
Changed-By: Antonio Terceiro <terceiro at debian.org>
Description:
 libruby    - Libraries necessary to run Ruby
 libtcltk-ruby - Tcl/Tk interface for Ruby
 ri         - Ruby Interactive reference
 ruby       - Interpreter of object-oriented scripting language Ruby (default v
 ruby-all-dev - Ruby development environment (all versions supported in Debian)
 ruby-dev   - Header files for compiling extension modules for Ruby (default ve
 ruby-full  - Ruby full installation (default version)
Changes:
 ruby-defaults (1:2.1.5.0) experimental; urgency=medium
 .
   [ Lucas Nussbaum ]
   * Drop myself from Uploaders.
 .
   [ Antonio Terceiro ]
   * ruby Conflicts: ruby-activesupport-2.3 to help with several Rails-related
     upgrade issues, when using Rails 2.3 (with e.g. redmine from wheezy). See
     #779882
   * Cleanup Uploaders: remove akira yamada <akira at debian.org> and Daigo
     Moriwaki <daigo at debian.org>. We are grateful to their previous
     maintainance of ruby in Debian, but in practive they haven't done anything
     in quite a few years.
Checksums-Sha1:
 d34b61ba2c12b5860d363aedc2d3c35e0139ea29 1952 ruby-defaults_2.1.5.0.dsc
 7662902442fd42278b09ac89261e3d9da6e48ea0 10144 ruby-defaults_2.1.5.0.tar.xz
 106f446405adc273ca62df1bb65eeb18f9fc3b55 9832 ruby_2.1.5.0_all.deb
 b249b149d6dbf21c2d2da5e03464d84f02237f32 8502 ruby-dev_2.1.5.0_all.deb
 8d6cb904faaf727b358a5b3ccef05097a9741adb 9210 ruby-all-dev_2.1.5.0_all.deb
 2279ec9bbb027ca682414bfbb1f6f8bbc277b80a 8442 libruby_2.1.5.0_all.deb
 16659e51bf57fe5ec7a72f26acd0080ea2c9a1ca 8332 libtcltk-ruby_2.1.5.0_all.deb
 17cb2acb282b33bd964d0fc85d8ae4bfb6603486 8484 ri_2.1.5.0_all.deb
 8b18e1c8caf0bddb801ac8c98a1fbd367ae0cc93 8440 ruby-full_2.1.5.0_all.deb
Checksums-Sha256:
 d4ae3f1b8996df51e1793d3c9ac19e18d8b999aeae2050fc2dc0a7a88c58440a 1952 ruby-defaults_2.1.5.0.dsc
 d3a0ce859829a854f832d2229c7eccfb8470002726c7200099c38ee38f25b519 10144 ruby-defaults_2.1.5.0.tar.xz
 130f4b9c6f0a1d8b8f055c5c435d30872fc6e39cf21798bd8a0232795a48f952 9832 ruby_2.1.5.0_all.deb
 999be80d9313b7991c3d82c49afb13f5111e8ae592be9fc46f1129f415a2d616 8502 ruby-dev_2.1.5.0_all.deb
 d50e7a44f236fcd5a7ea38d41b9949e7375c7f2394288ae64ce29cfc8ab027ee 9210 ruby-all-dev_2.1.5.0_all.deb
 31d4a33044621f694f20ab6fd2129af13b59561022042474267aac4413f3b8f5 8442 libruby_2.1.5.0_all.deb
 c4fe30213615254b24fd311338deb4237646de1919265d925ea2cc9b0c7bf97e 8332 libtcltk-ruby_2.1.5.0_all.deb
 1b0e1d4563527a76abbc1feb71814da544640b21b5c6c25a6b3656126f9e90ae 8484 ri_2.1.5.0_all.deb
 c3d0e80c8c6894af6ddad958b9695df5ef1a440b40f08328648eedd33497e92d 8440 ruby-full_2.1.5.0_all.deb
Files:
 602e81d7e320f51490efa6a2acdf8f93 1952 ruby optional ruby-defaults_2.1.5.0.dsc
 8ad1824fd28acf02855ed359c75e631f 10144 ruby optional ruby-defaults_2.1.5.0.tar.xz
 4e3af1ba6ca3a4a40b2b544a4951e79a 9832 ruby optional ruby_2.1.5.0_all.deb
 a6f5677004f56b1bac36d36f47b84482 8502 devel optional ruby-dev_2.1.5.0_all.deb
 3d65da680e84ffd24340216f1a106d17 9210 devel optional ruby-all-dev_2.1.5.0_all.deb
 41fe7a7f82cd40a0247593e899a9075b 8442 libs optional libruby_2.1.5.0_all.deb
 d1776f9fb20752e6676efe70d2327856 8332 ruby optional libtcltk-ruby_2.1.5.0_all.deb
 590d2ad51c06fd37f17eeaa061b25828 8484 ruby optional ri_2.1.5.0_all.deb
 bc4855a03ca688635a799313ac35b4ac 8440 ruby optional ruby-full_2.1.5.0_all.deb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20150529/d43b367f/attachment.sig>


More information about the autopkgtest-devel mailing list