[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.51-25-g09db58c

Holger Levsen holger at layer-acht.org
Tue May 21 13:17:03 UTC 2013


The following commit has been merged in the develop branch:
commit 919ae72db803b93957b13a79069a7da7d3654c68
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue May 21 12:37:12 2013 +0200

    piuparts-report: add templates for known_problems/inadequate_issue and inadequate_error.

diff --git a/debian/changelog b/debian/changelog
index 6f131f2..b3cb6ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,8 @@ piuparts (0.52) UNRELEASED; urgency=low
   * piuparts.py: Run adequate (if installed) after installation test. New
     options --no-adequate and --fail-if-inadequate. (Closes: #703902)
   * debian/control: add adequate to piuparts' recommends.
+  * piuparts-report: add templates for known_problems/inadequate_issue and
+    inadequate_error.
 
  -- Holger Levsen <holger at debian.org>  Wed, 15 May 2013 17:25:41 +0200
 
diff --git a/known_problems/inadequate_error.conf b/known_problems/inadequate_error.conf
new file mode 100644
index 0000000..10f84b5
--- /dev/null
+++ b/known_problems/inadequate_error.conf
@@ -0,0 +1,10 @@
+#
+# detect packages which have the string "inadequate results from running adequate" in their logs
+#
+PATTERN='(WARN|FAIL): inadequate results from running adequate'
+WHERE='fail bugged affected'
+ISSUE=0
+HEADER='Packages which have logs with the string "inadequate results from running adequate"'
+HELPTEXT='
+<p>This is very probably an error, though since <a href="http://packages.debian.org/adequate" target="_blank">adequate</a> is quite new this hasn't been further investigated nor categorized yet.</p>
+'
diff --git a/known_problems/inadequate_issue.conf b/known_problems/inadequate_issue.conf
new file mode 100644
index 0000000..ed88ce2
--- /dev/null
+++ b/known_problems/inadequate_issue.conf
@@ -0,0 +1,10 @@
+#
+# detect packages which have the string "inadequate results from running adequate" in their logs
+#
+PATTERN='WARN: inadequate results from running adequate'
+WHERE='pass'
+ISSUE=1
+HEADER='Packages which have logs with the string "inadequate results from running adequate"'
+HELPTEXT='
+<p>This is very probably an error, though since <a href="http://packages.debian.org/adequate" target="_blank">adequate</a> is quite new this hasn't been further investigated nor categorized yet.</p>
+'
diff --git a/piuparts-report.py b/piuparts-report.py
index e364ade..2cc4cd7 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -365,6 +365,7 @@ linktarget_by_template = [
     ("db_setup_issue.tpl", "but logfile contains failure to setup a database"),
     ("installs_over_symlink_issue.tpl", "but package installs something over existing symlinks"),
     ("broken_symlinks_issue.tpl", "but logfile contains 'broken symlinks'"),
+    ("inadequate_issue.tpl", "but logfile contains inadequate issues"),
     ("packages_have_been_kept_back_issue.tpl", "but logfile contains 'packages have been kept back'"),
     ("needs_rebuild_issue.tpl", "but logfile recommends to rebuild some packages"),
     ("obsolete_conffiles_issue.tpl", "but logfile reports obsolete conffiles"),
@@ -398,6 +399,7 @@ linktarget_by_template = [
     ("logrotate_error_after_removal_error.tpl", "due to errors from logrotate after removal"),
     ("installs_over_symlink_error.tpl", "...and package installs something over existing symlinks"),
     ("broken_symlinks_error.tpl", "...and logfile also contains 'broken symlinks'"),
+    ("inadequate_error.tpl", "due to logfile containing inadequate errors"),
     ("obsolete_conffiles_error.tpl", "...and logfile reports obsolete conffiles"),
     ("unknown_failures.tpl", "due to unclassified failures"),
 ]

-- 
piuparts git repository



More information about the Piuparts-commits mailing list