[Piuparts-commits] [piuparts] 02/04: p-r: report skipped tests
Holger Levsen
holger at layer-acht.org
Wed Dec 21 09:54:01 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit 61640e72fc8687b79d510b5ae5f3c0f3475374d3
Author: Andreas Beckmann <anbe at debian.org>
Date: Wed Dec 21 02:17:41 2016 +0100
p-r: report skipped tests
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
debian/changelog | 3 +++
known_problems/test_was_skipped_issue.conf | 15 +++++++++++++++
piuparts-report.py | 1 +
3 files changed, 19 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 80664c4..ce657b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ piuparts (0.74) UNRELEASED; urgency=medium
- Also consider bugs filed against source packages.
* piuparts-reports.py:
- Mark arch:all packages with an :all suffix in package lists.
+ - Report skipped tests.
* scripts/pre_install_database-server: Use default-mysql-* from stretch
onwards.
* scripts/post-{install,purge}-exceptions: Wait for dkms progress indicator
@@ -23,6 +24,8 @@ piuparts (0.74) UNRELEASED; urgency=medium
maintainer scripts during package removal.
* known_problems/debsums_mismatch_*.conf: Report missing symlinks and
directories.
+ * known_problems/test_was_skipped_issue.conf: New known problem for skipped
+ tests.
-- Andreas Beckmann <anbe at debian.org> Mon, 19 Dec 2016 03:10:28 +0100
diff --git a/known_problems/test_was_skipped_issue.conf b/known_problems/test_was_skipped_issue.conf
new file mode 100644
index 0000000..0b5bb48
--- /dev/null
+++ b/known_problems/test_was_skipped_issue.conf
@@ -0,0 +1,15 @@
+#
+# detect possible dependency issues
+#
+PATTERN='SKIP: All tests. Package cannot be tested with piuparts:'
+WHERE='pass'
+ISSUE=1
+HEADER='Packages with logs with the string "SKIP: All tests. Package cannot be tested with piuparts"'
+HELPTEXT='
+<p>
+The package is not installable by piuparts and the test has therefore been skipped.
+This usually means that either the package depends on external ressources that are not (or no longer) publically available
+or that the package (from an archived release) is broken beyond repair.
+There is no point in doing distupgrade tests if the package cannot be installed initially.
+</p>
+'
diff --git a/piuparts-report.py b/piuparts-report.py
index da8bc06..8a20ea9 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -450,6 +450,7 @@ linktarget_by_template = [
("unowned_lib_symlink_issue.tpl", "but logfile reports unowned lib symlinks"),
("piuparts-depends-dummy_issue.tpl", "but logfile reports piuparts-depends-dummy.deb could not be installed"),
("used_exception_issue.tpl", "but package used a piuparts exception"),
+ ("test_was_skipped_issue.tpl", "but package test was skipped"),
("dependency_error.tpl", "due to unsatisfied dependencies"),
("packages_have_been_kept_back_error.tpl", "...and logfile also contains 'packages have been kept back'"),
--
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