Developers/Remote Tests
From Dyna
zelmon This site describes how to run a test on a remote machine. "test" means here a "make test" on the current SVN snapshot.
Change to dyna/test_remote.
If you want to start a test on a specific host, run this:
./start HOST=192.233.54.142
This will write the HTML results to
$HOME/public_html/dyna/build
If you want to have the results in a custom dir, use the DIR argument (directory will be created if necessary).
./start DIR=tmp HOST=192.233.54.142
If you omit the HOST argument, the start script will start the test on all hosts found in the file hosts2.txt (if they are not commented out):
./start DIR=tmp
There is also a WAIT argument. It specifies how long the script waits before it collects the results. You can give arguments in minutes or hours. The default is 15 minutes. Use a value greater than 2 minutes or you get undefined behavior. After that initial time, it will update the results every 10 minutes until all tests are finished (you can specify another update interval with UPDATES, say UPDATES="2 minutes"). The generated report in the tmp/ directory indicates if a test is still running.
./start DIR=tmp HOST=192.233.54.142 WAIT="5 minutes"
The generated HTML results can be seen by loading tmp/dyna-TIMSTAMP/index.html into your browser. There is also a concise text file that contains all make and make test output from the machines you specified (a single machine using the HOST option or several machines in the file hosts2.txt): dyna-TIMESTAMP.txt.gz
Instead of the SVN trunk, you can also test your own branch, e.g.:
./start DIR=tmp HOST=192.233.54.142 REPOS="file:///export/svn/dyna/branches/myBranch"
Do It Yourself
You don't have to read this section, because the start script does it all for you. But anyway:
You can always log into the machine yourself and see what's going on. Just do a telnet to the machine, e.g. 192.233.54.142. All machines mount the same user directory. Use the user name dynamisc. Every test is run remotely in the tests/dyna-TIMESTAMP/host directory, e.g. tests/dyna-20050320_012311/192.233.54.142. There is a make-stderr and a make-test-stdout file with build and test results.
You can also do a find tests -name .running to find out which tests are currently running.
Another useful thing is ~/bin/getReport.sh dyna-TIMESTAMP. This gives you the same result as the HTML pages, just unformatted.
