-----============= acceptance-small: sanity-lsnapshot ============----- Fri Sep 20 05:25:08 EDT 2024 mgs: CentOS Linux release 7.9.2009 (Core) MGS_OS_VERSION_ID=7 MGS_OS_ID=centos MGS_OS_VERSION_CODE=117440512 MGS_OS_ID_LIKE=rhel fedora centos mds1: CentOS Linux release 7.9.2009 (Core) MDS1_OS_ID_LIKE=rhel fedora centos MDS1_OS_ID=centos MDS1_OS_VERSION_ID=7 MDS1_OS_VERSION_CODE=117440512 ost1: CentOS Linux release 7.9.2009 (Core) OST1_OS_VERSION_CODE=117440512 OST1_OS_VERSION_ID=7 OST1_OS_ID_LIKE=rhel fedora centos OST1_OS_ID=centos client: CentOS Linux release 7.9.2009 (Core) CLIENT_OS_ID=centos CLIENT_OS_ID_LIKE=rhel fedora centos CLIENT_OS_VERSION_ID=7 CLIENT_OS_VERSION_CODE=117440512 excepting tests: === sanity-lsnapshot: start setup 05:25:16 (1726824316) === oleg427-client.virtnet: executing check_config_client /mnt/lustre oleg427-client.virtnet: Checking config lustre mounted on /mnt/lustre Checking servers environments Checking clients oleg427-client.virtnet environments Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800b6c94000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800b6c94000.idle_timeout=debug disable quota as required oleg427-server: oleg427-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all === sanity-lsnapshot: finish setup 05:25:28 (1726824328) === debug=+snapshot debug=+snapshot Generating /etc/ldev.conf on MGS ... oleg427-server - lustre-MDT0000 zfs:/dev/lustre-mdt1/mdt1 - - oleg427-server - lustre-OST0000 zfs:/dev/lustre-ost1/ost1 - - oleg427-server - lustre-OST0001 zfs:/dev/lustre-ost2/ost2 - - Cleaning test environment ... == sanity-lsnapshot test 0: create lustre snapshot ======= 05:25:32 (1726824332) Create lss_0_0 with default List lss_0_0 filesystem_name: lustre snapshot_name: lss_0_0 snapshot_fsname: 09b6c90c create_time: Fri Sep 20 05:25:34 2024 modify_time: Fri Sep 20 05:25:34 2024 status: not mount Create lss_0_1 with barrier off List lss_0_1 filesystem_name: lustre snapshot_name: lss_0_1 create_time: Fri Sep 20 05:25:38 2024 modify_time: Fri Sep 20 05:25:38 2024 snapshot_fsname: 72109895 status: not mount Create lss_0_2 with comment List lss_0_2 comment: This is test_0 Create lss_0_2 with barrier on and comment List lss_0_3 comment: Another one Try to create lss_0_0 that exist already oleg427-server: The snapshot lss_0_0 exists oleg427-server: Can't create the snapshot lss_0_0 pdsh@oleg427-client: oleg427-server: ssh exited with exit code 17 PASS 0 (18s) == sanity-lsnapshot test 1a: mount/umount lustre snapshot ========================================================== 05:25:51 (1726824351) Create lss_1a_0 Check whether mounted (1) Mount lss_1a_0 mounted the snapshot lss_1a_0 with fsname 447e4ee8 Check whether mounted (2) Mount client Starting client: oleg427-client.virtnet: -o ro 192.168.204.127@tcp:/447e4ee8 /mnt/447e4ee8 Check whether the file in snapshot is the same as original one Modify the original file, and check again 12322d12321 < dummy Umount lss_1a_0 Check whether mounted (3) PASS 1a (23s) == sanity-lsnapshot test 1b: mount snapshot without original filesystem mounted ========================================================== 05:26:14 (1726824374) Create lss_1b_0 Check whether mounted (1) Stopping clients: oleg427-client.virtnet /mnt/lustre (opts:) Stopping client oleg427-client.virtnet /mnt/lustre opts: Stopping clients: oleg427-client.virtnet /mnt/lustre2 (opts:) Stopping /mnt/lustre-mds1 (opts:-f) on oleg427-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg427-server Stopping /mnt/lustre-ost2 (opts:-f) on oleg427-server Mount lss_1b_0 mounted the snapshot lss_1b_0 with fsname 1a28f04c Check whether mounted (2) Remount lss_1b_0 oleg427-server: The snapshot lss_1b_0 has already been mounted by other pdsh@oleg427-client: oleg427-server: ssh exited with exit code 114 Check whether mounted (3) umount lss_1b_0 Check whether mounted (4) Checking servers environments Checking clients oleg427-client.virtnet environments Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs Force libcfs to create 2 CPU partitions loading modules on: 'oleg427-server' oleg427-server: oleg427-server.virtnet: executing load_modules_local oleg427-server: Loading modules from /home/green/git/lustre-release/lustre oleg427-server: detected 4 online CPUs by sysfs oleg427-server: Force libcfs to create 2 CPU partitions oleg427-server: libkmod: kmod_module_get_holders: could not open '/sys/module/pcc_cpufreq/holders': No such file or directory Setup mgs, mdt, osts Starting mds1: -o localrecov lustre-mdt1/mdt1 /mnt/lustre-mds1 oleg427-server: oleg427-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg427-client: oleg427-server: ssh exited with exit code 1 Started lustre-MDT0000 Starting ost1: -o localrecov lustre-ost1/ost1 /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg427-server: oleg427-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg427-client: oleg427-server: ssh exited with exit code 1 Started lustre-OST0000 Starting ost2: -o localrecov lustre-ost2/ost2 /mnt/lustre-ost2 seq.cli-lustre-OST0001-super.width=65536 oleg427-server: oleg427-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg427-client: oleg427-server: ssh exited with exit code 1 Started lustre-OST0001 Starting client: oleg427-client.virtnet: -o user_xattr,flock 192.168.204.127@tcp:/lustre /mnt/lustre Starting client oleg427-client.virtnet: -o user_xattr,flock 192.168.204.127@tcp:/lustre /mnt/lustre Started clients oleg427-client.virtnet: 192.168.204.127@tcp:/lustre on /mnt/lustre type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff88013100b800.idle_timeout=debug osc.lustre-OST0001-osc-ffff88013100b800.idle_timeout=debug disable quota as required PASS 1b (62s) == sanity-lsnapshot test 1c: create snapshot with snapshot filesystem mounted ========================================================== 05:27:16 (1726824436) Create lss_1c_0 Check whether mounted (1) Mount lss_1c_0 mounted the snapshot lss_1c_0 with fsname 591415b4 Create lss_1c_1 with snapshot filesystem mounted Check whether snapshot filesystem mounted (2) list lss_1c_1 filesystem_name: lustre snapshot_name: lss_1c_1 modify_time: Fri Sep 20 05:27:27 2024 create_time: Fri Sep 20 05:27:27 2024 snapshot_fsname: 7af496e2 status: not mount Check whether mounted (3) umount lss_1c_0 Check whether mounted (4) PASS 1c (32s) == sanity-lsnapshot test 2: destroy lustre snapshot ====== 05:27:48 (1726824468) Create lss_2_0 List lss_2_0 filesystem_name: lustre snapshot_name: lss_2_0 modify_time: Fri Sep 20 05:27:50 2024 create_time: Fri Sep 20 05:27:50 2024 snapshot_fsname: 7e0a0674 status: not mount Destroy lss_2_0 Try to list lss_2_0 after destroy oleg427-server: Can't list the snapshot lss_2_0 pdsh@oleg427-client: oleg427-server: ssh exited with exit code 22 Create lss_2_1 List lss_2_1 filesystem_name: lustre snapshot_name: lss_2_1 snapshot_fsname: 413f3181 create_time: Fri Sep 20 05:27:56 2024 modify_time: Fri Sep 20 05:27:56 2024 status: not mount Mount lss_2_1 mounted the snapshot lss_2_1 with fsname 413f3181 Try to destroy lss_2_1 with mounted oleg427-server: Can't destroy the snapshot lss_2_1 pdsh@oleg427-client: oleg427-server: ssh exited with exit code 1 Destroy lss_2_1 by force with mounted Try to list lss_2_1 after destroy oleg427-server: Can't list the snapshot lss_2_1 pdsh@oleg427-client: oleg427-server: ssh exited with exit code 22 PASS 2 (22s) == sanity-lsnapshot test 3a: modify lustre snapshot ====== 05:28:10 (1726824490) Create lss_3a_0 List lss_3a_0 filesystem_name: lustre snapshot_name: lss_3a_0 comment: It is test_3a modify_time: Fri Sep 20 05:28:12 2024 create_time: Fri Sep 20 05:28:12 2024 snapshot_fsname: 6fd10e6b status: not mount Rename lss_3a_0 to lss_3a_1 Try to list lss_3a_0 after rename oleg427-server: Can't list the snapshot lss_3a_0 pdsh@oleg427-client: oleg427-server: ssh exited with exit code 22 List lss_3a_1 filesystem_name: lustre snapshot_name: lss_3a_1 comment: It is test_3a modify_time: Fri Sep 20 05:28:19 2024 create_time: Fri Sep 20 05:28:12 2024 snapshot_fsname: 6fd10e6b status: not mount Check whether mtime has been changed Modify lss_3a_1's comment Check whether comment has been changed Modify lss_3a_1's name and comment together Mount lss_3a_2 mounted the snapshot lss_3a_2 with fsname 6fd10e6b Try to rename lss_3a_2 to lss_3a_3 with mounted oleg427-server: snapshot lss_3a_2 is mounted, can't be renamed. oleg427-server: Can't modify the snapshot lss_3a_2 pdsh@oleg427-client: oleg427-server: ssh exited with exit code 16 Modify lss_3a_2's comment with mounted Umount lss_3a_2 PASS 3a (27s) == sanity-lsnapshot test 3b: modify snapshot without original filesystem mounted ========================================================== 05:28:37 (1726824517) Create lss_3b_0 List lss_3b_0 filesystem_name: lustre snapshot_name: lss_3b_0 comment: It is test_3b modify_time: Fri Sep 20 05:28:38 2024 create_time: Fri Sep 20 05:28:38 2024 snapshot_fsname: 152cc10c status: not mount Stopping clients: oleg427-client.virtnet /mnt/lustre (opts:) Stopping client oleg427-client.virtnet /mnt/lustre opts: Stopping clients: oleg427-client.virtnet /mnt/lustre2 (opts:) Stopping /mnt/lustre-mds1 (opts:-f) on oleg427-server Stopping /mnt/lustre-ost1 (opts:-f) on oleg427-server Stopping /mnt/lustre-ost2 (opts:-f) on oleg427-server Modify lss_3b_0's name and comment together Try to list lss_3b_0 after rename oleg427-server: Can't list the snapshot lss_3b_0 pdsh@oleg427-client: oleg427-server: ssh exited with exit code 22 Check whether comment has been changed Checking servers environments Checking clients oleg427-client.virtnet environments Loading modules from /home/green/git/lustre-release/lustre detected 4 online CPUs by sysfs Force libcfs to create 2 CPU partitions loading modules on: 'oleg427-server' oleg427-server: oleg427-server.virtnet: executing load_modules_local oleg427-server: Loading modules from /home/green/git/lustre-release/lustre oleg427-server: detected 4 online CPUs by sysfs oleg427-server: Force libcfs to create 2 CPU partitions Setup mgs, mdt, osts Starting mds1: -o localrecov lustre-mdt1/mdt1 /mnt/lustre-mds1 oleg427-server: oleg427-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg427-client: oleg427-server: ssh exited with exit code 1 Started lustre-MDT0000 Starting ost1: -o localrecov lustre-ost1/ost1 /mnt/lustre-ost1 seq.cli-lustre-OST0000-super.width=65536 oleg427-server: oleg427-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg427-client: oleg427-server: ssh exited with exit code 1 Started lustre-OST0000 Starting ost2: -o localrecov lustre-ost2/ost2 /mnt/lustre-ost2 seq.cli-lustre-OST0001-super.width=65536 oleg427-server: oleg427-server.virtnet: executing set_default_debug vfstrace rpctrace dlmtrace neterror ha config ioctl super lfsck all pdsh@oleg427-client: oleg427-server: ssh exited with exit code 1 Started lustre-OST0001 Starting client: oleg427-client.virtnet: -o user_xattr,flock 192.168.204.127@tcp:/lustre /mnt/lustre Starting client oleg427-client.virtnet: -o user_xattr,flock 192.168.204.127@tcp:/lustre /mnt/lustre Started clients oleg427-client.virtnet: 192.168.204.127@tcp:/lustre on /mnt/lustre type lustre (rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,noencrypt,statfs_project) Using TIMEOUT=20 osc.lustre-OST0000-osc-ffff8800a9890000.idle_timeout=debug osc.lustre-OST0001-osc-ffff8800a9890000.idle_timeout=debug disable quota as required PASS 3b (52s) == sanity-lsnapshot test 4: create/delete snapshot after MGS remount ========================================================== 05:29:29 (1726824569) SKIP: sanity-lsnapshot test_4 Combined MGS/MDS SKIP 4 (1s) Cleaning test environment ... debug=-snapshot debug=-snapshot == sanity-lsnapshot test complete, duration 322 sec ====== 05:30:31 (1726824631) === sanity-lsnapshot: start cleanup 05:30:32 (1726824632) === === sanity-lsnapshot: finish cleanup 05:30:32 (1726824632) ===