Skip to content

Error occurred while executing make_create_command() #3795

@khaidox

Description

@khaidox

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                                                                                                               
                                                                             

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions