Our test is failing to run, not simply running with fewer than the requested number of cores. From the test output (which includes test script output and formatting, not just QEMU output):
DEBUG:root:Start VM:
ERROR:root:Command lxc start testbed returned a code of 1
ERROR:root: STDOUT:
ERROR:root: STDERR: Error: Failed to run: forklimits limit=memlock:unlimited:unlimited fd=3 -- /snap/lxd/24322/bin/qemu-system-x86_64 -S -name testbed -uuid e149a6e6-ce67-4b5b-ab56-94c740521c0e -daemonize -cpu host,hv_passthrough -nographic -serial chardev:console -nodefaults -no-user-config -sandbox on,obsolete=deny,elevateprivileges=allow,spawn=allow,resourcecontrol=deny -readconfig /var/snap/lxd/common/lxd/logs/testbed/qemu.conf -spice unix=on,disable-ticketing=on,addr=/var/snap/lxd/common/lxd/logs/testbed/qemu.spice -pidfile /var/snap/lxd/common/lxd/logs/testbed/qemu.pid -D /var/snap/lxd/common/lxd/logs/testbed/qemu.log -smbios type=2,manufacturer=Canonical Ltd.,product=LXD -runas lxd: : Process exited with non-zero value 1
Try `lxc info --show-log testbed` for more info
I know that may not be the error logs or output you need to fully debug this, but it's what I have on hand. (The system in question belongs to a Canonical partner.) We can work to produce more logs or output, but it would be helpful to know what you need.
Our test is failing to run, not simply running with fewer than the requested number of cores. From the test output (which includes test script output and formatting, not just QEMU output):
DEBUG:root:Start VM: unlimited: unlimited fd=3 -- /snap/lxd/ 24322/bin/ qemu-system- x86_64 -S -name testbed -uuid e149a6e6- ce67-4b5b- ab56-94c740521c 0e -daemonize -cpu host,hv_passthrough -nographic -serial chardev:console -nodefaults -no-user-config -sandbox on,obsolete= deny,elevatepri vileges= allow,spawn= allow,resourcec ontrol= deny -readconfig /var/snap/ lxd/common/ lxd/logs/ testbed/ qemu.conf -spice unix=on, disable- ticketing= on,addr= /var/snap/ lxd/common/ lxd/logs/ testbed/ qemu.spice -pidfile /var/snap/ lxd/common/ lxd/logs/ testbed/ qemu.pid -D /var/snap/ lxd/common/ lxd/logs/ testbed/ qemu.log -smbios type=2, manufacturer= Canonical Ltd.,product=LXD -runas lxd: : Process exited with non-zero value 1
ERROR:root:Command lxc start testbed returned a code of 1
ERROR:root: STDOUT:
ERROR:root: STDERR: Error: Failed to run: forklimits limit=memlock:
Try `lxc info --show-log testbed` for more info
I know that may not be the error logs or output you need to fully debug this, but it's what I have on hand. (The system in question belongs to a Canonical partner.) We can work to produce more logs or output, but it would be helpful to know what you need.