CN103593269A - Automatic cyclic test method of restart pressure of multiple PCIe devices - Google Patents
Automatic cyclic test method of restart pressure of multiple PCIe devices Download PDFInfo
- Publication number
- CN103593269A CN103593269A CN201310533076.6A CN201310533076A CN103593269A CN 103593269 A CN103593269 A CN 103593269A CN 201310533076 A CN201310533076 A CN 201310533076A CN 103593269 A CN103593269 A CN 103593269A
- Authority
- CN
- China
- Prior art keywords
- pcie
- under
- device information
- restart
- logfile
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention provides an automatic cyclic test method of the restart pressure of multiple PCIe devices. The method includes the steps that an sbin/reboot instruction of a timing execution system is transmitted to a crond file through a periodically-executed instruction AutoPCIeTest under the linux operating system, and a crond service is set to be automatically started at the time of startup to operate the test for timed startup and shutdown under the linux operating system; at the beginning of running of a script, PCIe device information under the system is searched for by running the lspci instruction and recorded into a CUR_PCIDEV_LOGFILE as datum reference, the PCIe device information under the system will be read in each time of restart by running the lspci instruction, the PCIe device information read currently is compared with the datum reference device information recorded in the CUR_PCIDEV_LOGFILE, and if the PCIe device information detected this time is not consistent with the datum reference device information, fail time and content will be compared by recording the PCIe device information when a DFT_LOGFILE is run by the script; influences on the system and the multiple PCIe devices after a server is restarted in an actual environment are simulated through the PCIe device restart inspection test under the system.
Description
Technical field
The present invention relates to computer realm, specifically a kind of many PCIe equipment is restarted the robotization loop test mode of pressure.
Background technology
Along with the energetically support of country to autonomous innovation, domestic main IT server producer strengthens the research and development to high-end server product gradually, also released successively high-end server product separately, high-end server product is presided over and is had powerful handling property multiprocessor except possessing, also possesses powerful I/O handling capacity, support numerous PCIe expansion slot positions, can the support of solid line to multiple standards PCIe expansion card.Yet industry is in the test of many PCIe equipment being supported towards high-end server itself at present, many at every turn manually booting under Windows OS adopts the mode of hand inspection to check the identity of PCIe equipment, simultaneously to restarting Count of Jobs, under Linux OS, can only restart and without tally function by manual setting.And current most high-end server uses is (SuSE) Linux OS, and provide a plurality of PCIe expansion slot position, towards restarting in pressure of many PCIe, need restarting operation time counting number considering as pressure test, a plurality of PCIe equipment in the process starting due to mainboard Layout, the many factors such as BIOS design, can cause the device resource that equipment None-identified maybe cannot distribute in the process starting (to interrupt, address, storage space), repeatedly restart rear PCIe equipment and can recover again normal, therefore the present invention breaks through does not have robotization at present under (SuSE) Linux OS towards high-end server, the method for testing pressure of restarting towards many PCIe equipment of many test magnitudes, by considering, restart test counting and identification record of PCIe device systems bottom in unattended pressure under linux system, and the stability of whole system operation, with this, towards high-end business, get up to assess the stability that platform is restarted rear system stability and many PCIe equipment continuous firing under high-end server hardware platform and operating system.
Summary of the invention
The object of this invention is to provide a kind of many PCIe equipment and restart the robotization loop test mode of pressure.
The object of the invention is to realize in the following manner, testing procedure is as follows:
By being periodically performed instruction AutoPCIeTest under linux, carry/sbin/reboot of timing executive system instruction, to crond file, is arranged to start and automatically starts timed power on/off test under crond service operation linux system; At the beginning of this script running job by the PCIe equipment under operation lspci order inquiry system and be recorded under CUR_PCIDEV_LOGFILE as reference, restart operation at every turn and all can carry out the PCIe facility information under reading system by operation lspci order, and the reference facility information recording in the current PCIe facility information reading and CUR_PCIDEV_LOGFILE is contrasted, if being inconsistent, this PCIe information detecting and benchmark will under script moves DFT_LOGFILE, not record PCIe relatively fail time and content.By system restart PCIe equipment inspection test, simulation server in actual environment restart after impact on system and many PCIe.The in the situation that test being considered and can be caused identification incomplete after many moneys PCIe equipment is restarted in high-end server hardware platform and system, special interpolation is automatic, the PCIe underlying device information testing mechanism of circulation pattern, in persistent switch machine environment, guarantee the stability of many PCIe equipment continuous firing in high-end server hardware platform and system.
The invention has the beneficial effects as follows: the present invention breaks through does not have the method for testing pressure of restarting towards many PCIe equipment robotization, that test magnitude at present more under (SuSE) Linux OS towards high-end server, by considering, restart test counting and identification record of PCIe device systems bottom in unattended pressure under linux system, and the stability of whole system operation, with this, towards high-end business, get up to assess the stability that platform is restarted rear system stability and many PCIe equipment continuous firing under high-end server hardware platform and operating system.
Accompanying drawing explanation
Fig. 1 is AutoPCIeTest process flow diagram;
Fig. 2 is test general thought process flow diagram.
Embodiment
With reference to Figure of description, method of the present invention is described in detail below.
Testing procedure is as follows:
By being periodically performed instruction AutoPCIeTest under linux, carry/sbin/reboot of timing executive system instruction, to crond file, is arranged to start and automatically starts timed power on/off test under crond service operation linux system; At the beginning of this script running job by the PCIe equipment under operation lspci order inquiry system and be recorded under CUR_PCIDEV_LOGFILE as reference, restart operation at every turn and all can carry out the PCIe facility information under reading system by operation lspci order, and the reference facility information recording in the current PCIe facility information reading and CUR_PCIDEV_LOGFILE is contrasted, if being inconsistent, this PCIe information detecting and benchmark will under script moves DFT_LOGFILE, not record PCIe relatively fail time and content; By system restart PCIe equipment inspection test, simulation server in actual environment restart after impact on system and many PCIe; The in the situation that test being considered and can be caused identification incomplete after many moneys PCIe equipment is restarted in high-end server hardware platform and system, special interpolation is automatic, the PCIe underlying device information testing mechanism of circulation pattern, in persistent switch machine environment, guarantee the stability of many PCIe equipment continuous firing in high-end server hardware platform and system.
Except the technical characterictic described in instructions, be the known technology of those skilled in the art.
Claims (1)
1. the equipment of PCIe more than is restarted a robotization loop test mode for pressure, it is characterized in that testing procedure is as follows:
By being periodically performed instruction AutoPCIeTest under linux, carry/sbin/reboot of timing executive system instruction, to crond file, is arranged to start and automatically starts timed power on/off test under crond service operation linux system; At the beginning of this script running job by the PCIe equipment under operation lspci order inquiry system and be recorded under CUR_PCIDEV_LOGFILE as reference, restart operation at every turn and all can carry out the PCIe facility information under reading system by operation lspci order, and the reference facility information recording in the current PCIe facility information reading and CUR_PCIDEV_LOGFILE is contrasted, if being inconsistent, this PCIe information detecting and benchmark will under script moves DFT_LOGFILE, not record PCIe relatively fail time and content; By system restart PCIe equipment inspection test, simulation server in actual environment restart after impact on system and many PCIe; The in the situation that test being considered and can be caused identification incomplete after many moneys PCIe equipment is restarted in high-end server hardware platform and system, special interpolation is automatic, the PCIe underlying device information testing mechanism of circulation pattern, in persistent switch machine environment, guarantee the stability of many PCIe equipment continuous firing in high-end server hardware platform and system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310533076.6A CN103593269A (en) | 2013-11-01 | 2013-11-01 | Automatic cyclic test method of restart pressure of multiple PCIe devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310533076.6A CN103593269A (en) | 2013-11-01 | 2013-11-01 | Automatic cyclic test method of restart pressure of multiple PCIe devices |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103593269A true CN103593269A (en) | 2014-02-19 |
Family
ID=50083421
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310533076.6A Pending CN103593269A (en) | 2013-11-01 | 2013-11-01 | Automatic cyclic test method of restart pressure of multiple PCIe devices |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103593269A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103984612A (en) * | 2014-05-28 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | Unattended stress testing method based on HPL tool |
CN104536875A (en) * | 2015-01-16 | 2015-04-22 | 浪潮电子信息产业股份有限公司 | Automatic server restart testing method based on IPMI |
CN104714863A (en) * | 2015-02-06 | 2015-06-17 | 浪潮电子信息产业股份有限公司 | Method for completely storing Raid card logs on basis of Linux operation system after system crashes |
CN106598793A (en) * | 2016-12-13 | 2017-04-26 | 郑州云海信息技术有限公司 | Test system and method based on BIOS serial port log data |
CN106649011A (en) * | 2016-12-02 | 2017-05-10 | 曙光信息产业(北京)有限公司 | Detection method and detection device for server equipment |
CN107301112A (en) * | 2017-06-29 | 2017-10-27 | 郑州云海信息技术有限公司 | PCIE device compatibility test method and system under a kind of Linux system |
CN107526663A (en) * | 2017-08-31 | 2017-12-29 | 郑州云海信息技术有限公司 | A kind of method for testing open/close machine cooperateed with based on outband management with operating system and system |
CN107844395A (en) * | 2017-11-16 | 2018-03-27 | 郑州云海信息技术有限公司 | A kind of reboot test control methods and system |
CN107918574A (en) * | 2017-12-05 | 2018-04-17 | 郑州云海信息技术有限公司 | A kind of method of inspection based on test hardware information under Redhat |
CN109062839A (en) * | 2018-07-18 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer readable storage medium detecting HBA card |
CN109324935A (en) * | 2018-09-13 | 2019-02-12 | 郑州云海信息技术有限公司 | A kind of system cold start-up test method, device, terminal and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090292950A1 (en) * | 2008-05-20 | 2009-11-26 | Inventec Corporation | Method for making test fixture |
CN102968362A (en) * | 2012-11-21 | 2013-03-13 | 浪潮电子信息产业股份有限公司 | Method for detecting integrity of PCIE (peripheral component interface express) equipment in system start-up process |
CN103019920A (en) * | 2012-12-14 | 2013-04-03 | 浪潮电子信息产业股份有限公司 | Complete machine non-power-off startup and shutdown method based on Linux system |
-
2013
- 2013-11-01 CN CN201310533076.6A patent/CN103593269A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090292950A1 (en) * | 2008-05-20 | 2009-11-26 | Inventec Corporation | Method for making test fixture |
CN102968362A (en) * | 2012-11-21 | 2013-03-13 | 浪潮电子信息产业股份有限公司 | Method for detecting integrity of PCIE (peripheral component interface express) equipment in system start-up process |
CN103019920A (en) * | 2012-12-14 | 2013-04-03 | 浪潮电子信息产业股份有限公司 | Complete machine non-power-off startup and shutdown method based on Linux system |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103984612B (en) * | 2014-05-28 | 2017-11-10 | 浪潮电子信息产业股份有限公司 | A kind of method of the unattended pressure test based on HPL instruments |
CN103984612A (en) * | 2014-05-28 | 2014-08-13 | 浪潮电子信息产业股份有限公司 | Unattended stress testing method based on HPL tool |
CN104536875A (en) * | 2015-01-16 | 2015-04-22 | 浪潮电子信息产业股份有限公司 | Automatic server restart testing method based on IPMI |
CN104714863A (en) * | 2015-02-06 | 2015-06-17 | 浪潮电子信息产业股份有限公司 | Method for completely storing Raid card logs on basis of Linux operation system after system crashes |
CN106649011A (en) * | 2016-12-02 | 2017-05-10 | 曙光信息产业(北京)有限公司 | Detection method and detection device for server equipment |
CN106598793A (en) * | 2016-12-13 | 2017-04-26 | 郑州云海信息技术有限公司 | Test system and method based on BIOS serial port log data |
CN107301112A (en) * | 2017-06-29 | 2017-10-27 | 郑州云海信息技术有限公司 | PCIE device compatibility test method and system under a kind of Linux system |
CN107526663A (en) * | 2017-08-31 | 2017-12-29 | 郑州云海信息技术有限公司 | A kind of method for testing open/close machine cooperateed with based on outband management with operating system and system |
CN107844395A (en) * | 2017-11-16 | 2018-03-27 | 郑州云海信息技术有限公司 | A kind of reboot test control methods and system |
CN107844395B (en) * | 2017-11-16 | 2021-04-02 | 郑州云海信息技术有限公司 | Reboot test control method and system |
CN107918574A (en) * | 2017-12-05 | 2018-04-17 | 郑州云海信息技术有限公司 | A kind of method of inspection based on test hardware information under Redhat |
CN109062839A (en) * | 2018-07-18 | 2018-12-21 | 郑州云海信息技术有限公司 | A kind of method, apparatus and computer readable storage medium detecting HBA card |
CN109324935A (en) * | 2018-09-13 | 2019-02-12 | 郑州云海信息技术有限公司 | A kind of system cold start-up test method, device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103593269A (en) | Automatic cyclic test method of restart pressure of multiple PCIe devices | |
US9218893B2 (en) | Memory testing in a data processing system | |
US20140068350A1 (en) | Self-checking system and method using same | |
KR20130100879A (en) | Electronic apparatus, method for restore of mbr and computer-readable recording medium | |
CN103150231A (en) | Computer booting method and computer system | |
CN101334751B (en) | Method and device for virtual machine monitor recognizing client operating system progress | |
CN101377749B (en) | Method, programmable logic device, system and apparatus for checking memory data | |
CN103744764A (en) | Crontab based whole computer memory stability test method | |
CN105718340A (en) | Crontab based CPU stability testing method | |
CN106547653B (en) | Computer system fault state detection method, device and system | |
CN103970557A (en) | Storage device and system starting method thereof | |
CN103514015A (en) | Method and device for booting operation system from storage medium | |
CN110750396A (en) | Server operating system compatibility testing method and device and storage medium | |
CN105718330A (en) | Linux system backup data recovery method and device | |
CN106776189A (en) | It is a kind of that method of testing is restarted based on platform of soaring automatically | |
CN104021058A (en) | Method for quickly starting test board card | |
CN105549985A (en) | Method and system for enhancing reliability of Linux application system | |
CN103984572A (en) | Method and equipment for realizing computer installation and operating system switch without CD driver | |
CN103064767A (en) | Driver backup method, driver backup device, driver restoring method and driver restoring device | |
CN104459515A (en) | Mainboard production testing method | |
CN105630523A (en) | Computer BIOS data recovery system and method | |
CN101727371A (en) | Method for adding and running memory testing tool in BIOS | |
CN105426304A (en) | Control method and device of restart test | |
EP2829974A2 (en) | Memory dump method, information processing apparatus and program | |
CN106095631B (en) | Multi-cycle non-pipeline CPU dynamic debugging method based on finite state machine |
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 |
Application publication date: 20140219 |
|
WD01 | Invention patent application deemed withdrawn after publication |