[poky] Error when running testimage

Richard Purdie richard.purdie at linuxfoundation.org
Tue Dec 5 09:45:23 PST 2017


On Tue, 2017-12-05 at 16:56 +0000, Mardegan, Alberto wrote:
> Hi all!
>   I'm getting this error while running bitbake -c testimage
> <myimage>:
> 
> =====================
> OERuntimeTestContextExecutor.getControllerModule(target_type,
> target_modules_path)
>  *** 0112:                target = controller(logger, target_ip,
> server_ip, **kwargs)
>      0113:            except ImportError as e:
>      0114:                raise TypeError("Failed to import %s from
> available controller modules" % target_type)
>      0115:
>      0116:        return target
> Exception: TypeError: __init__() got an unexpected keyword argument
> 'machine'
> =====================
> 
> Full logs here: http://paste.ubuntu.com/26119631/
> 
> Any ideas on what's going wrong?

Which MACHINE is this for? It sounds as if the system has no idea how
to connect to the machine being tested (e.g. it doesn't know if qemu
can be used or what the qemu parameters might be, or if it needs to
connect remotely to a machine).

The error message/failure mode certainly needs improving if that is the
issue...

Cheers,

Richard


More information about the poky mailing list