[Bug 217973] devel/kyua: local.kyua.utils.datetime_test.timestamp__subtraction failing non-deterministically after recent upgrade
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 21 09:10:29 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217973
Bug ID: 217973
Summary: devel/kyua:
local.kyua.utils.datetime_test.timestamp__subtraction
failing non-deterministically after recent upgrade
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: jmmv at FreeBSD.org
Reporter: ngie at FreeBSD.org
Assignee: jmmv at FreeBSD.org
Flags: maintainer-feedback?(jmmv at FreeBSD.org)
This commit seems to have broken the
local.kyua.utils.datetime_test.timestamp__subtraction in a non-deterministic
manner, suggesting that the new test code is potentially racy:
------------------------------------------------------------------------
r436312 | brooks | 2017-03-16 16:12:44 -0700 (Thu, 16 Mar 2017) | 10 lines
Hack around wall clock time going backwards.
As reported in https://github.com/jmmv/kyua/issues/155, the wall clock
time can go backwards resulting in an apparent negative delta. As
a workaround, convert such deltas to 1us. This allows tests to run
successfully in MIPS64 qemu.
Approved by: jmmv (maintainer)
Sponsored by: DARPA, AFRL
This test has been largely failing on ci.freebsd.org, as evidenced here:
- Failing example:
https://ci.freebsd.org/job/FreeBSD-head-amd64-test/2289/testReport/local.kyua.utils/datetime_test/timestamp__subtraction/
- Trend/summary:
https://ci.freebsd.org/job/FreeBSD-head-amd64-test/2289/testReport/
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list