Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2017 12:48:08 -0800
From:      John Baldwin <jhb@freebsd.org>
To:        "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
Cc:        Mateusz Guzik <mjg@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Breakage with sys.kern.ptrace_test.{ptrace__parent_sees_exit_after_child_debugger, parent_sees_exit_after_unrelated_debugger} after r325719:325721
Message-ID:  <3305084.Q9yLTkYrJQ@ralph.baldwin.cx>
In-Reply-To: <7567DDF3-6E53-455F-B25E-AE2082F74F40@gmail.com>
References:  <7567DDF3-6E53-455F-B25E-AE2082F74F40@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, November 16, 2017 09:07:56 AM Ngie Cooper wrote:
> Hi Mateusz,
> 	Per Jenkins, these two tests are broken after r325719:325721: https://ci.freebsd.org/job/FreeBSD-head-amd64-test/4987/ <https://ci.freebsd.org/job/FreeBSD-head-amd64-test/4987/>; .
> Thanks,
> -Ngie

It is probably the first commit.  Previously, the kern.proc.<pid> sysctl
would fail for zombies, so these tests poll that sysctl waiting for it to
fail to determine when a process has become a zombie.  I think the first
commit broke this as the sysctl now works for zombies so the tests hang
forever.  I could fix the tests to check for the status in the kinfo_proc.
I've no idea if there are other programs aside from tests that depend on
this behavior that are also broken though.  I feel like I copied that
approach from some other bit of code when writing these tests.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3305084.Q9yLTkYrJQ>