An automated testing method, system, device and medium for transcoding card with GPUBOX
By assembling the transcoding card on the GPUBOX GPU board and using the BMCIP out-of-band command of the transcoding card for automated testing, the problem that transcoding cards and GPUBOX servers in the existing technology is difficult to achieve comprehensive automation of pre-factory testing, and efficient and accurate server product factory quality assurance is achieved.
Patent Information
- Application Number
- CN202211003523.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-19
- Publication Date
- 2025-06-06
- Estimated Expiration
- 2042-08-19
AI Technical Summary
It is difficult for the existing technology to realize comprehensive automation of transcoding cards and GPUBOX servers to be tested, which makes it difficult to guarantee the factory quality of server products.
By assembling the transcoding card on the GPUBOX's GPU board, GPUBOX is subjected to AC stress test and DC stress test on GPUBOX using the transcoding card's BMCIP out-of-band command, and configuration checks and health status checks are performed after each restart, comprehensive automated testing of transcoding card and GPUBOX is achieved.
It realizes comprehensive automated pre-factory testing of transcoded cards and GPUBOX, ensures the factory quality of server products, and improves testing efficiency and accuracy.
Smart Images

Figure CN115509833B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and more specifically to an automated testing method, system, device and medium for a transcoding card and a GPUBOX. Background Art
[0002] With the development of the Internet, cloud computing, and big data application technologies, data centers are increasingly demanding high-density servers with accelerated computing when processing data. However, ordinary high-density server chassis have limited internal space, and can only be equipped with 1-2 GPU accelerator cards due to heat dissipation and power supply requirements. The GPUBOX server is an independent server for GPU accelerator card and transcoding card expansion. The server only has a GPU board, fan board, and power board. The GPU board contains a BMC chip and N slots for connecting GPU accelerator cards, transcoding cards, etc. The GPUBOX server has a large internal space and can be equipped with 8 GPU accelerator cards, transcoding cards, etc., and is being used in more and more scenarios and customer needs.
[0003] The transcoding card is composed of CPU, memory, hard disk, network card and board, etc. The board has BIOS chip, etc. The transcoding card itself can be used as a micro server. GPUBOX is composed of GPU board, fan board, power board, etc. The GPU board has BMC chip, which can monitor the fan, power supply, board and PCIE device on GPUBOX. However, GPUBOX itself cannot form a system by itself and generally needs to be matched with a server as the head for testing. Based on this background, how to match the transcoding card with GPUBOX server and conduct comprehensive and automated pre-shipment testing of the transcoding card and GPUBOX is a problem that we need to solve urgently. Summary of the invention
[0004] In view of the above problems, the object of the present invention is to provide an automated testing method, system, device and medium for a transcoding card in combination with a GPUBOX.
[0005] To achieve the above object, the present invention is implemented through the following technical solutions: an automated testing method for a transcoding card with a GPUBOX, comprising:
[0006] Assemble the transcoding card to the GPU board of GPUBOX, scan the transcoding card SN into the parts list of GPUBOX, and upload it to the database;
[0007] Connect the transcoding card and GPUBOX to the network respectively, and power them on;
[0008] Obtain the SN of the GPUBOX and the installation slot location information of the transcoding card through the transcoding card;
[0009] Check the configuration and health status of GPUBOX through the transcoding card installed in Slot 0;
[0010] Use the BMCIP out-of-band method to perform AC and DC stress tests on the GPUBOX through the transcoding card installed in Slot 0, and perform configuration checks and health status checks on the GPUBOX after each restart to complete the GPUBOX test;
[0011] After the GPUBOX test is completed, each transcoding card refreshes its own FRU information and refreshes the asset code and package number in smbios under the operating system;
[0012] The transcoding card performs its own configuration information check and health status check;
[0013] Perform DC stress test and reboot stress test on each transcoding card, and check the configuration information and health status of the transcoding card after each reboot;
[0014] Perform CPU stress test, memory stress test and hard disk stress test on each transcoding card, and check the configuration information and health status of the transcoding card after each stress test is completed;
[0015] Collect the FRU information and component information of the transcoding card, create a factory file and upload it to the server;
[0016] Collect the BMCMAC, FRU information, SEL information, and SDR information of the GPUBOX on the transcoding card installed in Slot 0, create a factory file of the entire machine, upload it to the server, and shut down the machine.
[0017] Further, the transcoding card is assembled onto the GPU board of GPUBOX, the transcoding card SN is scanned into the parts list of GPUBOX, and uploaded to the database, including:
[0018] Connect 8 transcoding cards to slot 0-slot 7 of GPU board of GPUBOX, scan the SN of transcoding card, SN of GPU board and BMCMAC into the parts list of GPUBOX and upload them to the database.
[0019] Furthermore, the steps of connecting the transcoding card and GPUBOX to the network and powering them on include:
[0020] Connect the eight transcoding cards to the network through network cables, connect the BMC of GPUBOX to the network through network cables, and power on the devices.
[0021] Further, the SN of the GPUBOX and the installation slot location information of the transcoding card are obtained through the transcoding card, including:
[0022] The transcoding card enters the system through PXE boot, reads the SN of the transcoding card from smbios, and uses the SN of the transcoding card to obtain the SN and BMCMAC of the GPUBOX where the transcoding card is located in the database;
[0023] Obtain the BMCIP of GPUBOX through BMCMAC in the server dhcp log;
[0024] Use BMC out-of-band commands through BMCIP to obtain the fru information of GPUBOX. Get the SN of the eight transcoding cards and the slot position information of each transcoding card on the GPU board from the fru information.
[0025] Further, the configuration check of GPUBOX is performed by the transcoding card installed in the Slot0 position, including:
[0026] The transcoding card installed in Slot 0 obtains the SN of GPUBOX;
[0027] Use the BMC out-of-band command to check whether the GPUBOX configuration is consistent with the BOM.
[0028] Furthermore, the GPUBOX health status check is performed by the transcoding card installed in the Slot0 position, including:
[0029] The BMC SEL log check and BMC sensor information check are performed through the transcoding card installed in Slot0. Further, the configuration information check and health status check of the transcoding card include:
[0030] Check the CPU configuration information, memory configuration information, hard disk configuration information, and network card configuration information of the transcoding card; check the dmesg information, messages information, and mcelog information of the transcoding card in the operating system.
[0031] Correspondingly, the present invention also discloses an automated testing system for a transcoding card in combination with a GPUBOX, comprising: a workstation assembly module for assembling the transcoding card onto a GPU board of the GPUBOX, scanning the transcoding card SN into the parts list of the GPUBOX, and uploading it to a database;
[0032] The network configuration module is used to connect the transcoding card and GPUBOX to the network and power them on;
[0033] The information acquisition module is used to obtain the SN of the GPUBOX and the installation slot location information of the transcoding card through the transcoding card;
[0034] The first inspection module is used to perform configuration inspection and health status inspection of GPUBOX through the transcoding card installed in Slot0;
[0035] The first test module is used to perform AC stress test and DC stress test on GPUBOX through the transcoding card installed in Slot0 using BMCIP out-of-band mode, and start the configuration check and health status check of GPUBOX after each restart to complete the test of GPUBOX;
[0036] The refresh module is used to refresh the FRU information of each transcoding card after the GPUBOX test is completed, and refresh the asset code and package number in smbios under the operating system;
[0037] The second inspection module is used to control the transcoding card to perform its own configuration information inspection and health status inspection;
[0038] The second test module is used to perform DC stress test and reboot stress test on each transcoding card, and start configuration information check and health status check of the transcoding card after each reboot;
[0039] The third test module is used to perform CPU stress test, memory stress test and hard disk stress test on each transcoding card, and start the configuration information check and health status check of the transcoding card after each stress test is completed; the transcoding card information collection module is used to collect the FRU information and component information of the transcoding card, establish the factory file and upload it to the server;
[0040] The GPUBOX information collection module is used to collect the BMCMAC, FRU information, SEL information, and SDR information of the GPUBOX on the transcoding card installed in Slot0, establish the whole machine factory file upload server and shut down.
[0041] Accordingly, the present invention discloses an automated testing device for a transcoding card and a GPUBOX, comprising:
[0042] Memory, used to store the automated test program for the transcoding card and GPUBOX;
[0043] The processor is used to implement the steps of the automated testing method for the transcoding card and the GPUBOX as described in any one of the above items when executing the automated testing program for the transcoding card and the GPUBOX.
[0044] Accordingly, the present invention discloses a readable storage medium, on which an automated testing program for a transcoding card in combination with a GPUBOX is stored. When the automated testing program for a transcoding card in combination with a GPUBOX is executed by a processor, the steps of the automated testing method for a transcoding card in combination with a GPUBOX as described in any one of the above items are implemented.
[0045] Compared with the prior art, the beneficial effect of the present invention lies in that: the present invention discloses an automated testing method, system, device and readable storage medium for a transcoding card in combination with a GPUBOX. By using 8 transcoding cards in combination with a GPUBOX, the transcoding card can be regarded as a micro server, which can not only perform its own testing under the operating system, but also test the GPUBOX in a BMC out-of-band manner through the network, thereby achieving comprehensive automated pre-shipment testing of the transcoding card and the GPUBOX and ensuring the factory quality of the server products.
[0046] It can be seen that compared with the prior art, the present invention has outstanding substantive features and significant progress, and the beneficial effects of its implementation are also obvious. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
[0048] Figure 1 It is a method flow chart of a specific implementation mode of the present invention.
[0049] Figure 2 It is a system structure diagram of a specific implementation mode of the present invention.
[0050] In the figure, 1. Workstation assembly module; 2. Network configuration module; 3. Information acquisition module; 4. First inspection module; 5. First test module; 6. Refresh module; 7. Second inspection module; 8. Second test module; 9. Third test module; 10. Transcoding card information collection module; 11. GPUBOX information collection module. DETAILED DESCRIPTION
[0051] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0052] Embodiment 1:
[0053] like Figure 1 As shown, this embodiment provides an automated testing method for a transcoding card with a GPUBOX, comprising the following steps:
[0054] S1: Assemble the transcoding card to the GPU board of GPUBOX, scan the transcoding card SN into the parts list of GPUBOX, and upload it to the database.
[0055] Specifically, connect 8 transcoding cards to slot 0-slot 7 on the GPU board of GPUBOX, scan the transcoding card SN, GPU board SN and BMCMAC into the parts list of GPUBOX and upload them to the database.
[0056] S2: Connect the transcoding card and GPUBOX to the network respectively, and power them on.
[0057] Specifically, connect the eight transcoding cards to the network through network cables, connect the BMC of the GPUBOX to the network through network cables, and power on the devices.
[0058] S3: Obtain the SN of the GPUBOX where the transcoding card is located and the installation slot location information of the transcoding card through the transcoding card.
[0059] Specifically, the transcoding card enters the system through PXE boot, reads the card's SN from smbios, uses the transcoding card SN to obtain the SN and BMCMAC of the GPUBOX where the transcoding card is located in the database, and obtains the BMCIP of the GPUBOX through BMCMAC in the server dhcp log. The fru information of the GPUBOX is obtained through BMCIP using the BMC out-of-band command. The fru information stores the SN of the eight transcoding cards and the slot position information of each card on the GPU board, so that the transcoding card can obtain the SN of the GPUBOX where it is located and the card slot position of the card in the GPUBOX.
[0060] At this point, all test preparations have been completed, and the subsequent steps are to conduct comprehensive and automated pre-shipment tests on the transcoding card and GPUBOX. It should be noted that during the test, the transcoding card in Slot0 needs to test the transcoding card itself and GPUBOX, and the transcoding cards in slots 1-slot 7 only need to test the transcoding card itself.
[0061] S4: Check the configuration and health status of GPUBOX through the transcoding card installed in Slot 0.
[0062] When checking the configuration of GPUBOX, first obtain the SN of GPUBOX through the transcoding card installed in Slot0. Then, use the BMC out-of-band command to check whether the configuration of GPUBOX is consistent with the BOM. Specifically, it includes: using the BMC out-of-band command through the BMCIP of GPUBOX to check the number, temperature, voltage, etc. of transcoding cards; using the BMC out-of-band command to check the number, model, FW, etc. of power supplies; using the BMC out-of-band command to check the number, in-position status, speed, etc. of fans; using the BMC out-of-band command to check the uniqueness of the BMCMAC of the GPU board, etc.
[0063] When checking the health status of the GPUBOX, you should: check the BMC SEL log to determine whether there are any alarm, error, or failure logs; and check the BMC sensor information to determine whether the temperature, voltage, power, in-position status, fan speed, etc. are normal.
[0064] S5: Use the BMCIP out-of-band method to perform AC stress test and DC stress test on GPUBOX through the transcoding card installed in Slot0, and perform configuration check and health status check of GPUBOX after each restart to complete the test of GPUBOX.
[0065] Among them, AC stress test is achieved by powering off and restarting the intelligent PDU, and DC stress test is achieved by power cycle restart.
[0066] S6: After the GPUBOX test is completed, each transcoding card refreshes its own FRU information and refreshes the asset code and package number in smbios under the operating system.
[0067] S7: The transcoding card checks its own configuration information and health status.
[0068] Specifically include:
[0069] Check the model, quantity, frequency, etc. of the transcoding card's CPU, the model, quantity, capacity, etc. of the memory, the number, model, capacity, etc. of the hard disks, and the number, model, FW, etc. of the network cards.
[0070] Check the dmesg information, messages information, and mcelog information of the transcoding card in the operating system.
[0071] S8: Perform DC stress test and reboot stress test on each transcoding card, and check the configuration information and health status of the transcoding card after each reboot.
[0072] Among them, the BMCIP of GPUBOX uses the BMC out-of-band method to perform a power cycle on the card to perform a DC stress test.
[0073] S9: Perform CPU stress test, memory stress test and hard disk stress test on each transcoding card, and check the configuration information and health status of the transcoding card after each stress test is completed.
[0074] S10: Collect the FRU information and component information of the transcoding card, create a factory file and upload it to the server.
[0075] S11: Collect the BMCMAC, FRU information, SEL information, and SDR information of the GPUBOX on the transcoding card installed in Slot0, create a factory file of the whole machine, upload it to the server, and shut down the machine.
[0076] This embodiment provides an automated testing method for a transcoding card with a GPUBOX, including: scanning the SNs of eight transcoding cards into the parts list of the GPUBOX during assembly and uploading them to a database. Before starting the test, connect all eight transcoding cards to the network cable, connect the GPUBOX to the BMC network cable, and power on the machine for testing. The transcoding card enters the system through the PXE mode for testing, and the GPUBOX can be tested out-of-band by the BMC during the process, thereby realizing the factory automated testing process and method for the transcoding card with the GPUBOX.
[0077] Embodiment 2:
[0078] Based on the first embodiment, Figure 2 As shown, the present invention also discloses an automated testing system for a transcoding card in combination with a GPUBOX, comprising: a workstation assembly module 1, a network configuration module 2, an information acquisition module 3, a first inspection module 4, a first test module 5, a refresh module 6, a second inspection module 7, a second test module 8, a third test module 9, a transcoding card information collection module 10 and a GPUBOX information collection module 11.
[0079] The workstation assembly module 1 is used to assemble the transcoding card onto the GPU board of the GPUBOX, scan the transcoding card SN into the parts list of the GPUBOX, and upload it to the database.
[0080] The network configuration module 2 is used to connect the transcoding card and GPUBOX to the network respectively and power them on.
[0081] The information acquisition module 3 is used to obtain the SN of the GPUBOX where the transcoding card is located and the installation slot position information of the transcoding card through the transcoding card.
[0082] The first inspection module 4 is used to perform a configuration inspection and a health status inspection of the GPUBOX through the transcoding card installed at the Slot0 position.
[0083] The first test module 5 is used to perform AC stress test and DC stress test on GPUBOX by using the BMCIP out-of-band mode through the transcoding card installed in the Slot0 position, and start the configuration check and health status check of GPUBOX after each restart to complete the test of GPUBOX.
[0084] Refresh module 6 is used to refresh the FRU information of each transcoding card after the GPUBOX test is completed, and refresh the asset code and package number in smbios under the operating system.
[0085] The second checking module 7 is used to control the transcoding card to check its own configuration information and health status.
[0086] The second test module 8 is used to perform a DC stress test and a reboot stress test on each transcoding card, and to start a configuration information check and a health status check of the transcoding card after each reboot.
[0087] The third test module 9 is used to perform CPU stress test, memory stress test and hard disk stress test on each transcoding card, and start configuration information check and health status check of the transcoding card after each stress test is completed.
[0088] The transcoding card information collection module 10 is used to collect the FRU information and component information of the transcoding card, establish a factory file and upload it to the server.
[0089] The GPUBOX information collection module 11 is used to collect the BMCMAC, FRU information, SEL information, and SDR information of the GPUBOX on the transcoding card installed in the Slot0 position, establish the whole machine factory file upload server and shut down.
[0090] This embodiment provides an automated testing system for a transcoding card in combination with a GPUBOX. By using the transcoding card in combination with the GPUBOX, the transcoding card can be regarded as a micro server. It can not only perform its own testing under the operating system, but also test the GPUBOX in an out-of-band BMC manner over the network. This implements a comprehensive automated pre-shipment test of the transcoding card and the GPUBOX, thereby ensuring the factory quality of server products.
[0091] Embodiment three:
[0092] This embodiment discloses an automated testing device for a transcoding card and a GPUBOX, comprising a processor and a memory; wherein the processor implements the following steps when executing an automated testing program for a transcoding card and a GPUBOX stored in the memory:
[0093] 1. Assemble the transcoding card to the GPU board of GPUBOX, scan the transcoding card SN into the parts list of GPUBOX, and upload it to the database.
[0094] 2. Connect the transcoding card and GPUBOX to the network respectively, and power them on.
[0095] 3. Obtain the SN of the GPUBOX and the installation slot location information of the transcoding card through the transcoding card.
[0096] 4. Check the configuration and health status of GPUBOX through the transcoding card installed in Slot 0.
[0097] 5. Use the BMCIP out-of-band method to perform AC stress test and DC stress test on GPUBOX through the transcoding card installed in Slot 0, and perform configuration check and health status check of GPUBOX after each restart to complete the test of GPUBOX.
[0098] 6. After the GPUBOX test is completed, each transcoding card refreshes its own FRU information and refreshes the asset code and package number in smbios under the operating system.
[0099] 7. The transcoding card performs a check on its own configuration information and health status.
[0100] 8. Perform DC stress test and reboot stress test on each transcoding card, and check the configuration information and health status of the transcoding card after each reboot.
[0101] 9. Perform CPU stress test, memory stress test and hard disk stress test on each transcoding card, and check the configuration information and health status of the transcoding card after each stress test.
[0102] 10. Collect the FRU information and component information of the transcoding card, create a factory file and upload it to the server.
[0103] 11. Collect the BMCMAC, FRU information, SEL information, and SDR information of the GPUBOX on the transcoding card installed in Slot 0, create the whole machine factory file upload server and shut down.
[0104] Furthermore, the automatic testing device of the transcoding card in this embodiment with GPUBOX may also include:
[0105] The input interface is used to obtain the automatic test program of the transcoding card with GPUBOX imported from the outside, and save the obtained automatic test program of the transcoding card with GPUBOX to the memory, and can also be used to obtain various instructions and parameters transmitted by the external terminal device, and transmit them to the processor, so that the processor can use the above various instructions and parameters to carry out corresponding processing. In this embodiment, the input interface can specifically include but is not limited to a USB interface, a serial interface, a voice input interface, a fingerprint input interface, a hard disk reading interface, etc.
[0106] The output interface is used to output various data generated by the processor to the terminal device connected thereto, so that other terminal devices connected to the output interface can obtain various data generated by the processor. In this embodiment, the output interface may specifically include but is not limited to a USB interface, a serial interface, etc.
[0107] The communication unit is used to establish a remote communication connection between the automated test device of the transcoding card with GPUBOX and the external server, so that the automated test device of the transcoding card with GPUBOX can mount the image file to the external server. In this embodiment, the communication unit may specifically include but is not limited to a remote communication unit based on wireless communication technology or wired communication technology.
[0108] The keyboard is used to obtain various parameter data or instructions input by the user by tapping the keycaps in real time.
[0109] The display is used to display the relevant information of the server power supply line short circuit locating process in real time.
[0110] The mouse can be used to assist users in inputting data and simplify user operations.
[0111] Embodiment 4:
[0112] This embodiment also discloses a readable storage medium, and the readable storage medium mentioned here includes random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, register, hard disk, removable hard disk, CD-ROM or any other form of storage medium known in the technical field. The readable storage medium stores an automated test program of the transcoding card with GPUBOX, and when the automated test program of the transcoding card with GPUBOX is executed by the processor, the following steps are implemented:
[0113] 1. Assemble the transcoding card to the GPU board of GPUBOX, scan the transcoding card SN into the parts list of GPUBOX, and upload it to the database.
[0114] 2. Connect the transcoding card and GPUBOX to the network respectively, and power them on.
[0115] 3. Obtain the SN of the GPUBOX and the installation slot location information of the transcoding card through the transcoding card.
[0116] 4. Check the configuration and health status of GPUBOX through the transcoding card installed in Slot 0.
[0117] 5. Use the BMCIP out-of-band method to perform AC stress test and DC stress test on GPUBOX through the transcoding card installed in Slot 0, and perform configuration check and health status check of GPUBOX after each restart to complete the test of GPUBOX.
[0118] 6. After the GPUBOX test is completed, each transcoding card refreshes its own FRU information and refreshes the asset code and package number in smbios under the operating system.
[0119] 7. The transcoding card performs a check on its own configuration information and health status.
[0120] 8. Perform DC stress test and reboot stress test on each transcoding card, and check the configuration information and health status of the transcoding card after each reboot.
[0121] 9. Perform CPU stress test, memory stress test and hard disk stress test on each transcoding card, and check the configuration information and health status of the transcoding card after each stress test.
[0122] 10. Collect the FRU information and component information of the transcoding card, create a factory file and upload it to the server.
[0123] 11. Collect the BMCMAC, FRU information, SEL information, and SDR information of the GPUBOX on the transcoding card installed in Slot 0, create the whole machine factory file upload server and shut down.
[0124] In summary, the present invention realizes comprehensive and automated pre-shipment testing of the transcoding card and GPUBOX, thereby ensuring the factory quality of server products.
[0125] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. As for the method disclosed in the embodiment, since it corresponds to the system disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0126] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0127] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.
[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0129] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, or each module may exist physically separately, or two or more modules may be integrated into one unit.
[0130] Similarly, each processing unit in each embodiment of the present invention may be integrated into one functional module, or each processing unit may exist physically, or two or more processing units may be integrated into one functional module.
[0131] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0132] Finally, it should be noted that, in this article, relational terms such as first and second, etc. 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. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0133] The above is a detailed introduction to the automated testing method, system, device and readable storage medium of the transcoding card with GPUBOX provided by the present invention. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Claims
1. An automated testing method for transcoding card with GPUBOX, It is characterized in that include: Assemble the transcoding card to the GPU board of GPUBOX, scan the transcoding card SN into the parts list of GPUBOX, and upload it to the database; Connect the transcoding card and GPUBOX to the network respectively, and power them on; Obtain the SN of the GPUBOX and the installation slot location information of the transcoding card through the transcoding card; Check the configuration and health status of GPUBOX through the transcoding card installed in Slot 0; Use the BMCIP out-of-band method to perform AC and DC stress tests on the GPUBOX through the transcoding card installed in Slot 0, and perform configuration checks and health status checks on the GPUBOX after each restart to complete the GPUBOX test; After the GPUBOX test is completed, each transcoding card refreshes its own FRU information and refreshes the asset code and package number in smbios under the operating system; The transcoding card performs its own configuration information check and health status check; Perform DC stress test and reboot stress test on each transcoding card, and check the configuration information and health status of the transcoding card after each reboot; Perform CPU stress test, memory stress test and hard disk stress test on each transcoding card, and check the configuration information and health status of the transcoding card after each stress test is completed; Collect the FRU information and component information of the transcoding card, create a factory file and upload it to the server; Collect the BMCMAC, FRU information, SEL information, and SDR information of the GPUBOX on the transcoding card installed in Slot 0, create a factory file of the whole machine and upload it to the server and shut down the machine; The step of assembling the transcoding card onto the GPU board of the GPUBOX, scanning the transcoding card SN into the parts list of the GPUBOX, and uploading the parts to the database includes: Connect 8 transcoding cards to slot 0-slot 7 of GPUBOX's GPU board, scan the transcoding card SN, GPU board SN and BMCMAC into the parts list of GPUBOX and upload them to the database; The method of obtaining the SN of the GPUBOX and the installation slot location information of the transcoding card through the transcoding card includes: The transcoding card enters the system through PXE boot, reads the SN of the transcoding card from smbios, and uses the SN of the transcoding card to obtain the SN and BMCMAC of the GPUBOX where the transcoding card is located in the database; Obtain the BMCIP of GPUBOX through BMCMAC in the server dhcp log; Use BMC out-of-band commands through BMCIP to obtain the fru information of GPUBOX. Get the SN of the eight transcoding cards and the slot position information of each transcoding card on the GPU board from the fru information.
2. The automated testing method for the transcoding card in combination with GPUBOX according to claim 1, It is characterized in that The steps of connecting the transcoding card and GPUBOX to the network and powering them on include: Connect the eight transcoding cards to the network through network cables, connect the BMC of GPUBOX to the network through network cables, and power on the devices.
3. The automated testing method for the transcoding card in combination with GPUBOX according to claim 1, It is characterized in that The configuration check of GPUBOX is performed by the transcoding card installed in Slot0, including: The transcoding card installed in Slot 0 obtains the SN of GPUBOX; Use the BMC out-of-band command to check whether the GPUBOX configuration is consistent with the BOM.
4. The automated testing method for the transcoding card in combination with GPUBOX according to claim 3, It is characterized in that The GPUBOX health status check is performed by the transcoding card installed in Slot 0, including: Check the BMC SEL log and BMC sensor information through the transcoding card installed in Slot 0.
5. The automated testing method for the transcoding card in combination with GPUBOX according to claim 4, It is characterized in that The configuration information check and health status check of the transcoding card include: Check the CPU configuration information, memory configuration information, hard disk configuration information, and network card configuration information of the transcoding card; Check the dmesg information, messages information, and mcelog information of the transcoding card in the operating system.
6. An automated testing system for transcoding cards and GPUBOX. It is characterized in that include: Workstation assembly module, used to assemble the transcoding card to the GPU board of GPUBOX, scan the transcoding card SN into the parts list of GPUBOX, and upload it to the database; The network configuration module is used to connect the transcoding card and GPUBOX to the network and power them on; The information acquisition module is used to obtain the SN of the GPUBOX and the installation slot location information of the transcoding card through the transcoding card; The first inspection module is used to perform configuration inspection and health status inspection of GPUBOX through the transcoding card installed in Slot0; The first test module is used to perform AC stress test and DC stress test on GPUBOX through the transcoding card installed in Slot0 using BMCIP out-of-band mode, and start the configuration check and health status check of GPUBOX after each restart to complete the test of GPUBOX; The refresh module is used to refresh the FRU information of each transcoding card after the GPUBOX test is completed, and refresh the asset code and package number in smbios under the operating system; The second inspection module is used to control the transcoding card to perform its own configuration information inspection and health status inspection; The second test module is used to perform DC stress test and reboot stress test on each transcoding card, and start configuration information check and health status check of the transcoding card after each reboot; The third test module is used to perform CPU stress test, memory stress test and hard disk stress test on each transcoding card, and start configuration information check and health status check of the transcoding card after each stress test is completed; The transcoding card information collection module is used to collect the FRU information and component information of the transcoding card, establish a factory file and upload it to the server; The GPUBOX information collection module is used to collect the BMCMAC, FRU information, SEL information, and SDR information of the GPUBOX on the transcoding card installed in Slot0, create a factory file of the whole machine, upload it to the server, and shut down the machine; The step of assembling the transcoding card onto the GPU board of the GPUBOX, scanning the transcoding card SN into the parts list of the GPUBOX, and uploading the parts to the database includes: Connect 8 transcoding cards to slot 0-slot 7 of GPUBOX's GPU board, scan the transcoding card SN, GPU board SN and BMCMAC into the parts list of GPUBOX and upload them to the database; The method of obtaining the SN of the GPUBOX and the installation slot location information of the transcoding card through the transcoding card includes: The transcoding card enters the system through PXE boot, reads the SN of the transcoding card from smbios, and uses the SN of the transcoding card to obtain the SN and BMCMAC of the GPUBOX where the transcoding card is located in the database; Obtain the BMCIP of GPUBOX through BMCMAC in the server dhcp log; Use BMC out-of-band commands through BMCIP to obtain the fru information of GPUBOX. Get the SN of the eight transcoding cards and the slot position information of each transcoding card on the GPU board from the fru information.
7. An automated testing device for a transcoding card and GPUBOX. It is characterized in that include: Memory, used to store the automated test program for the transcoding card and GPUBOX; The processor is used to implement the steps of the automated testing method for the transcoding card and the GPUBOX as claimed in any one of claims 1 to 5 when executing the automated testing program for the transcoding card and the GPUBOX.
8. A readable storage medium, Features: The readable storage medium stores an automated testing program for the transcoding card and the GPUBOX. When the automated testing program for the transcoding card and the GPUBOX is executed by the processor, the steps of the automated testing method for the transcoding card and the GPUBOX as claimed in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
GPU video memory management control method and related device
CN110930291A
Board card FRU information test method, system and device and readable storage medium
CN114116352A