-----============= acceptance-small: sanity-hsm ============----- Wed Jan 15 18:09:00 EST 2025 excepting tests: Starting client oleg357-client.virtnet: -o user_xattr,flock oleg357-server@tcp:/lustre /mnt/lustre2 Started clients oleg357-client.virtnet: 192.168.203.157@tcp:/lustre on /mnt/lustre2 type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt) oleg357-client.virtnet: executing check_config_client /mnt/lustre oleg357-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg357-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff88012a40f000.idle_timeout=debug osc.lustre-OST0000-osc-ffff8801373e1000.idle_timeout=debug osc.lustre-OST0001-osc-ffff88012a40f000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8801373e1000.idle_timeout=debug disable quota as required oleg357-server: oleg357-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all 8 osd-ldiskfs.track_declares_assert=1 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/f7442] nobody:x:99: Killing existing copytools on oleg357-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:09:32 (1736982572) mdd.lustre-MDT0000.changelog_mask=+hsm mdd.lustre-MDT0001.changelog_mask=+hsm Registered 2 changelog users: 'cl1 cl1' mdd.lustre-MDT0000.changelog_mask=ALL mdd.lustre-MDT0001.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 oleg357-server pdsh@oleg357-client: oleg357-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:24 2025 Number of records: 1 cat_idx: 0 last_idx: 1 Target uuid : ----------------------- #01 (064)id=[0xa:0x1:0x0]:0 path=O/1/d10/10 pdsh@oleg357-client: oleg357-server: ssh exited with exit code 64 pdsh@oleg357-client: oleg357-server: ssh exited with exit code 112 Got UID/GID 500:500 Got NID 192.168.203.57@tcp Starting mds1: -o localrecov /dev/mapper/mds1_flakey /mnt/lustre-mds1 oleg357-server: oleg357-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all 8 pdsh@oleg357-client: oleg357-server: ssh exited with exit code 1 Started lustre-MDT0000 lustre-MDT0001: clear the changelog for cl1 of all records lustre-MDT0001: Deregistered changelog user #1 lustre-MDT0000: clear the changelog for cl1 of all records lustre-MDT0000: Deregistered changelog user #1 PASS 606 (16s) == sanity-hsm test 607a: release a file that was migrated after being archived ========================================================== 18:09:48 (1736982588) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0525209 s, 20.0 MB/s Starting copytool 'agt1' on 'oleg357-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' PASS 607a (3s) == sanity-hsm test 607b: Migrate should not change the HSM attribute of dirty files ========================================================== 18:09:51 (1736982591) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0390763 s, 26.8 MB/s Starting copytool 'agt1' on 'oleg357-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"' llite.lustre-ffff88012a40f000.xattr_cache=0 llite.lustre-ffff8801373e1000.xattr_cache=0 /mnt/lustre/d607b.sanity-hsm/f607b.sanity-hsm: (0x0000000b) exists dirty archived, archive_id:1 llite.lustre-ffff88012a40f000.xattr_cache=1 llite.lustre-ffff8801373e1000.xattr_cache=1 PASS 607b (3s) == sanity-hsm test 607c: 'lfs swap_layouts' should set dirty flag on HSM file ========================================================== 18:09:54 (1736982594) 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0341023 s, 30.7 MB/s 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0388421 s, 27.0 MB/s 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.0431358 s, 24.3 MB/s Starting copytool 'agt1' on 'oleg357-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' Updated after 2s: want 'SUCCEED' got 'SUCCEED' 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 57 sec ============= 18:09:58 (1736982598) Stopping clients: oleg357-client.virtnet /mnt/lustre2 (opts:) Stopping client oleg357-client.virtnet /mnt/lustre2 opts: