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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 1 19:57:22 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243605

--- Comment #3 from commit-hook at FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=96a9e50e63bfcbca7309c012c2c7a477c8826824

commit 96a9e50e63bfcbca7309c012c2c7a477c8826824
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-01 19:55:43 +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

 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