Tools for automated OS testing on real hardware?

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Post Reply
Posts: 586
Joined: Mon Nov 29, 2004 9:48 am
Location: Marietta, GA

Tools for automated OS testing on real hardware?

Post by SomeGuy »

I was just tossing around some thoughts about how to automatically test ReactOS on real hardware.

It is probably still a bit early for it to really be needed, but ReactOS will eventually need some kind of automated system testing that individual users can run on their own hardware and report results back to ReactOS. I'm talking about kernel and driver related tests.

This way if enough people were to do it, devs could more quickly know if a change causes problems with certain chipsets, storage controllers, third party drivers, or other specific configurations (and there are plenty of configurations out there). If there were frequent enough testes, there would be less need for messy regression testing on real hardware.

There are, however, some interesting problems here. :) How do you automatically download and write a disk image to a real hard drive if there is no OS present? How do you tell it to automatically boot/reboot when it is ready? How do you send debug logs back if the network card driver doesn't work? How do you automatically capture logs from a com port without any other computer? How do you get any meaningful results back if the OS doesn't even load the kernel at all?!

The ReactOS TestBot has it easy because VirtualBox has so many scriptable features.

Is there any kind of system or hardware add on that can facilitate this kind of testing?

I am aware of some devices that are used for remote monitoring servers and can manage a machine even when no OS is running. Can something like those be adapted for scriptable fully automated OS testing?

Heis Spiter
Posts: 183
Joined: Sun Sep 03, 2006 11:39 am
Location: Paris, France

Re: Tools for automated OS testing on real hardware?

Post by Heis Spiter »


we (the ReactOS sysadmins) are already thinking about such solution. It would be based on a computer having either AMT or IPMI. And then the OS would be installed through PXE.
The point of sending debug has not been discussed yet. But it would likely go through serial to another computer.

Pierre Schweitzer (aka Heis Spiter)
ReactOS kernel developer.
ReactOS systems administrator.

Posts: 142
Joined: Fri Nov 20, 2009 8:16 pm

Re: Tools for automated OS testing on real hardware?

Post by Murmur »

Can ROS install though PXE or capture an image yet?

Posts: 375
Joined: Sat May 12, 2007 9:29 am

Re: Tools for automated OS testing on real hardware?

Post by Pisarz »

First, proof of concept:

And there is some info on wiki already:

Posts: 149
Joined: Mon Aug 03, 2009 12:59 am

Re: Tools for automated OS testing on real hardware?

Post by Bblaauw »

That video looks like PXELinux --> Memdisk --> HDDimage --> ReactOS
That implies the following should be possible as well: Syslinux -> Memdisk --> HDDimage --> ReactOS
However the documentation doesn't mention if any FreeLDR modifications are needed. Likely some "ram()\reactos" statement instead of "multi()disk()boot()\reactos"

As for the HDDimage, I'd guess Bochs (or QEMU?) was used to install ReactOS into this image file.

A first step for testing ReactOS compatibility with real hardware (or reverse, if you like) would be:
syslinux -> memdisk -> LiveCD.ISO

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests