Hi balena team,
I am planning autokit test for my custom board, so I use raspberry pi for autokit demonstration. I am running Qemu autokit test on virtualbox running Debian 12 bookworm. When I make local-test in leviathan folder, qemu autokit test shows “Couldn’t retrieve http://worker worker’s state. Querying http://worker and received StatusCodeError: 502”, here is my config:
module.exports = {
deviceType: “raspberrypi3-64”, // replace this with your device type slug. A contract must exist for this in the leviathan/core/contracts submodule.
suite: ${__dirname}/../suites/e2e
,
config: {
networkWired: false,
networkWireless: false,
downloadVersion: ‘latest’,
balenaApiKey: ‘XXXXXX’, // api key is right, I omit it.
balenaApiUrl: ‘balena-cloud.com’,
organization: ‘xxxxx’, //organizaion is right, I omit it.
},
debug: {
unstable: [“Kill the device under test”],
},
image: ${__dirname}/balena.img.zip
, // can also set image: false to auto download - only if the image is aailable through balena cloud
workers: [‘http://worker’], // or local ip address of the autokit (recommended)
}
by the way, leviathan-worker-1 reports an error: modprobe: FATAL: Module sg not found in directory /lib/modules/6.1.0-18-amd64, but I found sg module does exist.
By the way do I have to create a Qemu device on my balena cloud fleet?
attachment is the full log
balenaos-log.txt (21.1 KB)
Thanks