Method for testing complete machine of server

By comparing and testing the server model and production parameters, the problem of low testing efficiency of server whole machine in the existing technology is solved, and the server is tested and adjusted to adapt to different application environments, improving the application scope and quality of the product.

CN119415372APending Publication Date: 2025-02-11CHENGDU LONGDENGKAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411437108.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-15
Publication Date
2025-02-11

AI Technical Summary

Technical Problem

The prior art is difficult to conduct efficient and rapid overall machine testing before the server leaves the factory to ensure that the product can adapt to different application environments.

Method used

Standard parameters are compared and tested by obtaining server model and production parameters. If passed, perform performance and heat dissipation tests, adjust operating parameters according to the test results to ensure that the server adapts to different application environments.

Benefits of technology

It realizes standard testing and adaptability testing of production-completed servers, improving the application scope and quality of the product.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119415372A_ABST
    Figure CN119415372A_ABST
Patent Text Reader

Abstract

The invention relates to the test field, and discloses a server complete machine test method comprising the following steps: obtaining a produced server model and a server production parameter, obtaining a server standard parameter corresponding to the server model from a cloud data server according to the obtained produced server model, comparing the server production parameters with the server standard parameters; performing standard testing on the server, obtaining destination information of the server, obtaining a heat dissipation mode in standard parameters of the server according to the destination information, performing performance and heat dissipation testing on the server according to the heat dissipation mode, and obtaining operation parameters of the corresponding heat dissipation mode of the server; and transmitting the obtained server operation parameters to the server standard parameters of the corresponding server model in the cloud data server to complete the server test. According to the invention, standard testing can be carried out on the produced server, testing of different product application areas can be adapted, and the application range of the product is widened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of industrial testing, and in particular to a method for testing a complete server. Background Art

[0002] The server is used for data collection and transmission. Due to various factors such as the different application environments of the server and the various production environments, the server may not meet the design / standard / function requirements. Therefore, before the server leaves the factory, its components and the whole need to be tested to verify whether it meets the design / standard requirements. Therefore, testing the server is one of the most important ways to ensure product quality.

[0003] Therefore, how to efficiently and quickly test the completed servers and ensure that the products can adapt to the application environment is a problem that current technicians need to solve. Summary of the invention

[0004] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a method for testing a server, comprising the following steps:

[0005] Step 1: Obtain the server model and server production parameters of the completed server. According to the obtained server model, obtain the server standard parameters of the corresponding server model from the cloud data server, compare the server production parameters with the server standard parameters, and proceed to step 2 if they are consistent.

[0006] Step 2: Perform standard test on the server. If the server passes the test, proceed to step 4; otherwise, proceed to step 3.

[0007] Step 3: Obtain the fault type that failed the test, troubleshoot the server components, and proceed to step 4;

[0008] Step 4: Get the server destination information, get the cooling mode in the server standard parameters according to the destination information, perform performance and cooling tests on the server according to the cooling mode, get the operating parameters of the server corresponding to the cooling mode, and transmit the obtained server operating parameters to the server standard parameters of the corresponding server model in the cloud data server to complete the server test.

[0009] Furthermore, the comparison of the server production parameters with the server standard parameters includes: component parameter comparison, each component is assigned a unique characteristic value, after the server production is completed, the characteristic values ​​of all components of the server are obtained, and the server production parameters are obtained, and the component characteristic values ​​in the server production parameters are compared with the component characteristic values ​​in the server standard parameters of the corresponding server model. If they are completely consistent, the comparison test passes.

[0010] Furthermore, the testing of the server element includes:

[0011] S1, obtain the production completion rate of the servers in the same batch. If the production completion rate is greater than the set production completion rate threshold, the production equipment is working normally and proceed to step 3. Otherwise, it is a production equipment failure and the production equipment is fault-detected and eliminated.

[0012] S2: Divide the same batch of servers from which the incomplete servers are excluded into multiple test groups according to the standard production duration, obtain the server qualification rate of each test group, and perform performance tests on the test groups whose qualification rate is greater than the set qualification rate threshold; then proceed to step 5; perform secondary tests on the test groups whose qualification rate is not greater than the set qualification rate, and then proceed to S3;

[0013] S3, obtain the production completion rate of the test group whose pass rate is not greater than the set pass rate. If the production completion rate is greater than the set production completion rate threshold, perform server screening to select fault-free servers and enter step four; if the production completion rate is not greater than the set production completion rate threshold, determine that the server in the test group is an accident product.

[0014] Further, the heat dissipation mode in the standard parameters of the server is obtained according to the destination information, and the performance and heat dissipation test of the server is performed according to the heat dissipation mode, and the heat dissipation mode includes a water cooling mode and an air cooling mode;

[0015] If it is a water cooling mode, then under the standard operating parameters of the cooling module, the server runs the test task, and the temperature and temperature rise rate obtained during the server running the test task are within the set thresholds. In this case, the operating parameters of the server in the water cooling mode are the standard operating parameters of the cooling module. Otherwise, the coolant flow rate and cooling power of the cooling module are adjusted so that the temperature and temperature rise rate during the server running the test task are within the set thresholds. The adjusted coolant flow rate and cooling power are the operating parameters of the server in the water cooling mode.

[0016] If it is air cooling mode, pre-adjust the air cooling module power according to the ambient temperature, and the server runs the test task. The temperature and temperature rise rate during the server test task are obtained. If they are both within the set thresholds, the operating parameters of the server in air cooling mode are the pre-adjusted air cooling module power. Otherwise, adjust the operating power of the air cooling module so that the temperature and temperature rise rate during the server test task are both within the set thresholds. The adjusted air cooling module power is the operating parameter of the server in air cooling mode.

[0017] The beneficial effect of the present invention is that through the technical solution provided by the present invention, standard testing can be carried out on the completed servers, and testing can be adapted to different product application areas, and corresponding adjustments can be made so that the products can be suitable for different areas, thereby improving the application scope of the products. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 A flow chart of a method for testing a server as a whole;

[0019] Figure 2 Schematic diagram of the test system principle for the method of performing server whole machine testing for application automation. DETAILED DESCRIPTION

[0020] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings, but the protection scope of the present invention is not limited to the following.

[0021] In order to make the purpose, technical solutions and advantages of the present invention more clear, the present invention is further described in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention, that is, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations.

[0022] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative work are within the scope of protection of the present invention. It should be noted that relational terms such as the terms "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations.

[0023] Moreover, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or apparatus that includes a list of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or apparatus. In the absence of more restrictions, an element defined by the phrase "comprises a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus that includes the element.

[0024] The features and performance of the present invention are further described in detail below in conjunction with the embodiments.

[0025] like Figure 1 As shown, a method for testing a server includes the following steps:

[0026] Step 1: Obtain the server model and server production parameters of the completed server. According to the obtained server model, obtain the server standard parameters of the corresponding server model from the cloud data server, compare the server production parameters with the server standard parameters, and proceed to step 2 if they are consistent.

[0027] Step 2: Perform standard test on the server. If the server passes the test, proceed to step 4; otherwise, proceed to step 3.

[0028] Step 3: Obtain the fault type that failed the test, troubleshoot the server components, and proceed to step 4;

[0029] Step 4: Get the server destination information, get the cooling mode in the server standard parameters according to the destination information, perform performance and cooling tests on the server according to the cooling mode, get the operating parameters of the server corresponding to the cooling mode, and transmit the obtained server operating parameters to the server standard parameters of the corresponding server model in the cloud data server to complete the server test.

[0030] The comparison of the server production parameters with the server standard parameters includes: component parameter comparison, each component is assigned a unique characteristic value, after the server is produced, the characteristic values ​​of all components of the server are obtained to obtain the server production parameters, and the component characteristic values ​​in the server production parameters are compared with the component characteristic values ​​in the server standard parameters of the corresponding server model. If they are completely consistent, the comparison test passes.

[0031] The testing of the server element includes:

[0032] S1, obtain the production completion rate of the servers in the same batch. If the production completion rate is greater than the set production completion rate threshold, the production equipment is working normally and proceed to step 3. Otherwise, it is a production equipment failure and the production equipment is fault-detected and eliminated.

[0033] S2: Divide the same batch of servers from which the incomplete servers are excluded into multiple test groups according to the standard production duration, obtain the server qualification rate of each test group, and perform performance tests on the test groups whose qualification rate is greater than the set qualification rate threshold; then proceed to step 5; perform secondary tests on the test groups whose qualification rate is not greater than the set qualification rate, and then proceed to S3;

[0034] S3, obtain the production completion rate of the test group whose pass rate is not greater than the set pass rate. If the production completion rate is greater than the set production completion rate threshold, perform server screening to select fault-free servers and enter step four; if the production completion rate is not greater than the set production completion rate threshold, determine that the server in the test group is an accident product.

[0035] The heat dissipation mode in the standard parameters of the server is obtained according to the destination information, and the performance and heat dissipation test of the server is performed according to the heat dissipation mode, wherein the heat dissipation mode includes a water cooling mode and an air cooling mode;

[0036] If it is a water cooling mode, then under the standard operating parameters of the cooling module, the server runs the test task, and the temperature and temperature rise rate obtained during the server running the test task are within the set thresholds. In this case, the operating parameters of the server in the water cooling mode are the standard operating parameters of the cooling module. Otherwise, the coolant flow rate and cooling power of the cooling module are adjusted so that the temperature and temperature rise rate during the server running the test task are within the set thresholds. The adjusted coolant flow rate and cooling power are the operating parameters of the server in the water cooling mode.

[0037] If it is air cooling mode, pre-adjust the air cooling module power according to the ambient temperature, and the server runs the test task. The temperature and temperature rise rate during the server test task are obtained. If they are both within the set thresholds, the operating parameters of the server in air cooling mode are the pre-adjusted air cooling module power. Otherwise, adjust the operating power of the air cooling module so that the temperature and temperature rise rate during the server test task are both within the set thresholds. The adjusted air cooling module power is the operating parameter of the server in air cooling mode.

[0038] A server whole machine testing system using a method for testing a server whole machine includes a cloud data server, a server production parameter acquisition module, a communication module, a heat dissipation test module, a data storage module, a data processing module, and a server fault detection module;

[0039] The server production parameter acquisition module, communication module, heat dissipation test module, data storage module, and server fault detection module are respectively connected to the data processing module, and the cloud data server is communicatively connected to the communication module.

[0040] The heat dissipation test module includes a water cooling test module, an air cooling test module, and a heat dissipation test control module; the water cooling test module and the air cooling test module are respectively connected to the heat dissipation test control module, and the heat dissipation test control module is connected to the data processing module.

[0041] The server fault detection module comprises a component test module and a production completeness detection module; the component test module and the production completeness detection module are respectively connected to the data processing module.

[0042] The component tests include:

[0043] By obtaining information such as the model, capacity, quantity, slot location, etc. of memory, hard disk, CPU, and external card, and comparing them with the standard parameters of the server: if all are consistent, output OK to the log; if not, output fail information to the log. If the log outputs fail, it means that the existing server hardware configuration is different from the configuration in the manufacturing system. It is necessary to check whether the hardware installation is consistent with the production management system or the hardware fails and cannot be identified and needs to be replaced;

[0044] Use the fio open source tool to perform performance testing on the hard disk: 1. Get the SN, slot and drive letter information of all hard disks in the server. 2. Send fio stress performance test to the hard disk (fio--name=myjob_{sdname}--filename={sdname}--ioengine=sg--direct=1--bs=4k--rw=randrw--iodepth=32--rwmixread=0--smr_disk=1--runtime={duration_time}--time_based--norandommap--group_reporting>{sn}_log.txt 2>&1') 3. Check whether the test results have passed the fio test. If the test values ​​are all met, output OK to the log; if there are fail items, output the faiI information to the log. If the log outputs fail, it means that the disk read and write performance is faulty and the hard disk needs to be replaced;

[0045] Use PI calculation to perform performance test on CPU: 1. Get the current CPU usage. 2. Perform stress test (stress-c{threadnum}-t 300) through open source tool stress and get the test results. If all test values ​​are met, output OK to log; if there are failed items, output the fail information to log. If the test fails, it means that the CPU performance is faulty and the CPU needs to be replaced;

[0046] Perform performance test on memory: 1. Obtain information about remaining memory capacity and CPU control memory information. 2. Perform memtester test and collect logs. If all test values ​​are met, output OK to the log; if there are failed items, output the fail information to the log. If the memory fails, it means that the memory is faulty and needs to be replaced.

[0047] Organize the test log and upload the test result data of each component to the test platform. If there is a fail item, output the relevant fail information.

[0048] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.

Claims

1. A method for testing a server, characterized in that: The steps include: Step 1: Obtain the server model and server production parameters of the completed server. According to the obtained server model, obtain the server standard parameters of the corresponding server model from the cloud data server, compare the server production parameters with the server standard parameters, and proceed to step 2 if they are consistent. Step 2: Perform standard test on the server. If the server passes the test, proceed to step 4; otherwise, proceed to step 3. Step 3, obtain the fault type that failed the test, troubleshoot the server components, and proceed to step 4; Step 4: Get the server destination information, get the cooling mode in the server standard parameters according to the destination information, perform performance and cooling tests on the server according to the cooling mode, get the operating parameters of the server corresponding to the cooling mode, and transmit the obtained server operating parameters to the server standard parameters of the corresponding server model in the cloud data server to complete the server test.

2. A method for testing a server as claimed in claim 1, characterized in that: The comparison of the server production parameters with the server standard parameters includes: component parameter comparison, each component is assigned a unique characteristic value, after the server is produced, the characteristic values ​​of all components of the server are obtained to obtain the server production parameters, and the component characteristic values ​​in the server production parameters are compared with the component characteristic values ​​in the server standard parameters of the corresponding server model. If they are completely consistent, the comparison test passes.

3. A method for testing a server as claimed in claim 2, characterized in that: The testing of the server element includes: S1, obtain the production completion rate of the servers in the same batch. If the production completion rate is greater than the set production completion rate threshold, the production equipment is working normally and proceed to step 3. Otherwise, it is a production equipment failure and the production equipment is fault-detected and eliminated. S2: Divide the same batch of servers from which the incomplete servers are excluded into multiple test groups according to the standard production duration, obtain the server qualification rate of each test group, and perform performance tests on the test groups whose qualification rate is greater than the set qualification rate threshold; then proceed to step 5; perform secondary tests on the test groups whose qualification rate is not greater than the set qualification rate, and then proceed to S3; S3, obtain the production completion rate of the test group whose pass rate is not greater than the set pass rate. If the production completion rate is greater than the set production completion rate threshold, perform server screening to select fault-free servers and enter step four; if the production completion rate is not greater than the set production completion rate threshold, determine that the server in the test group is an accident product.

4. A method for testing a server as claimed in claim 3, characterized in that: The heat dissipation mode in the standard parameters of the server is obtained according to the destination information, and the performance and heat dissipation test of the server is performed according to the heat dissipation mode, wherein the heat dissipation mode includes a water cooling mode and an air cooling mode; If it is a water cooling mode, then under the standard operating parameters of the cooling module, the server runs the test task, and the temperature and temperature rise rate obtained during the server running the test task are within the set thresholds. In this case, the operating parameters of the server in the water cooling mode are the standard operating parameters of the cooling module. Otherwise, the coolant flow rate and cooling power of the cooling module are adjusted so that the temperature and temperature rise rate during the server running the test task are within the set thresholds. The adjusted coolant flow rate and cooling power are the operating parameters of the server in the water cooling mode. If it is air cooling mode, pre-adjust the air cooling module power according to the ambient temperature, and the server runs the test task. The temperature and temperature rise rate during the server test task are obtained. If they are both within the set thresholds, the operating parameters of the server in air cooling mode are the pre-adjusted air cooling module power. Otherwise, adjust the operating power of the air cooling module so that the temperature and temperature rise rate during the server test task are both within the set thresholds. The adjusted air cooling module power is the operating parameter of the server in air cooling mode.