[Piuparts-commits] [piuparts] 40/51: detect_network_issues: detect master and slave mirror not in sync

Holger Levsen holger at layer-acht.org
Thu Jul 20 21:15:05 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 49211d376d2c1deb0280bfbf77f6ffdb578c3a2f
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Jul 2 12:59:59 2017 +0200

    detect_network_issues: detect master and slave mirror not in sync
    
    if piuparts-master and piuparts-slave use different mirrors, they may
    disagree on the "current" version of a package
    this should be resolved once the mirror push has propagated through the
    mirror network
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 debian/changelog                    | 2 ++
 master-bin/detect_network_issues.in | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0d63ee1..c6ac0d1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -85,6 +85,8 @@ piuparts (0.78) UNRELEASED; urgency=medium
   * master-bin/detect_network_issues:
     - Report the issues found in each logfile.
     - Detect alternate wording of gpg verification error.
+    - Detect master and slave disagreement on the "current" version of a
+      package due to using different mirrors and ongoing mirror push.
   * master-bin/detect_piuparts_issues:
     - Report the issues found in each logfile.
     - Recognize more problems caused by a full filesystem.
diff --git a/master-bin/detect_network_issues.in b/master-bin/detect_network_issues.in
index 07ef180..b12f275 100755
--- a/master-bin/detect_network_issues.in
+++ b/master-bin/detect_network_issues.in
@@ -59,11 +59,12 @@ add_pattern 'E: Method file has died unexpectedly!'
 add_pattern "E: Sub-process rred received a segmentation fault."
 add_pattern "ERROR: Command failed \(status=-7\):.*'apt-get', 'update'"
 add_pattern 'WARNING: The following packages cannot be authenticated!'
+add_pattern 'Package .* .* not found in .*, .* is available'
 
 FILE=`mktemp`
 for SECTION in $SECTIONS ; do
 	test -d $MASTER/$SECTION || continue
-	for subdir in fail bugged affected ; do
+	for subdir in fail bugged affected untestable ; do
 		test -d $MASTER/$SECTION/$subdir || continue
 		grep -r -l -E --include '*.log' "$PATTERN" $MASTER/$SECTION/$subdir >> $FILE
 	done

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