Project

General

Profile

Bug #8102

zfs-tests suite fails zfs_acl_chmod_xattr_001_pos

Added by Yuri Pankov over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
tests
Start date:
2017-04-24
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

Test: /opt/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_xattr_001_pos (run as root) [00:01] [FAIL]
02:01:37.00 ASSERTION: Verify that the permission of read_xattr/write_xattr for  owner/group/everyone are correct.
02:01:37.01 SUCCESS: mkdir -p /testdir/basedir
02:01:37.02 SUCCESS: chown root:root /testdir/basedir
02:01:37.03 SUCCESS: set_cur_usr root
02:01:37.04 SUCCESS: usr_exec touch /testdir/basedir/testfile_rm
02:01:37.06 SUCCESS: usr_exec chmod 444 /testdir/basedir/testfile_rm
02:01:37.10 SUCCESS: usr_exec runat /testdir/basedir/testfile_rm cp /etc/passwd attr.0
02:01:37.12 SUCCESS: usr_exec mkdir -p /testdir/basedir/testdir_rm
02:01:37.14 SUCCESS: usr_exec chmod 555 /testdir/basedir/testdir_rm
02:01:37.17 SUCCESS: usr_exec runat /testdir/basedir/testdir_rm cp /etc/passwd attr.0
02:01:37.19 SUCCESS: usr_exec chmod 777 /testdir/basedir
02:01:37.22 SUCCESS: usr_exec chmod A+owner@:read_xattr:allow /testdir/basedir/testfile_rm
02:01:37.23 SUCCESS: tar cpf@ /testdir/archive.tar basedir
02:01:37.26 SUCCESS: operate_node root /testdir/basedir/testfile_rm owner@:read_xattr:allow
02:01:37.28 SUCCESS: usr_exec chmod A0- /testdir/basedir/testfile_rm
02:01:37.30 SUCCESS: usr_exec chmod A+owner@:read_xattr:deny /testdir/basedir/testfile_rm
02:01:37.31 SUCCESS: tar cpf@ /testdir/archive.tar basedir
02:01:37.33 SUCCESS: operate_node root /testdir/basedir/testfile_rm owner@:read_xattr:deny
02:01:37.35 SUCCESS: usr_exec chmod A0- /testdir/basedir/testfile_rm
02:01:37.37 SUCCESS: usr_exec chmod A+owner@:write_xattr:allow /testdir/basedir/testfile_rm
02:01:37.38 SUCCESS: tar cpf@ /testdir/archive.tar basedir
02:01:37.41 SUCCESS: rm -rf /testdir/basedir
02:01:37.42 SUCCESS: cleanup_test_files /testdir/basedir
02:01:37.43 SUCCESS: tar xpf@ /testdir/archive.tar
02:01:37.44 SUCCESS: operate_node root /testdir/basedir/testfile_rm owner@:write_xattr:allow
02:01:37.45 SUCCESS: usr_exec chmod A0- /testdir/basedir/testfile_rm
02:01:37.47 SUCCESS: usr_exec chmod A+owner@:write_xattr:deny /testdir/basedir/testfile_rm
02:01:37.48 SUCCESS: tar cpf@ /testdir/archive.tar basedir
02:01:37.51 SUCCESS: rm -rf /testdir/basedir
02:01:37.52 SUCCESS: cleanup_test_files /testdir/basedir
02:01:37.54 SUCCESS: tar xpf@ /testdir/archive.tar
02:01:37.54 SUCCESS: operate_node root /testdir/basedir/testfile_rm owner@:write_xattr:deny
02:01:37.56 SUCCESS: usr_exec chmod A0- /testdir/basedir/testfile_rm
02:01:37.58 SUCCESS: usr_exec chmod A+group@:read_xattr:allow /testdir/basedir/testfile_rm
02:01:37.59 SUCCESS: tar cpf@ /testdir/archive.tar basedir
02:01:37.61 SUCCESS: operate_node zfstest /testdir/basedir/testfile_rm group@:read_xattr:allow
02:01:37.63 SUCCESS: usr_exec chmod A0- /testdir/basedir/testfile_rm
02:01:37.64 SUCCESS: usr_exec chmod A+group@:read_xattr:deny /testdir/basedir/testfile_rm
02:01:37.65 SUCCESS: tar cpf@ /testdir/archive.tar basedir
02:01:37.68 
02:01:37.68 ERROR: operate_node zfstest /testdir/basedir/testfile_rm group@:read_xattr:deny unexpectedly exited 0
02:01:37.68 NOTE: Performing test-fail callback (/opt/zfs-tests/callbacks/zfs_dbgmsg)
02:01:37.70 =================================================================
02:01:37.70  Tailing last 200 lines of zfs_dbgmsg log
02:01:37.70 =================================================================
02:01:38.45 spa=rpool async request task=1
02:01:38.45 txg 2990 open pool version 5000; software version 5000/5; uts  5.11 SunOS_Development i86pc
02:01:38.45 txg 5 create pool version 5000; software version 5000/5; uts omnios 5.11 SunOS_Development i86pc
02:01:38.45 command: zpool create -f testpool c2t1d0
02:01:38.45 txg 5 create testpool/testfs (id 44) 
02:01:38.45 ioctl create
02:01:38.45 command: zfs create testpool/testfs
02:01:38.45 txg 6 set testpool/testfs (id 44) mountpoint=/testdir
02:01:38.45 command: zfs set mountpoint=/testdir testpool/testfs
02:01:38.45 command: zpool destroy -f testpool
02:01:38.45 txg 5 create pool version 5000; software version 5000/5; uts omnios 5.11 SunOS_Development i86pc
02:01:38.45 command: zpool create -f testpool c2t1d0
02:01:38.45 txg 5 create testpool/testfs (id 44) 
02:01:38.45 ioctl create
02:01:38.45 command: zfs create testpool/testfs
02:01:38.45 txg 6 set testpool/testfs (id 44) mountpoint=/testdir
02:01:38.45 command: zfs set mountpoint=/testdir testpool/testfs
02:01:38.45 txg 9 create testpool/acl_upgrade_fs.118506 (id 51) 
02:01:38.45 txg 10 upgrade testpool/acl_upgrade_fs.118506 (id 51) from 2 to 2
02:01:38.45 ioctl create
02:01:38.45 command: zfs create -o version=2 testpool/acl_upgrade_fs.118506
02:01:38.45 txg 10 upgrade testpool/acl_upgrade_fs.118506 (id 51) from 2 to 5
02:01:38.45 command: zfs upgrade testpool/acl_upgrade_fs.118506
02:01:38.45 txg 11 destroy testpool/acl_upgrade_fs.118506 (id 51) 
02:01:38.45 bptree index 0: traversing from min_txg=1 bookmark 0/0/0/0
02:01:38.45 freed 18 blocks in 1ms from free_bpobj/bptree txg 11; err=0
02:01:38.45 command: zfs destroy -rR testpool/acl_upgrade_fs.118506
02:01:38.45 txg 12 set testpool/testfs (id 44) aclmode=0
02:01:38.45 command: zfs set aclmode=discard testpool/testfs
02:01:38.45 txg 14 set testpool/testfs (id 44) aclmode=2
02:01:38.45 command: zfs set aclmode=groupmask testpool/testfs
02:01:38.45 txg 23 set testpool/testfs (id 44) aclmode=3
02:01:38.45 command: zfs set aclmode=passthrough testpool/testfs
02:01:38.45 txg 38 set testpool/testfs (id 44) aclmode=3
02:01:38.45 command: zfs set aclmode=passthrough testpool/testfs
02:01:38.45 txg 39 set testpool/testfs (id 44) aclinherit=0
02:01:38.45 command: zfs set aclinherit=discard testpool/testfs
02:01:38.45 txg 41 set testpool/testfs (id 44) aclinherit=1
02:01:38.45 command: zfs set aclinherit=noallow testpool/testfs
02:01:38.45 txg 43 set testpool/testfs (id 44) aclinherit=4
02:01:38.45 command: zfs set aclinherit=restricted testpool/testfs
02:01:38.45 txg 46 set testpool/testfs (id 44) aclinherit=3
02:01:38.45 command: zfs set aclinherit=passthrough testpool/testfs
02:01:38.45 txg 49 set testpool/testfs (id 44) aclmode=0
02:01:38.45 command: zfs set aclmode=discard testpool/testfs
02:01:38.45 txg 50 set testpool/testfs (id 44) aclmode=3
02:01:38.45 command: zfs set aclmode=passthrough testpool/testfs
02:01:38.45 txg 51 set testpool/testfs (id 44) aclinherit=0
02:01:38.45 command: zfs set aclinherit=discard testpool/testfs
02:01:38.45 txg 53 set testpool/testfs (id 44) aclinherit=1
02:01:38.45 command: zfs set aclinherit=noallow testpool/testfs
02:01:38.45 txg 55 set testpool/testfs (id 44) aclinherit=4
02:01:38.45 command: zfs set aclinherit=restricted testpool/testfs
02:01:38.45 txg 57 set testpool/testfs (id 44) aclinherit=3
02:01:38.45 command: zfs set aclinherit=passthrough testpool/testfs
02:01:38.45 txg 59 set testpool/testfs (id 44) aclmode=0
02:01:38.45 command: zfs set aclmode=discard testpool/testfs
02:01:38.45 txg 60 set testpool/testfs (id 44) aclmode=3
02:01:38.45 command: zfs set aclmode=passthrough testpool/testfs
02:01:38.45 txg 61 set testpool/testfs (id 44) aclinherit=0
02:01:38.45 command: zfs set aclinherit=discard testpool/testfs
02:01:38.45 txg 63 set testpool/testfs (id 44) aclinherit=1
02:01:38.45 command: zfs set aclinherit=noallow testpool/testfs
02:01:38.45 txg 66 set testpool/testfs (id 44) aclinherit=4
02:01:38.45 command: zfs set aclinherit=restricted testpool/testfs
02:01:38.45 txg 70 set testpool/testfs (id 44) aclinherit=3
02:01:38.45 command: zfs set aclinherit=passthrough testpool/testfs
02:01:38.45 txg 74 set testpool/testfs (id 44) aclmode=3
02:01:38.45 command: zfs set aclmode=passthrough testpool/testfs
02:01:38.45 txg 75 set testpool/testfs (id 44) aclinherit=5
02:01:38.45 command: zfs set aclinherit=passthrough-x testpool/testfs
02:01:38.48 =================================================================
02:01:38.48  End of zfs_dbgmsg log
02:01:38.48 =================================================================
02:01:38.48 NOTE: Performing local cleanup via log_onexit (cleanup)
02:01:38.49 SUCCESS: rm -rf /testdir/basedir
02:01:38.50 SUCCESS: rm -f /testdir/archive.tar

Related issues

Related to illumos gate - Bug #7444: fs/xattr.c should be more transparentClosed2016-10-02

Actions

History

#1

Updated by Yuri Pankov over 2 years ago

  • Status changed from In Progress to Feedback
#2

Updated by Yuri Pankov over 2 years ago

  • Status changed from Feedback to Closed

Fixed in followup in #7444.

#3

Updated by Yuri Pankov over 2 years ago

  • Related to Bug #7444: fs/xattr.c should be more transparent added

Also available in: Atom PDF