Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurred while executing make_create_command() #3795

Open
khaidox opened this issue Aug 9, 2023 · 0 comments
Open

Error occurred while executing make_create_command() #3795

khaidox opened this issue Aug 9, 2023 · 0 comments

Comments

@khaidox
Copy link

khaidox commented Aug 9, 2023

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                                                                                                               
                                                                             
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant