[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#878575: marked as done (lintian: Unreliable signal handling - causes left-over trash on lindsay.d.o)



Your message dated Sun, 29 Oct 2017 12:35:50 +0000
with message-id <E1e8mog-0007Ux-61@fasolo.debian.org>
and subject line Bug#878575: fixed in lintian 2.5.57
has caused the Debian Bug report #878575,
regarding lintian: Unreliable signal handling - causes left-over trash on lindsay.d.o
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 owner@bugs.debian.org
immediately.)


-- 
878575: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=878575
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: lintian
Version: 2.5.54
Severity: normal

Hi,

Lintian is unreliable at handling signals.  This causes it to fail to
clean up in some cases on lindsay.d.o (and other archive-wide runs).


Example from the log file:
"""
[2017-10-14T03:34:39]: Updating harness state cache
[2017-10-14T03:34:55]: Running Lintian (round 4/16) ...
[2017-10-14T03:34:55]:  - Range: GROUP:2vcard/0.6-1 ... GROUP:zeroconf-ioslave/4:16.08.0-1
[2017-10-14T03:34:55]: New lintian log at /srv/lintian.debian.org/logs/lintian.log-AL0DXxL
[2017-10-14T03:37:08]:   [lintian] processed 2vcard/0.6-1 successfully (time: 1.690s)
[2017-10-14T03:37:09]:   [lintian] processed abi-tracker/1.9-1 successfully (time: 1.062s)
[...]
[2017-10-14T03:55:50]:   [lintian] processed haskell-attoparsec-enumerator/0.3.4-5 successfully (time: 8.084s)
[2017-10-14T03:55:58]:   [lintian] processed haskell-data-default-instances-old-locale/0.0.1-7 successfully (time: 8.038s)
[2017-10-14T03:56:06]:   [lintian] processed haskell-hjsmin/0.2.0.2-3 successfully (time: 8.523s)
[2017-10-14T03:56:14]:   [lintian] processed haskell-html/1.0.1.2-13 successfully (time: 8.155s)
[2017-10-14T03:56:21]: Received SIGALRM, sending SIGTERM to 7889 [1/3]
[2017-10-14T03:56:21]: Scheduling another alarm in 5 minutes from now...
[2017-10-14T03:56:22]:   [lintian] error processing haskell-integer-logarithms/1.0.2-1 (time: 7.813s)
[2017-10-14T03:56:30]:   [lintian] processed haskell-knob/0.1.1-10 successfully (time: 7.994s)
[2017-10-14T03:56:39]:   [lintian] processed haskell-megaparsec/5.3.1-1 successfully (time: 9.336s)
[2017-10-14T03:56:47]:   [lintian] processed haskell-pipes-bytestring/2.1.6-1 successfully (time: 8.006s)
[...]
[2017-10-14T04:00:37]:   [lintian] processed jts/1.14+ds-2 successfully (time: 8.919s)
[2017-10-14T04:00:39]:   [lintian] processed jzlib/1.1.3-1 successfully (time: 2.147s)
[2017-10-14T04:01:21]: Received SIGALRM, sending SIGTERM to 7889 [2/3]
[2017-10-14T04:01:21]: Scheduling another alarm in 5 minutes from now...
[2017-10-14T04:01:24]: Lintian terminated by signal: 15
[2017-10-14T04:01:24]:  - skipping the rest of the worklist
"""

This log suggests that lintian continued despite having received a
signal.  Furthermore, there is a left over temporarily lab on
lindsay.d.o having a timestamp close to start of the lintian run:

"""
$ ls -ld /srv/lintian.debian.org/scratch/temp-lintian-lab-rCsPnScQ8t
drwx------ 4 lintian lintian 4096 Oct 14 03:34 /srv/lintian.debian.org/scratch/temp-lintian-lab-rCsPnScQ8t
"""

My /guess/ is that when lintian received the first signal, the signal
handler then disabled itself and threw a "Interrupted" error.
Something then catches the error and flags the check / package as
"uncheckable" but continues on.  When the second signal arrived, the
default signal handler terminated with lintian not cleaning up after
itself.


Thanks,
~Niels

--- End Message ---
--- Begin Message ---
Source: lintian
Source-Version: 2.5.57

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

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 878575@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated lintian 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 29 Oct 2017 12:14:30 +0000
Source: lintian
Binary: lintian
Built-For-Profiles: nocheck
Architecture: source all
Version: 2.5.57
Distribution: unstable
Urgency: medium
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Changed-By: Chris Lamb <lamby@debian.org>
Description:
 lintian    - Debian package checker
