tp-qemu icon indicating copy to clipboard operation
tp-qemu copied to clipboard

Error occurred while executing make_create_command()

Open khaidox opened this issue 1 year ago • 0 comments

I can't run any test from avocado list. Do you have any idea to solve this issue?

2023-08-09 23:41:44,020 avocado.utils.process INFO | Running '/usr/bin/ovs-vsctl --db=unix:/var/run/openvswitch/db.sock port-to-br t0-ivoCXX'                                          
2023-08-09 23:41:44,071 avocado.utils.process DEBUG| [stderr] ovs-vsctl: no port named t0-ivoCXX                                                                                       
2023-08-09 23:41:44,071 avocado.utils.process INFO | Command '/usr/bin/ovs-vsctl --db=unix:/var/run/openvswitch/db.sock port-to-br t0-ivoCXX' finished with 1 after 0.027967669s       
2023-08-09 23:41:44,072 avocado.virttest.utils_misc ERROR| Fail to create qemu command:                                                                                                
2023-08-09 23:41:44,123 avocado.virttest.utils_misc ERROR| Original Traceback (most recent call last):                                                                                 
  File "/home/VMs/.pyenv/versions/3.10.10/envs/env-avocado/lib/python3.10/site-packages/virttest/qemu_vm.py", line 3302, in create                                                     
    self.devices, self.spice_options = self.make_create_command()                                                                                                                      
  File "/home/VMs/.pyenv/versions/3.10.10/envs/env-avocado/lib/python3.10/site-packages/virttest/qemu_vm.py", line 1683, in make_create_command                                        
    devs = devices.machine_by_params(params)                                                                                                                                           
  File "/home/VMs/.pyenv/versions/3.10.10/envs/env-avocado/lib/python3.10/site-packages/virttest/qemu_devices/qcontainer.py", line 1515, in machine_by_params                          
    devices = machine_arm64_mmio(cmd)                                                                                                                                                  
  File "/home/VMs/.pyenv/versions/3.10.10/envs/env-avocado/lib/python3.10/site-packages/virttest/qemu_devices/qcontainer.py", line 1337, in machine_arm64_mmio                         
    pflash_devices, cmd = pflash_handler("aavmf", cmd)                                                                                                                                 
  File "/home/VMs/.pyenv/versions/3.10.10/envs/env-avocado/lib/python3.10/site-packages/virttest/qemu_devices/qcontainer.py", line 1102, in pflash_handler                             
    img_info = json.loads(img_obj.info(True, "json"))                                                                                                                                  
  File "/home/VMs/.pyenv/versions/3.10.10/lib/python3.10/json/__init__.py", line 339, in loads                                                                                         
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '                                                                                                               
TypeError: the JSON object must be str, bytes or bytearray, not NoneType                                                                                                               
                                                                             

khaidox avatar Aug 09 '23 16:08 khaidox