[Bug 243605] Flakey test case: sys.kern.ptrace_test.ptrace__procdesc_reparent_wait_child

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 17 14:06:56 UTC 2021


--- Comment #5 from commit-hook at FreeBSD.org ---
A commit in branch stable/13 references this bug:


commit 6a68c094ed1be74fd5556ac716c8bb12f3564f82
Author:     Alex Richardson <arichardson at FreeBSD.org>
AuthorDate: 2021-03-01 18:49:31 +0000
Commit:     Alex Richardson <arichardson at FreeBSD.org>
CommitDate: 2021-03-17 12:23:57 +0000

    ptrace_test: Add more debug output on test failures

    Mostly automatic, using
    `CHILD_REQUIRE\(([^|&\n]*) ==` -> `CHILD_REQUIRE_EQ_INT($1,`
    `ATF_REQUIRE\(([^|&\n]*) ==` -> `REQUIRE_EQ_INT($1,` followed by
    git-clang-format -f and then manually checking ones that contain ||/&&.

    Test Plan:
    Still getting the same failure but now it prints
    `psr.sr_error (0) == EBADF (9) not met` instead of just failing
    without printing the values.

    PR:             243605
    Reviewed By:    jhb
    Differential Revision: https://reviews.freebsd.org/D28887

    (cherry picked from commit 96a9e50e63bfcbca7309c012c2c7a477c8826824)

 tests/sys/kern/ptrace_test.c | 1516 +++++++++++++++++++++---------------------
 1 file changed, 770 insertions(+), 746 deletions(-)

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-testing mailing list