Unlock instant, AI-driven research and patent intelligence for your innovation.
Automatic testing method and device for restarting bmc based on ipmi instruction
Active Publication Date: 2021-10-29
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF7 Cites 0 Cited by
Summary
Abstract
Description
Claims
Application Information
AI Technical Summary
This helps you quickly interpret patents by identifying the three key elements:
Problems solved by technology
Method used
Benefits of technology
Problems solved by technology
[0004] The purpose of the present invention is to solve the traditional manual use cases in the above-mentioned BMC restart test that require testers to repeatedly and frequently test an option for multiple cycles. The test is extremely time-consuming and labor-intensive, and there is no log as a record in the whole process, and subsequent troubleshooting is difficult , the defect that it is difficult to reuse between multiple projects, an automatic test method and device based on the ipmi command to restart the BMC are provided to solve the above technical problems
Method used
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more
Image
Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
Click on the blue label to locate the original text in one second.
Reading with bidirectional positioning of images and text.
Smart Image
Examples
Experimental program
Comparison scheme
Effect test
Embodiment 1
[0058] Such as figure 1 As shown, the present invention provides a kind of automatic test method that restarts BMC based on ipmi instruction, comprises the steps:
[0059] S1. The test host obtains the IP address of the BMC through the ipmi command;
[0060] S2. The test host pings the IP address of the BMC;
[0061] S3. The test host restarts the BMC coldly through the ipmi command, and pings the IP address of the BMC during the cold restart process;
[0062] S4. Generate a test log;
[0063] S5. Determine whether the BMC restart test passes.
[0064] In the above-mentioned embodiment 1, step S1 is realized by the following code:
[0065] public static String getIPAddress(String BMCURL, String BMCUserName, String BMCPassword,
[0096] Such as figure 2 As shown, the specific steps of step S5 in the above-mentioned embodiment 1 are as follows:
[0097] S51. judging whether the BMC restart process is passed;
[0098] S52. If yes, enter step S53; if no, enter step S56;
[0099] S53. Judging whether there is no abnormal key field in the test log;
[0100] S54. If yes, then enter step S55; if no, then enter step S56;
[0101] S55. The test case is passed, and the test ends;
[0102] S56. The test case fails, and the test ends.
Embodiment 3
[0104] Such as image 3 As shown, in the above-mentioned embodiment 2, the specific steps of step S51 are as follows:
[0105] S511. Obtain the test data of the IP address of the test host pinging the BMC during the BMC restart process. The test data includes the restart start connection time period, the restart process connection time period and the restart end connection time period, and the ping and connection time period of each connection time period. no;
[0106] S512. Judging in the test data of the IP address of the test host pinging the BMC, whether the ping can be done during the restart start connection time period, the ping can not be done during the restart process connection time period, and the ping can be done during the restart end connection time period;
[0107] S513. If yes, the BMC restart process is passed; if not, the BMC restart process is not passed; implemented by the following code:
[0108] public static list getPingIPResult(String IP) throwsExce...
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More
PUM
Login to View More
Abstract
The present invention provides a kind of automatic testing method and device based on ipmi instruction restarting BMC, method comprises the following steps: S1. test host obtains the IP address of BMC by ipmi instruction; S2. the IP address of test host ping BMC; S3. test host passes The ipmi command cold restarts the BMC, and pings the IP address of the BMC during the cold restart process; S4. generates a test log; S5. judges whether the BMC restart test passes; the device includes a BMC IP address acquisition module, a BMC IP address ping module, and a BMC cold restart module, test log generation module and test judgment module. The invention realizes the restart automation of the BMC, and can judge whether the BMC restart process test is passed, improves the test efficiency, saves human resources, and ensures product quality.
Description
technical field [0001] The invention belongs to the field of server BMC testing, and in particular relates to an automatic testing method and device for restarting a BMC based on an ipmi command. Background technique [0002] BMC plays a very important role in computer systems. Whether the performance of a motherboard is superior or not depends to a large extent on whether the BMC management function on the motherboard is advanced, so BMC module testing has always been an important part of server testing. The BMC restart test through the ipmi command is the most common method for BMC restart, so the BMC restart test is the most important part of the BMC test. Traditional manual use cases require testers to repeatedly and frequently test an option for multiple cycles. The test is extremely time-consuming and labor-intensive, and there is no log as a record for the entire process. It is difficult to troubleshoot problems later, and it is difficult to reuse between multiple pr...
Claims
the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More
Application Information
Patent Timeline
Application Date:The date an application was filed.
Publication Date:The date a patent or application was officially published.
First Publication Date:The earliest publication date of a patent with the same application number.
Issue Date:Publication date of the patent grant document.
PCT Entry Date:The Entry date of PCT National Phase.
Estimated Expiry Date:The statutory expiry date of a patent right according to the Patent Law, and it is the longest term of protection that the patent right can achieve without the termination of the patent right due to other reasons(Term extension factor has been taken into account ).
Invalid Date:Actual expiry date is based on effective date or publication date of legal transaction data of invalid patent.