== sanityn test 106e: Verify lfs migrate/swap honors POSIX immutable expiry/cap rules ========================================================== 01:43:09 (1788932589) mdd.lustre-MDT0000.posix_immutable=1 mdd.lustre-MDT0001.posix_immutable=1 mdd.lustre-MDT0000.posix_immutable_min_atime_delta=30 mdd.lustre-MDT0001.posix_immutable_min_atime_delta=30 striped dir -i0 -c2 -H crush2 /mnt/lustre/d106e.sanityn running as uid/gid/euid/egid 500/500/500/500, groups: 500 [touch] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [touch] [-ac] [--date=1 hour] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [chmod] [a-w] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [touch] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [dd] [if=/dev/zero] [of=/mnt/lustre/d106e.sanityn/f106e.sanityn] [bs=4k] [count=1] 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.00694272 s, 590 kB/s running as uid/gid/euid/egid 500/500/500/500, groups: 500 [touch] [-ac] [--date=65 seconds] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [chmod] [a-w] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [chmod] [u+w] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [/home/green/git/lustre-release/lustre/utils/lfs] [migrate] [-c] [2] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [touch] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [dd] [if=/dev/zero] [of=/mnt/lustre/d106e.sanityn/f106e.sanityn] [bs=4k] [count=1] 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0141403 s, 290 kB/s running as uid/gid/euid/egid 500/500/500/500, groups: 500 [touch] [-ac] [--date=65 seconds] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [chmod] [a-w] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [touch] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [dd] [if=/dev/zero] [of=/mnt/lustre/d106e.sanityn/f106e.sanityn] [bs=4k] [count=1] 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.00929847 s, 441 kB/s running as uid/gid/euid/egid 500/500/500/500, groups: 500 [touch] [-ac] [--date=60 seconds] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [chmod] [a-w] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [chmod] [u+w] [/mnt/lustre/d106e.sanityn/f106e.sanityn] running as uid/gid/euid/egid 500/500/500/500, groups: 500 [/home/green/git/lustre-release/lustre/utils/lfs] [swap_layouts] [/mnt/lustre/d106e.sanityn/f106e.sanityn] [/mnt/lustre/d106e.sanityn/f106e.sanityn_swap] lfs swap_layouts: error: cannot swap layout between '/mnt/lustre/d106e.sanityn/f106e.sanityn' and '/mnt/lustre/d106e.sanityn/f106e.sanityn_swap': Operation not permitted (1) sanityn test_106e: @@@@@@ FAIL: owner swap_layouts after expiry failed Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7530:error() = /home/green/git/lustre-release/lustre/tests/sanityn.sh:7254:test_106e() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7907:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7970:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:7769:run_test() = /home/green/git/lustre-release/lustre/tests/sanityn.sh:7258:main() Dumping lctl log to /tmp/testlogs//sanityn.test_106e.*.1788932812.log rsync: chown "/tmp/testlogs/.sanityn.test_106e.debug_log.oleg450-server.1788932812.log.1jECJg" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanityn.test_106e.dmesg.oleg450-server.1788932812.log.Fuylsx" failed: Operation not permitted (1) rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1668) [generator=3.1.3] mdd.lustre-MDT0000.posix_immutable_min_atime_delta=86400 mdd.lustre-MDT0001.posix_immutable_min_atime_delta=86400 mdd.lustre-MDT0000.posix_immutable=0 mdd.lustre-MDT0001.posix_immutable=0