-----============= acceptance-small: sanity-hsm ============----- Wed Jan 15 18:09:34 EST 2025 excepting tests: Starting client oleg414-client.virtnet: -o user_xattr,flock oleg414-server@tcp:/lustre /mnt/lustre2 Started clients oleg414-client.virtnet: 192.168.204.114@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt) oleg414-client.virtnet: executing check_config_client /mnt/lustre oleg414-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg414-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800aaf5c800.idle_timeout=debug osc.lustre-OST0000-osc-ffff8801369c5000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800aaf5c800.idle_timeout=debug osc.lustre-OST0001-osc-ffff8801369c5000.idle_timeout=debug disable quota as required oleg414-server: oleg414-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/f6874] nobody:x:99: Killing existing copytools on oleg414-client.virtnet pkill: pidfile not valid Try `pkill --help' for more information. Set HSM on and start Set sanity-hsm HSM policy == sanity-hsm test 606: llog_reader groks changelog fields ========================================================== 18:10:05 (1736982605) mdd.lustre-MDT0000.changelog_mask=+hsm Registered 1 changelog users: 'cl1' mdd.lustre-MDT0000.changelog_mask=ALL running as uid/gid/euid/egid 500/500/500/500, groups: [touch] [/mnt/lustre/d606.sanity-hsm/f606.sanity-hsm] Stopping /mnt/lustre-mds1 (opts:) on oleg414-server pdsh@oleg414-client: oleg414-server: ssh exited with exit code 64 rec #1 type=1064553b len=64 offset 8192 Header size : 8192 llh_size : 64 Time : Wed Jan 15 18:08:58 2025 Number of records: 1 cat_idx: 0 last_idx: 1 Target uuid : ----------------------- #01 (064)id=[0xa:0x1:0x0]:0 path=oi.1/0x1:0xa:0x0 pdsh@oleg414-client: oleg414-server: ssh exited with exit code 64 pdsh@oleg414-client: oleg414-server: ssh exited with exit code 112 Got UID/GID 500:500 Got NID 192.168.204.14@tcp Starting mds1: -o localrecov lustre-mdt1/mdt1 /mnt/lustre-mds1 oleg414-server: oleg414-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all 8 pdsh@oleg414-client: oleg414-server: ssh exited with exit code 1 Started lustre-MDT0000 lustre-MDT0000: clear the changelog for cl1 of all records lustre-MDT0000: Deregistered changelog user #1 PASS 606 (13s) == sanity-hsm test 607a: release a file that was migrated after being archived ========================================================== 18:10:18 (1736982618) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0711752 s, 14.7 MB/s Starting copytool 'agt1' on 'oleg414-client.virtnet' with cmdline 'lhsmtool_posix --hsm-root=/tmp/arc1/sanity-hsm.test_607a/ --archive-format=v2 --daemon --pid-file=/var/run/lhsmtool_posix.pid "/mnt/lustre2"' Waiting 200s for 'SUCCEED' Updated after 2s: want 'SUCCEED' got 'SUCCEED' Waiting 200s for 'SUCCEED' PASS 607a (5s) == sanity-hsm test 607b: Migrate should not change the HSM attribute of dirty files ========================================================== 18:10:23 (1736982623) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.05598 s, 18.7 MB/s Starting copytool 'agt1' on 'oleg414-client.virtnet' with cmdline 'lhsmtool_posix --hsm-root=/tmp/arc1/sanity-hsm.test_607b/ --archive-format=v2 --daemon --pid-file=/var/run/lhsmtool_posix.pid "/mnt/lustre2"' Waiting 200s for 'SUCCEED' Updated after 2s: want 'SUCCEED' got 'SUCCEED' llite.lustre-ffff8800aaf5c800.xattr_cache=0 llite.lustre-ffff8801369c5000.xattr_cache=0 /mnt/lustre/d607b.sanity-hsm/f607b.sanity-hsm: (0x0000000b) exists dirty archived, archive_id:1 llite.lustre-ffff8800aaf5c800.xattr_cache=1 llite.lustre-ffff8801369c5000.xattr_cache=1 PASS 607b (3s) == sanity-hsm test 607c: 'lfs swap_layouts' should set dirty flag on HSM file ========================================================== 18:10:26 (1736982626) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0683007 s, 15.4 MB/s 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0538639 s, 19.5 MB/s 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0462618 s, 22.7 MB/s Starting copytool 'agt1' on 'oleg414-client.virtnet' with cmdline 'lhsmtool_posix --hsm-root=/tmp/arc1/sanity-hsm.test_607c/ --archive-format=v2 --daemon --pid-file=/var/run/lhsmtool_posix.pid "/mnt/lustre2"' Waiting 200s for 'SUCCEED' lfs swap_layouts: error: cannot swap layout between '/mnt/lustre/d607c.sanity-hsm/f607c.sanity-hsm-1' and '/mnt/lustre/d607c.sanity-hsm/f607c.sanity-hsm-3': Operation not permitted (1) PASS 607c (4s) == sanity-hsm test complete, duration 56 sec ============= 18:10:30 (1736982630) Stopping clients: oleg414-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg414-client.virtnet /mnt/lustre2 opts: