[Piuparts-commits] rev 896 - piatti/home/piupartsm/bin
Holger Levsen
holger at alioth.debian.org
Mon May 2 22:34:59 UTC 2011
Author: holger
Date: 2011-05-02 22:34:57 +0000 (Mon, 02 May 2011)
New Revision: 896
Modified:
piatti/home/piupartsm/bin/detect_network_issues
Log:
'Hash Sum mismatch' is another failure option
Modified: piatti/home/piupartsm/bin/detect_network_issues
===================================================================
--- piatti/home/piupartsm/bin/detect_network_issues 2011-04-02 12:24:49 UTC (rev 895)
+++ piatti/home/piupartsm/bin/detect_network_issues 2011-05-02 22:34:57 UTC (rev 896)
@@ -37,6 +37,7 @@
FILE=`mktemp`
for SECTION in $SECTIONS ; do
rgrep -l "Cannot initiate the connection to" $MASTER/$SECTION/fail >> $FILE
+ rgrep -l "Hash Sum mismatch" $MASTER/$SECTION/fail >> $FILE
rgrep -l -e "Failed to fetch.*Could not resolve" $MASTER/$SECTION/fail >> $FILE
rgrep -l -e "Failed to fetch.*Something wicked happened resolving" $MASTER/$SECTION/fail >> $FILE
rgrep -l "Some index files failed to download, they have been ignored, or old ones used instead." $MASTER/$SECTION/fail >> $FILE
@@ -45,8 +46,8 @@
echo "Network problems on detected!"
echo "(By grep'ing for 'Cannot initiate the connection to', 'Failed to"
echo "fetch.*Could not resolve', 'Failed to fetch.*Something wicked"
- echo " happened resolving' 'Some index files failed to download' in"
- echo "failed logs.)"
+ echo " happened resolving' 'Some index files failed to download' and"
+ echo "'Hash Sum mismatch' in failed logs.)"
echo
echo "The following logfiles have been deleted:"
echo
More information about the Piuparts-commits
mailing list