CN106649019B - A kind of complete machine automation PCIE communication quality test method based on serial ports - Google Patents

A kind of complete machine automation PCIE communication quality test method based on serial ports Download PDF

Info

Publication number
CN106649019B
CN106649019B CN201710018356.1A CN201710018356A CN106649019B CN 106649019 B CN106649019 B CN 106649019B CN 201710018356 A CN201710018356 A CN 201710018356A CN 106649019 B CN106649019 B CN 106649019B
Authority
CN
China
Prior art keywords
pcie
test
serial ports
communication quality
test method
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.)
Active
Application number
CN201710018356.1A
Other languages
Chinese (zh)
Other versions
CN106649019A (en
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710018356.1A priority Critical patent/CN106649019B/en
Publication of CN106649019A publication Critical patent/CN106649019A/en
Application granted granted Critical
Publication of CN106649019B publication Critical patent/CN106649019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06F11/221Detection 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 to test buses, lines or interfaces, e.g. stuck-at or open line faults

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of, and the complete machine based on serial ports automates PCIE communication quality test method, the test method is foundation based on the speed for initializing PCIE slot position bus during server POST, utilize serial ports redirection function, by the PCIE STD bus velocity contrast of initialization information during POST and setting, to determine the communication quality of PCIE source.The method of the present invention, Client test lead only can be connected with cable by Serial Port Line, realize tested machine no system without peripheral hardware without special setting under the premise of, test is traversed by the Serial Port Information of automation, to evaluate and test all PCIE slot position communication qualities during board switching on and shutting down to be measured, enhancement system PCIE slot position stability improves testing efficiency and product competitiveness.

Description

A kind of complete machine automation PCIE communication quality test method based on serial ports
Technical field
The present invention relates to server system architecture Design technical fields, and in particular to a kind of complete machine based on serial ports from Dynamicization PCIE communication quality test method.
Background technique
High-end server single machine supports PCIE slot position more and more, PCIE slot position speed during original server switching on and shutting down Degree stability is to be tested under Linux system by running special test program.Due to the validity test in the set time Number is run program time tripartite under system into system time by environmental structure time, system set-up time, available machine time Face is rung.
How within the set time all to complete machine PCIE slot positions carry out effectively, automatic, batch, efficient test, with PCIE slot position communication quality during evaluation and test switching on and shutting down, is the problem of paying special attention in current System Architecture Design.
Summary of the invention
The technical problem to be solved by the present invention is the present invention in view of the above problems, provide a kind of complete machine based on serial ports from Dynamicization PCIE communication quality test method.
The technical scheme adopted by the invention is as follows:
A kind of complete machine automation PCIE communication quality test method based on serial ports, the test method are based on server The speed that PCIE slot position bus is initialized during POST is that foundation will be initial during POST using serial ports redirection function Change the PCIE STD bus velocity contrast of information and setting, to determine the communication quality of PCIE source.
Restarting in test process is automated by ipmi order control server, is surveyed using VI based on server B MC Trying software specifies the port numbers of serial ports transmission and the BMC IP address of board to be measured to generate test data, in specified board and string The test of PCIE slot position velocity measuring is carried out on slogan, and test is traversed by the Serial Port Information of automation, is opened to evaluate and test board to be measured All PCIE slot position communication qualities in shutdown process.
Collocation meets the outer plug-in card of the PCIE 3.0 of slot position length in PCIE slot position.
The HCA card of the preferred PCIE 3.0 of outer plug-in card.
Steps are as follows for the test method:
1) 3.0 HCA card of PCIE is plugged in all PCIE slot positions of server to be measured, by server to be measured and Client End is interconnected by Serial Port Line and cable;
2) end Client is got out, Windows system is installed at the end Client, and labview program execution environments and VI are surveyed Examination software package and ipmi tool " ipmitool.exe " copy to C: under Windows;
3) VI test software packet is installed at the end Client, the end Client is restarted after being installed;
4) cmd command window is opened at the end Client, the end client and the end BMC is checked by ping bmcip address command Connectivity;
5) VI test software is run at the end Client, fills in detection environment configuration information in corresponding column;
6) " beginning " program being hit in Client endpoint and starting automatic running, operation result is recorded in VI test software interface Under the column Result, detection includes 3: 1, BMC connectivity inspection, 2, mainboard booting inspection, 3, PCIE communication quality inspection.
Detection environment configuration information content is filled in step 4) includes:
1) board IP address to be measured is inputted on the column BMCIP;
2) awaiting board card title is filled on project name column;
3) serial port being connect with board to be measured recognized under com port column selection Client end system;
4) filling needs the PCIE STD bus speed detected in the column Key.
Server to be measured and the connection type at the end Client are as follows: the serial ports of server to be measured passes through Serial Port Line and Client The BMC network interface of end connection, server to be measured is connect by cable with the end Client.
The test method checks global test result by VI test software total counter and the column PASS, if tale Device number=the column PASS counts tests PASS, if the column total counter number > PASS counts, tests FAIL.
If testing FAIL, the position that specifically reports an error is checked by log log batch.
All PCIE slot position link speed data during all switching on and shutting down of board to be measured are saved in entire test process.
The invention has the benefit that
The method of the present invention only can connect Client test lead with cable by Serial Port Line, realize and be tested machine without being System without peripheral hardware without special setting under the premise of, test is traversed by the Serial Port Information of automation, to evaluate and test board switching on and shutting down to be measured All PCIE slot position communication qualities in the process promote system PCIE slot position stability, improve testing efficiency and product competitiveness.
With high-end 8 road server (supporting 24 PCIE slot positions), hardware environment is in place, former for 12 hour testing time PCIE slot position communication quality is to run special test program under Linux system to be surveyed during the server switching on and shutting down of beginning Examination, operating system is installed entirely to be needed 1.5 hours, and being switched on to restart into system progress Programmable detection to next time at least needs 5 minutes, and 12 is small When at most run 126 times test;After automating PCIE communication quality test method using the complete machine based on serial ports, without installing behaviour Make system, booting detection POST self-test information is restarted to next time only to be needed 2.5 minutes, and 288 tests can be run within 12 hours;From experiment Data see that present invention testing efficiency under the same time at least improves 2.3 times, greatly improve testing efficiency.
Detailed description of the invention
Fig. 1 is PXE server network environment configuration diagram;
Fig. 2 is test method flow chart.
Specific embodiment
According to Figure of description, in conjunction with specific embodiment, the present invention is further described:
Embodiment 1:
A kind of complete machine automation PCIE communication quality test method based on serial ports, the test method are based on server It is foundation that PCIE slot position bus speed is initialized during POST, using serial ports redirection function, will be initialized during POST The PCIE STD bus velocity contrast of information and setting, to determine the communication quality of PCIE source.
Embodiment 2
On the basis of embodiment 1, it is to be controlled based on server B MC by ipmi order that the present embodiment was entirely tested, which restarts, Control server automation specifies the port numbers of serial ports transmission and the BMC IP address of board to be measured to generate and survey using VI test software Data are tried, the test of PCIE slot position velocity measuring is carried out on specified board and serial port, passes through the Serial Port Information time of automation Test is gone through, to evaluate and test all PCIE slot position communication qualities during board switching on and shutting down to be measured.
Embodiment 3
On the basis of embodiment 2, the present embodiment utilizes the backward compatible characteristic of PCIe 3.0 and old edition PCIe infrastructure, Arrange in pairs or groups in PCIE slot position any PCIE 3.0 for meeting slot position length outer plug-in card can realize PCIE slot position bus speed survey Examination.
Embodiment 4
On the basis of embodiment 3, the present embodiment recommends the HCA card of PCIE 3.0 higher to PCIE signal quality requirement
Embodiment 5
As shown in Fig. 2, steps are as follows for test method described in the present embodiment on the basis of embodiment 3:
1) 3.0 HCA card of PCIE is plugged in all PCIE slot positions of server to be measured, by server to be measured and Client End is interconnected by Serial Port Line and cable;
2) end Client is got out, the end Client must be Windows system, by labview program execution environments and VI Test software packet and ipmi tool " ipmitool.exe " copy to C: under Windows;
3) VI test software packet is installed at the end Client, and the end Client is restarted after being installed;
4) cmd command window is opened at the end Client, checks the end client and the end BMC by ping bmcip address command Connectivity, citing: current server B MCIP to be measured is 192.168.0.104, executes ping by command Window 192.168.0.104, network link;
5) end Client runs VI test software, fills in detection environment configuration information in corresponding column;By filling in necessity Parameter, operation test, it is ensured that the port connection that Infiniband is externally interconnected is normal;
6) Client endpoint hits " beginning " program and starts automatic running, and operation result is recorded in VI test software interface Under the column Result, detection includes 3: 1, BMC connectivity inspection, 2, mainboard booting inspection, 3, PCIE Check(PCIE communication Quality examination).
Infiniband architecture is that a kind of support mostly concurrently links " Convertion cable " technology, in this technique, every kind Link can reach the speed of service of 2.5 Gbps.This framework speed when a link is 500 MB/ seconds, four Speed is 2 GB/ seconds when link, and speed can achieve 6 GB/second when 12 links.
Embodiment 6
Detection environment configuration information content is filled in the basis of embodiment 5, the present embodiment step 4) includes:
1) board IP address to be measured: 192.168.0.104 is inputted on the column BMCIP;
2) awaiting board card title, such as YZCA-00589-101 are filled in project name column;
3) serial port being connect with board to be measured recognized under com port column selection Client end system, such as COM3;
4) filling needs the PCIE STD bus speed detected in the column Key.
Embodiment 7
As shown in Figure 1, the present embodiment server to be measured and the connection type at the end Client are as follows on the basis of embodiment 5: The serial ports of server to be measured is connect by Serial Port Line with the end Client, and the BMC network interface of server to be measured passes through cable and Client End connection.After system connects, it is ensured that board to be measured and the end Client connecting path are normal, under the equipment manager of client It can normally identify that serial ports connects.
Embodiment 8
On the basis of embodiment 6 or 7, test method described in the present embodiment passes through VI test software total counter and the column PASS It checks global test result, if the total counter number=column PASS counts, PASS is tested, if total counter number > The column PASS counts test FAIL.
Embodiment 9
On the basis of embodiment 8, if the present embodiment tests FAIL, the position that specifically reports an error is checked by log log batch.
Example:
Skt[0], D[2]:F[2] Link up as x08 Gen3!
Skt[0], D[2]:F[1] Link Down!
Parsing:
Skt [n]: corresponding PCIE slot position under n-th of CPU slot position is represented;
D [n]: F [n]: be PCIE slot position device ID and No. FunctionID, in conjunction with CPU slot position position, Ke Yiding Specific PCIE slot position is arrived in position;
Link up as x08 Gen3!: if test is PCIE GEN3 slot position, is PASS shown here as Gen3, is shown Show Gen2 and Gen1 is FAIL;If test be PCIE Gen2 slot position, be PASS shown here as Gen2, display Gen3 and Gen1 is FAIL;It whether there is Gen2 and Gen1, Link up as x08 Gen2 in incomplete;
Link Down!: the slot position is fitted without PCIE device
Embodiment 10
On the basis of embodiment 9, the entire test process of the present embodiment owns during saving all switching on and shutting down of board to be measured PCIE slot position link speed data, are convenient for later analysis.
Embodiment is merely to illustrate the present invention, and not limitation of the present invention, the ordinary skill in relation to technical field Personnel can also make a variety of changes and modification without departing from the spirit and scope of the present invention, therefore all equivalent Technical solution also belong to scope of the invention, scope of patent protection of the invention should be defined by the claims.

Claims (9)

1. a kind of complete machine based on serial ports automates PCIE communication quality test method, which is characterized in that the test method base The speed that PCIE slot position bus is initialized during server POST is foundation, using serial ports redirection function, by POST mistake The PCIE STD bus velocity contrast of initialization information and setting in journey, to determine the communication quality of PCIE source;
Restarting in test process is to be automated based on server B MC by ipmi order control server, is tested using VI soft Part specifies the port numbers of serial ports transmission and the BMC IP address of board to be measured to generate test data, in specified board and serial port Upper progress PCIE slot position velocity measuring test traverses test by the Serial Port Information of automation, to evaluate and test board switching on and shutting down to be measured All PCIE slot position communication qualities in the process.
2. a kind of complete machine based on serial ports according to claim 1 automates PCIE communication quality test method, feature It is, collocation meets the outer plug-in card of the PCIE 3.0 of slot position length in PCIE slot position.
3. a kind of complete machine based on serial ports according to claim 2 automates PCIE communication quality test method, feature It is, the outer plug-in card uses the HCA card of PCIE 3.0.
4. a kind of complete machine based on serial ports according to claim 3 automates PCIE communication quality test method, feature It is, steps are as follows for the test method:
1) 3.0 HCA card of PCIE is plugged in all PCIE slot positions of server to be measured, and server to be measured and the end Client are led to Cross Serial Port Line and cable interconnection;
2) end Client is got out, Windows system is installed at the end Client, and labview program execution environments and VI test are soft Part packet and ipmi tool " ipmitool.exe " copy to C: under Windows;
3) VI test software packet is installed at the end Client, the end Client is restarted after being installed;
4) cmd command window is opened at the end Client, the connection at the end client and the end BMC is checked by ping bmcip address command The general character;
5) VI test software is run at the end Client, fills in detection environment configuration information in corresponding column;
6) " beginning " program being hit in Client endpoint and starting automatic running, operation result is recorded in VI test software interface Under the column Result, detection includes 3: BMC connectivity inspection, mainboard booting inspection, PCIE communication quality inspection.
5. a kind of complete machine based on serial ports according to claim 4 automates PCIE communication quality test method, feature It is, detection environment configuration information content is filled in step 4) includes:
1) board IP address to be measured is inputted on the column BMCIP;
2) awaiting board card title is filled on project name column;
3) serial port being connect with board to be measured recognized under com port column selection Client end system;
4) filling needs the PCIE STD bus speed detected in the column Key.
6. a kind of complete machine based on serial ports according to claim 5 automates PCIE communication quality test method, feature Be, server to be measured and the connection type at the end Client are as follows: the serial ports of server to be measured passes through Serial Port Line and the end Client The BMC network interface of connection, server to be measured is connect by cable with the end Client.
7. a kind of complete machine based on serial ports according to claim 6 automates PCIE communication quality test method, feature It is, the test method checks global test result by VI test software total counter and the column PASS, if total counter Number=the column PASS counts tests PASS, if the column total counter number > PASS counts, tests FAIL.
8. a kind of complete machine based on serial ports according to claim 7 automates PCIE communication quality test method, feature It is, if test FAIL, the position that specifically reports an error is checked by log log batch.
9. a kind of complete machine based on serial ports according to claim 8 automates PCIE communication quality test method, feature It is, all PCIE slot position link speed data during all switching on and shutting down of board to be measured is saved in entire test process.
CN201710018356.1A 2017-01-11 2017-01-11 A kind of complete machine automation PCIE communication quality test method based on serial ports Active CN106649019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710018356.1A CN106649019B (en) 2017-01-11 2017-01-11 A kind of complete machine automation PCIE communication quality test method based on serial ports

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710018356.1A CN106649019B (en) 2017-01-11 2017-01-11 A kind of complete machine automation PCIE communication quality test method based on serial ports

Publications (2)

Publication Number Publication Date
CN106649019A CN106649019A (en) 2017-05-10
CN106649019B true CN106649019B (en) 2019-08-02

Family

ID=58843790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710018356.1A Active CN106649019B (en) 2017-01-11 2017-01-11 A kind of complete machine automation PCIE communication quality test method based on serial ports

Country Status (1)

Country Link
CN (1) CN106649019B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168840A (en) * 2017-05-19 2017-09-15 郑州云海信息技术有限公司 A kind of server UIDLED lamp function test methods for possessing foolproof function
CN109428778B (en) * 2017-08-24 2020-11-17 龙芯中科技术有限公司 Mainboard network connectivity test method and device
CN108733505A (en) * 2018-06-29 2018-11-02 北京广利核系统工程有限公司 Board information calibration method in place and device
CN111949554B (en) * 2020-09-04 2022-08-12 苏州浪潮智能科技有限公司 External plug-in card testing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111886A (en) * 2014-06-25 2014-10-22 曙光信息产业(北京)有限公司 Management system compatible with different GPUs and design method thereof
CN203930809U (en) * 2014-06-25 2014-11-05 曙光信息产业(北京)有限公司 The management system of the different GPU of a kind of compatibility
CN105553773A (en) * 2015-12-22 2016-05-04 浪潮电子信息产业股份有限公司 Automatic testing method for multi-port bidirectional communication INFINIBAND performance
CN105718346A (en) * 2016-01-22 2016-06-29 浪潮电子信息产业股份有限公司 Computer mainboard PCIe slot function test method based on UEFI

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111886A (en) * 2014-06-25 2014-10-22 曙光信息产业(北京)有限公司 Management system compatible with different GPUs and design method thereof
CN203930809U (en) * 2014-06-25 2014-11-05 曙光信息产业(北京)有限公司 The management system of the different GPU of a kind of compatibility
CN105553773A (en) * 2015-12-22 2016-05-04 浪潮电子信息产业股份有限公司 Automatic testing method for multi-port bidirectional communication INFINIBAND performance
CN105718346A (en) * 2016-01-22 2016-06-29 浪潮电子信息产业股份有限公司 Computer mainboard PCIe slot function test method based on UEFI

Also Published As

Publication number Publication date
CN106649019A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN106649019B (en) A kind of complete machine automation PCIE communication quality test method based on serial ports
US10015072B2 (en) Consolidation of network test automation tools
CN109302522B (en) Test method, test device, computer system, and computer medium
CN108768730B (en) Method and device for operating intelligent network card
US20070097872A1 (en) Network connection apparatus testing method
CN102244591A (en) Client server and method for full process monitoring on function text of client server
CN110050441A (en) Capture flow in real time in case of a fault to carry out protocol debugging
US10809298B2 (en) Batch testing system and method thereof
US11636016B2 (en) Cloud simulation and validation system
CN104125504B (en) Deployment method, device and system based on continuous integration
US9542304B1 (en) Automated operating system installation
CN106407059A (en) Server node testing system and method
CN101110051A (en) Test approach for debugging serial port function with single board and system thereof
CN106776346B (en) Test method and device of CCMTS (China center testing System) equipment
CN113778898A (en) User interface automatic testing method and device, electronic equipment and storage medium
CN103716209A (en) Tunnel concurrent testing system and device
US9513985B1 (en) Efficiency of cycle-reproducible debug processes in a multi-core environment
CN111130924A (en) Test method, test device and test equipment for Ethernet port of equipment
CN113849228A (en) Operating system batch deployment method, system, terminal and storage medium
CN114969760A (en) Vulnerability detection method and device, computer readable medium and electronic equipment
CN105550103B (en) A kind of automated testing method based on self-defined test script
CN112506772B (en) Web automatic test method, device, electronic equipment and storage medium
CN104678292B (en) A kind of complex programmable logic device (CPLD) test method and device
CN107222586A (en) A kind of BMC IP method in automatic identification LAN
US11494289B2 (en) Automatic framework to create QA test pass

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
GR01 Patent grant
GR01 Patent grant