Your message dated Fri, 09 Mar 2012 11:03:25 +0000
with message-id <[email protected]>
and subject line Bug#570425: fixed in rebuildd 0.4.1
has caused the Debian Bug report #570425,
regarding rebuildd and rebuildd-job silently fail for many errors
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
570425: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570425
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rebuildd
Version: 0.3.4
Severity: important

When using "rebuildd-job", it will completely silently fail for many
different kinds of syntax or data errors.  For example, if an
architecture is specified which is not enabled in the config file, it
will accept the input and exit without doing anything.

Connecting over the "telnet" interface is not much better; the error
message that is returned is completely generic.  I had to manually
add debug messages to the python scripts to figure out where the error
was.

The "rebuildd" tool itself also has several silent failures, one of
which will cause a Job object to get stuck in the "BUILDING" state.  In
the "Job->run()" function, for the code block that looks like this:

  try:
      proc = subprocess.Popen(cmd.split(), [.....])
  except Exception, error:
      state = 1
      break
  state = proc.poll()

If an exception occurs, such as "No such file or directory", the Job
will silently fail and get stuck in the "BUILDING" state.  To fix this,
I inserted code so that it looked like this:

  try:
      proc = subprocess.Popen(cmd.split(), [.....])
  except Exception, error:
      build_log.write("Unable to execute command \"%s\": %s" %
          (cmd, error))
      with self.status_lock:
          self.status = failed_status
      state = 1
      break
  state = proc.poll()

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (500, 
'experimental')
Architecture: powerpc (ppc64)

Kernel: Linux 2.6.26-2-powerpc64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages rebuildd depends on:
ii  lsb-base                    3.2-20       Linux Standard Base 3.2 init scrip
ii  python                      2.5.2-3      An interactive high-level object-o
ii  python-apt                  0.7.7.1+nmu1 Python interface to libapt-pkg
ii  python-sqlobject            0.10.2-3     Python module for SQLObject
ii  python-support              0.8.4lenny1  automated rebuilding support for P

Versions of packages rebuildd recommends:
pn  pbuilder                     <none>      (no description available)
ii  python-gdchart2              0.beta1-3.4 Python OO interface to GDChart
ii  python-webpy                 0.230-1     Web API for Python applications

Versions of packages rebuildd suggests:
pn  cowdancer                     <none>     (no description available)

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: rebuildd
Source-Version: 0.4.1

We believe that the bug you reported is fixed in the latest version of
rebuildd, which is due to be installed in the Debian FTP archive:

rebuildd_0.4.1.dsc
  to main/r/rebuildd/rebuildd_0.4.1.dsc
rebuildd_0.4.1.tar.gz
  to main/r/rebuildd/rebuildd_0.4.1.tar.gz
rebuildd_0.4.1_all.deb
  to main/r/rebuildd/rebuildd_0.4.1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Danjou <[email protected]> (supplier of updated rebuildd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 09 Mar 2012 11:46:21 +0100
Source: rebuildd
Binary: rebuildd
Architecture: source all
Version: 0.4.1
Distribution: unstable
Urgency: low
Maintainer: Julien Danjou <[email protected]>
Changed-By: Julien Danjou <[email protected]>
Description: 
 rebuildd   - build daemon aiming at rebuilding Debian packages
Closes: 570425 657887
Changes: 
 rebuildd (0.4.1) unstable; urgency=low
 .
   [ Daniel Dehennin ]
   * [10b50e1] Fix unit tests: Clean database drop and disable
     TestRebuildd.test_release_jobs().
     * rebuildd/Rebuildd.py (Rebuildd.init): Add sqlobject connection as
       "hidden" attribute to clear and drop the database in tests.
     * rebuildd/Job.py (Job.__init__): Auto vivification of the log, required
       when the job is added through Rebuildd().add_job().
     * tests/RebuilddTestSetup.py: Import Log class to create the
       corresponding table.
       (rebuildd_global_test_setup): Drop tables before creating them if they
       exist.
       (rebuildd_global_test_teardown): Clear the database as much as possible.
     * tests/TestDistribution.py: Import new teardown helper.
      (TestDistribution.tearDown): Use the new teardown helper.
     * tests/TestJob.py: Import new teardown helper.
      (TestJob.tearDown): Use the new teardown helper.
      (TestJob.test_DB_OK): Test if the database is created.
      (TestJob.test_send_build_log): Create a fake log file or send_build_log
      will raise an OSError.
     * tests/TestRebuildd.py: Import new teardown helper.
      (TestRebuildd.tearDown): Use the new teardown helper.
      (TestRebuildd.test_release_jobs): Disable because is does not work with
       database cleanup.
      (TestRebuildd.test_get_new_jobs): Fix distribution to create the job
       with the default configuration.
      (TestRebuildd.test_fix_job): Ditoo.
      (TestRebuildd): Remove useless cleanup since database is dropped on
       tearDown. (Closes: #657887)
   * [037e391] Switch from CDBS to debhelper and from python-support to
     dh_python2.
     * debian/control (Build-Depends): Remove cdbs.
       Replace python (>= 2.5) by python-all-dev (>= 2.6.6-3) for dh_python2.
       Remove deprecated python-support.
     * debian/rebuildd.install: Install rebuildd.py binary
     * debian/rules: Remove CDBS directives.
       (override_dh_clean): Remove debian/rules generated files.
       (override_dh_auto_test): Run test suite.
       (override_dh_auto_build): Generate man pages and default configuration
       file.
       (override_dh_installinit): Need two calls to dh_install init for both
       services.
       (override_dh_install): Remove rebuildd.py extension.  Replace version
       in python libraries.
     * debian/pyversion: Useless with dh_python2.
 .
   [ Julien Danjou ]
   * Fix silents error in rebuildd-job and jobs sticking in BUILDING state
     on error (Closes: #570425)
   * Fix Vcs-Browser
   * Bump standard version
Checksums-Sha1: 
 e12a47784ba49469c7f222d476974ddafedb9926 1645 rebuildd_0.4.1.dsc
 3f0c65d320409331ae4812890fa37edd22f43b01 67875 rebuildd_0.4.1.tar.gz
 369da9b0e76cc3756305102b6f7085b7a0a0cf33 28292 rebuildd_0.4.1_all.deb
Checksums-Sha256: 
 d530bce866ee9026433f036536dcb986f236b87e16693f87b419dc8d25c8b02a 1645 
rebuildd_0.4.1.dsc
 0b4172e460a08a415fe1b3974925ca6a8e9a6c7dc0f6eb133fdaa5e1213eb93b 67875 
rebuildd_0.4.1.tar.gz
 d579f230862366fdc382dacb24f06f4250ebc833e2d8de14b67ef26bbb149ce6 28292 
rebuildd_0.4.1_all.deb
Files: 
 b985aa81041a3c504fae00c9d6fc37d7 1645 devel extra rebuildd_0.4.1.dsc
 327e673323d197a36ec3e5778e303a82 67875 devel extra rebuildd_0.4.1.tar.gz
 801dc0fc96c0fa36a69f0201ab7748f9 28292 devel extra rebuildd_0.4.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBAgAGBQJPWeA1AAoJEGEbqVCLeKXCw64P/R+UacLIvYzy43ZyhEPCs07q
ScdWyEBdYB8ixwF2nNZWo2JB124jXKX0xDhq1r9xjp0d9QxyC6qg9OfqqZfLrGrQ
zKYrpUHTEMW7gn23Wm+HHfmh6giKjtcYOPjsRo1LHt/Fjl4B7C9ryHophDaL+SBK
UOQL/kEaCKbh+3w1o29Krw4OdSSulKXuZiwpjQ24s0+zzJ//ZJLe6gDjxdYduqn8
wQHONCdmJ+2ZBuzP6Hu7k2m2n50EKQGezcT5kxFi40SJxaegCj8zeXIWxQu/9HEn
w4DOpkNT6FBXMNlAH/FE2K+/RQ4vKD/EQkdbM+WI/SoHPm2RXRNkyRQVDsQLPOSe
30l/Nu8a9ylQeRdAFQxHGrYjMfj16XISNCITF2iwQO17OPQr/MVFs6EoychgJHfy
swm+RfG5tKOSXtVEyUN950JvtJ+XbOkWhZOH9WeHM0goAUrAuAXLIi6omljjj13t
svXbDRh5kZHqj8ipkaczs9c5sIQ8IKuoYDPFjh8q8IFE/7+Ivmz7nONCd/iobqMk
8HsgIpFyTZ8UpLEkDzWNyD5q7Ohyg8SOjZhLJHHt2vNpdjjrYX4cTA++fYuPAkXS
6jhq/lOI5o2Uh0MiXZ0z5fx+xw6vnu8sLBomPm1wEcO3+j3dwDXgKMxbgcxOGfe0
x1JpStaNtu4BLBjcfhpk
=J6z/
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to