[Piuparts-commits] [piuparts] 04/06: report dkms module build failures

Holger Levsen holger at moszumanska.debian.org
Mon Feb 10 11:14:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 6766d4da1f69ad02ae7f1778095051181a617983
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sun Nov 24 02:31:39 2013 +0100

    report dkms module build failures
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 debian/changelog                             |  2 ++
 known_problems/module_build_error_issue.conf | 11 +++++++++++
 piuparts-report.py                           |  1 +
 3 files changed, 14 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index efd7d41..f4577c7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -57,6 +57,8 @@ piuparts (0.57) UNRELEASED; urgency=low
   * scripts/pre_install_extras: New custom script to install a linux-headers
     package before testing a *-dkms package, s.t. dkms tries to build a
     kernel module.
+  * known_problems/module_build_error_issue.conf: New known problem for dkms
+    module build failures.
   * Add more piuparts exceptions.
   * Handle lib32nss-mdns like ia32-libs[-gtk].
 
diff --git a/known_problems/module_build_error_issue.conf b/known_problems/module_build_error_issue.conf
new file mode 100644
index 0000000..70871cc
--- /dev/null
+++ b/known_problems/module_build_error_issue.conf
@@ -0,0 +1,11 @@
+#
+# detect packages with some inadequate tag from adequate
+#
+PATTERN='Error! Bad return status for module build on kernel'
+WHERE='pass fail bugged affected'
+ISSUE=1
+HEADER="DKMS-packages failing to build a module for a default kernel"
+HELPTEXT="
+<p>Kernel module source may not be compatible with the latest kernel.
+</p>
+"
diff --git a/piuparts-report.py b/piuparts-report.py
index d49a4e0..42b36f5 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -407,6 +407,7 @@ linktarget_by_template = [
     ("inadequate_exit_issue.tpl", "but adequate exited inadequately"),
     ("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"),
+    ("module_build_error_issue.tpl", "but logfile contains dkms module build failures"),
     ("obsolete_conffiles_issue.tpl", "but logfile reports obsolete conffiles"),
     ("missing_md5sums_issue.tpl", "but logfile reports missing md5sums"),
     ("used_exception_issue.tpl", "but package used a piuparts exception"),

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