[pkg-nagios-changes] [Git][nagios-team/libmonitoring-livestatus-perl][master] Add patch to fix FTBFS due to test failures with kernel 6.12. (closes: #1105067)
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Sun May 11 07:42:02 BST 2025
Bas Couwenberg pushed to branch master at Debian Nagios Maintainer Group / libmonitoring-livestatus-perl
Commits:
82eef394 by Bas Couwenberg at 2025-05-11T08:39:47+02:00
Add patch to fix FTBFS due to test failures with kernel 6.12. (closes: #1105067)
- - - - -
3 changed files:
- debian/changelog
- + debian/patches/memory-usage-delta.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -2,6 +2,8 @@ libmonitoring-livestatus-perl (0.84-4) UNRELEASED; urgency=medium
* Team upload.
* Bump Standards-Version to 4.7.2, no changes.
+ * Add patch to fix FTBFS due to test failures with kernel 6.12.
+ (closes: #1105067)
-- Bas Couwenberg <sebastic at debian.org> Thu, 20 Mar 2025 12:05:10 +0100
=====================================
debian/patches/memory-usage-delta.patch
=====================================
@@ -0,0 +1,22 @@
+Description: Skip tests that fail with kernel 6.12 where the memory usage doesn't increase.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug: https://github.com/sni/Monitoring-Livestatus/issues/9
+Bug-Debian: https://bugs.debian.org/1105067
+
+--- a/t/23-Monitoring-Livestatus-BigData.t
++++ b/t/23-Monitoring-Livestatus-BigData.t
+@@ -81,8 +81,12 @@ is($result->[$testresults-1]->{'name'},
+ my $mem_end = get_memory_usage();
+ ok($mem_end, sprintf('memory at end: %.2f MB', $mem_end/1024));
+ my $delta = $mem_end - $mem_start;
+-ok($delta, sprintf('memory delta: %.2f MB', $delta/1024));
+-ok($delta, sprintf('memory usage per entry: %d B', $delta*1024/$testresults));
++SKIP: {
++ skip "No increased memory usage", 2 if(!$delta);
++
++ ok($delta, sprintf('memory delta: %.2f MB', $delta/1024));
++ ok($delta, sprintf('memory usage per entry: %d B', $delta*1024/$testresults));
++}
+
+ ##########################################################
+ # returns memory usage in kB
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
incorrect-path-for-interpreter.patch
+memory-usage-delta.patch
View it on GitLab: https://salsa.debian.org/nagios-team/libmonitoring-livestatus-perl/-/commit/82eef394b142f132e184ce01c70b82b1bb1957f2
--
View it on GitLab: https://salsa.debian.org/nagios-team/libmonitoring-livestatus-perl/-/commit/82eef394b142f132e184ce01c70b82b1bb1957f2
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20250511/900b0ae1/attachment-0001.htm>
More information about the pkg-nagios-changes
mailing list