-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 2014-09-11 um 15:20 schrieb Andreas Färber:
> Am 08.09.2014 um 12:46 schrieb Alexander Graf:
>> On 08.09.14 10:00, Guillaume Gardet wrote:
>>> Le 08/09/2014 09:07, Matwey V. Kornilov a écrit :
>>>> Hi,
>>>> 
>>>> What do you think about adding couple of test cases for ARM
>>>> to our openQA? I remember two cases when our JeOSes were
>>>> broken independently of hardware. First one, when u-boot was
>>>> looking for boot.scr in wrong place, second one, when the
>>>> kernel 3.14 was broken due to bug in depmod.
>>>> 
>>>> So, I think that we could test JeOS-vexpress and
>>>> JeOS-vexpress64 for armv7 and aarch64 using qemu emulation (I
>>>> know that it is slow ;) )
>>>> 
>>>> Then just check that the image is booted for the first time,
>>>> and for the second time, controlling the process through
>>>> serial console.
>>>> 
>>>> At the moment I have no idea how many efforts are needed to
>>>> implement this.
>>>> 
>>> 
>>> Sounds good to me but I have zero knowledge on openQA.
>> 
>> Yup. Definitely a really good idea. [...]
> 
> Yes, I had brought this up at an openQA presentation months ago,
> but it was never followed up upon. Let's CC Bernhard: What needs to
> be done to add "qemu-system-arm -machine something" based tests to
> openQA so that people can add and edit Needles?
> 
> As I understood Alex, the biggest hurdle inside QEMU is that not
> every machine (well, hardly any apparently) is able to boot the
> real U-Boot, whether via -bios directly or via -drive/-pflash from
> JeOS disk image. For instance, vexpress-a9, vexpress-a15, highbank,
> midway, xilinx-zynq-a9 and cubieboard are among the -machine
> options that we might test using -kernel directly, if openQA allows
> that.

if you want to test it with qemu and openQA, you would need a working
emulated graphics driver, because that is what openQA is expecting to
work with (apart from keyboard input, block-storage and network).
You can test that with qemu -monitor stdio ...
and then issue a screendump /tmp/foo.ppm
IIRC the current openQA v3 version can also use VNC to talk to qemu.

The other particularity would be that we don't have an installer on
arm, but in openQA are already NOINSTALL and KEEPHDDS variables to
test booting from pre-existing harddisk images.

Ciao
Bernhard M.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iEYEARECAAYFAlQRp48ACgkQSTYLOx37oWR9ZACglBGvngXMJurAuFcKVa4qUorX
oA0An35P9kp3y/nEgkORlHa+EEIWN3gw
=3IpA
-----END PGP SIGNATURE-----
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to