[Piuparts-commits] [piuparts] 06/08: detect_piuparts_issues: find more variants of full disks

Holger Levsen holger at layer-acht.org
Tue Jan 24 10:45:10 UTC 2017


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

holger pushed a commit to branch develop
in repository piuparts.

commit b3bc27c5ac3edf7b0e3c703e870d9e65f3083051
Author: Andreas Beckmann <anbe at debian.org>
Date:   Tue Jan 24 06:02:50 2017 +0100

    detect_piuparts_issues: find more variants of full disks
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 debian/changelog                     | 1 +
 master-bin/detect_piuparts_issues.in | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d365635..50c65d4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -28,6 +28,7 @@ piuparts (0.75) UNRELEASED; urgency=medium
     from 'apt-get install piuparts-depends-dummy.deb'.
   * known_problems/problems_and_no_force_error.conf: Recognize the apt 1.1
     message on attempted removal of essential packages.
+  * master-bin/detect_piuparts_issues: Recognize more cases of full disks.
 
  -- Andreas Beckmann <anbe at debian.org>  Sun, 15 Jan 2017 20:34:58 +0100
 
diff --git a/master-bin/detect_piuparts_issues.in b/master-bin/detect_piuparts_issues.in
index b334e96..0d2d1c4 100755
--- a/master-bin/detect_piuparts_issues.in
+++ b/master-bin/detect_piuparts_issues.in
@@ -35,17 +35,17 @@ for SECTION in $SECTIONS ; do
 		test -d $MASTER/$SECTION/$subdir || continue
 		rgrep -l 'PIUPARTS OUTPUT INCOMPLETE' $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -E "tar( \(child\))?: .*.tar.gz: Cannot open: No such file or directory" $MASTER/$SECTION/$subdir >> $FILE
-		rgrep -l -e "tar: .*: No space left on device" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e "tar: Error is not recoverable: exiting now" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e "tar: .*: Wrote only .* of .* bytes" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e "gzip: stdin: invalid compressed data--crc error" $MASTER/$SECTION/$subdir >> $FILE
 		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 -i -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 "E: Failed to write temporary StateFile /var/lib/apt/extended_states.tmp" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e "passwd: Authentication token manipulation error" $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -E "(chfn|groupadd|useradd): cannot lock /etc/(group|gshadow|passwd|shadow|subuid); try again later." $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -E "(groupadd|useradd): failure while writing changes to /etc/(group|passwd)" $MASTER/$SECTION/$subdir >> $FILE
+		rgrep -l -E "useradd: cannot rewrite password file" $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

-- 
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