Debian Bug report logs - #674338
germinate: FTBFS: test failed

version graph

Package: python-apt; Maintainer for python-apt is APT Development Team <deity@lists.debian.org>; Source for python-apt is src:python-apt (PTS, buildd, popcon).

Reported by: Lucas Nussbaum <lucas@lucas-nussbaum.net>

Date: Thu, 24 May 2012 10:21:59 UTC

Severity: serious

Tags: sid, wheezy

Fixed in version apt/0.9.5.1

Done: Julian Andres Klode <jak@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Colin Watson <cjwatson@ubuntu.com>:
Bug#674338; Package src:germinate. (Thu, 24 May 2012 10:22:02 GMT) (full text, mbox, link).


Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
New Bug report received and forwarded. Copy sent to Colin Watson <cjwatson@ubuntu.com>. (Thu, 24 May 2012 10:22:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Lucas Nussbaum <lucas@lucas-nussbaum.net>
To: submit@bugs.debian.org
Subject: germinate: FTBFS: test failed
Date: Thu, 24 May 2012 12:02:15 +0200
Source: germinate
Version: 2.8
Severity: serious
Tags: wheezy sid
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20120524 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[1]: Entering directory `/«PKGBUILDDIR»'
> set -e; for python in $(pyversions -r) $(py3versions -r); do \
> 		$python setup.py test; \
> 	done
> running test
> ./run-pychecker
> pychecker not installed, so not running it
> running build_py
> running egg_info
> creating /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate.egg-info
> writing /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate.egg-info/PKG-INFO
> writing top-level names to /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate.egg-info/top_level.txt
> writing dependency_links to /«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate.egg-info/dependency_links.txt
> writing manifest file '/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate.egg-info/SOURCES.txt'
> reading manifest file '/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate.egg-info/SOURCES.txt'
> writing manifest file '/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate.egg-info/SOURCES.txt'
> running build_ext
> test_creates_file (germinate.tests.test_seeds.TestAtomicFile)
> AtomicFile creates the named file with the requested contents. ... ok
> test_removes_dot_new (germinate.tests.test_seeds.TestAtomicFile)
> AtomicFile does not leave .new files lying around. ... ok
> test_behaves_as_file (germinate.tests.test_seeds.TestSeed)
> A Seed context can be read from as a file object. ... ok
> test_equal_if_same_contents (germinate.tests.test_seeds.TestSeed)
> Two Seed objects with the same text contents are equal. ... ok
> test_init_no_bzr (germinate.tests.test_seeds.TestSeed)
> __init__ can open a seed from a collection without bzr. ... ok
> test_not_equal_if_different_contents (germinate.tests.test_seeds.TestSeed)
> Two Seed objects with different text contents are not equal. ... ok
> test_add (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure.add adds a custom seed. ... ok
> test_basic (germinate.tests.test_seeds.TestSeedStructure)
> A SeedStructure object has the correct basic properties. ... ok
> test_dict (germinate.tests.test_seeds.TestSeedStructure)
> A SeedStructure can be treated as a dictionary of seeds. ... ok
> test_later_branches_override_earlier_branches (germinate.tests.test_seeds.TestSeedStructure)
> Seeds from later branches override seeds from earlier branches. ... ok
> test_limit (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure.limit restricts the set of seed names. ... ok
> test_multiple (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure follows "include" links to other seed collections. ... ok
> test_write (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure.write writes the text of STRUCTURE. ... ok
> test_write_dot (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure.write_dot writes an appropriate dot file. ... ok
> test_write_seed_text (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure.write_seed_text writes the text of a seed. ... ok
> test_write_seed_text_utf8 (germinate.tests.test_seeds.TestSeedStructure)
> SeedStructure.write_seed_text handles UTF-8 text in seeds. ... ok
> test_basic (germinate.tests.test_seeds.TestSingleSeedStructure)
> A SingleSeedStructure object has the correct basic properties. ... ok
> test_feature (germinate.tests.test_seeds.TestSingleSeedStructure)
> SingleSeedStructure parses the "feature" directive correctly. ... ok
> test_include (germinate.tests.test_seeds.TestSingleSeedStructure)
> SingleSeedStructure parses the "include" directive correctly. ... ok
> test_init_lists (germinate.tests.test_archive.TestTagFile)
> TagFile may be constructed with list parameters. ... ok
> test_init_strings (germinate.tests.test_archive.TestTagFile)
> TagFile may be constructed with string parameters. ... ok
> test_sections (germinate.tests.test_archive.TestTagFile)
> Test fetching sections from a basic TagFile archive. ... ok
> test_str (germinate.tests.test_germinator.TestBuildDependsReason)
> BuildDependsReason stringifies to a description of the reason. ... ok
> test_str (germinate.tests.test_germinator.TestDependsReason)
> DependsReason stringifies to the package name. ... ok
> test_str (germinate.tests.test_germinator.TestExtraReason)
> ExtraReason stringifies to a description of the reason. ... ok
> test_basic (germinate.tests.test_germinator.TestGerminatedSeed)
> GerminatedSeed has reasonable basic properties. ... ok
> test_equal_if_same_contents (germinate.tests.test_germinator.TestGerminatedSeed)
> GerminatedSeeds with the same seeds and inheritance are equal. ... ok
> test_not_equal_if_different_contents (germinate.tests.test_germinator.TestGerminatedSeed)
> GerminatedSeeds with different seeds/inheritance are not equal. ... ok
> test_different_providers_between_suites (germinate.tests.test_germinator.TestGerminator)
> Provides from later versions override those from earlier ones. ... ok
> test_parse_archive (germinate.tests.test_germinator.TestGerminator)
> Germinator.parse_archive successfully parses a simple archive. ... ok
> test_str (germinate.tests.test_germinator.TestRecommendsReason)
> RecommendsReason stringifies to a description of the reason. ... ok
> test_str (germinate.tests.test_germinator.TestRescueReason)
> RescueReason stringifies to a description of the reason. ... ok
> test_str (germinate.tests.test_germinator.TestSeedReason)
> SeedReason stringifies to a description of the seed. ... ok
> test_trivial (germinate.tests.test_integration.TestGerminate) ... ERROR
> 
> ======================================================================
> ERROR: test_trivial (germinate.tests.test_integration.TestGerminate)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/tests/test_integration.py", line 79, in test_trivial
>     self.runGerminate("-s", "ubuntu.warty", "-d", "warty", "-c", "main")
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/tests/test_integration.py", line 56, in runGerminate
>     self.assertEqual(0, germinate_main.main(argv))
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/scripts/germinate_main.py", line 119, in main
>     g.parse_archive(archive)
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/germinator.py", line 482, in parse_archive
>     for indextype, section in archive.sections():
>   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/archive.py", line 200, in sections
>     for section in apt_pkg.TagFile(tag_file):
> SystemError: E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor)
> 
> ----------------------------------------------------------------------
> Ran 34 tests in 0.065s
> 
> FAILED (errors=1)
> make[1]: *** [override_dh_auto_test] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/24/germinate_2.8_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.




Information forwarded to debian-bugs-dist@lists.debian.org, Colin Watson <cjwatson@ubuntu.com>:
Bug#674338; Package src:germinate. (Thu, 24 May 2012 12:33:17 GMT) (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
Extra info received and forwarded to list. Copy sent to Colin Watson <cjwatson@ubuntu.com>. (Thu, 24 May 2012 12:33:19 GMT) (full text, mbox, link).


Message #10 received at 674338@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: Lucas Nussbaum <lucas@lucas-nussbaum.net>, 674338@bugs.debian.org
Subject: Re: Bug#674338: germinate: FTBFS: test failed
Date: Thu, 24 May 2012 13:31:07 +0100
reassign 674338 python-apt
thanks

On Thu, May 24, 2012 at 12:02:15PM +0200, Lucas Nussbaum wrote:
> Source: germinate
> Version: 2.8
> Severity: serious
> Tags: wheezy sid
> User: debian-qa@lists.debian.org
> Usertags: qa-ftbfs-20120524 qa-ftbfs
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
[...]
> > test_trivial (germinate.tests.test_integration.TestGerminate) ... ERROR
> > 
> > ======================================================================
> > ERROR: test_trivial (germinate.tests.test_integration.TestGerminate)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/tests/test_integration.py", line 79, in test_trivial
> >     self.runGerminate("-s", "ubuntu.warty", "-d", "warty", "-c", "main")
> >   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/tests/test_integration.py", line 56, in runGerminate
> >     self.assertEqual(0, germinate_main.main(argv))
> >   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/scripts/germinate_main.py", line 119, in main
> >     g.parse_archive(archive)
> >   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/germinator.py", line 482, in parse_archive
> >     for indextype, section in archive.sections():
> >   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/archive.py", line 200, in sections
> >     for section in apt_pkg.TagFile(tag_file):
> > SystemError: E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor)

Although I can't pin it down exactly, this looks like a problem lower
down the stack to me, and Michael Vogt seems to concur:

  13:23 <mvo> cjwatson: yes, its a recent regression with python-apt/apt in debian/unstable

So I'll send this over to python-apt and let the apt team sort it out
from there, I guess.  Let me know if it somehow turns out to be a
germinate bug after all.

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]




Bug reassigned from package 'src:germinate' to 'python-apt'. Request was from Colin Watson <cjwatson@debian.org> to control@bugs.debian.org. (Thu, 24 May 2012 12:33:51 GMT) (full text, mbox, link).


No longer marked as found in versions germinate/2.8. Request was from Colin Watson <cjwatson@debian.org> to control@bugs.debian.org. (Thu, 24 May 2012 12:33:52 GMT) (full text, mbox, link).


Reply sent to Julian Andres Klode <jak@debian.org>:
You have taken responsibility. (Tue, 19 Jun 2012 08:57:13 GMT) (full text, mbox, link).


Notification sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer. (Tue, 19 Jun 2012 08:57:14 GMT) (full text, mbox, link).


Message #19 received at 674338-done@bugs.debian.org (full text, mbox, reply):

From: Julian Andres Klode <jak@debian.org>
To: Colin Watson <cjwatson@debian.org>, 674338-done@bugs.debian.org
Cc: Lucas Nussbaum <lucas@lucas-nussbaum.net>
Subject: Re: Bug#674338: germinate: FTBFS: test failed
Date: Tue, 19 Jun 2012 10:56:09 +0200
[Message part 1 (text/plain, inline)]
Source: apt
Source-Version: 0.9.5.1

On Thu, May 24, 2012 at 01:31:07PM +0100, Colin Watson wrote:
> reassign 674338 python-apt
> thanks
> 
> On Thu, May 24, 2012 at 12:02:15PM +0200, Lucas Nussbaum wrote:
> > Source: germinate
> > Version: 2.8
> > Severity: serious
> > Tags: wheezy sid
> > User: debian-qa@lists.debian.org
> > Usertags: qa-ftbfs-20120524 qa-ftbfs
> > Justification: FTBFS on amd64
> > 
> > Hi,
> > 
> > During a rebuild of all packages in sid, your package failed to build on
> > amd64.
> > 
> > Relevant part:
> [...]
> > > test_trivial (germinate.tests.test_integration.TestGerminate) ... ERROR
> > > 
> > > ======================================================================
> > > ERROR: test_trivial (germinate.tests.test_integration.TestGerminate)
> > > ----------------------------------------------------------------------
> > > Traceback (most recent call last):
> > >   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/tests/test_integration.py", line 79, in test_trivial
> > >     self.runGerminate("-s", "ubuntu.warty", "-d", "warty", "-c", "main")
> > >   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/tests/test_integration.py", line 56, in runGerminate
> > >     self.assertEqual(0, germinate_main.main(argv))
> > >   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/scripts/germinate_main.py", line 119, in main
> > >     g.parse_archive(archive)
> > >   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/germinator.py", line 482, in parse_archive
> > >     for indextype, section in archive.sections():
> > >   File "/«PKGBUILDDIR»/build/lib.linux-x86_64-2.7/germinate/archive.py", line 200, in sections
> > >     for section in apt_pkg.TagFile(tag_file):
> > > SystemError: E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor), E:Problem closing the gzip file  - close (9: Bad file descriptor)
> 
> Although I can't pin it down exactly, this looks like a problem lower
> down the stack to me, and Michael Vogt seems to concur:
> 
>   13:23 <mvo> cjwatson: yes, its a recent regression with python-apt/apt in debian/unstable
> 
> So I'll send this over to python-apt and let the apt team sort it out
> from there, I guess.  Let me know if it somehow turns out to be a
> germinate bug after all.

apt (0.9.5.1) unstable; urgency=low

  [ David Kalnischkies ]
  * apt-pkg/contrib/fileutl.cc:
    - dup() given compressed fd in OpenDescriptor if AutoClose
      is disabled as otherwise gzclose() and co will close it

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
[Message part 2 (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 18 Jul 2012 07:28:59 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jan 14 05:23:36 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.