Version 1 (modified by 13 years ago) (diff) | ,
---|
The DETER distribution includes a small set of tests to verify basic functionality of the newly-installed testbed:
cd ~<builduser>/testbed/testsuite/deter ./tbcheck
should produce
basic2 passed all phases basic passed all phases toofast failed preparse miniTbcmd2 failed linktest cbr failed linktest
tbcheck is a tcl expect script which exercises the testbed using this short series of experiments, attempting to: swap each in; test link behavior; verify other properties of the instantiated experiment; and finally swap out. Not all tests will pass all test phases.
- basic checks that an experimental node's group file includes the project group. It also includes two links with different delays, and one at a lower bitrate than the others. basic should pass all phases.
- basic2 checks than an experimental node properly mounted the user's home directory, and should pass all phases.
- cbr includes a number of links with delay, traffic agents, and link events. The test verifies that the testbed correctly creates a log file for one of the events. However, the linktest script anticipates bandwidth errors, and overall the test should fail (only) that phase.
- miniTbcmd2 includes a pair of tar archives to be extracted on one of the experimental nodes, and a startup command for that node. Linktest fails on this one also.
- toofast is supposed to fail to swap-in (according to emulab) because one of the links is too fast, but in practice fails due to a parsing error.
The series requires at least seven experimental nodes, assuming each such node has four experimental interfaces.