-----============= acceptance-small: sanity ============----- Sat May 11 14:41:19 EDT 2024 excepting tests: 42a 42b 42c 407 130a 130b 130c 130d 130e 130f 130g skipping tests SLOW=no: 27m 60i 64b 68 71 115 135 136 230d 300o 51b oleg435-client.virtnet: executing check_config_client /mnt/lustre oleg435-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg435-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800b5e57000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b5e57000.idle_timeout=debug disable quota as required oleg435-server: oleg435-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all 8 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/f7584] preparing for tests involving mounts mke2fs 1.46.2.wc5 (26-Mar-2022) debug=-1 == sanity test 27K: basic ops on dir with foreign LMV ==== 14:41:32 (1715452892) striped dir -i1 -c2 -H all_char /mnt/lustre/d27K.sanity lfs setdirstripe: hex flags must be specified with --foreign option Create striped directory on specified MDT, same as mkdir. May be restricted to root or group users, depending on settings. usage: setdirstripe [OPTION] [--mdt-count|-c stripe_count> [--help|-h] [--mdt-hash|-H mdt_hash] [--mdt-index|-i mdt_index[,mdt_index,...] [--default|-D] [--mode|-o mode] [--max-inherit|-X max_inherit] [--max-inherit-rr max_inherit_rr] To create dir with a foreign (free format) layout : setdirstripe|mkdir --foreign[=FOREIGN_TYPE] -x|-xattr STRING [--mode|-o MODE] [--flags HEX] DIRECTORY lfs setdirstripe: invalid hex flags 'foo' Create striped directory on specified MDT, same as mkdir. May be restricted to root or group users, depending on settings. usage: setdirstripe [OPTION] [--mdt-count|-c stripe_count> [--help|-h] [--mdt-hash|-H mdt_hash] [--mdt-index|-i mdt_index[,mdt_index,...] [--default|-D] [--mode|-o mode] [--max-inherit|-X max_inherit] [--max-inherit-rr max_inherit_rr] To create dir with a foreign (free format) layout : setdirstripe|mkdir --foreign[=FOREIGN_TYPE] -x|-xattr STRING [--mode|-o MODE] [--flags HEX] DIRECTORY lfs setdirstripe: invalid hex flags '0xffffffff' Create striped directory on specified MDT, same as mkdir. May be restricted to root or group users, depending on settings. usage: setdirstripe [OPTION] [--mdt-count|-c stripe_count> [--help|-h] [--mdt-hash|-H mdt_hash] [--mdt-index|-i mdt_index[,mdt_index,...] [--default|-D] [--mode|-o mode] [--max-inherit|-X max_inherit] [--max-inherit-rr max_inherit_rr] To create dir with a foreign (free format) layout : setdirstripe|mkdir --foreign[=FOREIGN_TYPE] -x|-xattr STRING [--mode|-o MODE] [--flags HEX] DIRECTORY lmv_foreign_magic: 0xcd50cd0 lmv_xattr_size: 89 lmv_foreign_type: 1 lmv_foreign_flags: 55813 lfm_magic: 0x0CD50CD0 lfm_length: 73 lfm_type: 0x00000000 (none) lfm_flags: 0x0000DA05 lfm_value: '58794cde-1fa6-4401-80e1-0f80dd022b7b@9262dc60-f59e-41b6-a310-26394a7e88c8' lfm_magic: 0x0CD50CD0 lfm_length: 73 lfm_type: 0x00000000 (none) lfm_flags: 0x0000DA05 lfm_value: '58794cde-1fa6-4401-80e1-0f80dd022b7b@9262dc60-f59e-41b6-a310-26394a7e88c8' touch: cannot touch '/mnt/lustre/d27K.sanity/d27K.sanity/f27K.sanity': No data available touch: cannot touch '/mnt/lustre/d27K.sanity/d27K.sanity2/f27K.sanity': No data available PASS 27K (2s) == sanity test 27P: basic ops on foreign dir of foreign_symlink type ========================================================== 14:41:34 (1715452894) striped dir -i1 -c2 -H crush2 /mnt/lustre/d27P.sanity llite.lustre-ffff8800b5e57000.foreign_symlink_enable=1 lfm_magic: 0x0CD50CD0 lfm_length: 73 lfm_type: 0x0000DA05 (symlink) lfm_flags: 0x0000DA05 lfm_value: 'b4849c63-0f86-41e4-8380-b135a959f19d/094076ca-8d2f-4bf8-954d-7c3d904124a5' lfm_magic: 0x0CD50CD0 lfm_type: 0x0000DA05 (symlink) lfm_flags: 0x0000DA05 lfm_value: 'b4849c63-0f86-41e4-8380-b135a959f19d/094076ca-8d2f-4bf8-954d-7c3d904124a5' touch: cannot touch '/mnt/lustre/d27P.sanity/d27P.sanity/f27P.sanity': No such file or directory rmdir: failed to remove '/mnt/lustre/d27P.sanity/d27P.sanity.new': Not a directory llite.lustre-ffff8800b5e57000.foreign_symlink_prefix=/tmp/ /mnt/lustre/d27P.sanity/d27P.sanity.new has type link OK /mnt/lustre/d27P.sanity/d27P.sanity.new links to /tmp/b4849c63-0f86-41e4-8380-b135a959f19d/094076ca-8d2f-4bf8-954d-7c3d904124a5 OK FOOFOO lfm_value: 'b4849c63-0f86-41e4-8380-b135a959f19d/094076ca-8d2f-4bf8-954d-7c3d904124a5' rmdir: failed to remove '/mnt/lustre/d27P.sanity/d27P.sanity': Not a directory llite.lustre-ffff8800b5e57000.foreign_symlink_enable=0 lfs unlink_foreign: unable to open '/mnt/lustre/d27P.sanity/*': No such file or directory (2) error: unlink_foreign: unlink foreign entry '/mnt/lustre/d27P.sanity/*' failed PASS 27P (3s) == sanity test 33h: temp file is located on the same MDT as target (crush) ========================================================== 14:41:37 (1715452897) striped dir -i1 -c2 -H crush /mnt/lustre/d33h.sanity pattern .f33h.sanity.XXXXXX pattern f33h.sanity.XXXXXXXX /mnt/lustre/d33h.sanity/f33h.sanity.BOHPJOZS MDT index mismatch 0 != 1 1/250 MDT index mismatches, expect ~2-4 pattern .f33h.sanity.XXXXXX pattern f33h.sanity.XXXXXXXX 250/250 matches, expect ~250 for crush pattern=.f33h.sanity....XXX pattern=f33h.sanity....XXXXX 250/250 matches, expect ~250 for crush PASS 33h (31s) == sanity test 33hh: temp file is located on the same MDT as target (crush2) ========================================================== 14:42:08 (1715452928) MDS1_VERSION=34538524 version_code=34537472 striped dir -i1 -c2 -H crush2 /mnt/lustre/d33hh.sanity pattern .f33hh.sanity.XXXXXX /mnt/lustre/d33hh.sanity/.f33hh.sanity.dgxdyk MDT index mismatch 0 != 1 /mnt/lustre/d33hh.sanity/.f33hh.sanity.78426g MDT index mismatch 0 != 1 pattern f33hh.sanity.XXXXXXXX 2/250 MDT index mismatches, expect ~2-4 pattern .f33hh.sanity.XXXXXX pattern f33hh.sanity.XXXXXXXX 120/250 matches, expect ~125 for crush2 pattern=.f33hh.sanity....XXX pattern=f33hh.sanity....XXXXX 120/250 matches, expect ~125 for crush2 PASS 33hh (33s) resend_count is set to 4 4 resend_count is set to 4 4 resend_count is set to 4 4 resend_count is set to 4 4 resend_count is set to 4 4 == sanity test 300i: client handle unknown hash type striped directory ========================================================== 14:42:43 (1715452963) total: 10 open/close in 0.10 seconds: 99.20 ops/second 192.168.204.135@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt 0 0 Stopping client oleg435-client.virtnet /mnt/lustre (opts:) Starting client: oleg435-client.virtnet: -o user_xattr,flock oleg435-server@tcp:/lustre /mnt/lustre /mnt/lustre/d300i.sanity/hashdir/d1 /mnt/lustre/d300i.sanity/hashdir/d2 /mnt/lustre/d300i.sanity/hashdir/d3 fail_loc=0x1901 fail_val=99 fail_loc=0x1901 fail_val=99 /mnt/lustre/d300i.sanity/striped_dir/f-0 has type file OK /mnt/lustre/d300i.sanity/striped_dir/f-1 has type file OK /mnt/lustre/d300i.sanity/striped_dir/f-2 has type file OK /mnt/lustre/d300i.sanity/striped_dir/f-3 has type file OK /mnt/lustre/d300i.sanity/striped_dir/f-4 has type file OK /mnt/lustre/d300i.sanity/striped_dir/f-5 has type file OK /mnt/lustre/d300i.sanity/striped_dir/f-6 has type file OK /mnt/lustre/d300i.sanity/striped_dir/f-7 has type file OK /mnt/lustre/d300i.sanity/striped_dir/f-8 has type file OK /mnt/lustre/d300i.sanity/striped_dir/f-9 has type file OK touch: cannot touch '/mnt/lustre/d300i.sanity/striped_dir/f0': Bad file descriptor fail_loc=0 192.168.204.135@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt 0 0 Stopping client oleg435-client.virtnet /mnt/lustre (opts:) Starting client: oleg435-client.virtnet: -o user_xattr,flock oleg435-server@tcp:/lustre /mnt/lustre PASS 300i (13s) == sanity test complete, duration 98 sec ================= 14:42:57 (1715452977) debug=super ioctl neterror warning dlmtrace error emerg ha rpctrace vfstrace config console lfsck