CN104484253A - Automatic testing method for human-computer interaction Intel MIC (Many Integrated Core) card - Google Patents

Automatic testing method for human-computer interaction Intel MIC (Many Integrated Core) card Download PDF

Info

Publication number
CN104484253A
CN104484253A CN201410837215.9A CN201410837215A CN104484253A CN 104484253 A CN104484253 A CN 104484253A CN 201410837215 A CN201410837215 A CN 201410837215A CN 104484253 A CN104484253 A CN 104484253A
Authority
CN
China
Prior art keywords
mic card
mic
intel
card
test
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
CN201410837215.9A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201410837215.9A priority Critical patent/CN104484253A/en
Publication of CN104484253A publication Critical patent/CN104484253A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses an automatic testing method for a human-computer interaction Intel MIC (Many Integrated Core) card. In a Linux system, automatic testing of an assembly line of a server is realized by compiling an automatic testing script, automatically installing and operating a driver, environment configuration and pressure test by using the automatic testing script, testing the number of MIC cards through a system command, and performing manual interaction for confirming to realize the automatic testing of the server in an assembly line. The testing method can be utilized for debugging and performing pressure aging test on the server which is configured with the Intel MIC card in a production line, the manual debugging operating time and steps aiming at the server which is configured with the Intel MIC card are greatly reduced, the aging test efficiency is improved, manpower input is reduced, and the test accuracy is improved.

Description

A kind of Intel mic card automated testing method of man-machine interaction
Technical field
The present invention relates to server test technology, the Intel mic card automated testing method of specifically a kind of man-machine interaction.
Background technology
Along with the high speed development of server industries, the core application of the server operation that increasing client adopts computing power stronger in every field oneself.INSPUR tide is as largest domestic server provider, and in order to meet the client of highly-parallel and high performance demands, while the high-performance server releasing GP configuring U, also increasing release configures the high-performance server of Intel mic card.Compare Intel's Xeon of multinuclear, mic card has less kernel and hardware thread, and wider vector units, is to provide higher overall performance, meets the choosing of the ideal of highly-parallel application demand.
In the floating-point operation, parallel computation of high-performance business, mic card can produce a large amount of heat radiations, and it is particularly important that the heat radiation of mic card, performance test become.XeonPhiPTU instrument is one of comprehensive performance pressures survey instrument of mic card that industry is widely popular, supports the test pressure operations such as heat radiation, performance.
For the server system of Intel mic card configuration, producing line is carry out debugging configuration under system and pressure test based on manual mode, will strengthen the input of manpower and time like this, and artificial input complicated order easily produces mistake simultaneously.And along with the continuous increase of server shipment amount, need the stability and the reliability that ensure product simultaneously, to debugging configuration and the pressure test work of the server system of Intel mic card configuration, the raising of its testing efficiency and test mass becomes extremely urgent urgent problem.
Summary of the invention
The bright technical matters existed for prior art of we, provides a kind of Intel mic card automated testing method of man-machine interaction.
The Intel mic card automated testing method of a kind of man-machine interaction of the present invention, the technical scheme solving the problems of the technologies described above employing is as follows: the method detects by writing automatic test script server, reduce man-machine interactively process as far as possible, while the stability ensureing product and reliability, realize server pipeline Aulomatizeted Detect; Under linux system, by system command, mic card quantity is detected, and in addition man-machine interactively confirms, improve the precision detected; Use automatic test script, by driving, the Auto-mounting of environment configurations and pressure test runs, greatly reduce the input of manpower and time, improve production capacity.
The Intel mic card automated testing method of this man-machine interaction, its idiographic flow is as follows: first build test platform, and setup test environment; Then confirm mic card quantity alternately, after confirming the success of mic card quantity, Auto-mounting drives and restarts, otherwise carries out debugging (DEBUG) and continue mutual confirmation mic card quantity; Then mic card state is confirmed alternately, after the success of confirmation mic card state, automatic operating pressure test, otherwise carry out debugging (DEBUG) continuation mutual confirmation mic card state; And carry out process monitoring, finally confirm result, terminate test; If process monitoring failure, then carry out debugging (DEBUG) and continue operating pressure test; If cannot result be confirmed, then carry out modulation and return, continue operating pressure test.
The beneficial effect that the Intel mic card automated testing method of a kind of man-machine interaction of the present invention compared with prior art has is: this method of testing can apply to debugging and the pressure burn-in test of line configuration Intel mic card server, greatly reduce the manual debugging running time for configuration Intel mic card server and step, improve burn-in test efficiency, reduce human input, and improve test accuracy rate, Improving The Quality of Products.
Accompanying drawing explanation
Accompanying drawing 1 is the process flow diagram of described Intel mic card automated testing method.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with specific embodiment, and with reference to accompanying drawing, the Intel mic card automated testing method of a kind of man-machine interaction of the present invention is further described.
The Intel mic card automated testing method of a kind of man-machine interaction of the present invention, along with the continuous increase of the server shipment amount of Intel mic card configuration, employing is detected to server and writes automatic test script, reduce man-machine interactively process as far as possible, while the stability ensureing product and reliability, realize the object of server pipeline Aulomatizeted Detect.This Intel mic card automated testing method, utilizes man-machine interactively script under linux system, and the server for configuration Intel mic card carries out automated debug and burn-in test; By system command, mic card quantity is detected, and in addition man-machine interactively confirms, improve the precision detected; Use automatic test script, by driving, the Auto-mounting of environment configurations and pressure test runs, greatly reduce the input of manpower and time, improve production capacity.
Embodiment 1:
The Intel mic card automated testing method of a kind of man-machine interaction described in the present embodiment, by applying mechanically XeonPhiPTU instrument, runs this instrument automatically with the procedure realizing configuring Intel mic card server and detect, robotization, high efficiency.
The Intel mic card automated testing method of this man-machine interaction, as shown in Figure 1, its idiographic flow is as follows: first build test platform, and setup test environment; Then confirm mic card quantity alternately, after confirming the success of mic card quantity, Auto-mounting drives and restarts, otherwise carries out debugging (DEBUG) and continue mutual confirmation mic card quantity; Then mic card state is confirmed alternately, after the success of confirmation mic card state, automatic operating pressure test, otherwise carry out debugging (DEBUG) continuation mutual confirmation mic card state; And carry out process monitoring, finally confirm result, terminate test; If process monitoring failure, then carry out debugging (DEBUG) and continue operating pressure test; If cannot result be confirmed, then carry out modulation and return, continue operating pressure test.
Adopt the Intel mic card automated testing method of man-machine interaction described in the present embodiment, carry out the server of test I ntel mic card configuration, specific operation process is as follows:
Step one, build test platform, Intel mic card is installed to server;
Step 2, setup test environment, such as install Redhat system,
A) selection of the selection of OS, disk partition and software package is comprised,
B) comprise setting option amendment in BIOS to confirm;
Step 3, judge whether mic card quantity is all identified alternately;
A) judged by the quantity of system command to mic card;
B) input and the actual mic card quantity of order are compared, if correctly automatically carry out next step manually;
Part content for script is as follows:
a=`lspci |grep -i "Co-processor" |wc -l`
echo -n "Please Enter Physical GPU Number [1/2]:"
read Num
case ${Num} in
1)
if [ ! $a == 1 ]; then
echo -e "\033[41;37m MIC missing \033[0m"
else
./mic_single.sh
fi
;;
2)
if [ ! $a == 2 ]; then
echo -e "\033[41;37m MIC missing \033[0m"
else
./mic_dual.sh
fi
;;
Step 4, Auto-mounting mic card drive, and complete correspondence system configuration according to mic card quantity, and autoboot;
A) drive installation of band parameter options is automatically performed;
B) restart after automatically performing relevant configuration;
Part content for script is as follows:
echo y >yes.cmd
sudo yum install --nogpgcheck --noplugins --disablerepo=* *.rpm <yes.cmd
sleep 1
micctrl --initdefaults
sleep 1
service mpss start
sleep 1
mic1=`/opt/intel/mic/bin/micinfo |grep Stepping |grep -v ID |awk -F " " 'NR==1{print $4}'`
service mpss stop
sleep 1
/opt/intel/mic/bin/micflash -update /opt/intel/mic/flash/`ls /opt/intel/mic/flash/ |grep $mic1` -device 0
sleep 1
reboot
Step 5, restarted after, manually select corresponding script to carry out mic card status state-detection according to mic card quantity, and manual confirmation;
A) automatically mic card state is detected;
B) input is reaffirmed manually, correctly automatically carries out next step;
Part content for script is as follows:
service mpss start
sleep 1
/opt/intel/mic/bin/miccheck
echo -n "Please Check MIC infomation [OK/FAIL]:"
read Status
case ${Status} in
OK | ok)
./mic_stress_single.sh
;;
FAIL | fail)
echo "Check MIC Configure"
;;
Step 6, operating pressure test automatically;
A) automatically pressure test environment is configured;
B) pressure test is automatically performed;
Part script is as follows:
iptables -F
micctrl --initdefaults
sleep 1
service mpss start
sleep 1
./ssh.sh
service mpss stop
micctrl --resetconfig
service mpss start
chkconfig mpss on
echo -e "\033[32m Upload MIC PTU\033[0m"
tar xvf XeonPhiPTU_v0.81-v0.90.tar.bz2
./ssh_mic0.sh
#./ssh_mic1.sh
echo -e "\033[32m MIC Card check\033[0m"
/opt/intel/mic/bin/miccheck
echo -e "\033[32m MIC Card Stress Test\033[0m"
ssh root@mic0 "/root/KncPtuGen" &
sleep 1
/opt/intel/mic/bin/micsmc.
Step 7, check confirm result whether meet Spec;
Step 8, test terminate.
The Intel mic card automated testing method of this man-machine interactively, is suitable for the operating system such as x86 framework and Centos, and the information grabbed from hardware by system and man-machine interactively are confirmed, can reach double-deck verification the verifying results to detecting mic card.This method of testing is simple to operate, greatly reduce the time (installing together with system, foreshortening within 1 hour from being greater than 2 hours) of producing the operation of line manual detection and intervening, practical, effectively ensure that the stability of server, is the very effective method of checking product quality.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; any claims according to the invention and any person of an ordinary skill in the technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.

Claims (7)

1. the Intel mic card automated testing method of a man-machine interaction, it is characterized in that, under linux system, by writing automatic test script, use automatic test script, Auto-mounting operation is carried out to server driving, environment configurations and pressure test; By system command, mic card quantity is detected, and in addition man-machine interactively confirms, realizes server pipeline Aulomatizeted Detect;
First test platform is built, and setup test environment; Then confirm mic card quantity alternately, after confirming the success of mic card quantity, Auto-mounting drives and restarts, otherwise carries out debugging and continue confirmation mic card quantity alternately; Then mic card state is confirmed alternately, after the success of confirmation mic card state, automatic operating pressure test, otherwise carry out debugging continuation mutual confirmation mic card state; And carry out process monitoring, finally confirm result, terminate test; If process monitoring failure, then carry out debugging and continue operating pressure test; If cannot result be confirmed, then carry out modulation and return, continue operating pressure test.
2. the Intel mic card automated testing method of a kind of man-machine interaction according to claim 1, is characterized in that, described in build test platform, comprise and Intel mic card be installed to server.
3. the Intel mic card automated testing method of a kind of man-machine interaction according to claim 2, it is characterized in that, described setup test environment, refer to and Redhat system is installed, comprise the selection of the selection of OS, disk partition and software package, and comprise setting option amendment in BIOS and confirm.
4. the Intel mic card automated testing method of a kind of man-machine interaction according to claim 3, is characterized in that, described mutual confirmation mic card quantity, refers to and judges whether mic card quantity is all identified alternately; Judged by the quantity of system command to mic card, input and actual mic card quantity are compared manually.
5. the Intel mic card automated testing method of a kind of man-machine interaction according to claim 4, it is characterized in that, described Auto-mounting drives and restarts, and refers to that Auto-mounting mic card drives, and completes correspondence system configuration according to mic card quantity, and autoboot.
6. the Intel mic card automated testing method of a kind of man-machine interaction according to claim 5, is characterized in that, after having restarted, manually selects corresponding script to carry out mic card status state-detection according to mic card quantity, and manual confirmation.
7. the Intel mic card automated testing method of a kind of man-machine interaction according to claim 6, is characterized in that, described automatic operating pressure test, comprises and being automatically configured pressure test environment, and automatically perform pressure test.
CN201410837215.9A 2014-12-29 2014-12-29 Automatic testing method for human-computer interaction Intel MIC (Many Integrated Core) card Pending CN104484253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410837215.9A CN104484253A (en) 2014-12-29 2014-12-29 Automatic testing method for human-computer interaction Intel MIC (Many Integrated Core) card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410837215.9A CN104484253A (en) 2014-12-29 2014-12-29 Automatic testing method for human-computer interaction Intel MIC (Many Integrated Core) card

Publications (1)

Publication Number Publication Date
CN104484253A true CN104484253A (en) 2015-04-01

Family

ID=52758797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410837215.9A Pending CN104484253A (en) 2014-12-29 2014-12-29 Automatic testing method for human-computer interaction Intel MIC (Many Integrated Core) card

Country Status (1)

