tp-qemu
tp-qemu copied to clipboard
user_access_shared_dir: add new test case
ID: 2134266, 2134265 Signed-off-by: Houqi (Nick) Zuo [email protected]
Hello @xiagao , please take a look, thanks! I'm confused with the fact the shared dir is NOT seen at guest.
Hello @xiagao , please take a look, thanks! I'm confused with the fact the shared dir is NOT seen at guest.
Maybe you need to add numa config. guest_numa_nodes = shm0 numa_memdev_shm0 = mem-mem1 numa_nodeid_shm0 = 0
(1/2) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_threads.q35: STARTED (1/2) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_threads.q35: PASS (1148.47 s) (2/2) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.users_access_shared_dir.localgroup_users.q35: STARTED (2/2) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.users_access_shared_dir.localgroup_users.q35: PASS (478.65 s) RESULTS : PASS 2 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
Linux: (1/1) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.2.0.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: STARTED (1/1) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.2.0.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: PASS (69.49 s) RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
Windows: (1/1) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: STARTED (1/1) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: PASS (364.31 s) RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
@xiagao @zhencliu @YongxueHong Please take a look, thanks!
@YongxueHong @xiagao Please check again, thanks!
(1/1) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: STARTED (1/1) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: PASS (361.14 s) RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
(1/1) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.2.0.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: STARTED (1/1) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.2.0.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: PASS (76.63 s) RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
@YongxueHong Please check again, thanks!
@YongxueHong please check again, thanks!
Ad windows: (1/1) Host_RHEL.m8.u7.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.domain_users.q35: STARTED (1/1) Host_RHEL.m8.u7.product_rhel.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.domain_users.q35: PASS (461.79 s) RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
(1/1) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: STARTED (1/1) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: PASS (326.30 s) RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0 JOB TIME : 328.83 s
(1/1) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.2.0.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: STARTED (1/1) Host_RHEL.m9.u2.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.2.0.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: PASS (93.70 s) RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0 JOB TIME : 96.21 s
(1/1) Host_RHEL.m9.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.domain_users.q35: STARTED (1/1) Host_RHEL.m9.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.domain_users.q35: PASS (487.86 s) RESULTS : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
@xiagao @zhencliu @YongxueHong Please take a look, thanks!
@xiagao @YongxueHong @zhencliu The code has been updated, thanks!
@xiagao @YongxueHong @zhencliu Please check again, thanks!
(1/3) Host_RHEL.m9.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.2.0.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: STARTED (1/3) Host_RHEL.m9.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.RHEL.9.2.0.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: PASS (70.30 s) (2/3) Host_RHEL.m9.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: STARTED (2/3) Host_RHEL.m9.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: PASS (344.81 s) (3/3) Host_RHEL.m9.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.domain_users.q35: STARTED (3/3) Host_RHEL.m9.u1.ovmf.qcow2.virtio_scsi.up.virtio_net.Guest.Win2022.x86_64.io-github-autotest-qemu.virtio_fs_multi_users_access.domain_users.q35: PASS (373.04 s)
Here are two minor issues.
-
For linux guest, in the clearing steps, users couldn't be deleted. 2023-01-08 22:11:31: userdel: user user1 is currently used by process 3135 2023-01-08 22:11:31: [root@vm-74-70 ~]# 2023-01-08 22:11:31: 0 2023-01-08 22:11:31: [root@vm-74-70 ~]# 2023-01-08 22:11:31: userdel: user user2 is currently used by process 4186 2023-01-08 22:11:31: [root@vm-74-70 ~]#
-
For windows common user, there is no need keept the step that login guest. [stdlog] 2023-01-09 02:47:33,862 avocado.test INFO | Context: Login the user: svvpadmin
@xiagao Please take a look, thanks!
@xiagao @YongxueHong @zhencliu Hello guys, please take a look, thanks! For the domain user, this code has passed on win2012.r2/2016/2022/10/11.
Hello @YongxueHong @xiagao , please take a look, thanks!
@YongxueHong Please check again, thanks!
Hi @nickzhq The first commit virtio_fs_utils: add public function "basic_io_test", I think we should update it base on your codes since it doesn't just relate the add the public function basic_io_test, but you add lots of public functions.
Hi @nickzhq The first commit virtio_fs_utils: add public function "basic_io_test", I think we should update it base on your codes since it doesn't just relate the add the public function basic_io_test, but you add lots of public functions.
Done, please check again, thanks! @YongxueHong
@xiagao Please check again, thanks!
@xiagao @YongxueHong @zhencliu Please take a look, thanks!
LGTM
@xiagao @YongxueHong Please take a look again, thanks!
@xiagao Please check again, thanks!
Thanks @nickzhq. I hit the following error on win10-i386, seems PsExec.exe does't work well on win10-i386. ShellCmdError: Shell command failed: '%systemdrive%\/PsExec.exe /accepteula -u user1 -p U1pwd345?a %systemdrive%\cmd_io_test.bat' (status: 1, output: '\nPsExec v2.4 - Execute processes remotely\nCopyright (C) 2001-2022 Mark Russinovich\nSysinternals - www.sysinternals.com\n\nC:\cmd_io_test.bat exited with error code 1.\n\n')
Thanks @nickzhq. I hit the following error on win10-i386, seems PsExec.exe does't work well on win10-i386. ShellCmdError: Shell command failed: '%systemdrive%/PsExec.exe /accepteula -u user1 -p U1pwd345?a %systemdrive%\cmd_io_test.bat' (status: 1, output: '\nPsExec v2.4 - Execute processes remotely\nCopyright (C) 2001-2022 Mark Russinovich\nSysinternals - www.sysinternals.com\n\nC:\cmd_io_test.bat exited with error code 1.\n\n')
Hi @xiagao the issue has been solved: (1/2) Host_RHEL.m9.u2.qcow2.virtio_scsi.up.virtio_net.Guest.Win10.i386.io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_threads.q35: STARTED (1/2) Host_RHEL.m9.u2.qcow2.virtio_scsi.up.virtio_net.Guest.Win10.i386.io-github-autotest-qemu.unattended_install.cdrom.extra_cdrom_ks.default_install.aio_threads.q35: PASS (1496.35 s) (2/2) Host_RHEL.m9.u2.qcow2.virtio_scsi.up.virtio_net.Guest.Win10.i386.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: STARTED (2/2) Host_RHEL.m9.u2.qcow2.virtio_scsi.up.virtio_net.Guest.Win10.i386.io-github-autotest-qemu.virtio_fs_multi_users_access.localgroup_users.q35: PASS (446.39 s) RESULTS : PASS 2 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0 Please check again, thanks!