Bug 244056 - Flakey test case: sys.kern/ptrace_test/ptrace__parent_exits_before_child
Summary: Flakey test case: sys.kern/ptrace_test/ptrace__parent_exits_before_child
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: tests (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-testing (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-11 23:15 UTC by Li-Wen Hsu
Modified: 2021-03-17 14:07 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Li-Wen Hsu freebsd_committer freebsd_triage 2020-02-11 23:15:17 UTC
https://ci.freebsd.org/job/FreeBSD-head-amd64-test/14280/testReport/junit/sys.kern/ptrace_test/ptrace__parent_exits_before_child/

Error Message

/usr/src/tests/sys/kern/ptrace_test.c:507: WIFSTOPPED(status) not met

Standard Error

Test case metadata
------------------

allowed_architectures is empty
allowed_platforms is empty
description is empty
has_cleanup = false
is_exclusive = false
required_configs is empty
required_disk_space = 0
required_files is empty
required_memory = 0
required_programs is empty
required_user is empty
timeout = 300

Timing information
------------------

Start time: 2020-02-11T21:06:44.661137Z
End time:   2020-02-11T21:06:44.666479Z
Duration:   0.005s

Original stderr
---------------

<EMPTY>
Comment 1 commit-hook freebsd_committer freebsd_triage 2020-02-11 23:18:57 UTC
A commit references this bug:

Author: lwhsu
Date: Tue Feb 11 23:17:58 UTC 2020
New revision: 357782
URL: https://svnweb.freebsd.org/changeset/base/357782

Log:
  Temporarily skip flakey test case sys.kern.ptrace_test.ptrace__parent_exits_before_child

  PR:		244056
  Sponsored by:	The FreeBSD Foundation

Changes:
  head/tests/sys/kern/ptrace_test.c
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-03-01 19:57:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=1032131464f1196ad674b30c14a9e611789a1061

commit 1032131464f1196ad674b30c14a9e611789a1061
Author:     Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2021-03-01 18:51:02 +0000
Commit:     Alex Richardson <arichardson@FreeBSD.org>
CommitDate: 2021-03-01 19:56:05 +0000

    Remove atf_tc_skip calls from ptrace_test

    I've run these tests many times in a loop on multiple architectures and
    it works reliably for me, maybe it's time to retire these skips?
    This also adds an additional waitpid to one of the tests to avoid
    a potential race condition (suggested by markj@).

    PR:             239397, 244056, 239425, 240510, 220841, 243605
    Reviewed By:    markj
    Differential Revision: https://reviews.freebsd.org/D28888

 tests/sys/kern/ptrace_test.c | 29 ++---------------------------
 1 file changed, 2 insertions(+), 27 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-03-17 14:07:40 UTC
A commit in branch stable/13 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=80c34bad19795b6f4ddf9d6e339cf600118f05b0

commit 80c34bad19795b6f4ddf9d6e339cf600118f05b0
Author:     Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2021-03-01 18:51:02 +0000
Commit:     Alex Richardson <arichardson@FreeBSD.org>
CommitDate: 2021-03-17 12:24:02 +0000

    Remove atf_tc_skip calls from ptrace_test

    I've run these tests many times in a loop on multiple architectures and
    it works reliably for me, maybe it's time to retire these skips?
    This also adds an additional waitpid to one of the tests to avoid
    a potential race condition (suggested by markj@).

    PR:             239397, 244056, 239425, 240510, 220841, 243605
    Reviewed By:    markj
    Differential Revision: https://reviews.freebsd.org/D28888

    (cherry picked from commit 1032131464f1196ad674b30c14a9e611789a1061)

 tests/sys/kern/ptrace_test.c | 29 ++---------------------------
 1 file changed, 2 insertions(+), 27 deletions(-)