Using "localhost" to access the named pipe on the local machine relies on some networked access, which fails on our new Windows tester for some reason.
Replacing this by "." (as done in the MSDN example for NamedPipeClientStream) fixes the problem for me.
svn path=/trunk/sysreg3/; revision=2152
Add new command line options :
--sessiontimeout (in seconds, previously defaults to 1 min)
--nolog (disable the testbot.txt logging)
Use a SATA controller in created VM.
Move string literals to const.
Add support for the new RtlAssert mechanism (do a break once for now)
svn path=/trunk/sysreg3/; revision=1502
- Abort the testing if the OS keeps outputting same line into the debug log more than 50 times. Logic of this algorithm comes from sysreg2.
svn path=/trunk/sysreg3/; revision=1310
- Implement a very simple command line parameters support. Currently, only maxretries is supported. The syntax is:
"sysreg3.exe --maxretries 40" would set the max number of retries to 40.
svn path=/trunk/sysreg3/; revision=1309
- Move log reader implementation to a LogReader class, and run it in a standalone thread, using Timer as a watchdog for hung virtual machine. It may not be done ideally, however it seems to work as expected now. Feel free to improve!
svn path=/trunk/sysreg3/; revision=1282
- Add pipe closing.
- Wait one second after closing the pipe, otherwise VBox fails to power down the virtual machine.
svn path=/trunk/sysreg3/; revision=1281
- Improvements by w.a.hajenius@gmail.com:
* Now uses a named pipe instead of a shared file; this prevents unexpectedly broken up lines when using recent VirtualBox versions (apparently ReadLine could get confused when reading from the shared file). A new dedicated StreamWriter is used to log the debug output.
* Creates a VM with default settings if it doesn't exist yet (default settings to be reviewed)
* A few small code improvements
See issue #6093 for more details.
svn path=/trunk/sysreg3/; revision=1280
- Revert a switch to VirtualBox 4. It'll be recommitted when ReactOS-in-VirtualBox 4 related problems are solved.
svn path=/trunk/sysreg3/; revision=1266
- Upgrade sysreg3 to be compatible with VirtualBox 4 API.
- Rewrite HDD management section (impove the hdd finding algorithm, should be less dependent on the existing hdd position now, also IDE controller is dynamically detected now instead of being hardcoded to instane 0).
- As a result of VirtualBox medium storage changes, sysreg3 is now able to store the harddisk image in the current working directory.
svn path=/trunk/sysreg3/; revision=1265
- Check if a line contains "kdb:>" at any place instead of always expecting "kdb:> ". This could fix the the missing backtraces problem.
- Also commit maxretries and timeout values which are used in production now.
svn path=/trunk/sysreg3/; revision=1261
- Reduce default timeout to 40 secs for testing purposes.
- Perform active waiting with a 5 seconds timeout for closing the vm. Fixes "VM sessions is already open or being closed" exception.
svn path=/trunk/sysreg3/; revision=1245
- Add x64 build target to the project files.
- Cache debug port file path once in the beginning, so that EmptyDebugLog() doesn't require an open vmSession object.
- Always close the VM session object after ProcessDebugOutput() has finished its processing.
svn path=/trunk/sysreg3/; revision=1244
- Add hdd creating/emptying during every start of a testing cycle.
- Add checkpoints support for 1st and 2nd stages to properly sense the moment when OS shuts down.
- Start implementing VM configuration checker/fixer. Right now it only checks and enables/configures a serial port.
- Misc logic fixes.
svn path=/trunk/tools/sysreg3/; revision=1218
- Print a message if maximum number of retries is exceeded.
- Stop executing if ProcessDebugOutput asked so.
- Report stopping reason to console.
svn path=/trunk/tools/sysreg3/; revision=1217
- Initial commit of a Windows-based sysreg tool by popular demand. Platform is .NET, and the only supported virtual machine is VirtualBox. WIP.
svn path=/trunk/tools/sysreg3/; revision=1216