Closes: 718640 736360 878575 879977
Changes:
 lintian (2.5.57) unstable; urgency=medium
 .
   * Summary of tag changes:
     + Added:
       - debian-rules-should-not-set-CFLAGS-from-noopt
 .
   * checks/control-file.pm:
     + [CL] Avoid false positives in debian-control-has-empty-field when the
       field is wrapped onto a new line. Thanks to Mattia Rizzolo for the
       report.  (Closes: #879977)
   * checks/cruft.desc:
     + [CL] Add example on how to remove trailing whitespace with sed.
     + [CL] Drop README.source from files to check against the
       file-contains-trailing-whitespace tag as it can include quotes
       from upstream that would be ideally left intact.
   * checks/debhelper.pm:
     + [NT] Remove code handling named compat levels.
   * checks/files.desc:
     + [CL] Ignore embedded jQuery libraries for Doxygen.  (Closes: #736360)
   * checks/rules.desc:
     + [CL] Warn if packages set CFLAGS if the value of DEB_BUILD_OPTIONS
       contains noopt.  (Closes: #718640)
 .
   * commands/lintian.pm:
     + [NT] Have lintian resignal between various stages of the
       processing.  Previously, ill-timed signals would be caught and
       "semi-ignored" with lintian happily continuing to process the
       next package.  (Closes: #878575)
 .
   * data/debhelper/named-compat-levels:
     + [NT] Removed; no longer used.
Checksums-Sha1:
 dec4d05fc0c0b7359140b2edd8d72768fcc117ea 2898 lintian_2.5.57.dsc
 6b55830b4ecd83b03912985f75132617e7b1061c 1245140 lintian_2.5.57.tar.xz
 8854f386d22b6e0ea79883215ae262ab74df404c 1069580 lintian_2.5.57_all.deb
 4bd0eb98393f93eac4c7dc0e99463052082ad3dc 16245 lintian_2.5.57_amd64.buildinfo
Checksums-Sha256:
 d17230b1a6f435cd4eba334670935002402fb1ed08fbc5ba70264283ca412389 2898 lintian_2.5.57.dsc
 ce8438ef27ed367aba6ca5640d6a6f089ff18458516eddfd896bdd687618218f 1245140 lintian_2.5.57.tar.xz
 1bcfe780a2fefb0afee119979ca7abeff994a508ec2059823421c29b6d93c29f 1069580 lintian_2.5.57_all.deb
 5575e3da81ffa901c7ef903c53d2f8a948ee981b008c442a4b4ed2ecb7400780 16245 lintian_2.5.57_amd64.buildinfo
Files:
 dd499cf365a9413fd0a0dece659ba43a 2898 devel optional lintian_2.5.57.dsc
 14430f8591d3bf830ce8341f79c779e3 1245140 devel optional lintian_2.5.57.tar.xz
 868e639a242538df703f1a6abbe7d83b 1069580 devel optional lintian_2.5.57_all.deb
 4239d7daf54403481000c85000e6699d 16245 devel optional lintian_2.5.57_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAln1xpIACgkQHpU+J9Qx
Hlg9Vw//a+Q3iArQT6Wu1NFlAhsBXUF+tKZvea4aOCaMEhmsVnmfgDRQLN1+mX8R
WcLXo9C+IvKPNr481/R2kWf3CYXwNTJxxiL6m2eHWlQQcpMBTjp7XVf6DCDwdR8c
Ka2KiTOH8FGA8K+gqEDGzPLDtuaWQvNufdj/EN2HxVWo6N1Kobe10s/tO2sdDowf
sWNAuFEYU6nxFJEN6biaGix2BPoWsMv/il0+EtUrkKUeVxNFGI6Qe5AxqpXYeZjM
XNwPpBxLPvmflA9DkjCeUr1KkXh9trV5fvSftT5ylv7l2/3Iay6DNq8QloWNXXoz
ZeMebyNO9RzFTnaTA/7MrqxLTpq/gUZZpia8r5ircobZc+dXrVJJj7ohMWbBUrE9
jCoC666GKSUd8a0zRMfTZuy/dVu12hYUTKXSBKY/Xj+i1z4NELURHiTyMjTC0LPb
o4XQnRiSVMtv6SD+w8tnIeFLlduz9Fc58S43iFwB2qRG2FO90SnYRWRyNYppa9C9
KWNOuvkr3c5rTFpZHnzX0lLqeeF5c+LJjF10CrO4lkwglaxs4snFNyK7RsZB1LyN
QwDVEcf9uciLCqBMC4NKa5JpK0gddQXsL9528xNEPkWgAHR7LUTw1YQZCcYmzelK
JasNrc2PlK7VKme6ld8mG5mdYA6MhF4zPK+pSKQV4rSCEcW7HxI=
=QFoL
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: