CN113434353A - Server testing method and device, electronic equipment and storage medium - Google Patents

Server testing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113434353A
CN113434353A CN202110887676.7A CN202110887676A CN113434353A CN 113434353 A CN113434353 A CN 113434353A CN 202110887676 A CN202110887676 A CN 202110887676A CN 113434353 A CN113434353 A CN 113434353A
Authority
CN
China
Prior art keywords
server
information
software
tested
hardware
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110887676.7A
Other languages
Chinese (zh)
Inventor
刘振锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lthpc Beijing Technology Co ltd
Original Assignee
Lthpc Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lthpc Beijing Technology Co ltd filed Critical Lthpc Beijing Technology Co ltd
Priority to CN202110887676.7A priority Critical patent/CN113434353A/en
Publication of CN113434353A publication Critical patent/CN113434353A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Abstract

The disclosure provides a test method and device of a server, electronic equipment and a storage medium. The specific implementation scheme is as follows: acquiring actual software and hardware basic information of at least two servers to be tested with different configurations, and verifying or updating the actual software and hardware information; and after the verification or the updating of the actual software and hardware information is finished, sequentially testing the basic functions and the whole stability of the server to be tested according to the configuration of the server to be tested. The scheme disclosed by the invention improves the test efficiency of the server with diversified configurations in small batch.

Description

Server testing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for testing a server, an electronic device, and a storage medium.
Background
The server is a device for providing high-reliability computing service, and is mainly applied to application occasions such as high-performance computing, network service, data storage and the like.
The basic configuration of a conventional server is generally the same in mass production, and therefore, a solidified test program is generally used to perform a batch test on the same configured server. However, this test method cannot meet the test requirements of small-lot and diversified server configurations.
Disclosure of Invention
The disclosure provides a server testing method, a server testing device, electronic equipment and a storage medium, so as to achieve the purpose of quickly testing small-batch servers with different configurations.
According to an aspect of the present disclosure, there is provided a method for testing a server, including:
acquiring actual software and hardware basic information of at least two servers to be tested with different configurations, and verifying or updating the actual software and hardware information;
and after the verification or the updating of the actual software and hardware information is finished, sequentially testing the basic functions and the whole stability of the server to be tested according to the configuration of the server to be tested.
According to another aspect of the present disclosure, there is provided a test apparatus of a server, including:
the information acquisition and verification module is used for acquiring actual software and hardware basic information of at least two servers to be tested with different configurations and verifying or updating the actual software and hardware information;
and the test module is used for sequentially testing the basic functions and the overall stability of the server to be tested according to the configuration of the server to be tested after the verification or the upgrade and update of the actual software and hardware information are completed.
According to another aspect of the present disclosure, there is provided an electronic device including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform a method of testing a server according to any embodiment of the disclosure.
According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform a method of testing a server of any embodiment of the present disclosure.
According to the technology disclosed by the invention, the test efficiency of the small-batch and diversified-configuration servers is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a schematic diagram of a flow of a testing method of a server according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a flow of a testing method for a server according to an embodiment of the present disclosure;
FIG. 3 is a logic flow diagram of a method for testing a server according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a testing apparatus of a server according to an embodiment of the present disclosure;
fig. 5 is a block diagram of an electronic device for implementing a test method of a server according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Under the background of rapid development of current computing power, more and more heterogeneous computing acceleration units are applied to a server for scientific research and artificial intelligence application research, the computing power requirements of the server are different according to different scientific research directions and different artificial intelligence application directions, and the small amount of diversified individual computing requirements are finally reflected in different server hardware configurations. For this situation, a method for testing a server with diversified small-batch configuration is proposed, and specific procedures of the method are shown in the following embodiments.
Fig. 1 is a schematic flowchart of a method for testing a server according to an embodiment of the present disclosure, which is applicable to a case of performing a fast test on a server with diversified configurations in a small batch. The method can be executed by a server testing device which is realized in a software and/or hardware mode and is integrated on an electronic device, such as a computer device.
Specifically, referring to fig. 1, the server testing method is as follows:
s101, acquiring actual software and hardware basic information of at least two servers to be tested with different configurations, and verifying or updating the actual software and hardware information.
The server testing method in the embodiment of the disclosure mainly aims at small-batch servers with different configurations. To test a small batch of servers to be tested with different configurations, the actual software and hardware basic information of each server to be tested needs to be verified first, that is, whether the software and hardware information of the server to be tested is accurate or not is verified. The actual software and hardware basic information comprises hardware basic information and software basic information which are actually acquired from a service to be tested, wherein the hardware basic information comprises hardware configuration information such as a Central Processing Unit (CPU) of a server, a system cache Memory (Memory), a large-capacity Memory (HDD), network equipment (NIC), an AI accelerator card (XPU) and the like; the software basic information comprises server bottom layer firmware information such as a Basic Input Output System (BIOS), an Intelligent Platform Management Interface (IPMI), equipment Firmware (FW) and the like.
In an optional embodiment, the actual software and hardware basic information of at least two servers to be tested with different configurations is obtained based on a preset script program for detecting server configuration information.
For obtaining hardware basic information, exemplary:
(1) the following codes are used for acquiring the central processing type and the number of the servers:
dmidecode-t processor|grep"Version"|uniq
dmidecode-t processor|grep"Version"|wc-l
(2) the following codes are used for collecting the capacity, model number, quantity, serial number, original factory information and the like of a cache memory of the system:
cat/proc/meminfo|grep MemTotal
dmidecode-t 17|grep"Size:"|grep-vE"Size:No Module Installed|Cache Size|Non-Volatiile|Volatile|Logical Size:"|wc-l
dmidecode-t 17|grep"Size:"|grep-vE"Size:No Module Installed|Cache Size|Non-Volatiile|Volatile|Logical Size:"
dmidecode-t 17|grep"Manufacturer:"|grep-v"Manufacturer:NO DIMM"|uniq
dmidecode-t 17|grep"Part Number"|grep-v"Part Number:Unknown"|grep-v"Part Number:NO DIMM"|uniq
dmidecode-t 17|grep"Serial Number"|grep-v"Serial Number:Unknown"|grep-v"Serial Number:NO DIMM"
(3) the following code programs are utilized to collect information such as the type and number of AI accelerator cards, specific equipment IDs, actual running speed of the equipment and the like:
nvidia-smi-q|grep-i"Product Name"|uniq
nvidia-smi-q|grep-i"Product Name"|wc-l
nvidia-smi-L
lspci-vvv-xxx|grep-i NVIDIA-A 60|grep-i subsystem
nvidia-smi-q|grep-E"Device Id|Bus Id|Sub System Id"
nvidia-smi-q|grep-i 16x|grep-i Current
(4) the following code programs are utilized to obtain system mass storage information:
lsscsi
hdparm-i/dev/sda|grep-i serialno
hdparm-i/dev/sdb|grep-i serialno。
for obtaining the software basic information, exemplary:
(1) the operating system version of the server system and the installation system load test software are obtained by using the following codes:
version=$(lsb_release-a|grep"Distributor ID"|awk-F':”{print$2}')
if[$version=="Ubuntu"];then
apt-get install stress-ng ipmitool sysstat
fi
if[$version=="CentOS"];then
yum install stress-ng ipmitool sysstat
fi
uname-a
(2) the following codes are used for obtaining relevant product and software basic information of the server:
ipmitool fru list|grep-i"Product Serial"
ipmitool fru list
ipmitool mc info
dmidecode-t bios|grep-i version。
and after the actual software and hardware basic information is obtained, verifying the actual software and hardware basic information, namely verifying whether the software and hardware information is consistent with the requirement, if so, performing a subsequent test flow, and otherwise, performing fault detection on the server. It should be noted that, when verifying actual software and hardware basic information, the hardware basic information is verified first, then the software basic information is verified, and if a certain piece of software basic information fails to be verified, software corresponding to the software basic information needs to be updated.
And S102, after the verification or the updating of the actual software and hardware information is completed, sequentially testing the basic functions and the whole stability of the server to be tested according to the configuration of the server to be tested.
In the embodiment of the present disclosure, since the configurations of the servers to be tested are different, when testing each server to be tested, the server to be tested needs to be tested in a targeted manner according to the configuration of each server to be tested, and for each server to be tested, the basic functions and the stability of the whole device need to be tested in sequence according to the configuration of the server.
In the embodiment of the disclosure, diversified servers to be tested are configured in a small batch, software and hardware basic information of the servers to be tested is verified, and then the servers to be tested are tested in a targeted manner according to the configuration of the services to be tested, so that the testing efficiency of the servers can be improved.
Fig. 2 is a schematic flow chart of a further method for testing a server according to an embodiment of the present disclosure, where the embodiment is optimized based on the foregoing embodiment, and referring to fig. 2, the method for testing a server specifically includes:
s201, acquiring actual software and hardware basic information of at least two servers to be tested with different configurations.
S202, verifying the actual software and hardware information according to the standard software and hardware basic information corresponding to each server to be tested in the production flow card file.
In the embodiment of the disclosure, for any small batch of servers to be tested with different configurations, a production flow card corresponding to the batch is prepared in advance, and standard software and hardware basic information of each server to be tested is recorded in the production flow card. Therefore, when the actual software and hardware basic information of the server to be tested is verified, only the actual software and hardware basic information and the standard software and hardware basic information need to be compared, and if the actual software and hardware basic information and the standard software and hardware basic information are consistent, the verification is passed. If the actual hardware basic information is not matched with the corresponding standard hardware basic information, the server to be tested needs to be monitored and debugged.
S203, if the verification of the basic information of the target software in the actual software and hardware information fails, upgrading and updating the basic information of the target software according to the production process file.
The production process file mainly records a production process flow, wherein the production process flow can include software upgrading and updating flows corresponding to different software basic information. Therefore, if the verification of the basic information of the target software in the actual software and hardware information fails, the software corresponding to the basic information of the target software can be updated through the production process file. For example, if the version number (target software basic information) of a certain software does not meet the requirement, the software is updated according to the updating method recorded in the production process file.
And S204, after the verification or the updating of the actual software and hardware information is completed, sequentially testing the basic functions and the whole stability of the server to be tested according to the configuration of the server to be tested.
In the embodiment of the present disclosure, since the configurations of the servers to be tested are different, to test each server to be tested, a test case required by each server to be tested needs to be customized in advance according to the configuration of each server to be tested. In an optional implementation mode, a first type of test case and a second type of test case which are customized according to the configuration of a server to be tested in advance are adopted to respectively test the basic function and the whole machine stability of the server to be tested;
wherein the first type of test case comprises at least one of the following: the system comprises a startup and shutdown test case, a universal serial interface function test case, a system cache memory test case, a large-capacity storage test case, a basic input and output system test case and an AI accelerator card test case;
the second type of test case includes at least one of: the system comprises a processor load test case, a system cache memory load test case, a large-capacity storage load test case, a network load test case and an AI acceleration card load test case.
It should be noted that each test case includes a specific method for testing. For any server to be tested, the basic function test can be performed according to the customized first type of test case, and the stability test can be performed by using the second type of test case after only the basic function test passes (for example, the test server can normally operate and radiate heat under various loads).
In the embodiment of the disclosure, for small-batch servers to be tested with diversified configurations, a required test case is customized according to the configuration of each server to be tested, so that the servers with different configurations can be rapidly tested.
Furthermore, after the test of the server to be tested is completed, the test result of the server to be tested and the basic service information of software and hardware are filed so as to record the test result.
Fig. 3 is a logic flow diagram of a testing method of a server according to an embodiment of the present disclosure, and referring to fig. 3, the testing method logic of the server includes five steps:
step 1, collecting basic information of the server to be tested through a specific program (namely a script program for detecting the configuration information of the server), wherein the basic information of the hardware specifically comprises hardware configuration information such as a Central Processing Unit (CPU) of the server, a system cache Memory (Memory), a large-capacity Memory (HDD), network equipment (NIC), an AI accelerator card (XPU) and the like. Comparing the hardware basic information of the server with the standard hardware basic information of the server in the production process card, checking and debugging if the collected hardware basic information is inconsistent with the standard hardware basic information in the production process card, and returning to the step 1 after the fault is eliminated; and if the collected hardware information is consistent with the production flow card, executing the step 2 to collect the basic information of the server software.
And 2, collecting basic information of server software to be tested through a specific program (namely a script program for detecting server configuration information), wherein the basic information specifically comprises server bottom layer firmware information such as a Basic Input Output System (BIOS), an Intelligent Platform Management Interface (IPMI), equipment Firmware (FW) and the like, and the IPMI is a small linux system and is used for monitoring the health state of each device of the server. If the collected software basic information is compared with the standard software basic information of the server to be tested in the production process card, if the collected software basic information is not consistent with the standard software basic information of the server to be tested, the software corresponding to the software basic information is updated according to the production process file, and after the updating is completed, the software is collected again to ensure that the upgrading is successful and meets the requirements of the production process file; and if the collected software basic information is consistent with the standard software basic information recorded in the production flow card, further executing step 3, customizing the basic function test by the server.
And 3, customizing the basic function test by the server. In this step, a corresponding test case is customized in advance according to the configuration of each server to be tested, and then the server to be tested corresponding to different configurations can be tested only according to the customized test case. The Test cases may include a Power on/off Test (Power on/Power off Test), a universal serial interface Function Test (USB Function Test), a system cache Memory Test (Memory Test), a large-capacity storage Test case (HDD Test), a basic input/output system Test case (BIOS Test), an intelligent platform management interface Test case (IPMI Test), an AI accelerator card Test case (gpu Test), and the like.
It should be noted that, if the basic function test is abnormal, the fault checking and debugging are performed, and the step 1 is returned after the fault is eliminated, and the server customization stability test of the step 4 is executed if the customization basic function test is normal.
And 4, when the stability of the whole server system is tested, the stability test can be carried out by using a test case customized according to the configuration of the server to be tested. In the embodiment of the present disclosure, the testing of the overall stability of the server may include performing a central processing unit load Test (LTHPC CPU Stress Test), a system cache Memory load Test (LTHPC Memory Stress Test), a high-capacity storage load Test (LTHPC HDD Stress Test), a Network load Test (LTHPC Network Stress Test), an AI accelerator card load Test (LTHPC GPU Stress Test), and the like on the server.
It should be noted that, if the stability test is abnormal, the error detection and elimination are performed, the step 1 is returned after the fault is eliminated, and the step 5 is executed if the customized stability test is normal.
And 5, archiving the basic information of the server and the test result collected in the test process.
In the embodiment of the disclosure, the rapid test of the small-batch and diversified-configuration servers to be tested can be realized through the five steps.
Fig. 4 is a schematic structural diagram of a testing apparatus for a server according to an embodiment of the present disclosure, which is applicable to a case of performing a fast test on a server with diversified configurations in a small batch. As shown in fig. 4, the apparatus specifically includes:
the information acquisition and verification module 401 is configured to acquire actual software and hardware basic information of at least two servers to be tested with different configurations, and verify or update the actual software and hardware information;
a testing module 402, configured to sequentially test the basic functions and the overall stability of the server to be tested according to the configuration of the server to be tested after the verification or the update of the actual software and hardware information is completed.
On the basis of the foregoing embodiment, optionally, the information obtaining and verifying module includes:
and the information acquisition unit is used for acquiring the actual software and hardware basic information of at least two servers to be detected with different configurations based on a preset script program for detecting the configuration information of the servers.
On the basis of the foregoing embodiment, optionally, the information obtaining and verifying module includes:
the verification unit is used for verifying the actual software and hardware information according to the standard software and hardware basic information corresponding to each server to be tested in the production flow card file;
the updating unit is used for upgrading and updating the basic information of the target software according to the production process file if the basic information of the target software in the actual software and hardware information fails to be verified; wherein, the production process file at least comprises the upgrading and updating process of different software basic information.
On the basis of the above embodiment, optionally, the test module is specifically configured to:
the method comprises the steps that a first type test case and a second type test case which are customized according to a server to be tested in advance are adopted, and the basic function and the whole machine stability of the server to be tested are tested respectively;
wherein the first type of test case comprises at least one of the following: the system comprises a startup and shutdown test case, a universal serial interface function test case, a system cache memory test case, a large-capacity storage test case, a basic input and output system test case and an AI accelerator card test case;
the second type of test case includes at least one of: the system comprises a processor load test case, a system cache memory load test case, a large-capacity storage load test case, a network load test case and an AI acceleration card load test case.
On the basis of the above embodiment, optionally, the method further includes:
and the filing module is used for filing the test result of the server to be tested and the basic service information of the software and the hardware.
The device provided by the embodiment of the disclosure can execute the test method of the server provided by any embodiment of the disclosure, and has the corresponding functional module and beneficial effect of executing the test method of the server. Reference may be made to the description of any method embodiment of the disclosure for a matter not explicitly described in this embodiment.
Fig. 5 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure. As shown in fig. 5, the electronic device provided in the embodiment of the present disclosure includes: one or more processors 502 and memory 501; the processor 502 in the electronic device may be one or more, and one processor 502 is taken as an example in fig. 5; the memory 501 is used to store one or more programs; the one or more programs are executed by the one or more processors 502, causing the one or more processors 502 to implement a method of testing a server as any one of the embodiments of the present disclosure.
The electronic device may further include: an input device 503 and an output device 504.
The processor 502, the memory 501, the input device 503 and the output device 504 in the electronic apparatus may be connected by a bus or other means, and fig. 5 illustrates the connection by the bus as an example.
The memory 501 in the electronic device, which is a computer-readable storage medium, may be used to store one or more programs, which may be software programs, computer-executable programs, and modules. The processor 502 executes various functional applications and data processing of the electronic device by executing the software programs, instructions and modules stored in the memory 501, namely, the test method of the server in the above method embodiment is realized.
The memory 501 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 501 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 501 may further include memory located remotely from the processor 502, which may be connected to devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 503 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus. The output device 504 may include a display device such as a display screen.
And, when the one or more programs included in the above-described electronic device are executed by the one or more processors 502, the programs perform the following operations:
acquiring actual software and hardware basic information of at least two servers to be tested with different configurations, and verifying or updating the actual software and hardware information;
and after the verification or the updating of the actual software and hardware information is finished, sequentially testing the basic functions and the whole stability of the server to be tested according to the configuration of the server to be tested.
Of course, it will be understood by those skilled in the art that when one or more programs included in the electronic device are executed by one or more processors, the programs may also perform related operations in the test method of the server provided in any embodiment of the present disclosure.
One embodiment of the present disclosure provides a computer-readable storage medium having stored thereon a computer program for executing a method of testing a server when the program is executed by a processor, the method comprising:
acquiring actual software and hardware basic information of at least two servers to be tested with different configurations, and verifying or updating the actual software and hardware information;
and after the verification or the updating of the actual software and hardware information is finished, sequentially testing the basic functions and the whole stability of the server to be tested according to the configuration of the server to be tested.
The computer storage media of the disclosed embodiments may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including, for example, a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present disclosure and the technical principles employed. Those skilled in the art will appreciate that the present disclosure is not limited to the specific embodiments illustrated herein and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the present disclosure. Therefore, although the present disclosure has been described in greater detail with reference to the above embodiments, the present disclosure is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present disclosure, the scope of which is determined by the scope of the appended claims.

Claims (10)

1. A test method of a server comprises the following steps:
acquiring actual software and hardware basic information of at least two servers to be tested with different configurations, and verifying or updating the actual software and hardware information;
and after the verification or the updating of the actual software and hardware information is finished, sequentially testing the basic functions and the whole stability of the server to be tested according to the configuration of the server to be tested.
2. The method of claim 1, wherein obtaining actual hardware and software basic information of at least two servers under test with different configurations comprises:
and acquiring actual software and hardware basic information of at least two servers to be tested with different configurations based on a preset script program for detecting the configuration information of the servers.
3. The method of claim 1, wherein validating or updating the actual hardware and software information comprises:
verifying the actual software and hardware information according to the standard software and hardware basic information corresponding to each server to be tested in the production flow card file;
if the verification of the basic information of the target software in the actual software and hardware information fails, upgrading and updating the basic information of the target software according to the production process file; wherein, the production process file at least comprises the upgrading and updating process of different software basic information.
4. The method of claim 1, wherein sequentially testing the basic functions and the overall stability of the server under test according to the configuration of the server under test comprises:
the method comprises the steps that a first type test case and a second type test case which are customized according to a server to be tested in advance are adopted, and the basic function and the whole machine stability of the server to be tested are tested respectively;
wherein the first type of test case comprises at least one of the following: the system comprises a startup and shutdown test case, a universal serial interface function test case, a system cache memory test case, a large-capacity storage test case, a basic input and output system test case and an AI accelerator card test case;
the second type of test case includes at least one of: the system comprises a processor load test case, a system cache memory load test case, a large-capacity storage load test case, a network load test case and an AI acceleration card load test case.
5. The method of claim 1, further comprising:
and archiving the test result of the server to be tested and the basic service information of the software and the hardware.
6. A test apparatus of a server, comprising:
the information acquisition and verification module is used for acquiring actual software and hardware basic information of at least two servers to be tested with different configurations and verifying or updating the actual software and hardware information;
and the test module is used for sequentially testing the basic functions and the overall stability of the server to be tested according to the configuration of the server to be tested after the verification or the upgrade and update of the actual software and hardware information are completed.
7. The apparatus of claim 6, wherein the information acquisition and verification module comprises:
and the information acquisition unit is used for acquiring the actual software and hardware basic information of at least two servers to be detected with different configurations based on a preset script program for detecting the configuration information of the servers.
8. The apparatus of claim 6, wherein the information acquisition and verification module comprises:
the verification unit is used for verifying the actual software and hardware information according to the standard software and hardware basic information corresponding to each server to be tested in the production flow card file;
the updating unit is used for upgrading and updating the basic information of the target software according to the production process file if the basic information of the target software in the actual software and hardware information fails to be verified; wherein, the production process file at least comprises the upgrading and updating process of different software basic information.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-5.
10. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-5.
CN202110887676.7A 2021-08-03 2021-08-03 Server testing method and device, electronic equipment and storage medium Pending CN113434353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110887676.7A CN113434353A (en) 2021-08-03 2021-08-03 Server testing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110887676.7A CN113434353A (en) 2021-08-03 2021-08-03 Server testing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113434353A true CN113434353A (en) 2021-09-24

