Skip to content

Instantly share code, notes, and snippets.

@johnthebrave
Last active March 31, 2019 21:01
Show Gist options
  • Save johnthebrave/8047b1bbd369af2049aa8b723c7d1a5e to your computer and use it in GitHub Desktop.
Save johnthebrave/8047b1bbd369af2049aa8b723c7d1a5e to your computer and use it in GitHub Desktop.
KeyError: 'vmwarehostname'
Traceback (most recent call last):
File "/usr/local/bin/vmchecker-vm-executor", line 522, in <module>
main()
File "/usr/local/bin/vmchecker-vm-executor", line 513, in main
test_submission(bundle_dir, vmcfg, assignment)
File "/usr/local/bin/vmchecker-vm-executor", line 410, in test_submission
asscfg, bundle_dir, vmx_path)
File "/usr/local/bin/vmchecker-vm-executor", line 349, in try_power_on_vm_and_login
power_on_with_message_handler(vm, vmwarecfg, vmx_path)
File "/usr/local/bin/vmchecker-vm-executor", line 309, in power_on_with_message_handler
vmwarecfg.vmware_hostname(),
File "/usr/local/lib/python2.7/dist-packages/vmchecker/config.py", line 308, in vmware_hostname
return self.tstcfg.get(self.tester_id, 'VmwareHostname')
File "/usr/local/lib/python2.7/dist-packages/vmchecker/confdefaults.py", line 87, in get
return self.section_ids[section_id][option.lower()]
KeyError: 'vmwarehostname'
Traceback (most recent call last):
File "/usr/local/bin/vmchecker-vm-executor", line 522, in <module>
main()
File "/usr/local/bin/vmchecker-vm-executor", line 513, in main
test_submission(bundle_dir, vmcfg, assignment)
File "/usr/local/bin/vmchecker-vm-executor", line 410, in test_submission
asscfg, bundle_dir, vmx_path)
File "/usr/local/bin/vmchecker-vm-executor", line 347, in try_power_on_vm_and_login
revertToSnapshot(vm, vm.nRootSnapshots - 1)
File "/usr/local/bin/vmchecker-vm-executor", line 79, in revertToSnapshot
vm.revertToSnapshot(snaps[snapNr])
pyvix.vix.VIXException: The file is already in use
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment