CN107704390A - A kind of method of test FRU consistency on messagings - Google Patents
A kind of method of test FRU consistency on messagings Download PDFInfo
- Publication number
- CN107704390A CN107704390A CN201710898770.6A CN201710898770A CN107704390A CN 107704390 A CN107704390 A CN 107704390A CN 201710898770 A CN201710898770 A CN 201710898770A CN 107704390 A CN107704390 A CN 107704390A
- Authority
- CN
- China
- Prior art keywords
- fru
- test
- refresh
- information
- fru information
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3604—Software analysis for verifying properties of programs
- G06F11/3608—Software analysis for verifying properties of programs using formal methods, e.g. model checking, abstract interpretation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a kind of method of test FRU consistency on messagings, comprise the following steps:FRU information is write into text, FRU is performed and refreshes script, FRU information is refreshed;FRU information after refreshing and the FRU information in text are contrasted, judge FRU information whether Flushing success.The present invention is directly viewable text content when judging whether FRU information is consistent, avoids hand inspection, improves operating efficiency and accuracy rate.
Description
Technical field
The present invention relates to field of computer technology, specifically a kind of method of test FRU consistency on messagings.
Background technology
FRU (Field Replace Unit Field Replaceable Units) is used on server large scale equipment, FRU packets
Sequence number (Serial Number) of name of product (Product Number), machine etc. is included, it is convenient subsequently to each of machine
Individual part is safeguarded.
FRU information can manually write, but follow-up inspection or server are refreshing BMC (Baseboard
Management Controller, baseboard management controller) and when needing to verify FRU information during BMC is restarted very
Inconvenience.Sequence number on FRU is unique, when factory or client are doing BMC upgradings or restarted, it is to be ensured that sequence number will not change
Become, hand inspection, which can compare, loses time.
The content of the invention
It is an object of the invention to provide a kind of method of test FRU consistency on messagings, for solving hand inspection FRU letters
Breath is lost time, ineffective problem.
The technical solution adopted for the present invention to solve the technical problems is:A kind of method of test FRU consistency on messagings, bag
Include following steps:
FRU information is write into text,
Perform FRU and refresh script, FRU information is refreshed;
FRU information after refreshing and the FRU information in text are contrasted, judge whether FRU information refreshes into
Work(.
Further, it is further comprising the steps of after FRU information Flushing success:
Restart BMC;
FRU information is read, and the FRU information and FRU information in text are contrasted, judges the FRU letters at two
Whether breath is consistent.
Further, it is further comprising the steps of after judging that the FRU information at two is consistent:
BMC is refreshed according to FRU information;
FRU information now is read, and FRU information now and FRU information in text are contrasted, is judged
Whether FRU information is consistent.
Further, it is described the step of writing FRU information before text also including searching refresh tool, described to look into
The specific implementation process for looking for refresh tool is:
Search and refresh FRU instruments, judge whether to refresh FRU instruments;
If it is not, test is then directly exited, if so, then carrying out in next step;
Search and refresh BMC instruments, judge whether to refresh BMC instruments;
If it is not, test is then directly exited, if so, then carrying out in next step.
Further, the step of also including creating log files after the step of lookup refresh tool, the log
File is used to record test process and test result.
Further, it is further comprising the steps of after the write-in text by FRU information:
Search and refresh FRU instruments, judge whether to refresh FRU instruments;
If it is not, test is then directly exited, if so, then carrying out in next step;
Search and refresh BMC instruments, judge whether to refresh BMC instruments;
If it is not, test is then directly exited, if so, then carrying out in next step.
Further, the step of also including creating log files after the step of lookup refresh tool, the log
File is used to record test process and test result.
The effect provided in the content of the invention is only the effect of embodiment, rather than whole effects that invention is all, above-mentioned
A technical scheme in technical scheme has the following advantages that or beneficial effect:
1st, the text for writing FRU information is created, and FRU information is write in this article this document, it is follow-up right to make
The judgement of FRU consistency on messagings is evidence-based, and when judging whether FRU information is consistent, is directly viewable text content i.e.
Can, hand inspection is avoided, improves operating efficiency and accuracy rate.
2nd, after carrying out BMC and restarting or refresh BMC, BMC is restarted to FRU information and text after rear or refreshing automatically
In FRU information contrasted, precise and high efficiency judges whether FRU information consistent, improve testing efficiency.
3rd, first determine whether to refresh work with the presence or absence of corresponding in operating system before the refreshing of FRU information and BMC refreshings is carried out
Tool, ensure being smoothed out for test, in the case of not corresponding refresh tool, directly exit test, avoid unnecessary money
Source wastes.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of the embodiment of the present invention 1;
Fig. 2 is the schematic flow sheet of the embodiment of the present invention 2;
Fig. 3 is the schematic flow sheet of the embodiment of the present invention 3;
Fig. 4 is the schematic flow sheet of the embodiment of the present invention 4;
Fig. 5 is the schematic flow sheet of the embodiment of the present invention 5.
Embodiment
For the technical characterstic for illustrating this programme can be understood, below by embodiment, and its accompanying drawing is combined, to this hair
It is bright to be described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the present invention
Structure.In order to simplify disclosure of the invention, hereinafter the part and setting of specific examples are described.In addition, the present invention can be with
Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated
Relation between various embodiments are discussed and/or set.It should be noted that part illustrated in the accompanying drawings is not necessarily to scale
Draw.Present invention omits the description to known assemblies and treatment technology and process to avoid being unnecessarily limiting the present invention.
Embodiment 1
As shown in figure 1, a kind of one embodiment of test FRU consistency on messaging methods of the present invention, the embodiment include
Following steps:
S1, FRU information is write into text,
S2, the script for refreshing FRU information is performed, FRU information is refreshed;
S3, the FRU information after refreshing and the FRU information in text are contrasted, judge whether FRU information refreshes
Success.
In step S1, FRU information has multinomial content, such as PN (product number, name of product), PS (product
Serial, product ID), PAT (product asset tag, product assets label) and BM (board product, plate production
Product) etc..In step S1, newly-built text xxx_FRU, when the FRU information of renewal in need, it would be desirable to which the content of renewal is write
Enter in xxx_FRU files.
In step S2, by starting FRU information refresh tool Fru-change_x64, the script for refreshing FRU information is called,
FRU information is refreshed.In refresh process, by the content for the interior write-in that views text file, corresponding part is carried out
Refresh.
In step S3, the FRU information after refreshing is read by ipmitool, with the FRU information in text xxx_FRU
Contrasted, judge whether FRU information is consistent, if unanimously, Flushing success, otherwise refreshing failure.In comparison process,
Ipmitool first looks at the content of the FRU information change after refreshing, then content corresponding to lookup, contrast from text
Whether unanimously come judge FRU information refresh correctness.For example, if ipmitool has found that PN content is changed, just
Go in xxx_FRU texts to search Product Name refreshing verifications.
Embodiment 2
As shown in Fig. 2 on the basis of above-described embodiment, after FRU information Flushing success, obtain current BMC versions and
Customer id (CUSTOMER ID), restart BMC, again by the FRU information of ipmitool readings now, contrast this FRU letters
Breath is contrasted with the FRU information in text xxx_FRU, judges whether FRU information is consistent, if unanimously showing PASS, i.e.,
It is successfully tested, otherwise, shows FAIL, i.e. test crash.
Embodiment 3
As shown in figure 3, on the basis of embodiment 2, after checking FRU information is consistent, according to FRU information, BMC brushes are called
New tool, BMC is refreshed, refreshed and then it is secondary FRU information now is read by ipmitool, contrast this FRU letters
Breath is contrasted with the FRU information in text xxx_FRU, judges whether FRU information is consistent, if unanimously showing PASS, i.e.,
It is successfully tested, otherwise, shows FAIL, i.e. test crash.
Embodiment 4
As shown in figure 4, on the basis of any of the above-described embodiment, the step for searching refresh tool is also included before step S1
Suddenly, detailed process refreshes FRU instruments to search, and judges whether to refresh FRU instruments;If it is not, test is then directly exited, if
It is then to carry out in next step;Search and refresh BMC instruments, judge whether to refresh BMC instruments;If it is not, test is then directly exited,
If so, then carry out in next step.
Embodiment 5
As shown in figure 5, the step of refresh tool is searched in embodiment 4, between step S1 and step S2, detailed process is
Search and refresh FRU instruments, judge whether to refresh FRU instruments;If it is not, test is then directly exited, if so, then carrying out next
Step;Search and refresh BMC instruments, judge whether to refresh BMC instruments;If it is not, test is then directly exited, if so, then carrying out down
One step.
Embodiment 4 and the step of in embodiment 5, refresh tool is searched in addition, it ensure that and subsequently FRU information and BMC are brushed
New is smoothed out, while in the case of not corresponding refresh tool, directly exits test, avoids unnecessary resource wave
Take.
On the basis of all of above embodiment, the method for test FRU consistency on messaging methods, which is additionally included in, performs refreshing
Establish the process of log files before instrument, log files are used to record in test process and the information of test result, in convenient work
The analysis of understanding and test result of the personnel to test process.
Simply the preferred embodiment of the present invention described above, for those skilled in the art,
Without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications are also regarded as this hair
Bright protection domain.
Claims (7)
1. a kind of method of test FRU consistency on messagings, it is characterized in that:Comprise the following steps:
FRU information is write into text,
Perform FRU and refresh script, FRU information is refreshed;
FRU information after refreshing and the FRU information in text are contrasted, judge FRU information whether Flushing success.
2. a kind of method of test FRU consistency on messagings according to claim 1, it is characterized in that:FRU information refresh into
It is further comprising the steps of after work(:
Restart BMC;
FRU information is read, and the FRU information and FRU information in text are contrasted, judges that the FRU information at two is
It is no consistent.
3. a kind of method of test FRU consistency on messagings according to claim 2, it is characterized in that:Judging the FRU at two
It is further comprising the steps of after information is consistent:
BMC is refreshed according to FRU information;
FRU information now is read, and FRU information now and FRU information in text are contrasted, judges that FRU believes
Whether breath is consistent.
4. a kind of method of test FRU consistency on messagings according to claim any one of 1-3, it is characterized in that:It is described to incite somebody to action
The step of also including searching refresh tool before FRU information write-in text, the specific implementation for searching refresh tool
Cheng Wei:
Search and refresh FRU instruments, judge whether to refresh FRU instruments;
If it is not, test is then directly exited, if so, then carrying out in next step;
Search and refresh BMC instruments, judge whether to refresh BMC instruments;
If it is not, test is then directly exited, if so, then carrying out in next step.
5. a kind of method of test FRU consistency on messagings according to claim 4, it is characterized in that:Refresh in described search
The step of also including creating log files after the step of instrument, the log files are used to record test process and test result.
6. a kind of method of test FRU consistency on messagings according to claim any one of 1-3, it is characterized in that:It is described to incite somebody to action
It is further comprising the steps of after FRU information write-in text:
Search and refresh FRU instruments, judge whether to refresh FRU instruments;
If it is not, test is then directly exited, if so, then carrying out in next step;
Search and refresh BMC instruments, judge whether to refresh BMC instruments;
If it is not, test is then directly exited, if so, then carrying out in next step.
7. a kind of method of test FRU consistency on messagings according to claim 6, it is characterized in that:Refresh in described search
The step of also including creating log files after the step of instrument, the log files are used to record test process and test result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710898770.6A CN107704390A (en) | 2017-09-28 | 2017-09-28 | A kind of method of test FRU consistency on messagings |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710898770.6A CN107704390A (en) | 2017-09-28 | 2017-09-28 | A kind of method of test FRU consistency on messagings |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107704390A true CN107704390A (en) | 2018-02-16 |
Family
ID=61175387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710898770.6A Pending CN107704390A (en) | 2017-09-28 | 2017-09-28 | A kind of method of test FRU consistency on messagings |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107704390A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874420A (en) * | 2018-06-12 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of remote reflash system and method for bulk service device FRU |
CN108984359A (en) * | 2018-07-19 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of system UUID synchronization detecting method, device, equipment and storage medium |
CN109408146A (en) * | 2018-10-19 | 2019-03-01 | 郑州云海信息技术有限公司 | A kind of method and device handling Field Replaceable Unit FRU parameter |
CN110427371A (en) * | 2019-07-19 | 2019-11-08 | 苏州浪潮智能科技有限公司 | Server FRU field management method, device, equipment and readable storage medium storing program for executing |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090125901A1 (en) * | 2007-11-13 | 2009-05-14 | Swanson Robert C | Providing virtualization of a server management controller |
CN102265666A (en) * | 2011-06-09 | 2011-11-30 | 华为技术有限公司 | Method and device for obtaining equipment replacement information of base station transceiver |
CN104679567A (en) * | 2015-03-17 | 2015-06-03 | 浪潮集团有限公司 | Designing method for continuously storing FRU (Field Replaceable Unit) information |
-
2017
- 2017-09-28 CN CN201710898770.6A patent/CN107704390A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090125901A1 (en) * | 2007-11-13 | 2009-05-14 | Swanson Robert C | Providing virtualization of a server management controller |
CN102265666A (en) * | 2011-06-09 | 2011-11-30 | 华为技术有限公司 | Method and device for obtaining equipment replacement information of base station transceiver |
CN104679567A (en) * | 2015-03-17 | 2015-06-03 | 浪潮集团有限公司 | Designing method for continuously storing FRU (Field Replaceable Unit) information |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874420A (en) * | 2018-06-12 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of remote reflash system and method for bulk service device FRU |
CN108874420B (en) * | 2018-06-12 | 2021-07-23 | 郑州云海信息技术有限公司 | Remote refreshing system and method for batch server FRUs |
CN108984359A (en) * | 2018-07-19 | 2018-12-11 | 郑州云海信息技术有限公司 | A kind of system UUID synchronization detecting method, device, equipment and storage medium |
CN109408146A (en) * | 2018-10-19 | 2019-03-01 | 郑州云海信息技术有限公司 | A kind of method and device handling Field Replaceable Unit FRU parameter |
CN110427371A (en) * | 2019-07-19 | 2019-11-08 | 苏州浪潮智能科技有限公司 | Server FRU field management method, device, equipment and readable storage medium storing program for executing |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Kitchenham et al. | Case studies for method and tool evaluation | |
US9038030B2 (en) | Methods for predicting one or more defects in a computer program and devices thereof | |
CN107704390A (en) | A kind of method of test FRU consistency on messagings | |
CA2751646A1 (en) | Determining conversion probability using session metrics | |
Aguirre-Urreta et al. | Revisiting bias due to construct misspecification: Different results from considering coefficients in standardized form | |
CN109840192B (en) | Method and device for automatic testing | |
Islam et al. | Sentiment analysis of software bug related commit messages | |
CN111752833B (en) | Software quality system approval method, device, server and storage medium | |
Yang et al. | An industrial study of natural language processing based test case prioritization | |
Olney et al. | Part of speech tagging Java method names | |
CN108038020B (en) | Webpage fault tracking method and device, electronic equipment and computer storage medium | |
CN104346035A (en) | Indicating automatically corrected words | |
CN107908490A (en) | GPU registers reliability verification method and system in a kind of server DC tests | |
CN112035619A (en) | Medical questionnaire screening method, device, equipment and medium based on artificial intelligence | |
CN112748950B (en) | Software code examination method and device | |
Häser et al. | An integrated tool environment for experimentation in domain specific language engineering | |
CN114385497A (en) | Test environment generation method and device, electronic equipment and storage medium | |
CN111414287A (en) | Method, system and device for analyzing chip test result | |
CN115828856A (en) | Test paper generation method, device, equipment and storage medium | |
US9922352B2 (en) | Multidimensional synopsis generation | |
CN111143220B (en) | Training system and method for software test | |
CN114627419A (en) | Video quality inspection method, device and equipment based on multiple application scenes and storage medium | |
Goswami et al. | Using Learning Styles to Staff and Improve Software Inspection Team Performance | |
Chomal et al. | Finding Trend of Both Frequency and Type of Errors from Software Project Documentation | |
CN106815592A (en) | Model training method and device and wrong word recognition methods and device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180216 |