dzhengfy

Results 79 comments of dzhengfy

@vasekhodina , thanks for finding this bug. sata controller is seldom tested, so we did not find this bug before. There should be an easy fix.

See https://github.com/avocado-framework/avocado-vt/pull/3586/checks?check_run_id=10081035174 Before this fix: x 00:17 bootstrap ``` 7 - Generating config set Creating config file /root/avocado/data/avocado-vt/backends/libvirt/cfg/guest-hw.cfg from sample Creating config file /root/avocado/data/avocado-vt/backends/libvirt/cfg/cdkeys.cfg from sample Creating config file /root/avocado/data/avocado-vt/backends/libvirt/cfg/virtio-win.cfg...

After the fix: 00:15 bootstrap PASS x 00:01 list ``` Failed to load plugin from module "avocado_vt.plugins.vt_list_archs": ImportError("cannot import name 'loader' from 'avocado.core' (/usr/local/lib/python3.10/site-packages/avocado/core/__init__.py)") : File "/usr/local/lib/python3.10/site-packages/avocado/core/extension_manager.py", line 94, in...

Sample codes: ``` vm_numainfo = utils_misc.NumaInfo(session=session) distance_list = vm_numainfo.get_node_distance('0') distance_list = vm_numainfo.get_node_distance('1') ``` The output is: Before fix: ( 'numactl --hardware' is invoked for 8 times) ``` 2023-03-30 00:39:05,483 output...

After the fix: ('numactl --hardware' is invoked for 3 times) ``` 2023-03-30 00:34:05,337 output L0702 DEBUG| [stderr] DEBUG:aexpect.client:[192.168.122.163] Sending command: rpm -q numactl 2023-03-30 00:34:05,493 output L0702 DEBUG| [stderr] DEBUG:aexpect.client:[192.168.122.163]...

>>> from virttest.libvirt_xml import vm_xml >>> vmxml = vm_xml.VMXML.new_from_dumpxml('vm1') >>> vmxml.fetch_attrs() { 'devices': [{'path': '/usr/libexec/qemu-kvm'}, {'address': {'attrs': {'type': 'pci', 'domain': '0x0000', 'bus': '0x04', 'slot': '0x00', 'function': '0x0'}, 'type_name': 'pci'}, **'driver_iothreads':...

``` 2024-04-11 05:23:58,059 output L0702 DEBUG| [stderr] DEBUG:aexpect.client:[192.168.122.6] Sending command: rpm -q numactl 2024-04-11 05:23:58,200 output L0702 DEBUG| [stderr] DEBUG:aexpect.client:[192.168.122.6] Sending command: echo $? 2024-04-11 05:23:58,301 output L0702 DEBUG| [stderr]...

@hs0210 please fix the confilicts.

@chunfuwen @yalzhang @chloerh @Yingshun , welcome to input your findings or comments.

Not sure why the signoff information can not be detected. But it seems not critical issue. So I merge it.