[Piuparts-commits] [piuparts] 01/06: piuparts_issue: transient apt-cache failures

Holger Levsen holger at moszumanska.debian.org
Fri Jan 23 16:06:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 7663ed4ac3db223942732e0076db811f0c09293d
Author: Andreas Beckmann <anbe at debian.org>
Date:   Fri Jan 23 14:46:17 2015 +0100

    piuparts_issue: transient apt-cache failures
    
    sometimes "apt-cache policy/show" fails with no output and status -7
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 debian/changelog                     | 1 +
 master-bin/detect_piuparts_issues.in | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 9d86529..849eacb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,7 @@ piuparts (0.63) UNRELEASED; urgency=medium
   * piuparts-slave.py:
     - Handle Ctrl-C while downloading Packages files and flush/unreserve, too.
     - Catch another exception that may happen while talking to the master.
+  * detect_piuparts_issues: Detect transient apt-cache failures.
   * generate_daily_report: Remove obsolete .html files (e.g. summaries for
     removed source packages or retired maintainers) after 30 days.
   * scripts/pre_remove_40_find_unowned_lib_links: Ignore /lib/ld-lsb.so.[123]
diff --git a/master-bin/detect_piuparts_issues.in b/master-bin/detect_piuparts_issues.in
index 34c7325..d700920 100755
--- a/master-bin/detect_piuparts_issues.in
+++ b/master-bin/detect_piuparts_issues.in
@@ -42,6 +42,7 @@ for SECTION in $SECTIONS ; do
 		rgrep -l -e "ERROR:.*:Temporary directory is not a directory" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e "No space left on device" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e "E: You don't have enough free space in /var/cache/apt/archives/" $MASTER/$SECTION/$subdir >> $FILE
+		rgrep -l -e "ERROR: Command failed (status=-7): .* 'apt-cache'" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e "^RuntimeError: maximum recursion depth exceeded while calling a Python object" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e "^Traceback" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e "^OSError:" $MASTER/$SECTION/$subdir >> $FILE

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list