A new cycle of the Powercycling test has been bulit in the last week ,because i feel so much boring during the test envirement configure process, this time I determine to write a python script to complete the OS enviroment configuration .
Powercycling test need to run in linux OS and windows OS , but it's easy to complete the window enviroment setting , i don't want to pay more attention to it.
Well,linux OS usally has the same linux kernel , so it can be produced a common script to cover the most of linux setting .
During test , i often make use of REHL7.3 OS/SUSE12 SP2 ,so i will decrypt the scripts based on REHL 7.3 OS .
First,let's comfirm what is the envirment requirement:
1.login the Linux with root account automatically
2.excute a test script after log into OS
3.collect the test log at the end of the test
4.analysis the test log whether it's pass or not