The flapping posixacl.py test

Andrew Bartlett abartlet at samba.org
Thu Jun 15 03:43:01 UTC 2017


Here are some notes on the flapping posixacl.py test:

You can line up the printed ACL against the ACL expected in
posix.acl.py, but I've added the index number at the start of the first
five blocks to help you line it up.  

What is going on is that the well known groups are being mapped to a
GID, not a BOTH, which is what the code expects:

UNEXPECTED(failure):
samba.tests.posixacl.samba.tests.posixacl.PosixAclMappingTests.test_set
ntacl_policies_check_getposixacl(ad_dc_no_nss:local)
REASON: Exception: Exception: Traceback (most recent call last):
  File
"/home/ubuntu/autobuild/b13345/samba/bin/python/samba/tests/posixacl.py
", line 707, in test_setntacl_policies_check_getposixacl
    self.assertEquals(posix_acl.count, 15,
self.print_posix_acl(posix_acl))
0#
a_type: 3
a_perm: 7
gid: 3000002
1#
a_type: 1
a_perm: 6
uid: 1000
2#
a_type: 5
a_perm: 0
3#
a_type: 2
a_perm: 6
4#
a_type: 1
a_perm: 7
uid: 3000002
5#
a_type: 4
a_perm: 7

SO USER

#a_type: 3
a_perm: 5
gid: 3000003

SY USER

#a_type: 3
a_perm: 7
gid: 3000004

AU USER

#a_type: 3
a_perm: 5
gid: 3000005

PA USER

#a_type: 3
a_perm: 7
gid: 3000006

#a_type: 6
a_perm: 7

FAILED (1 failures, 0 errors and 0 unexpected successes in 0
testsuites)

A summary with detailed information can be found in:
  ./bin/ab/summary
TOP 10 slowest tests
samba.tests.docs -> 1077
samba3.local.nss(ad_dc:local) -> 611
samba4.ldap.rodc_rwdc.python(rodc)(rodc:local) -> 420
samba4.ldap.vlv.python(ad_dc_ntvfs)(ad_dc_ntvfs) -> 342
samba4.rpc.samr.passwords.lockout on ncacn_np with (ad_dc_ntvfs) -> 226
samba4.blackbox.upgradeprovision.alpha13 -> 212
samba4.blackbox.upgradeprovision.release-4-0-0 -> 206
samba4.rpc.samr.passwords.pwdlastset on ncacn_np with (ad_dc_ntvfs) ->
200
samba.tests.samba_tool.dnscmd(ad_dc:local) -> 168
samba4.blackbox.dbcheck.release-4-1-0rc3 -> 126
ERROR: test failed with exit code 1
-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba







More information about the samba-technical mailing list