Using Python Script to Control Repetitive Power Reboot Testing

Although repetitive power reboot testing provides product development engineers with a useful tool for detecting potential problems in new products, it can also be incredibly boring for the person responsible for actually performing the test. The task of repeatedly initiating one power reboot cycle after another, 24/7, for weeks on end is enough to drive even the most OCD person over the edge. One simple way to avoid this problem is to use Python script to control the repetitive reboot process.

In most cases, power reboot regression testing involves connecting the test device to a switched PDU and then initiating a seemingly endless series of power reboot cycles in order to observe the device being tested as it recovers from each reboot cycle. In order to retrieve data generated by the power reboot regression test, the device being tested is typically connected to some sort of data collection device in order to capture error messages and status reports generated after each reboot cycle is complete. This type of testing, which involves many repetitions of the same task, provides a perfect subject for automation via Python script.

When Python script is used to automate the power reboot regression test process, a local or remote control terminal is employed to repeatedly send Python script commands to the switched PDU in order to initiate each reboot cycle. This both frees lab personnel from the dreary task of manually initiating each reboot, and improves the quality of data generated by the test by ensuring that each reboot cycle is consistently performed according to schedule and without interruption, for days or weeks on end.

The key to using Python script to control the power reboot regression test process is to make certain to select a Switched PDU product that supports Python script. In addition to providing control via Python Script an advanced Switched PDU product should also provide other useful capabilities, such as security and authentication features to ensure that access to power control functions is protected from unauthorized access and monitoring and alarm features to help keep track of relevant conditions and events in the test environment.

Tags: , , , ,

Comments are closed.