See https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests2/587/testReport/junit/local.atf.atf-sh/atf_check_test/flush_stdout_on_timeout/ for more details.
Frequency: https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests2/638/testReport/junit/local.atf.atf-sh/atf_check_test/flush_stdout_on_timeout/
Pull request opened upstream to raise the timeout from 1 to 5 seconds when waiting for the command to fully form: https://github.com/jmmv/atf/pull/21 .
Please try revision 0e546407567ea858e261e72f75c5ed61e07d0ddf instead. That should really fix the test instead of hiding its inherent problems.
Ok, I'll look at bringing this change in. There have been a LOT of errors lately on Jenkins related to this testcase, which is generating a lot of failure spam email. https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests2/964/testReport/junit/libexec.atf.atf-sh/atf_check_test/flush_stdout_on_timeout/ , etc
A commit references this bug: Author: ngie Date: Thu May 21 03:26:47 UTC 2015 New revision: 283166 URL: https://svnweb.freebsd.org/changeset/base/283166 Log: Import proposed fix from https://github.com/jmmv/atf/commit/0e546407567ea858e261e72f75c5ed61e07d0ddf.patch PR: 197060 Original commit message: From 0e546407567ea858e261e72f75c5ed61e07d0ddf Mon Sep 17 00:00:00 2001 From: Julio Merino <jmmv@google.com> Date: Tue, 17 Feb 2015 18:10:11 -0500 Subject: [PATCH] Fix atf-sh/atf_check_test:flush_stdout_on_death The test atf-sh/atf_check_test:flush_stdout_on_timeout was flaky as it was playing solely with time. Fix this by making the test more robust and rename it while we are at it: there is nothing left about "timeouts" in this test, considering that ATF itself does not enforce deadlines any longer. Fixes FreeBSD PR 197060. Changes: vendor/atf/dist/atf-sh/atf_check_test.sh vendor/atf/dist/atf-sh/misc_helpers.sh
A commit references this bug: Author: ngie Date: Thu May 21 05:06:09 UTC 2015 New revision: 283170 URL: https://svnweb.freebsd.org/changeset/base/283170 Log: Import proposed fix from upstream for atf-sh/atf_check_test:flush_stdout_on_timeout Many thanks for jmmv for the fix! MFC after: 1 week PR: 197060 Original commit message: From 0e546407567ea858e261e72f75c5ed61e07d0ddf Mon Sep 17 00:00:00 2001 From: Julio Merino <jmmv@google.com> Date: Tue, 17 Feb 2015 18:10:11 -0500 Subject: [PATCH] Fix atf-sh/atf_check_test:flush_stdout_on_death The test atf-sh/atf_check_test:flush_stdout_on_timeout was flaky as it was playing solely with time. Fix this by making the test more robust and rename it while we are at it: there is nothing left about "timeouts" in this test, considering that ATF itself does not enforce deadlines any longer. Fixes FreeBSD PR 197060. Changes: _U head/contrib/atf/ head/contrib/atf/atf-sh/atf_check_test.sh head/contrib/atf/atf-sh/misc_helpers.sh
I'll own the MFC of the fix to stable/10. The port still needs to be fixed (I'll clone this bug for the port).
A commit references this bug: Author: ngie Date: Sun May 31 22:44:15 UTC 2015 New revision: 283848 URL: https://svnweb.freebsd.org/changeset/base/283848 Log: MFC r283170: Import proposed fix from upstream for atf-sh/atf_check_test:flush_stdout_on_timeout Many thanks for jmmv for the fix! PR: 197060 Original commit message: From 0e546407567ea858e261e72f75c5ed61e07d0ddf Mon Sep 17 00:00:00 2001 From: Julio Merino <jmmv@google.com> Date: Tue, 17 Feb 2015 18:10:11 -0500 Subject: [PATCH] Fix atf-sh/atf_check_test:flush_stdout_on_death The test atf-sh/atf_check_test:flush_stdout_on_timeout was flaky as it was playing solely with time. Fix this by making the test more robust and rename it while we are at it: there is nothing left about "timeouts" in this test, considering that ATF itself does not enforce deadlines any longer. Fixes FreeBSD PR 197060. Changes: _U stable/10/ stable/10/contrib/atf/atf-sh/atf_check_test.sh stable/10/contrib/atf/atf-sh/misc_helpers.sh