[Piuparts-commits] [SCM] piuparts git repository branch, piatti.git, updated. f3d478e5f291baaf9e84d1982ca5e2e6b353a232
Andreas Beckmann
debian at abeckmann.de
Sun Apr 1 08:47:29 UTC 2012
The following commit has been merged in the piatti.git branch:
commit 0ea7d90a8a415dca232c7931a637d67674718770
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Sun Feb 19 16:14:50 2012 +0100
network issue: mirror updated during test
The mirror may be updated during piuparts tests. Depending on
the actual timing, this leads either to errors fetching or
validating files (already covered by other checks) but in some
rarer cases may cause some successful package updates that were
not done in the reference snapshot.
This usually leads to modified changelogs, so let's check for
them and reschedule the failed package.
I can't imagine a buggy package causing modified changelogs
(except for perhaps a postinst deliberately recompressing
foreign changelogs with different options).
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/home/piupartsm/bin/detect_network_issues b/home/piupartsm/bin/detect_network_issues
index 758e0dd..987a5df 100755
--- a/home/piupartsm/bin/detect_network_issues
+++ b/home/piupartsm/bin/detect_network_issues
@@ -54,6 +54,8 @@ for SECTION in $SECTIONS ; do
rgrep -l "Some index files failed to download, they have been ignored, or old ones used instead." $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
rgrep -l -e "W: GPG error: .* Release: The following signatures were invalid: BADSIG" $MASTER/$SECTION/fail >> $FILE
+ # modified changelogs are usually caused by mirror pushes during the piuparts test
+ rgrep -l -E ' /usr/share/doc/(.*)/changelog.*owned by: \1' $MASTER/$SECTION/fail >> $FILE
done
if [ -s $FILE ] ; then
echo "Network problems on detected!"
@@ -64,6 +66,8 @@ if [ -s $FILE ] ; then
echo " 'Hash Sum mismatch',"
echo " 'The following signatures were invalid'"
echo "in failed logs.)"
+ echo "Test failures due to modified /usr/share/doc/*/changelog.*"
+ echo "are caused by mirror updates during the test."
echo
echo "The following logfiles have been deleted:"
echo
--
piuparts git repository
More information about the Piuparts-commits
mailing list