[pkg-nagios-changes] [Git][nagios-team/pkg-icinga2][master] 3 commits: Add patch to fix comparepasswords_issafe test failure on i386.

Bas Couwenberg gitlab at salsa.debian.org
Fri Mar 1 11:54:49 GMT 2019


Bas Couwenberg pushed to branch master at Debian Nagios Maintainer Group / pkg-icinga2


Commits:
5eb1d124 by Bas Couwenberg at 2019-03-01T11:18:12Z
Add patch to fix comparepasswords_issafe test failure on i386.

- - - - -
893536b4 by Bas Couwenberg at 2019-03-01T11:18:22Z
Set CTEST_OUTPUT_ON_FAILURE environment variable.

- - - - -
b426b5e7 by Bas Couwenberg at 2019-03-01T11:18:42Z
Set distribution to unstable.

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/comparepasswords_issafe.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+icinga2 (2.10.3-2) unstable; urgency=medium
+
+  * Team upload.
+  * Add patch to fix comparepasswords_issafe test failure on i386.
+  * Set CTEST_OUTPUT_ON_FAILURE environment variable.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 01 Mar 2019 12:18:30 +0100
+
 icinga2 (2.10.3-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/comparepasswords_issafe.patch
=====================================
@@ -0,0 +1,17 @@
+Description: Ignore failure of unit test base_utility/comparepasswords_issafe
+ as volatile system load may cause false negatives
+Author: "Alexander A. Klimov" <alexander.klimov at icinga.com>
+Origin: https://github.com/Icinga/icinga2/pull/6977/commits/646feb76e06155f908a4dcee51144db8f05a114f
+Bug: https://github.com/Icinga/icinga2/issues/6987
+
+--- a/test/base-utility.cpp
++++ b/test/base-utility.cpp
+@@ -64,7 +64,7 @@ BOOST_AUTO_TEST_CASE(comparepasswords_is
+ 	auto duration2 (steady_clock::now() - start2);
+ 
+ 	double diff = (double)duration_cast<microseconds>(duration1).count() / (double)duration_cast<microseconds>(duration2).count();
+-	BOOST_CHECK(0.9 <= diff && diff <= 1.1);
++	BOOST_WARN(0.9 <= diff && diff <= 1.1);
+ }
+ 
+ BOOST_AUTO_TEST_SUITE_END()


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 21_config_changes
 postgres-checkcommand.patch
+comparepasswords_issafe.patch


=====================================
debian/rules
=====================================
@@ -7,6 +7,8 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
+export CTEST_OUTPUT_ON_FAILURE=1
+
 # disable unity builds for arches with low memory
 ifneq (,$(findstring $(DEB_BUILD_ARCH),"armhf mips mipsel"))
 	UNITY_BUILD = -DICINGA2_UNITY_BUILD=Off



View it on GitLab: https://salsa.debian.org/nagios-team/pkg-icinga2/compare/d1b55334f286fef276ce00159500c88e61ef4474...b426b5e7d216f705fe66698f7637c17569180786

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/pkg-icinga2/compare/d1b55334f286fef276ce00159500c88e61ef4474...b426b5e7d216f705fe66698f7637c17569180786
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/20190301/4f37d536/attachment-0001.html>


More information about the pkg-nagios-changes mailing list