svn commit: r354134 - stable/11/tests/sys/kern

Li-Wen Hsu lwhsu at FreeBSD.org
Mon Oct 28 13:06:02 UTC 2019


Author: lwhsu
Date: Mon Oct 28 13:06:01 2019
New Revision: 354134
URL: https://svnweb.freebsd.org/changeset/base/354134

Log:
  MFC r350211, r350220, r350235, r350238-r350239, r350295, r350512, r350700, r352219
  
  r350211:
  Temporarily skip flakey test case
  sys.kern.ptrace_test.ptrace__follow_fork_child_detached_unrelated_debugger
  
  PR:		239292
  Sponsored by:	The FreeBSD Foundation
  
  r350220:
  Fix URL.
  
  Sponsored by:	The FreeBSD Foundation
  
  r350235:
  Temporarily skip flakey test case
  sys.kern.ptrace_test.ptrace__PT_KILL_competing_stop
  
  PR:		220841
  Sponsored by:	The FreeBSD Foundation
  
  r350238:
  Temporarily skip flakey test case
  sys.kern.ptrace_test.ptrace__follow_fork_both_attached_unrelated_debugger
  
  PR:		239397
  Sponsored by:	The FreeBSD Foundation
  
  r350239:
  Temporarily skip flakey test case
  sys.kern.ptrace_test.ptrace__parent_sees_exit_after_child_debugger
  
  PR:		239399
  Sponsored by:	The FreeBSD Foundation
  
  r350295:
  Temporarily skip flakey test case
  sys.kern.ptrace_test.ptrace__follow_fork_parent_detached_unrelated_debugger
  
  PR:		239425
  Sponsored by:	The FreeBSD Foundation
  
  r350512:
  Only skip test cases sometimes failing in CI when they are running in CI
  
  Suggested by:	jhb
  Sponsored by:	The FreeBSD Foundation
  
  r350700:
  Get configuration variable with default value for not breaking default setting
  
  Reported by:	markj
  Sponsored by:	The FreeBSD Foundation
  
  r352219:
  Temporarily skip flakey test case sys.kern.ptrace_test.ptrace__getppid
  
  PR:		240510
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/11/tests/sys/kern/ptrace_test.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/tests/sys/kern/ptrace_test.c
==============================================================================
--- stable/11/tests/sys/kern/ptrace_test.c	Mon Oct 28 12:40:12 2019	(r354133)
+++ stable/11/tests/sys/kern/ptrace_test.c	Mon Oct 28 13:06:01 2019	(r354134)
@@ -260,6 +260,9 @@ ATF_TC_BODY(ptrace__parent_sees_exit_after_child_debug
 	int cpipe[2], dpipe[2], status;
 	char c;
 
+	if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
+		atf_tc_skip("https://bugs.freebsd.org/239399");
+
 	ATF_REQUIRE(pipe(cpipe) == 0);
 	ATF_REQUIRE((child = fork()) != -1);
 
@@ -801,6 +804,9 @@ ATF_TC_BODY(ptrace__follow_fork_both_attached_unrelate
 	pid_t children[2], fpid, wpid;
 	int cpipe[2], status;
 
+	if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
+		atf_tc_skip("https://bugs.freebsd.org/239397");
+
 	ATF_REQUIRE(pipe(cpipe) == 0);
 	ATF_REQUIRE((fpid = fork()) != -1);
 	if (fpid == 0) {
@@ -869,6 +875,9 @@ ATF_TC_BODY(ptrace__follow_fork_child_detached_unrelat
 	pid_t children[2], fpid, wpid;
 	int cpipe[2], status;
 
+	if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
+		atf_tc_skip("https://bugs.freebsd.org/239292");
+
 	ATF_REQUIRE(pipe(cpipe) == 0);
 	ATF_REQUIRE((fpid = fork()) != -1);
 	if (fpid == 0) {
@@ -932,6 +941,9 @@ ATF_TC_BODY(ptrace__follow_fork_parent_detached_unrela
 	pid_t children[2], fpid, wpid;
 	int cpipe[2], status;
 
+	if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
+		atf_tc_skip("https://bugs.freebsd.org/239425");
+
 	ATF_REQUIRE(pipe(cpipe) == 0);
 	ATF_REQUIRE((fpid = fork()) != -1);
 	if (fpid == 0) {
@@ -994,6 +1006,10 @@ ATF_TC_BODY(ptrace__getppid, tc)
 	int cpipe[2], dpipe[2], status;
 	char c;
 
+	if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
+		atf_tc_skip("https://bugs.freebsd.org/240510");
+
+
 	ATF_REQUIRE(pipe(cpipe) == 0);
 	ATF_REQUIRE((child = fork()) != -1);
 
@@ -2077,6 +2093,9 @@ ATF_TC_BODY(ptrace__PT_KILL_competing_stop, tc)
 	lwpid_t main_lwp;
 	struct ptrace_lwpinfo pl;
 	struct sched_param sched_param;
+
+	if (atf_tc_get_config_var_as_bool_wd(tc, "ci", false))
+		atf_tc_skip("https://bugs.freebsd.org/220841");
 
 	ATF_REQUIRE((fpid = fork()) != -1);
 	if (fpid == 0) {


More information about the svn-src-stable mailing list