Monitoring method and device for board card test
By using the test server and the diagnostic server in the board test system, combining the network connection between the board management controller and the processor, obtaining and analyzing the running information, the problem of low board test efficiency is solved, and timely detection and processing of test failures is achieved. , improves testing efficiency.
Patent Information
- Application Number
- CN202410969923.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-15
AI Technical Summary
During the board test, the test server cannot enter the operating system normally, resulting in inefficient testing and the inability to discover and process the reasons for the test failure in time.
By introducing test servers and diagnostic servers into the board test system, the substrate management controller and processor are used for network connection, and the operation information is obtained and analyzed to locate the reasons for the test failure, including extracting the processor's operation information and the substrate management controller. logs, real-time monitoring and location of test status and faults.
It realizes the timely discovery and processing of board test failure problems, improves testing efficiency, and avoids the reduction in testing efficiency caused by the inability to timely discover and deals with test failures.
Smart Images

Figure CN118964106A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computers, and more specifically, to a monitoring method and device for board testing. Background Art
[0002] The production of boards is a very important link in the server production process, and the produced boards need to be tested by FCT (Functional Circuit Test) to check the quality of the boards. Currently, the test of boards requires that the test server loaded with the board to be tested normally boots into the operating system before further testing can be performed. However, during the test process, it is possible that the test server cannot normally enter the operating system. In this case, the test cannot be performed normally and the progress information of the test cannot be obtained. It is even more impossible to determine the reason why the board test cannot be performed normally, and the board test cannot continue to be executed, and the efficiency of the board test is low. Summary of the invention
[0003] The embodiments of the present application provide a monitoring method and device for board card testing to at least solve the problem of low efficiency of board card testing in the related art.
[0004] According to an embodiment of the present application, a monitoring method for board card testing is provided. The board card testing system includes a test server and a diagnostic server. The test server is connected to the diagnostic server. The test server is used to run the board card to be tested. The diagnostic server is used to test the running performance of the board card to be tested. A baseboard management controller and a processor are deployed on the test server. The processor is used to perform a running performance test on the board card to be tested according to the instruction of the diagnostic server. The method is applied to a test management system. The test management system is connected to a first network interface of the baseboard management controller, a second network interface of the processor, and a third network interface of the diagnostic server. The test management system provides a network connection for the baseboard management controller and the processor through the diagnostic server. The method includes:
[0005] Obtaining a monitoring request, wherein the monitoring request is used to request monitoring of a running performance test executed in the board test system;
[0006] In response to the monitoring request, extracting first operation information of the processor from the processor through the second network interface, wherein the first operation information is used to indicate the operation status of the processor;
[0007] Detecting a target test state of a target operation performance test executed by the diagnostic server on the board to be tested according to the first operation information;
[0008] When the target test status indicates that the target operation performance test fails to be executed, extracting second operation information of the processor from the baseboard management controller through the first network interface, wherein the second operation information is operation information of the processor collected by the baseboard management controller;
[0009] The failure cause of the failure of executing the target running performance test is located on the test server according to the second running information.
[0010] As an optional implementation manner, the detecting, according to the first operation information, a target test state of a target operation performance test executed by the diagnostic server on the board to be tested includes:
[0011] detecting a network connection state of the processor according to a network parameter of the processor, wherein the network connection state is used to indicate a network connection status of the processor, and the first operation information includes the network parameter;
[0012] Detecting a system startup state of the operating system on the processor according to the network connection state, wherein the system startup state is used to indicate a startup status of the operating system;
[0013] The target test state is determined according to the system startup state.
[0014] As an optional implementation, detecting the system startup state of the operating system on the processor according to the network connection state includes: when the network connection state is used to indicate that the processor has a network connection, determining that the system startup state is used to indicate that the operating system has been started; when the network connection state is used to indicate that the processor does not have a network connection, determining that the system startup state is used to indicate that the operating system has not been started;
[0015] Determining the target test status based on the system startup status includes: when the system startup status is used to indicate that the operating system has been started, determining that the target test status is used to indicate that the target running performance test has not failed to execute; when the system startup status is used to indicate that the operating system has not been started, determining that the target test status is used to indicate that the target running performance test has failed to execute.
[0016] As an optional implementation, an operating system is installed on the processor, the processor is used to obtain the target operation performance test from the diagnostic server, and the operating system is used to start running on the processor and execute the target operation performance test on the board to be tested;
[0017] The extracting the first operation information of the processor from the processor through the second network interface includes:
[0018] In a case where it is determined that the second network interface is connected, monitoring the second network interface;
[0019] The network parameters of the processor are collected from the second network interface as the first operating information, wherein the network parameters are parameters generated in the process of the processor establishing a network connection through the second network interface, the processor is configured to establish a network connection through the second network interface after the operating system is successfully started, and the system startup state of the operating system represents the test state of the target operation performance test.
[0020] As an optional implementation manner, extracting the second operation information of the processor from the baseboard management controller through the first network interface includes:
[0021] Accessing a page service of the baseboard management controller through the first network interface;
[0022] Sending a log reporting instruction to the page service, wherein the log reporting instruction is used to instruct the baseboard management controller to report an operation log to the test management system, the operation log is collected by the baseboard management controller on the test server, and the operation log is used to indicate the operation status of the test server;
[0023] A target operation log returned by the baseboard management controller in response to the log reporting instruction is received as the second operation information.
[0024] As an optional implementation manner, locating the failure cause of the failure of the target operation performance test on the test server according to the second operation information includes:
[0025] Dividing the target operation log into operation stages and log sets having corresponding relationships, wherein the second operation information includes the target operation log, the target operation log is collected by the baseboard management controller before the test server runs to the target operation performance test failure, the target operation log is used to indicate the operation status of the test server, and the log set includes the operation log collected in the corresponding operation stage;
[0026] The server component position that causes the target running performance test execution failure in each running stage and the server component failure generated at the server component position are extracted from the running stages and log sets with corresponding relationships as the failure cause.
[0027] As an optional implementation, the test management system includes a test management application and an interface connector, wherein the test management application is deployed on the diagnostic server, the interface connector includes a wide area network interface, a first local area network interface, and a second local area network interface, the wide area network interface is connected to the test management application by connecting to the third network interface, the first local area network interface is connected to the first network interface, and the second local area network interface is connected to the second network interface;
[0028] The obtaining of the monitoring request comprises: receiving the monitoring request through the test management application, wherein a remote control connection is established between the test management application and the test server through the interface connector;
[0029] The extracting the first operation information of the processor from the processor through the second network interface comprises: the test management application sends a first extraction instruction to the interface connector through the remote control connection, wherein the first extraction instruction is used to instruct to extract the first operation information of the processor; routing the first extraction instruction to the second network interface through the interface connector; receiving the first operation information through the interface connector and sending the first operation information to the test management application;
[0030] The detecting, according to the first operation information, a target test state of a target operation performance test executed by the diagnostic server on the board to be tested comprises: detecting, by the test management application, the target test state according to the first operation information;
[0031] The extracting the second operation information of the processor from the baseboard management controller through the first network interface comprises: the test management application sends a second extraction instruction to the interface connector through the remote control connection, wherein the second extraction instruction is used to instruct to extract the second operation information of the processor; routing the second extraction instruction to the first network interface through the interface connector; receiving the second operation information through the interface connector and sending the second operation information to the test management application;
[0032] The locating the failure cause of the target operation performance test failure on the test server according to the second operation information includes: locating the failure cause of the target operation performance test failure on the test server according to the second operation information through the test management application.
[0033] According to another embodiment of the present application, a monitoring device for board card testing is provided, wherein the board card testing system includes a test server and a diagnostic server, wherein the test server is connected to the diagnostic server, wherein the test server is used to run the board card to be tested, wherein the diagnostic server is used to test the running performance of the board card to be tested, wherein a baseboard management controller and a processor are deployed on the test server, wherein the processor is used to perform a running performance test on the board card to be tested according to the instruction of the diagnostic server, wherein the device is applied to a test management system, wherein the test management system is connected to a first network interface of the baseboard management controller, a second network interface of the processor, and a third network interface of the diagnostic server, wherein the test management system provides a network connection for the baseboard management controller and the processor through the diagnostic server, wherein the device includes:
[0034] An acquisition module, used for acquiring a monitoring request, wherein the monitoring request is used for requesting monitoring of a running performance test executed in the board test system;
[0035] a first extraction module, configured to respond to the monitoring request and extract first operation information of the processor from the processor through the second network interface, wherein the first operation information is used to indicate the operation status of the processor;
[0036] A detection module, configured to detect a target test state of a target operation performance test executed by the diagnostic server on the board to be tested according to the first operation information;
[0037] A second extraction module is used to extract second operation information of the processor from the baseboard management controller through the first network interface when the target test status indicates that the target operation performance test fails to be executed, wherein the second operation information is the operation information of the processor collected by the baseboard management controller;
[0038] A positioning module is used to locate the failure reason causing the failure of the target operation performance test on the test server according to the second operation information.
[0039] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.
[0040] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0041] According to the present application, since the board test system includes a test server and a diagnostic server, the test server is connected to the diagnostic server, the test server is used to run the board to be tested, and the diagnostic server is used to test the running performance of the board to be tested. A baseboard management controller and a processor are deployed on the test server, and the processor is used to perform a running performance test on the board to be tested according to the instructions of the diagnostic server. The test management system is connected to a first network interface of the baseboard management controller, a second network interface of the processor, and a third network interface of the diagnostic server. The test management system provides a network connection for the baseboard management controller and the processor through the diagnostic server, obtains a monitoring request for requesting monitoring of the running performance test performed in the board test system, responds to the monitoring request, extracts first running information of the processor for indicating the running status of the processor from the processor through the second network interface, detects the target test status of the target running performance test performed by the diagnostic server on the board to be tested according to the first running information, and when the target test status is used to indicate the failure of the execution of the target running performance test, the test management system performs the monitoring of the running performance test performed by the diagnostic server through the third network interface. A network interface extracts second operating information of the processor from the baseboard management controller, the second operating information is the operating information of the processor collected by the baseboard management controller, and the failure cause of the failure of the target operating performance test is located on the test server according to the second operating information, that is, the test management system extracts the first operating information of the processor through the second network interface of the processor, so as to timely determine the test status of the target operating performance test executed on the board to be tested, and timely discover when the target operating performance test fails to execute. When it is determined that the target operating performance test fails to execute, the second operating information of the processor can be extracted from the baseboard management controller through the first network interface of the baseboard management controller, and the cause of the failure of the target operating performance test is analyzed based on the operating information, and the problem of the failure of the target operating performance test is handled in time, thereby avoiding the reduction of the board test efficiency caused by the inability to timely discover the test execution failure and the inability to timely handle the test execution failure. Therefore, the problem of low efficiency of board testing can be solved, and the effect of improving the efficiency of board testing can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 It is a hardware structure block diagram of a server device of a board card test monitoring method according to an embodiment of the present application;
[0043] Figure 2 is a flow chart of a monitoring method for board card testing according to an embodiment of the present application;
[0044] Figure 3 is an internal logic diagram of an interface connector according to an embodiment of the present application;
[0045] Figure 4is a schematic diagram of a test management system arrangement connection solution according to an embodiment of the present application;
[0046] Figure 5 is a schematic diagram of a method for remotely connecting to a test machine OS according to an embodiment of the present application;
[0047] Figure 6 is a schematic diagram of an IPMI service method for remotely accessing a BMC according to an embodiment of the present application;
[0048] Figure 7 is a schematic diagram of a web service method for remotely accessing a test machine BMC according to an embodiment of the present application;
[0049] Figure 8 is a schematic diagram of accessing a web page service of a test machine BMC according to an embodiment of the present application;
[0050] Fig. 9 is a flow chart of the interaction between a test management system and a diagnostic server according to an embodiment of the present application;
[0051] Fig.10 It is a structural block diagram of a monitoring device for board card testing according to an embodiment of the present application. DETAILED DESCRIPTION
[0052] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0053] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0054] The method embodiments provided in the embodiments of the present application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 1 is a hardware structure block diagram of a server device of a board test monitoring method according to an embodiment of the present application. Figure 1 As shown, the server device may include one or more ( Figure 1 Only one is shown in the figure) processor 102 (processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the server device may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.
[0055] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the monitoring method of the board test in the embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0056] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0057] In this embodiment, a monitoring method for board card testing is provided. The board card testing system includes a testing server and a diagnostic server. The testing server is connected to the diagnostic server. The testing server is used to run the board card to be tested. The diagnostic server is used to test the running performance of the board card to be tested. A baseboard management controller and a processor are deployed on the testing server. The processor is used to perform a running performance test on the board card to be tested according to the instructions of the diagnostic server. The method is applied to a testing management system. The testing management system is connected to a first network interface of the baseboard management controller, a second network interface of the processor, and a third network interface of the diagnostic server. The testing management system provides a network connection for the baseboard management controller and the processor through the diagnostic server. Figure 2 is a flow chart of a monitoring method for board card testing according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:
[0058] Step S202, obtaining a monitoring request, wherein the monitoring request is used to request monitoring of a running performance test executed in the board test system;
[0059] Step S204, in response to the monitoring request, extracting first operation information of the processor from the processor through the second network interface, wherein the first operation information is used to indicate the operation status of the processor;
[0060] Step S206, detecting a target test state of a target operation performance test executed by the diagnostic server on the board to be tested according to the first operation information;
[0061] Step S208, when the target test status indicates that the target running performance test fails to be executed, extracting second running information of the processor from the baseboard management controller through the first network interface, wherein the second running information is running information of the processor collected by the baseboard management controller;
[0062] Step S210: locating the failure reason for the failure of executing the target running performance test on the test server according to the second running information.
[0063] Through the above steps, since the board test system includes a test server and a diagnostic server, the test server is connected to the diagnostic server, the test server is used to run the board to be tested, the diagnostic server is used to test the running performance of the board to be tested, the baseboard management controller and the processor are deployed on the test server, the processor is used to perform running performance test on the board to be tested according to the instruction of the diagnostic server, the test management system is connected to the first network interface of the baseboard management controller, the second network interface of the processor and the third network interface of the diagnostic server, the test management system provides network connection for the baseboard management controller and the processor through the diagnostic server, obtains a monitoring request for requesting monitoring of the running performance test executed in the board test system, responds to the monitoring request, extracts first running information of the processor for indicating the running status of the processor from the processor through the second network interface, detects the target test status of the target running performance test executed by the diagnostic server on the board to be tested according to the first running information, and when the target test status is used to indicate the failure of the target running performance test to be executed, the test management system performs the following steps: A network interface extracts second operating information of the processor from the baseboard management controller, the second operating information is the operating information of the processor collected by the baseboard management controller, and the failure cause of the failure of the target operating performance test is located on the test server according to the second operating information, that is, the test management system extracts the first operating information of the processor through the second network interface of the processor, so as to timely determine the test status of the target operating performance test executed on the board to be tested, and timely discover when the target operating performance test fails to execute. When it is determined that the target operating performance test fails to execute, the second operating information of the processor can be extracted from the baseboard management controller through the first network interface of the baseboard management controller, and the cause of the failure of the target operating performance test is analyzed based on the operating information, and the problem of the failure of the target operating performance test is handled in time, thereby avoiding the reduction of the board test efficiency caused by the inability to timely discover the test execution failure and the inability to timely handle the test execution failure. Therefore, the problem of low efficiency of board testing can be solved, and the effect of improving the efficiency of board testing can be achieved.
[0064] Optionally, in an embodiment of the present application, the boards to be tested include but are not limited to boards used in the server production process, such as a main board, a hard disk backplane, a power board, and the like.
[0065] Optionally, in an embodiment of the present application, testing the operating performance of the board to be tested includes but is not limited to testing different operating performances for different types of boards. For example, the test item combination for the motherboard is different from the test item combination for the hard disk backplane. The operating performance of different types of boards is tested by using different test item combinations.
[0066] Optionally, in an embodiment of the present application, including but not limited to determining the board model of the board to be tested before testing the board to be tested running on the test server, and downloading a diagnostic system corresponding to the board model from the diagnostic server according to the board model of the board to be tested, wherein the diagnostic system is used to indicate a test strategy for performing an operating performance test on the board to be tested, and the test strategy includes test items and the execution order of the test items.
[0067] Optionally, in an embodiment of the present application, a baseboard management controller is deployed on the test server to monitor the operation status of the test server, and the operation changes of the test server can be determined by querying the operation log of the baseboard management controller.
[0068] Optionally, in an embodiment of the present application, the test management system includes but is not limited to being connected to a third network interface of the diagnostic server via a wide area network interface, and includes but is not limited to being connected to a first network interface of the baseboard management controller and a second network interface of the processor via a local area network interface.
[0069] In the embodiment provided in step S202, the monitoring request includes but is not limited to being sent by the diagnostic server to the test management system. When the diagnostic server receives the board production test task issued by the user, the diagnostic server sends the monitoring request to the test management system.
[0070] In the embodiment provided in step S204, extracting the first operation information of the processor from the processor through the second network interface includes but is not limited to extracting the third operation information of the baseboard management controller from the baseboard management controller through the first network interface, wherein the third operation information is used to indicate the operation status of the baseboard management controller; extracting the first operation information of the processor from the processor through the second network interface within the target time period of the target time length starting from the moment when the third operation information is extracted. By extracting the first operation information of the processor from the second network interface within the target time period, because the third operation information of the baseboard management controller has been extracted, it can be determined that the test server is in the test preparation state, and then wait for the processor to enter the normal operation state to normally execute the target operation performance test of the board to be tested. Therefore, if the first operation information can be extracted, it can be determined that the processor is in the normal operation state. If the operation information cannot be extracted or the extracted first operation information is empty, it can be determined that the processor cannot operate normally, and it can be determined that the target test state of the target performance test executed on the board to be tested is a failure state, that is, the target operation performance test fails to execute.
[0071] In the embodiment provided in step S206, the target test state of the target operation performance test executed by the diagnostic server on the board to be tested is detected according to the first operation information, including but not limited to the reference operation information of the processor recorded on the diagnostic server when the target operation performance test is executed normally, wherein the reference operation information is used to indicate that the processor is in a normal operating state, and the processor can normally execute the target operation performance test in the normal state; when the first operation information is empty, the target test state is determined to be a failure state, wherein the failure state is used to indicate that the target operation performance test fails to execute; when the first operation information is not empty, the key operation parameters of the first operation information are extracted, and the key operation parameters are compared with the reference key parameters to obtain a comparison result, wherein the reference operation information includes the reference key parameters; when the comparison result indicates that the difference range between the key operation parameters and the reference key parameters exceeds the target range, the target test state is determined to be the failure state. Through the above steps, the target test status of the target running performance test when the processor cannot run at all and when the processor cannot run normally is determined as a failed state of execution failure. The situation where the performance test cannot be executed and the performance test cannot be executed efficiently is discovered in time for further processing so that the test can be executed efficiently, thereby improving the efficiency of board testing.
[0072] In the embodiment provided in step S208, the second operating information is the operating information of the processor collected by the baseboard management controller. The second operating information includes but is not limited to the operating information of the processor collected by the baseboard management controller directly monitoring the operating status of the processor, or the operating information indirectly representing the operating status of the processor obtained by the baseboard management controller directly monitoring the operating status of other devices in the test server. This solution does not limit this.
[0073] Optionally, in an embodiment of the present application, when the target test status is used to indicate that the target operation performance test has failed to execute, extracting the second operation information of the processor from the baseboard management controller through the first network interface includes but is not limited to sending a first operation information extraction instruction to the baseboard management controller through the first network interface when the target test status is used to indicate that the target operation performance test has failed to execute, wherein the first operation information extraction instruction is used to instruct the baseboard management controller to send a baseboard management controller log, and the baseboard management controller log includes the second operation information; receiving the baseboard management controller log returned by the baseboard management controller in response to the first operation information extraction instruction; extracting the second operation information from the baseboard management controller log, wherein the second operation information is the operation information of the processor collected by the baseboard management controller.
[0074] In the embodiment provided in step S210, locating the cause of the failure of the target operation performance test on the test server according to the second operation information includes but is not limited to sending a test failure notification to the diagnostic server when the cause of the failure of the target operation performance test cannot be located on the test server according to the second operation information, wherein the test failure notification is used to notify that the cause of the failure of the target operation performance test is unknown, and the test failure notification records the test machine number information of the test server. In practical applications, including but not limited to the diagnostic server can be connected to multiple test servers, in the case where the test management system cannot process the failed target operation performance test, sending the test machine number information can enable the diagnostic server to determine the location information of the test server with the problem, and engineers can debug and process the failed target operation performance test through the location information.
[0075] Optionally, in the embodiment of the present application, the test management system includes but is not limited to providing a web service to return the test machine number recorded in the test management system through the following content:
[0076] root@debian:~#curl http: / / XXXX.XXXX.XXXX:XXXX / api / getFIXI D
[0077] XXXX-XX (test machine number)
[0078] Among them, XXXX.XXXX.XXXX is the IP address of the test management system. By accessing the corresponding port of the test management system, the test machine number of the test server can be obtained. The corresponding test program of the board to be tested can be customized according to the obtained test machine number, which can also reduce the step of the test operator scanning the code to obtain the test machine number during the test process, avoiding the program of scanning the code to obtain the machine number to improve the test efficiency. In a similar way, more machine information including the test machine number can be used to describe the test server, and the customized operating system and test program can be downloaded from the test service area according to more test server information.
[0079] As an optional implementation manner, the detecting, according to the first operation information, a target test state of a target operation performance test executed by the diagnostic server on the board to be tested includes:
[0080] detecting a network connection state of the processor according to a network parameter of the processor, wherein the network connection state is used to indicate a network connection status of the processor, and the first operation information includes the network parameter;
[0081] Detecting a system startup state of the operating system on the processor according to the network connection state, wherein the system startup state is used to indicate a startup status of the operating system;
[0082] The target test state is determined according to the system startup state.
[0083] Optionally, in an embodiment of the present application, detecting the network connection status of the processor according to the network parameters of the processor includes but is not limited to detecting the network connection status of the processor according to the Internet Protocol address of the processor when the network parameter of the processor is the Internet Protocol address of the processor.
[0084] Through the above steps, the network connection status of the processor can be detected according to the network parameters of the processor, and the system startup status of the operating system on the processor can be detected according to the network connection status to determine the target test status. By discovering the network connection status of the processor, it can be determined whether the target test is executed normally, and the situation where the target test fails to execute and cannot be monitored will not occur, thereby improving the efficiency of board testing.
[0085] As an optional implementation, detecting the system startup state of the operating system on the processor according to the network connection state includes: when the network connection state is used to indicate that the processor has a network connection, determining that the system startup state is used to indicate that the operating system has been started; when the network connection state is used to indicate that the processor does not have a network connection, determining that the system startup state is used to indicate that the operating system has not been started;
[0086] Determining the target test status based on the system startup status includes: when the system startup status is used to indicate that the operating system has been started, determining that the target test status is used to indicate that the target running performance test has not failed to execute; when the system startup status is used to indicate that the operating system has not been started, determining that the target test status is used to indicate that the target running performance test has failed to execute.
[0087] Optionally, in an embodiment of the present application, based on the case where the system startup status is used to indicate that the operating system has been started, it is determined that the target test status is used to indicate that the target running performance test has not failed. In this case, the operating system can start normally, and therefore the target running performance test can be controlled normally, that is, the operating system can then monitor the execution of the target running performance test and determine the test result of the target running performance test.
[0088] As an optional implementation, an operating system is installed on the processor, the processor is used to obtain the target operation performance test from the diagnostic server, and the operating system is used to start running on the processor and execute the target operation performance test on the board to be tested;
[0089] The extracting the first operation information of the processor from the processor through the second network interface includes:
[0090] In a case where it is determined that the second network interface is connected, monitoring the second network interface;
[0091] The network parameters of the processor are collected from the second network interface as the first operating information, wherein the network parameters are parameters generated in the process of the processor establishing a network connection through the second network interface, the processor is configured to establish a network connection through the second network interface after the operating system is successfully started, and the system startup state of the operating system represents the test state of the target operation performance test.
[0092] Through the above steps, by monitoring the second network interface of the processor and collecting the network parameters of the processor as the first operating information for judging the operating status of the processor, it is possible to directly determine whether the operating system of the processor has started normally, which is equivalent to executing the monitoring action of the test when the operating system that controls the test operation has not yet started, thereby ensuring that the startup status of the operating system can be obtained, and then determining whether the current functional test can be normally started and executed, thereby improving the testing efficiency of the board.
[0093] As an optional implementation manner, extracting the second operation information of the processor from the baseboard management controller through the first network interface includes:
[0094] Accessing a page service of the baseboard management controller through the first network interface;
[0095] Sending a log reporting instruction to the page service, wherein the log reporting instruction is used to instruct the baseboard management controller to report an operation log to the test management system, the operation log is collected by the baseboard management controller on the test server, and the operation log is used to indicate the operation status of the test server;
[0096] A target operation log returned by the baseboard management controller in response to the log reporting instruction is received as the second operation information.
[0097] Optionally, in an embodiment of the present application, the operation log includes but is not limited to the operation log obtained by the baseboard management controller monitoring the operation process of the test server. The operation log includes but is not limited to recording the operation data information of the hardware devices including the processor on the test server. The operation log can be analyzed to determine whether the operation process of each stage of the test server is normal.
[0098] Through the above steps, the page service of the baseboard management controller is accessed through the first network interface to extract the operation log from the baseboard management controller, thereby avoiding the complete inability to obtain the operation information of the test server due to the abnormal startup of the operating system, and being able to indirectly view the operation status of the processor as the basis for analyzing the failure of the target performance test execution, and making the functional test resume execution as much as possible, thereby improving the efficiency of the board test.
[0099] As an optional implementation manner, locating the failure cause of the failure of the target operation performance test on the test server according to the second operation information includes:
[0100] Dividing the target operation log into operation stages and log sets having corresponding relationships, wherein the second operation information includes the target operation log, the target operation log is collected by the baseboard management controller before the test server runs to the target operation performance test failure, the target operation log is used to indicate the operation status of the test server, and the log set includes the operation log collected in the corresponding operation stage;
[0101] The server component position that causes the target running performance test execution failure in each running stage and the server component failure generated at the server component position are extracted from the running stages and log sets with corresponding relationships as the failure cause.
[0102] Through the above steps, the cause of failure can be located more accurately based on the running stage and running log. After the correct cause of failure is handled, the functional test can be further restored to normal execution as soon as possible, thereby improving the efficiency of board testing.
[0103] As an optional implementation, the test management system includes a test management application and an interface connector, wherein the test management application is deployed on the diagnostic server, the interface connector includes a wide area network interface, a first local area network interface, and a second local area network interface, the wide area network interface is connected to the test management application by connecting to the third network interface, the first local area network interface is connected to the first network interface, and the second local area network interface is connected to the second network interface;
[0104] The obtaining of the monitoring request comprises: receiving the monitoring request through the test management application, wherein a remote control connection is established between the test management application and the test server through the interface connector;
[0105] The extracting the first operation information of the processor from the processor through the second network interface comprises: the test management application sends a first extraction instruction to the interface connector through the remote control connection, wherein the first extraction instruction is used to instruct to extract the first operation information of the processor; routing the first extraction instruction to the second network interface through the interface connector; receiving the first operation information through the interface connector and sending the first operation information to the test management application;
[0106] The detecting, according to the first operation information, a target test state of a target operation performance test executed by the diagnostic server on the board to be tested comprises: detecting, by the test management application, the target test state according to the first operation information;
[0107] The extracting the second operation information of the processor from the baseboard management controller through the first network interface comprises: the test management application sends a second extraction instruction to the interface connector through the remote control connection, wherein the second extraction instruction is used to instruct to extract the second operation information of the processor; routing the second extraction instruction to the first network interface through the interface connector; receiving the second operation information through the interface connector and sending the second operation information to the test management application;
[0108] The locating the failure cause of the target operation performance test failure on the test server according to the second operation information includes: locating the failure cause of the target operation performance test failure on the test server according to the second operation information through the test management application.
[0109] Optionally, in the embodiments of the present application, Figure 3 is an internal logic diagram of an interface connector according to an embodiment of the present application, such as Figure 3As shown, the interface connector is powered by Type-C to provide the power required for the entire device. It can also transmit and communicate data with the CPU via the UART serial port through Type-C; the CPU uses a processor with a processing frequency of 880MHz, MIPS architecture, and uses the OpenWrt system; Falsh has 64M storage space for OS system storage; the memory uses 512M memory to ensure that there is enough memory space when the system is running; the network chip has high-speed network data processing capabilities; the external interface has a USB2.0 and a USB3.0 interface, which has the ability to connect USB devices such as U disks; the three network ports are 1 WAN port for accessing the production line network and communicating with the diagnostic server, and the two LAN ports are respectively connected to the BMC (baseboard management controller) of the test machine (i.e., the test server) and the OS (corresponding to the processor of the test server) network port.
[0110] Optionally, in the embodiments of the present application, Figure 4 is a schematic diagram of a test management system arrangement connection scheme according to an embodiment of the present application, such as Figure 4 As shown, the test management application is deployed on the diagnostic server, and the interface connector is connected to the production line network through Wan, so that the interface connector can communicate with the diagnostic server. The OS network port and BMC network port of the test machine are connected through the two network interfaces Lan1 and Lan2, so that the interface connector can communicate with the OS and BMC of the test machine. Port forwarding is used to enable the production line network to access the OS and BMC of the test machine through the interface connector port, where port forwarding follows the port forwarding rules shown in Table 1.
[0111] Table 1
[0112]
[0113] Optionally, in an embodiment of the present application, based on the connection scheme arranged by the test management system and the port forwarding function of the test management system, engineers can query the interface connector IP and the OS and BMC status of the test management system through the diagnostic server, and access the OS or BMC service through the open port of the interface connector IP. Figure 5 Schematic diagram of a method for remotely connecting to a test machine OS according to an embodiment of the present application. Figure 5 As shown, remote SSH connection can be made through the following:
[0114] Linux debian XXXbsk.business.4-amd64#XXXbsk.business.4SMPDebian XXXbsk.4Thu Aug 306:x86_64
[0115] The programs included with the Debian GNU / Linux system are freesoftware;
[0116] the exact distribution terms for each program are described in theindividual files in / usr / share / doc / * / copyright.
[0117] Debian GNU / Linux comes with ABSOLUTELY NO WARRANTY.to the extentpermitted by applicable law.
[0118] Last login:Tue Jun 11 21:56:57 2024from XXXX.XXXX.XXXX.XXXX root@debian:~
[0119] Figure 6 It is a schematic diagram of an IPMI service method for a process to access a BMC according to an embodiment of the present application. Figure 7 It is a schematic diagram of a web service method for a process to access a BMC of a test machine according to an embodiment of the present application. Figure 8 This is a schematic diagram of a web service for accessing the BMC of a test machine according to an embodiment of the present application. After the BMC device information is reported to the diagnostic server through the interface connector, the diagnostic server can directly access the BMC through the 1443 port of the interface connector, and after logging into the BMC through the automated program, complete the one-click log collection of the BMC. This operation does not require OS startup, and does not require any program to be implanted in the test machine, and the diagnostic server and the interface connector can complete this task.
[0120] Optionally, an embodiment of the present application also provides a method for monitoring the operation status of a test server, by which a test management system does not diagnose server interactions, and monitors and records the operation status of the test server in real time. Fig. 9 FIG. 1 is a flow chart of a test management system and a diagnostic server interaction according to an embodiment of the present application. Fig. 9 As shown, the test management system can report the running status of the test server to the diagnostic server by implementing the following functions:
[0121] (1) Power-on message reporting: After the test management system is powered on, it automatically reports the power-on message to the diagnostic server. The message format is as follows:
[0122] {'Action':'PowerOn',--Action: power on message
[0123] 'FIX_ID':'XXXX-XX',--The machine number of the machine where the current test management system is located
[0124] 'IP':'XXXX.XXXX.XXXX.XXXX',--IP of the current test management system
[0125] 'Location':'XX-XX-XX', the location of the test machine
[0126] 'MaintenanceTime':'2023-09-16 15:31:41', test machine information maintenance time
[0127] 'PNs':['XXXX','XXXX','XXXX'],--testable boards
[0128] (2) Heartbeat message reporting: After the test management system is turned on, it will report a heartbeat message every 30 seconds. The heartbeat format is as follows:
[0129] {'Action':'HeartBeat',--Action: heartbeat message
[0130] 'FIX_ID':'XXXX-XX',
[0131] 'IP':'XXXX.XXXX.XXXX.XXXX',
[0132] 'Version':'XX',
[0133] 'time':'2024-03-19 09:08:15' – The time when the heartbeat message is sent
[0134] }
[0135] (3) Device access message reporting: Get the IP address of the newly added device according to the device list in the routing table, and check whether the newly added device has port 443 open. If port 443 is open, it is considered to be the BMC. If port 443 is not open, it is considered to be the OS. The format of the newly added device message is as follows:
[0136] {'Action':'DeviceAccess', --Action: Device access
[0137] 'DeviceInfo':{'IP':'XXXX.XXXX.XXXX.XXXX',--IP assigned by LAN
[0138] 'MAC':'XXXXX',--MAC address of OS
[0139] 'PortForwards':{'ssh':('22','1022')},--Port forwarding, forwarding OS port 22 to test management system port 1022
[0140] 'Type':'OS'--Access is to the IP address of the OS
[0141] },
[0142] 'FIX_ID':'XXXX-XX',
[0143] 'IP':'XXXX.XXXX.XXXX.XXXX',
[0144] 'Version':'XX',
[0145] 'time':'2024-03-19 09:09:12'
[0146] }
[0147] (4) Device offline message reporting:
[0148] When the OS or BMC is shut down and the network is disconnected, the test management system detects that the device has changed from the connected state to the offline state, and sends a device offline message to the diagnostic server. The format of the device offline message report is as follows:
[0149] {'Action':'DeviceOffline', --Action: Device offline
[0150] 'DeviceInfo':{'IP':'XXXX.XXXX.XXXX.XXXX','MAC':'XXXXX','Type':'OS'},
[0151] 'FIX_ID':'XXXX-XX',
[0152] 'IP':'XXXX.XXXX.XXXX.XXXX',
[0153] 'Version':'XX',
[0154] 'time':'2024-03-1910:25:10'}
[0155] (5) Shutdown message reporting:
[0156] When the test management system shuts down, it sends a shutdown message to the diagnostic server. The message format is as follows:
[0157] {'Action': 'PowerOff', -- Action: Power off
[0158] 'FIX_ID': 'XXXX-XX',
[0159] 'IP': 'XXXX.XXXX.XXXX.XXXX'.
[0160] 'Version': 'XX',
[0161] 'time':'2024-03-1911:45:21'
[0162] }
[0163] Through the above functions, the test management system provides network access services for the BMC and OS of the test machine by providing routing services, and when the OS or BMC network access is found, it reports the diagnostic server's own IP, access status, and machine information. At this time, the diagnostic server records and displays the network access status of the machine. When the OS or BMC network is disconnected from the test management system, the test management system reports the OS or BMC offline message, and the diagnostic server displays the offline status of the test machine. The diagnostic server can obtain the IP of the test management system through the status reported by the test management system. The test management system maps the OS ssh service and BMC IPMI service and Web service through port mapping. The diagnostic server can access the BMC through the BMC Web service port mapped by the test management system, so that the purpose of accessing the BMC Web page and obtaining the current test machine equipment and operation information can be achieved without booting the test machine motherboard to enter the OS. In addition, when the test can be performed normally but the test process needs to be debugged, since the diagnostic server records the precise machine number, OS and BMC IP, the diagnostic engineer can remotely log in to the BMC or OS for debugging. In most cases, there is no need to find the machine on site to debug and analyze the problem, which improves the efficiency of board testing.
[0164] Optionally, the solution provided in this application can be applied to board diagnostic testing, that is, the OS and BMC can be connected to the production line network at the same time through a network cable, reducing the wiring and maintenance costs of the factory production line. This application realizes that the network status of the test machine can be uploaded to the diagnostic server without relying on OS startup, and then the test machine network server is announced to engineers for debugging and analysis, so that engineers do not have to run between the various machines on the production line, and can remotely debug and analyze test machine problems. This application also realizes that in the event of an abnormality of the test machine, the diagnostic server can obtain the test machine status through the B MC network to facilitate the analysis of abnormal problems.
[0165] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0166] In the present embodiment, a monitoring device for board test is also provided, the board test system includes a test server and a diagnostic server, the test server is connected to the diagnostic server, the test server is used to run the board to be tested, the diagnostic server is used to test the running performance of the board to be tested, a baseboard management controller and a processor are deployed on the test server, the processor is used to perform running performance test on the board to be tested according to the instructions of the diagnostic server, the device is applied to a test management system, the test management system is connected to the first network interface of the baseboard management controller, the second network interface of the processor and the third network interface of the diagnostic server, the test management system provides a network connection for the baseboard management controller and the processor through the diagnostic server, the device is used to implement the above-mentioned embodiment and preferred implementation mode, and the description has been made no more. As used below, the term "module" can realize a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware, or the implementation of a combination of software and hardware is also possible and conceived.
[0167] Fig.10 is a structural block diagram of a monitoring device for board card testing according to an embodiment of the present application, such as Fig.10 As shown, the device comprises:
[0168] The acquisition module 1002 is used to acquire a monitoring request, wherein the monitoring request is used to request monitoring of the running performance test executed in the board test system;
[0169] A first extraction module 1004, configured to respond to the monitoring request and extract first operation information of the processor from the processor through the second network interface, wherein the first operation information is used to indicate the operation status of the processor;
[0170] A detection module 1006, configured to detect a target test state of a target operation performance test executed by the diagnostic server on the board to be tested according to the first operation information;
[0171] A second extraction module 1008 is used to extract second operation information of the processor from the baseboard management controller through the first network interface when the target test status indicates that the target operation performance test fails to be executed, wherein the second operation information is the operation information of the processor collected by the baseboard management controller;
[0172] The positioning module 10 10 is used to locate the failure reason causing the failure of the target operation performance test on the test server according to the second operation information.
[0173] Through the above steps, since the board test system includes a test server and a diagnostic server, the test server is connected to the diagnostic server, the test server is used to run the board to be tested, the diagnostic server is used to test the running performance of the board to be tested, the baseboard management controller and the processor are deployed on the test server, the processor is used to perform running performance tests on the board to be tested according to the instructions of the diagnostic server, the test management system is connected to the first network interface of the baseboard management controller, the second network interface of the processor and the third network interface of the diagnostic server, the test management system provides a network connection for the baseboard management controller and the processor through the diagnostic server, obtains a monitoring request for requesting monitoring of the running performance test executed in the board test system, responds to the monitoring request, extracts first running information of the processor for indicating the running status of the processor from the processor through the second network interface, detects the target test status of the target running performance test executed by the diagnostic server on the board to be tested according to the first running information, and when the target test status is used to indicate that the target running performance test fails to be executed, the test management system performs the following steps: A network interface extracts second operating information of the processor from the baseboard management controller, the second operating information is the operating information of the processor collected by the baseboard management controller, and the failure cause of the failure of the target operating performance test is located on the test server according to the second operating information, that is, the test management system extracts the first operating information of the processor through the second network interface of the processor, so as to timely determine the test status of the target operating performance test executed on the board to be tested, and timely discover when the target operating performance test fails to execute. When it is determined that the target operating performance test fails to execute, the second operating information of the processor can be extracted from the baseboard management controller through the first network interface of the baseboard management controller, and the cause of the failure of the target operating performance test is analyzed based on the operating information, and the problem of the failure of the target operating performance test is handled in time, thereby avoiding the reduction of the board test efficiency caused by the inability to timely discover the test execution failure and the inability to timely handle the test execution failure. Therefore, the problem of low efficiency of board testing can be solved, and the effect of improving the efficiency of board testing can be achieved.
[0174] As an optional embodiment, the detection module includes:
[0175] a first detection unit, configured to detect a network connection state of the processor according to a network parameter of the processor, wherein the network connection state is used to indicate a network connection status of the processor, and the first operation information includes the network parameter;
[0176] A second detection unit, configured to detect a system startup state of the operating system on the processor according to the network connection state, wherein the system startup state is used to indicate a startup status of the operating system;
[0177] A determination unit is used to determine the target test state according to the system startup state.
[0178] Optionally, the second detection unit is further used to: when the network connection status is used to indicate that the processor has a network connection, determine that the system startup status is used to indicate that the operating system has been started; when the network connection status is used to indicate that the processor does not have a network connection, determine that the system startup status is used to indicate that the operating system has not been started;
[0179] Optionally, the determination unit is further used to: when the system startup status is used to indicate that the operating system has been started, determine that the target test status is used to indicate that the target running performance test has not failed; when the system startup status is used to indicate that the operating system has not been started, determine that the target test status is used to indicate that the target running performance test has failed.
[0180] As an optional embodiment, an operating system is installed on the processor, the processor is used to obtain the target running performance test from the diagnostic server, and the operating system is used to start running on the processor and execute the target running performance test on the board to be tested; the first extraction module includes: a monitoring unit, which is used to monitor the second network interface when it is determined that the second network interface is connected;
[0181] A collection unit is used to collect network parameters of the processor from the second network interface as the first operating information, wherein the network parameters are parameters generated in the process of the processor establishing a network connection through the second network interface, and the processor is configured to establish a network connection through the second network interface after the operating system is successfully started, and the system startup state of the operating system represents the test state of the target operation performance test.
[0182] As an optional embodiment, the second extraction module includes:
[0183] An access unit, configured to access a page service of the baseboard management controller through the first network interface;
[0184] A first sending unit, configured to send a log reporting instruction to the page service, wherein the log reporting instruction is used to instruct the baseboard management controller to report an operation log to the test management system, the operation log is collected by the baseboard management controller on the test server, and the operation log is used to indicate the operation status of the test server;
[0185] The first receiving unit is configured to receive a target operation log returned by the baseboard management controller in response to the log reporting instruction as the second operation information.
[0186] As an optional embodiment, the positioning module includes:
[0187] a dividing unit, configured to divide a target operation log into operation stages and log sets having corresponding relationships, wherein the second operation information includes the target operation log, the target operation log is collected by the baseboard management controller before the test server runs to the target operation performance test failure, the target operation log is used to indicate the operation status of the test server, and the log set includes the operation log collected in the corresponding operation stage;
[0188] The extraction unit is used to extract the server component position that causes the failure of the target running performance test in each running stage and the server component failure generated at the server component position as the failure cause from the running stages and log sets with corresponding relationships.
[0189] As an optional embodiment, the test management system includes a test management application and an interface connector, wherein the test management application is deployed on the diagnostic server, the interface connector includes a wide area network interface, a first local area network interface, and a second local area network interface, the wide area network interface is connected to the test management application by connecting to the third network interface, the first local area network interface is connected to the first network interface, and the second local area network interface is connected to the second network interface;
[0190] The acquisition module comprises: a second receiving unit, configured to receive the monitoring request through the test management application, wherein a remote control connection is established between the test management application and the test server through the interface connector;
[0191] The first extraction module includes: a second sending unit, configured to send a first extraction instruction from the test management application to the interface connector through the remote control connection, wherein the first extraction instruction is used to instruct to extract the first operation information of the processor; a first routing unit, configured to route the first extraction instruction to the second network interface through the interface connector; and a third receiving unit, configured to receive the first operation information through the interface connector and send the first operation information to the test management application;
[0192] The detection module includes: a third detection unit, configured to detect the target test status according to the first operation information through the test management application;
[0193] The second extraction module includes: a third sending unit, configured to send a second extraction instruction to the interface connector through the remote control connection by the test management application, wherein the second extraction instruction is used to instruct to extract the second operation information of the processor; a second routing unit, configured to route the second extraction instruction to the first network interface through the interface connector; and a fourth receiving unit, configured to receive the second operation information through the interface connector and send the second operation information to the test management application;
[0194] The positioning module includes: a positioning unit, which is used to locate the failure reason that causes the failure of the target running performance test to be executed on the test server according to the second running information through the test management application.
[0195] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.
[0196] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0197] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0198] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0199] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0200] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any one of the above method embodiments are implemented.
[0201] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0202] An embodiment of the present application also provides a computer program, which includes computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the steps in any one of the above method embodiments.
[0203] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0204] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0205] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A monitoring method for board test, characterized in that: The board test system includes a test server and a diagnostic server, the test server is connected to the diagnostic server, the test server is used to run the board to be tested, the diagnostic server is used to test the running performance of the board to be tested, a baseboard management controller and a processor are deployed on the test server, the processor is used to perform a running performance test on the board to be tested according to the instruction of the diagnostic server, the method is applied to a test management system, the test management system is connected to a first network interface of the baseboard management controller, a second network interface of the processor and a third network interface of the diagnostic server, the test management system provides a network connection for the baseboard management controller and the processor through the diagnostic server, and the method includes: Obtaining a monitoring request, wherein the monitoring request is used to request monitoring of a running performance test executed in the board test system; In response to the monitoring request, extracting first operation information of the processor from the processor through the second network interface, wherein the first operation information is used to indicate the operation status of the processor; Detecting a target test state of a target operation performance test executed by the diagnostic server on the board to be tested according to the first operation information; When the target test status indicates that the target operation performance test fails to be executed, extracting second operation information of the processor from the baseboard management controller through the first network interface, wherein the second operation information is operation information of the processor collected by the baseboard management controller; The failure cause of the failure of executing the target running performance test is located on the test server according to the second running information.
2. The method according to claim 1, characterized in that: The step of detecting a target test state of a target operation performance test executed by the diagnostic server on the board to be tested according to the first operation information includes: detecting a network connection state of the processor according to a network parameter of the processor, wherein the network connection state is used to indicate a network connection status of the processor, and the first operation information includes the network parameter; Detecting a system startup state of the operating system on the processor according to the network connection state, wherein the system startup state is used to indicate a startup status of the operating system; The target test state is determined according to the system startup state.
3. The method according to claim 2, characterized in that The detecting the system startup state of the operating system on the processor according to the network connection state includes: when the network connection state is used to indicate that the processor has a network connection, determining that the system startup state is used to indicate that the operating system has been started; when the network connection state is used to indicate that the processor does not have a network connection, determining that the system startup state is used to indicate that the operating system has not been started; Determining the target test status based on the system startup status includes: when the system startup status is used to indicate that the operating system has been started, determining that the target test status is used to indicate that the target running performance test has not failed to execute; when the system startup status is used to indicate that the operating system has not been started, determining that the target test status is used to indicate that the target running performance test has failed to execute.
4. The method according to claim 1, characterized in that: An operating system is installed on the processor, the processor is used to obtain the target operation performance test from the diagnostic server, and the operating system is used to start running on the processor and execute the target operation performance test on the board to be tested; The extracting the first operation information of the processor from the processor through the second network interface includes: In a case where it is determined that the second network interface is connected, monitoring the second network interface; The network parameters of the processor are collected from the second network interface as the first operating information, wherein the network parameters are parameters generated in the process of the processor establishing a network connection through the second network interface, the processor is configured to establish a network connection through the second network interface after the operating system is successfully started, and the system startup state of the operating system represents the test state of the target operation performance test.
5. The method according to claim 1, characterized in that The extracting the second operation information of the processor from the baseboard management controller through the first network interface includes: Accessing a page service of the baseboard management controller through the first network interface; Sending a log reporting instruction to the page service, wherein the log reporting instruction is used to instruct the baseboard management controller to report an operation log to the test management system, the operation log is collected by the baseboard management controller on the test server, and the operation log is used to indicate the operation status of the test server; A target operation log returned by the baseboard management controller in response to the log reporting instruction is received as the second operation information.
6. The method according to claim 1, characterized in that The locating, on the test server, a failure reason causing the target running performance test to fail to execute according to the second running information, includes: Dividing the target operation log into operation stages and log sets having corresponding relationships, wherein the second operation information includes the target operation log, the target operation log is collected by the baseboard management controller before the test server runs to the target operation performance test failure, the target operation log is used to indicate the operation status of the test server, and the log set includes the operation log collected in the corresponding operation stage; The server component position that causes the target running performance test execution failure in each running stage and the server component failure generated at the server component position are extracted from the running stages and log sets with corresponding relationships as the failure cause.
7. The method according to claim 1, characterized in that The test management system includes a test management application and an interface connector, wherein the test management application is deployed on the diagnostic server, the interface connector includes a wide area network interface, a first local area network interface, and a second local area network interface, the wide area network interface is connected to the test management application by connecting to the third network interface, the first local area network interface is connected to the first network interface, and the second local area network interface is connected to the second network interface; The obtaining of the monitoring request comprises: receiving the monitoring request through the test management application, wherein a remote control connection is established between the test management application and the test server through the interface connector; The extracting the first operation information of the processor from the processor through the second network interface comprises: the test management application sends a first extraction instruction to the interface connector through the remote control connection, wherein the first extraction instruction is used to instruct to extract the first operation information of the processor; routing the first extraction instruction to the second network interface through the interface connector; receiving the first operation information through the interface connector and sending the first operation information to the test management application; The detecting, according to the first operation information, a target test state of a target operation performance test executed by the diagnostic server on the board to be tested comprises: detecting, by the test management application, the target test state according to the first operation information; The extracting the second operation information of the processor from the baseboard management controller through the first network interface comprises: the test management application sends a second extraction instruction to the interface connector through the remote control connection, wherein the second extraction instruction is used to instruct to extract the second operation information of the processor; routing the second extraction instruction to the first network interface through the interface connector; receiving the second operation information through the interface connector and sending the second operation information to the test management application; The locating the failure cause of the target operation performance test failure on the test server according to the second operation information includes: locating the failure cause of the target operation performance test failure on the test server according to the second operation information through the test management application.
8. A monitoring device for board test, characterized in that: The board test system includes a test server and a diagnostic server, wherein the test server is connected to the diagnostic server, the test server is used to run the board to be tested, and the diagnostic server is used to test the running performance of the board to be tested. A baseboard management controller and a processor are deployed on the test server, and the processor is used to perform a running performance test on the board to be tested according to the instructions of the diagnostic server. The device is applied to a test management system, and the test management system is connected to a first network interface of the baseboard management controller, a second network interface of the processor, and a third network interface of the diagnostic server. The test management system provides a network connection for the baseboard management controller and the processor through the diagnostic server. The device includes: An acquisition module, used for acquiring a monitoring request, wherein the monitoring request is used for requesting monitoring of a running performance test executed in the board test system; a first extraction module, configured to respond to the monitoring request and extract first operation information of the processor from the processor through the second network interface, wherein the first operation information is used to indicate the operation status of the processor; A detection module, configured to detect a target test state of a target operation performance test executed by the diagnostic server on the board to be tested according to the first operation information; A second extraction module is used to extract second operation information of the processor from the baseboard management controller through the first network interface when the target test status indicates that the target operation performance test fails to be executed, wherein the second operation information is the operation information of the processor collected by the baseboard management controller; A positioning module is used to locate the failure reason causing the failure of the target operation performance test on the test server according to the second operation information.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 7 when executed by a processor.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 7 are implemented.
