Bug 205481 - The `subject matching jailid` testcase fails on stable/9, stable/10, and head
Summary: The `subject matching jailid` testcase fails on stable/9, stable/10, and head
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: tests (show other bugs)
Version: 9.3-STABLE
Hardware: Any Any
: --- Affects Some People
Assignee: Enji Cooper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-21 08:48 UTC by Enji Cooper
Modified: 2017-12-01 16:53 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2015-12-21 08:48:29 UTC
The following 3 versions of FreeBSD fail when running the mac_bsdextended testcases in /usr/src/tools/regression/mac/mac_bsdextended, it fails with the "subject matching jailid testcase" (before and after the TAP conversion done in 

$ uname -a
FreeBSD fbsd9 9.3-STABLE FreeBSD 9.3-STABLE #8 r292531: Mon Dec 21 00:35:11 PST 2015     ngie@fbsd9:/usr/obj/usr/src/sys/GENERIC  amd64
$ uname -a
FreeBSD fbsd10 10.2-STABLE FreeBSD 10.2-STABLE #11 r292531: Mon Dec 21 00:32:03 PST 2015     ngie@fbsd10:/usr/obj/usr/src/sys/GENERIC  amd64
$ uname -a
FreeBSD fbsd11 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r292509+9928070(isilon-atf-rt): Sun Dec 20 12:22:11 PST 2015     ngie@fbsd11:/usr/obj/usr/src/git/sys/GENERIC-NODEBUG  amd64

# subject gid out range:
ok
# subject matching jailid:
not ok
# subject nonmatching jailid:
ok
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-12-21 08:53:44 UTC
A commit references this bug:

Author: ngie
Date: Mon Dec 21 08:53:27 UTC 2015
New revision: 292532
URL: https://svnweb.freebsd.org/changeset/base/292532

Log:
  Mark `subject matching jailid` testcase as an unexpected failure with
  TODO to ensure that the testcase isn't marked as a failure

  PR: 205481
  MFC after: 2 weeks
  Sponsored by: EMC / Isilon Storage Division

Changes:
  head/tools/regression/mac/mac_bsdextended/test_matches.sh
Comment 2 commit-hook freebsd_committer freebsd_triage 2016-01-04 06:57:42 UTC
A commit references this bug:

Author: ngie
Date: Mon Jan  4 06:57:06 UTC 2016
New revision: 293138
URL: https://svnweb.freebsd.org/changeset/base/293138

Log:
  MFC r292531,r292532,r292533,r292545:

  r292531:

  Make test_matches.sh into a series of TAP testcases

  Use temporary filesystems / memory disks instead of a hardcoded path
  which doesn't exist on test systems

  r292532:

  Mark `subject matching jailid` testcase as an unexpected failure with
  TODO to ensure that the testcase isn't marked as a failure

  PR: 205481

  r292533:

  Skip the testcases if mac_bsdextended(4) isn't detected on the
  system

  r292545:

  Redo the TAP integration so it works with Kyua

  Kyua needs numbers in the TAP results :/, but prove doesn't

Changes:
_U  stable/10/
  stable/10/tools/regression/mac/mac_bsdextended/test_matches.sh
Comment 3 commit-hook freebsd_committer freebsd_triage 2016-01-04 06:58:43 UTC
A commit references this bug:

Author: ngie
Date: Mon Jan  4 06:58:40 UTC 2016
New revision: 293139
URL: https://svnweb.freebsd.org/changeset/base/293139

Log:
  MFstable/10 r293138:

  MFC r292531,r292532,r292533,r292545:

  r292531:

  Make test_matches.sh into a series of TAP testcases

  Use temporary filesystems / memory disks instead of a hardcoded path
  which doesn't exist on test systems

  r292532:

  Mark `subject matching jailid` testcase as an unexpected failure with
  TODO to ensure that the testcase isn't marked as a failure

  PR: 205481

  r292533:

  Skip the testcases if mac_bsdextended(4) isn't detected on the
  system

  r292545:

  Redo the TAP integration so it works with Kyua

  Kyua needs numbers in the TAP results :/, but prove doesn't

Changes:
_U  stable/9/
_U  stable/9/tools/
_U  stable/9/tools/regression/
  stable/9/tools/regression/mac/mac_bsdextended/test_matches.sh
Comment 4 Alan Somers freebsd_committer freebsd_triage 2017-12-01 16:53:38 UTC
Assigning to committer.