Function test method for server UIDLED lamp with fool-proof function
A functional testing and server technology, applied in functional testing, instrumentation, error detection/correction, etc., can solve the problems of relying on the accuracy of the operator's actions, lack of fool-proof means, and easy to produce false tests, etc., to achieve a simple and fast test process To optimize, promote the use value, and avoid the effect of false measurement
Patent Information
- Authority / Receiving Office
- CN · China
- Current Assignee / Owner
- Publication Date
- 2017-09-15
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure 1
Abstract
Description
technical field
[0001] The invention relates to the field of server testing, in particular to a server UID LED lamp function testing method with foolproof function. Background technique
[0002] In the current production of complete computer server systems, FCT function tests are mostly required. In the current large-scale FCT function test of the computer UID LED factory, the UID LED is manually judged by the test operator to determine the integrity of its function. The operator needs to press the UID LED button to light up the UID LED, and observe whether the LED is lit with the naked eye to confirm the test result. The operator's hands-on speed directly affects the time required for the test. In the above test process, the accuracy of the operator's actions is highly dependent. If the operator does not press the UID LED button, does not observe whether the LED light is lit, and directly confirms that the light has been lit, it may lead to a false test. Affect the contro...
Examples
Embodiment
[0024] as attached figure 1 As shown, the server UID LED lamp function test method with foolproof function of the present invention, the method includes the following steps:
[0025] (1) Put the UID LED test program image on the PXE boot server, power on the server and start it up, and boot into the test program;
[0026] (2) The test program starts to be automatically executed, and the UID LED is automatically turned on or off at random. The test program directly reads the UIDLED hardware status information; among them, the test program uses the IPMI protocol to automatically turn on or off the UID LED. Some code examples are as follows:
[0027] IPMIComm *opIpmi = IPMIComm::getInstance();
[0028] if (NULL==opIpmi)
[0029] {
[0030] cerr<<"Cannot get the object of IPMI command class" <
[0031] return 1;
[0032]}
[0033] ret=opIpmi->initKCS(0x20);
[0034] if(0!=ret)
[0035] {
[0036] cerr << "Initialize BMC error, ret:" << ret << endl;
[0037] return re...