== sanity-dom test sanityn: Run sanityn with Data-on-MDT files ========================================================== 11:20:20 (1776266420) oleg142-server: ls: cannot access '/home/green/git/lustre-release/lustre/tests/except/sanityn.*ex': No such file or directory excepting tests: 28 102 skipping tests SLOW=no: 33a Starting client oleg142-client.virtnet: -o user_xattr,flock oleg142-server@tcp:/lustre /mnt/lustre2 Started clients oleg142-client.virtnet: 192.168.201.142@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,encrypt) oleg142-client.virtnet: executing check_config_client /mnt/lustre oleg142-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg142-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffffa0be464d2800.idle_timeout=debug osc.lustre-OST0000-osc-ffffa0be50592000.idle_timeout=debug osc.lustre-OST0001-osc-ffffa0be464d2800.idle_timeout=debug osc.lustre-OST0001-osc-ffffa0be50592000.idle_timeout=debug disable quota as required oleg142-server: oleg142-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all 8 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0235757 s, 44.5 MB/s running as uid/gid/euid/egid 500/500/500/500, groups: [true] running as uid/gid/euid/egid 500/500/500/500, groups: [touch] [/mnt/lustre/d0_runas_test/f60734] == sanityn test 1: Check attribute updates on 2 mount points ========================================================== 11:21:04 (1776266464) /mnt/lustre/f1.sanityn has type file OK /mnt/lustre/f1.sanityn has perms 0777 OK /mnt/lustre/f1.sanityn has type file OK /mnt/lustre/f1.sanityn has perms 0666 OK /mnt/lustre/f1.sanityn: absent OK PASS 1 (8s) == sanityn test 2a: check cached attribute updates on 2 mtpt's ================================================================== 11:21:12 (1776266472) -rw-r--r-- 1 root root 0 Apr 15 11:21 /mnt/lustre2/f2a /mnt/lustre/f2a has type file OK /mnt/lustre/f2a has perms 0777 OK PASS 2a (7s) == sanityn test 2b: check cached attribute updates on 2 mtpt's ================================================================== 11:21:20 (1776266480) -rw-r--r-- 1 root root 0 Apr 15 11:21 /mnt/lustre2/f2b /mnt/lustre2/f2b has type file OK /mnt/lustre2/f2b has perms 0777 OK PASS 2b (6s) == sanityn test 2c: check cached attribute updates on 2 mtpt's root ============================================================= 11:21:26 (1776266486) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0777 OK PASS 2c (7s) == sanityn test 2d: check cached attribute updates on 2 mtpt's root ============================================================= 11:21:33 (1776266493) /mnt/lustre2 has type dir OK /mnt/lustre2 has perms 0755 OK PASS 2d (6s) == sanityn test 2e: check chmod on root is propagated to others ========================================================== 11:21:39 (1776266499) total 604 -rwxrwxrwx 1 root root 0 Apr 15 11:21 f2a -rwxrwxrwx 1 root root 0 Apr 15 11:21 f2b -rw-r--r-- 1 root root 788028 Apr 15 11:04 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Apr 15 11:03 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 83560 Apr 15 11:04 ffsx.sanity-dom.fsxlog total 604 -rwxrwxrwx 1 root root 0 Apr 15 11:21 f2a -rwxrwxrwx 1 root root 0 Apr 15 11:21 f2b -rw-r--r-- 1 root root 788028 Apr 15 11:04 ffsx.sanity-dom -rw-r--r-- 1 root root 0 Apr 15 11:03 ffsx.sanity-dom.fsxgood -rw-r--r-- 1 root root 83560 Apr 15 11:04 ffsx.sanity-dom.fsxlog running as uid/gid/euid/egid 500/500/500/500, groups: [dd] [if=/dev/zero] [of=/mnt/lustre2/f2e.sanityn] [count=1] 1+0 records in 1+0 records out 512 bytes copied, 0.0058355 s, 87.7 kB/s PASS 2e (6s) == sanityn test 2f: check attr/owner updates on DNE with 2 mtpt's ========================================================== 11:21:45 (1776266505) SKIP: sanityn test_2f needs >= 2 MDTs SKIP 2f (4s) == sanityn test 2g: check blocks update on sync write ==== 11:21:49 (1776266509) 2+0 records in 2+0 records out 2097152 bytes (2.1 MB, 2.0 MiB) copied, 0.500129 s, 4.2 MB/s /mnt/lustre/f2g.sanityn has 4113 blocks /mnt/lustre2/f2g.sanityn has 4113 blocks PASS 2g (8s) == sanityn test 4: fstat validation on multiple mount points ==================================================================== 11:21:57 (1776266517) PASS 4 (8s) == sanityn test 5: create a file on one mount, truncate it on the other ========================================================== 11:22:05 (1776266525) /mnt/lustre/f5 has type file OK /mnt/lustre/f5 has size 100 OK PASS 5 (6s) == sanityn test 6: remove of open file on other node ============================================================================ 11:22:11 (1776266531) opening writing unlinking /mnt/lustre2/f6.sanityn accessing (1) seeking (1) accessing (2) fstat... reading comparing data truncating seeking (2) writing again seeking (3) reading again comparing data again closing SUCCESS - goto beer PASS 6 (7s) == sanityn test 7: remove of open directory on other node ======================================================================= 11:22:18 (1776266538) creating directory /mnt/lustre/d7 opening directory unlinking /mnt/lustre/d7 Ok, everything goes well. PASS 7 (7s) == sanityn test 8: remove of open special file on other node ==================================================================== 11:22:25 (1776266545) creating special file /mnt/lustre/f8.sanityn opening file unlinking /mnt/lustre/f8.sanityn Ok, everything goes well. PASS 8 (7s) == sanityn test 9a: append of file with sub-page size on multiple mounts ========================================================== 11:22:33 (1776266553) PASS 9a (8s) == sanityn test 9b: append to striped sparse file ======== 11:22:41 (1776266561) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.319502 s, 3.3 MB/s 3+0 records in 3+0 records out 3 bytes copied, 0.0608842 s, 0.0 kB/s Data read (expecting 'foo'): foo PASS 9b (29s) == sanityn test 10a: write of file with sub-page size on multiple mounts ========================================================== 11:23:10 (1776266590) 1+0 records in 1+0 records out 1 byte copied, 0.0349657 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0266457 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0194022 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0136135 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0149865 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0114326 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0302474 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0113437 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0216096 s, 0.0 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0065636 s, 0.2 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.0188391 s, 0.1 kB/s 1+0 records in 1+0 records out 1 byte copied, 0.00560243 s, 0.2 kB/s PASS 10a (9s) == sanityn test 10b: write of file with sub-page size on multiple mounts ========================================================== 11:23:19 (1776266599) 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.00892973 s, 344 kB/s 1+0 records in 1+0 records out 4096 bytes (4.1 kB, 4.0 KiB) copied, 0.0539178 s, 76.0 kB/s 1+0 records in 1+0 records out 3072 bytes (3.1 kB, 3.0 KiB) copied, 0.000234915 s, 13.1 MB/s PASS 10b (6s) == sanityn test 11: execution of file opened for write should return error ============================================================== 11:23:25 (1776266605) multiop /mnt/lustre/d11/f vO_c TMPPIPE=/tmp/multiop_open_wait_pipe.60734 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 273: /mnt/lustre2/d11/f: Text file busy PASS 11 (6s) == sanityn test 12: test lock ordering (link, stat, unlink) ========================================================== 11:23:31 (1776266611) warning: '-runtime' deprecated, use '-t runtime' instead - link 412 (time 1776266623.74 total 10.06 last 40.95) - link 946 (time 1776266633.74 total 20.07 last 53.38) - link 1502 (time 1776266643.75 total 30.07 last 55.55) - link 2084 (time 1776266653.75 total 40.08 last 58.18) - link 2643 (time 1776266663.75 total 50.08 last 55.90) - link 3001 (time 1776266673.77 total 60.09 last 35.76) - link 3343 (time 1776266683.77 total 70.10 last 34.18) - link 3651 (time 1776266693.80 total 80.12 last 30.73) - link 4002 (time 1776266703.83 total 90.15 last 34.98) total: 4327 link in 100.02 seconds: 43.26 ops/second using seed 987379204 running for 100 seconds - stat 498 (time 1776266625 ; total 11 ; last 11) - stat 5092 (time 1776266636 ; total 22 ; last 11) - stat 9625 (time 1776266647 ; total 33 ; last 11) - stat 10000 (time 1776266648 ; total 34 ; last 1) - stat 15133 (time 1776266659 ; total 45 ; last 11) - stat 19933 (time 1776266670 ; total 56 ; last 11) - stat 20000 (time 1776266670 ; total 56 ; last 0) - stat 24463 (time 1776266681 ; total 67 ; last 11) - stat 28086 (time 1776266692 ; total 78 ; last 11) - stat 30000 (time 1776266697 ; total 83 ; last 5) - stat 33778 (time 1776266708 ; total 94 ; last 11) total: 36122 stats in 100 seconds: 361.220001 stats/second - unlinked 0 (time 1776266664 ; total 0 ; last 0) unlink(/mnt/lustre2/lockdir/lockfile4327) error: No such file or directory total: 4326 unlinks in 94 seconds: 46.021278 unlinks/second /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 77: kill: (72675) - No such process /home/green/git/lustre-release/lustre/tests/lockorder.sh: line 78: kill: (72677) - No such process PASS 12 (153s) == sanityn test 14aa: execution of file open for write returns -ETXTBSY ========================================================== 11:26:04 (1776266764) multiop /mnt/lustre/d14aa.sanityn/f14aa.sanityn vOw_c TMPPIPE=/tmp/multiop_open_wait_pipe.60734 /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 308: /mnt/lustre2/d14aa.sanityn/f14aa.sanityn: Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4298: 73273 Terminated $MULTIOP_PROG $FILE v$ARGS > $TMPPIPE (wd: ~) PASS 14aa (6s) == sanityn test 14ab: open(RDWR) of executing file returns -ETXTBSY ========================================================== 11:26:10 (1776266770) open(O_RDWR|O_CREAT): Text file busy /home/green/git/lustre-release/lustre/tests/test-framework.sh: line 4298: 73848 Terminated $DIR1/$tdir/sleep 60 (wd: ~) PASS 14ab (7s) == sanityn test 14b: truncate of executing file returns -ETXTBSY ================================================================ 11:26:17 (1776266777) truncate: cannot truncate '/mnt/lustre2/d14b.sanityn/sleep' to length 60: Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 323: 74420 Terminated $DIR1/$tdir/sleep 60 PASS 14b (7s) == sanityn test 14c: open(O_TRUNC) of executing file return -ETXTBSY ============================================================ 11:26:24 (1776266784) cp: cannot create regular file '/mnt/lustre2/d14c.sanityn/sleep': Text file busy /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 335: 74997 Terminated $DIR1/$tdir/sleep 60 PASS 14c (7s) == sanityn test 14d: chmod of executing file is still possible ================================================================== 11:26:32 (1776266792) chmod /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 346: 75573 Terminated $DIR1/$tdir/sleep 60 PASS 14d (10s) == sanityn test 17: resource creation/LVB creation race ========================================================================= 11:26:42 (1776266802) fail_loc=0x8000030a PASS 17 (32s) == sanityn test 19: test concurrent uncached read races ========================================================================= 11:27:15 (1776266835) oleg142-server: error: get_param: param_path 'osd-*/lustre-MDT*/read_cache_enable': No such file or directory pdsh@oleg142-client: oleg142-server: ssh exited with exit code 2 SKIP: sanityn test_19 not cache-capable obdfilter SKIP 19 (5s) == sanityn test 20: test extra readahead page left in cache ============================================================== 11:27:20 (1776266840) PASS 20 (7s) == sanityn test 23: others should see updated atime while another read============================================================== 11:27:27 (1776266847) now is 1776266850 starting reads multiop /mnt/lustre/f23.sanityn vor20_c TMPPIPE=/tmp/multiop_open_wait_pipe.60734 new atime is 1776266911 PASS 23 (69s) == sanityn test 27: align non-overlapping extent locks from request ============================================================= 11:28:36 (1776266916) dd 1 started 4+0 records in 4+0 records out 16793600 bytes (17 MB, 16 MiB) copied, 0.526303 s, 31.9 MB/s dd 2 started 1+0 records in 1+0 records out 15728640 bytes (16 MB, 15 MiB) copied, 1.40348 s, 11.2 MB/s 1+0 records in 1+0 records out 8192 bytes (8.2 kB, 8.0 KiB) copied, 0.0399884 s, 205 kB/s dd 3 finished PASS 27 (13s) == sanityn test 39a: test from 11063 ============================================================================================ 11:28:50 (1776266930) repeat after cancel_lru_locks PASS 39a (8s) == sanityn test 39b: 11063 problem 1 ============================================================================================ 11:28:58 (1776266938) repeat after cancel_lru_locks PASS 39b (8s) == sanityn test 39c: check truncate mtime update ================================================================================ 11:29:06 (1776266946) repeat after cancel_lru_locks PASS 39c (7s) == sanityn test 39d: sync write should update mtime ====== 11:29:14 (1776266954) fail_loc=0x411 fail_loc=0 PASS 39d (7s) == sanityn test 51a: layout lock: refresh layout should work ========================================================== 11:29:21 (1776266961) 0+1 records in 0+1 records out 158 bytes copied, 0.0195793 s, 8.1 kB/s /home/green/git/lustre-release/lustre/tests/sanityn.sh: line 3146: kill: (81866) - No such process PASS 51a (9s) == sanityn test 51c: layout lock: IT_LAYOUT blocked and correct layout can be returned ========================================================== 11:29:31 (1776266971) fail_loc=0x172 Setting layout to have 2 stripes ... 1+0 records in 1+0 records out 1024 bytes (1.0 kB, 1.0 KiB) copied, 0.0582658 s, 17.6 kB/s sanityn test_51c: @@@@@@ FAIL: bad layout: getstripe -c 1 < 2 * 3/4 Trace dump: = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6459:error() = /home/green/git/lustre-release/lustre/tests/sanityn.sh:3216:test_51c() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6817:run_one() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6864:run_one_logged() = /home/green/git/lustre-release/lustre/tests/test-framework.sh:6690:run_test() = /home/green/git/lustre-release/lustre/tests/sanityn.sh:3220:main() Dumping lctl log to /tmp/testlogs//sanityn.test_51c.*.1776267001.log rsync: chown "/tmp/testlogs/.sanityn.test_51c.debug_log.oleg142-server.1776267001.log.NgYPra" failed: Operation not permitted (1) rsync: chown "/tmp/testlogs/.sanityn.test_51c.dmesg.oleg142-server.1776267001.log.lpPZTq" 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] FAIL 51c (33s) == sanityn test 51d: layout lock: losing layout lock should clean up memory map region ========================================================== 11:30:12 (1776267012) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.0413634 s, 25.4 MB/s Before revoking layout lock: 1024 KB mapped PASS 51d (9s) == sanityn test 107a: Basic grouplock conflict =========== 11:30:21 (1776267021) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.409145 s, 25.6 MB/s /mnt/lustre/f107a.sanityn lcm_layout_gen: 3 lcm_mirror_count: 1 lcm_entry_count: 2 lcme_id: 1 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 0 lcme_extent.e_end: 1048576 lmm_stripe_count: 0 lmm_stripe_size: 1048576 lmm_pattern: mdt lmm_layout_gen: 0 lmm_stripe_offset: 0 lcme_id: 2 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 1048576 lcme_extent.e_end: EOF lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x100010000:0x7a9:0x0] } multiop /mnt/lustre/f107a.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.60734 multiop /mnt/lustre2/f107a.sanityn vO_G16022000r10g16022000c TMPPIPE=/tmp/multiop_open_wait_pipe.60734 First grouplock blocks second one PASS 107a (9s) == sanityn test 107b: Grouplock is added to the head of waiting list ========================================================== 11:30:30 (1776267030) 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.435727 s, 24.1 MB/s /mnt/lustre/f107b.sanityn lcm_layout_gen: 3 lcm_mirror_count: 1 lcm_entry_count: 2 lcme_id: 1 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 0 lcme_extent.e_end: 1048576 lmm_stripe_count: 0 lmm_stripe_size: 1048576 lmm_pattern: mdt lmm_layout_gen: 0 lmm_stripe_offset: 0 lcme_id: 2 lcme_mirror_id: 0 lcme_flags: init lcme_extent.e_start: 1048576 lcme_extent.e_end: EOF lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 1 lmm_objects: - 0: { l_ost_idx: 1, l_fid: [0x100010000:0x7aa:0x0] } multiop /mnt/lustre/f107b.sanityn vOG14091995_g14091995c TMPPIPE=/tmp/multiop_open_wait_pipe.60734 Grouplock blocks IO First grouplock blocks second one Second grouplock blocks IO PASS 107b (14s) cleanup: ====================================================== == sanityn test complete, duration 625 sec =============== 11:30:47 (1776267047) sanityn: FAIL: test_51c bad layout: getstripe -c 1 < 2 * 3/4 Stopping clients: oleg142-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg142-client.virtnet /mnt/lustre2 opts: