Date: Tue, 21 Mar 2017 09:10:29 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 217973] devel/kyua: local.kyua.utils.datetime_test.timestamp__subtraction failing non-deterministically after recent upgrade Message-ID: <bug-217973-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217973 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@FreeBSD.org Reporter: ngie@FreeBSD.org Assignee: jmmv@FreeBSD.org Flags: maintainer-feedback?(jmmv@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.ky= ua.utils/datetime_test/timestamp__subtraction/ - Trend/summary: https://ci.freebsd.org/job/FreeBSD-head-amd64-test/2289/testReport/ --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217973-13>