Country Link
CN (1) CN104484253A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105022648A (en) * 2015-07-23 2015-11-04 浪潮电子信息产业股份有限公司 Test method of HCA card performance and pressure tests on basis of expect command
CN105550090A (en) * 2015-12-10 2016-05-04 浪潮电子信息产业股份有限公司 LINUX platform-based automatic BMC pressure test method
CN107229545A (en) * 2017-06-26 2017-10-03 郑州云海信息技术有限公司 A kind of method of testing and system of linux system hardware detection
CN108089961A (en) * 2017-11-28 2018-05-29 郑州云海信息技术有限公司 One kind is based on MOC boards hardware reboot test methods and system
CN113657702A (en) * 2021-07-02 2021-11-16 新浪网技术(中国)有限公司 Automatic operation and maintenance method and device for internet data center and readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224545A1 (en) * 2005-03-04 2006-10-05 Keith Robert O Jr Computer hardware and software diagnostic and report system
CN101819547A (en) * 2010-03-25 2010-09-01 浪潮电子信息产业股份有限公司 Method for testing stability and reliability of storage subsystem
CN101833493A (en) * 2010-03-24 2010-09-15 浪潮电子信息产业股份有限公司 Method for testing stability and reliability of server based on linux system
CN101876940A (en) * 2009-11-30 2010-11-03 北京飞天诚信科技有限公司 Automatic test method and device
CN103744759A (en) * 2013-12-27 2014-04-23 浪潮电子信息产业股份有限公司 Method for verifying unattended disk performance and stability under Linux system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060224545A1 (en) * 2005-03-04 2006-10-05 Keith Robert O Jr Computer hardware and software diagnostic and report system
CN101876940A (en) * 2009-11-30 2010-11-03 北京飞天诚信科技有限公司 Automatic test method and device
CN101833493A (en) * 2010-03-24 2010-09-15 浪潮电子信息产业股份有限公司 Method for testing stability and reliability of server based on linux system
CN101819547A (en) * 2010-03-25 2010-09-01 浪潮电子信息产业股份有限公司 Method for testing stability and reliability of storage subsystem
CN103744759A (en) * 2013-12-27 2014-04-23 浪潮电子信息产业股份有限公司 Method for verifying unattended disk performance and stability under Linux system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105022648A (en) * 2015-07-23 2015-11-04 浪潮电子信息产业股份有限公司 Test method of HCA card performance and pressure tests on basis of expect command
CN105550090A (en) * 2015-12-10 2016-05-04 浪潮电子信息产业股份有限公司 LINUX platform-based automatic BMC pressure test method
CN107229545A (en) * 2017-06-26 2017-10-03 郑州云海信息技术有限公司 A kind of method of testing and system of linux system hardware detection
CN108089961A (en) * 2017-11-28 2018-05-29 郑州云海信息技术有限公司 One kind is based on MOC boards hardware reboot test methods and system
CN113657702A (en) * 2021-07-02 2021-11-16 新浪网技术(中国)有限公司 Automatic operation and maintenance method and device for internet data center and readable storage medium

Similar Documents

Publication Publication Date Title
CN104484253A (en) Automatic testing method for human-computer interaction Intel MIC (Many Integrated Core) card
CN104268046A (en) Linux-based man-machine interaction NVIDIA GPU (Graphics Processing Unit) automatic testing method
CN102662608B (en) Method and the device of time delay are read in a kind of reduction
CN103744824B (en) One is dispatched from the factory method of testing and test system
CN103150188B (en) The compatible video card fast initializing method of the x86 of non-x 86 instruction set computer
US20140189335A1 (en) Firmware upgrade error detection and automatic rollback
CN110750396B (en) Server operating system compatibility testing method and device and storage medium
CN104317712A (en) Linux-based storage server fatigue testing method
CN106547653B (en) Computer system fault state detection method, device and system
US9542304B1 (en) Automated operating system installation
CN103838585A (en) Method for achieving automatic recording of ARM9 embedded system based on SD card
CN105302687A (en) Hard disk sequence detection method based on linux
CN104679559A (en) Single chip microcomputer on-line programming method
CN101770404B (en) Watchdog circuit capable of keeping status and method for keeping restart status thereof
CN105354122A (en) Function test optimization method of dual-use hard disk backplane of server
CN102708909A (en) Hard disc backplane
CN110427289A (en) The method and device that automatic test SSD power down influences data consistency
CN107168838A (en) A kind of RAID card Auto-Test System
CN116719668A (en) Automatic testing method and testing system for RAID (redundant array of independent disks) of NVMe (non-volatile media management) solid-state disk group
CN105117248A (en) Program downloader of multi-split TPMS main controller and download method
CN103218277A (en) Automatic detection method and device for server environment
CN105183597A (en) Method for fast and effectively analyzing and repairing system hard disk failure
CN107766247A (en) Bootloader method of testing, device and readable storage medium storing program for executing
CN107907838A (en) A kind of redundant power module tests system and method
CN103389438B (en) A kind of for the welding detection system with cpu pcb and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150401