[Piuparts-commits] rev 574 - piatti/home/piupartsm/bin/known_problems trunk trunk/debian
Holger Levsen
holger at alioth.debian.org
Fri Dec 18 12:34:13 UTC 2009
Author: holger
Date: 2009-12-18 12:34:13 +0000 (Fri, 18 Dec 2009)
New Revision: 574
Added:
piatti/home/piupartsm/bin/known_problems/post_installation_script_error.conf
piatti/home/piupartsm/bin/known_problems/post_removal_script_error.conf
piatti/home/piupartsm/bin/known_problems/pre_installation_script_error.conf
piatti/home/piupartsm/bin/known_problems/pre_removal_script_error.conf
Modified:
trunk/debian/changelog
trunk/piuparts-report.py
Log:
piuparts-report.py: report packages which failed due to broken maintainer
scripts.
Copied: piatti/home/piupartsm/bin/known_problems/post_installation_script_error.conf (from rev 559, piatti/home/piupartsm/bin/known_problems/unknown_purge_error.conf)
===================================================================
--- piatti/home/piupartsm/bin/known_problems/post_installation_script_error.conf (rev 0)
+++ piatti/home/piupartsm/bin/known_problems/post_installation_script_error.conf 2009-12-18 12:34:13 UTC (rev 574)
@@ -0,0 +1,12 @@
+#
+# detect packages which failed because post-installation maintainer script failed
+#
+COMMAND=`rgrep -E "subprocess .* post-installation script returned error" fail bugged|cut -d " " -f1|sed -e "s#\.log:.*#.log#"|sort -u 2>/dev/null`
+ISSUE=0
+HEADER='Packages with failed logs because post-installation maintainer script failed'
+HELPTEXT='
+<p>
+This is a somewhat unclassified failure at the moment.
+</p>
+
+'
Copied: piatti/home/piupartsm/bin/known_problems/post_removal_script_error.conf (from rev 559, piatti/home/piupartsm/bin/known_problems/unknown_purge_error.conf)
===================================================================
--- piatti/home/piupartsm/bin/known_problems/post_removal_script_error.conf (rev 0)
+++ piatti/home/piupartsm/bin/known_problems/post_removal_script_error.conf 2009-12-18 12:34:13 UTC (rev 574)
@@ -0,0 +1,12 @@
+#
+# detect packages which failed because post-removal maintainer script failed
+#
+COMMAND=`rgrep -E "subprocess .* post-removal script returned error" fail bugged|cut -d " " -f1|sed -e "s#\.log:.*#.log#"|sort -u 2>/dev/null`
+ISSUE=0
+HEADER='Packages with failed logs because post-removal maintainer script failed'
+HELPTEXT='
+<p>
+This is a somewhat unclassified failure at the moment.
+</p>
+
+'
Copied: piatti/home/piupartsm/bin/known_problems/pre_installation_script_error.conf (from rev 559, piatti/home/piupartsm/bin/known_problems/unknown_purge_error.conf)
===================================================================
--- piatti/home/piupartsm/bin/known_problems/pre_installation_script_error.conf (rev 0)
+++ piatti/home/piupartsm/bin/known_problems/pre_installation_script_error.conf 2009-12-18 12:34:13 UTC (rev 574)
@@ -0,0 +1,12 @@
+#
+# detect packages which failed because pre-installation maintainer script failed
+#
+COMMAND=`rgrep -E "subprocess .* pre-installation script returned error" fail bugged|cut -d " " -f1|sed -e "s#\.log:.*#.log#"|sort -u 2>/dev/null`
+ISSUE=0
+HEADER='Packages with failed logs because pre-installation maintainer script failed'
+HELPTEXT='
+<p>
+This is a somewhat unclassified failure at the moment.
+</p>
+
+'
Copied: piatti/home/piupartsm/bin/known_problems/pre_removal_script_error.conf (from rev 559, piatti/home/piupartsm/bin/known_problems/unknown_purge_error.conf)
===================================================================
--- piatti/home/piupartsm/bin/known_problems/pre_removal_script_error.conf (rev 0)
+++ piatti/home/piupartsm/bin/known_problems/pre_removal_script_error.conf 2009-12-18 12:34:13 UTC (rev 574)
@@ -0,0 +1,12 @@
+#
+# detect packages which failed because pre-removal maintainer script failed
+#
+COMMAND=`rgrep -E "subprocess .* pre-removal script returned error" fail bugged|cut -d " " -f1|sed -e "s#\.log:.*#.log#"|sort -u 2>/dev/null`
+ISSUE=0
+HEADER='Packages with failed logs because pre-removal maintainer script failed'
+HELPTEXT='
+<p>
+This is a somewhat unclassified failure at the moment.
+</p>
+
+'
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-12-18 12:23:35 UTC (rev 573)
+++ trunk/debian/changelog 2009-12-18 12:34:13 UTC (rev 574)
@@ -1,3 +1,10 @@
+piuparts (0.39) UNRELEASED; urgency=low
+
+ * piuparts-report.py: report packages which failed due to broken maintainer
+ scripts.
+
+ -- Holger Levsen <holger at debian.org> Fri, 18 Dec 2009 13:32:16 +0100
+
piuparts (0.38) unstable; urgency=low
* piuparts.py:
Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py 2009-12-18 12:23:35 UTC (rev 573)
+++ trunk/piuparts-report.py 2009-12-18 12:34:13 UTC (rev 574)
@@ -353,10 +353,14 @@
"unknown_purge_error.tpl": "dpkg --purge failed due to an unknown reason",
"insserv_error.tpl": "due to a problem with insserv",
"unknown_failures.tpl": "unclassified failures",
- "initdscript_lsb_header_issue.tpl": "update-rc.d issues",
+ "initdscript_lsb_header_issue.tpl": "but update-rc.d issues",
"command_not_found_issue.tpl": "but logfile contains 'command not found'",
"broken_symlinks_issue.tpl": "but logfile contains 'broken symlinks'",
- "broken_symlinks_error.tpl": "also logfile contains 'broken symlinks'",
+ "broken_symlinks_error.tpl": "...and logfile also contains 'broken symlinks'",
+ "pre_installation_script_error.tpl": "due to pre-installation maintainer script failed",
+ "post_installation_script_error.tpl": "due to post-installation maintainer script failed",
+ "pre_removal_script_error.tpl": "due to pre-removal maintainer script failed",
+ "post_removal_script_error.tpl": "due to post-removal maintainer script failed",
}
More information about the Piuparts-commits
mailing list