[Piuparts-commits] [piuparts] 06/11: piuparts issue: 'PG::ConnectionBad: could not connect to server'

Holger Levsen holger at layer-acht.org
Fri Apr 28 16:50:38 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 ac2e136f58545261d7a9775fdb8db429d908ccb8
Author: Andreas Beckmann <anbe at debian.org>
Date:   Tue Apr 25 02:41:15 2017 +0200

    piuparts issue: 'PG::ConnectionBad: could not connect to server'
    
    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 22e34a5..38230ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -60,6 +60,7 @@ piuparts (0.77) UNRELEASED; urgency=medium
     - Detect alternate wording of gpg verification error.
   * master-bin/detect_piuparts_issues:
     - Recognize more problems caused by a full filesystem.
+    - Recognize more failures when connecting to databases.
 
   [ Holger Levsen ]
   * update TODO. Work on buster has begun. \o/ 
diff --git a/master-bin/detect_piuparts_issues.in b/master-bin/detect_piuparts_issues.in
index 20f3fc0..621ef3d 100755
--- a/master-bin/detect_piuparts_issues.in
+++ b/master-bin/detect_piuparts_issues.in
@@ -65,6 +65,7 @@ for SECTION in $SECTIONS ; do
 		rgrep -l -e 'No database found online on port 5432' $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e 'unable to connect to postgresql server' $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e 'Failed to connect to postgres.' $MASTER/$SECTION/$subdir >> $FILE
+		rgrep -l -e 'PG::ConnectionBad: could not connect to server' $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e 'psql: FATAL:  password authentication failed for user' $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e 'createuser: could not connect to database postgres: could not connect to server: No such file or directory' $MASTER/$SECTION/$subdir >> $FILE
 		rgrep -l -e 'Non-default port in /etc/postgresql/.*/main/postgresql.conf' $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