Family

ID=77762775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110887676.7A Pending CN113434353A (en) 2021-08-03 2021-08-03 Server testing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113434353A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107423174A (en) * 2017-06-01 2017-12-01 广州信维电子科技股份有限公司 Method of testing, device and the storage medium of server configuration information
US20180074926A1 (en) * 2016-09-15 2018-03-15 International Business Machines Corporation Efficient validation of transactional memory in a computer processor
CN109101381A (en) * 2018-08-02 2018-12-28 Oppo(重庆)智能科技有限公司 Configuration file update method, system, electronic equipment and storage medium
CN110659167A (en) * 2019-09-12 2020-01-07 苏州浪潮智能科技有限公司 Server hardware testing method, equipment and storage medium
CN111104270A (en) * 2019-11-24 2020-05-05 苏州浪潮智能科技有限公司 Hardware configuration detection device and equipment of storage equipment and storage medium
CN111352844A (en) * 2020-03-04 2020-06-30 腾讯科技(深圳)有限公司 Test method and related device
CN112214405A (en) * 2020-09-30 2021-01-12 维沃移动通信有限公司 Software testing method and device, electronic equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180074926A1 (en) * 2016-09-15 2018-03-15 International Business Machines Corporation Efficient validation of transactional memory in a computer processor
CN107423174A (en) * 2017-06-01 2017-12-01 广州信维电子科技股份有限公司 Method of testing, device and the storage medium of server configuration information
CN109101381A (en) * 2018-08-02 2018-12-28 Oppo(重庆)智能科技有限公司 Configuration file update method, system, electronic equipment and storage medium
CN110659167A (en) * 2019-09-12 2020-01-07 苏州浪潮智能科技有限公司 Server hardware testing method, equipment and storage medium
CN111104270A (en) * 2019-11-24 2020-05-05 苏州浪潮智能科技有限公司 Hardware configuration detection device and equipment of storage equipment and storage medium
CN111352844A (en) * 2020-03-04 2020-06-30 腾讯科技(深圳)有限公司 Test method and related device
CN112214405A (en) * 2020-09-30 2021-01-12 维沃移动通信有限公司 Software testing method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
WO2018120721A1 (en) Method and system for testing user interface, electronic device, and computer readable storage medium
US8495425B2 (en) System and method to efficiently identify bad components in a multi-node system utilizing multiple node topologies
US10042744B2 (en) Adopting an existing automation script to a new framework
CN109669798B (en) Crash analysis method, crash analysis device, electronic equipment and storage medium
CN110989926A (en) Fault disk slot positioning method and device and electronic equipment
US9116808B2 (en) Method and system for determining device configuration settings
CN111209151A (en) Linux-based NVME SSD hot plug test method, system, terminal and storage medium
CN106407054B (en) BMC automatic test system and method
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN110851471A (en) Distributed log data processing method, device and system
CN113505895B (en) Machine learning engine service system, model training method and configuration method
CN111190791A (en) Application exception reporting method and device and electronic equipment
CN111694684A (en) Abnormal construction method and device of storage equipment, electronic equipment and storage medium
CN112463574A (en) Software testing method, device, system, equipment and storage medium
CN113434353A (en) Server testing method and device, electronic equipment and storage medium
CN115712559A (en) Method and device for testing hardware management software and electronic equipment
CN113392002B (en) Test system construction method, device, equipment and storage medium
CN115437675A (en) Method, device, equipment and medium for online upgrading application program
CN112596966B (en) Chip verification method, device, equipment and storage medium
JP2019056986A (en) Verification device and verification method
CN111694727A (en) Network card firmware upgrading and downgrading test method, system, terminal and storage medium
CN111026612A (en) Application program operation monitoring method and device, storage medium and electronic equipment
CN113704020B (en) Method and device for analyzing error field data of solid state disk
CN111367537B (en) Installation method and device of device driver, computer device and storage medium
CN114138648A (en) Server reliability test method and device, server and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination