CN113392021A - Method, device and equipment for analyzing cluster reliability test result and readable medium - Google Patents

Method, device and equipment for analyzing cluster reliability test result and readable medium Download PDF

Info

Publication number
CN113392021A
CN113392021A CN202110737606.3A CN202110737606A CN113392021A CN 113392021 A CN113392021 A CN 113392021A CN 202110737606 A CN202110737606 A CN 202110737606A CN 113392021 A CN113392021 A CN 113392021A
Authority
CN
China
Prior art keywords
cluster
test
outputting
fault
iops
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.)
Withdrawn
Application number
CN202110737606.3A
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202110737606.3A priority Critical patent/CN113392021A/en
Publication of CN113392021A publication Critical patent/CN113392021A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method, a device, equipment and a readable medium for analyzing cluster reliability test results, wherein the method comprises the following steps: in response to receiving the cluster reliability test instruction, testing the cluster reliability through a cluster testing tool; receiving input parameters needing to be acquired through a cluster testing tool; and matching and outputting the test result in the total test result of the cluster test tool based on the input parameters input into the cluster test tool. By using the scheme of the invention, a large amount of time spent on extracting effective information from a plurality of data can be reduced, the time for inquiring and analyzing results is saved, the testing efficiency is improved, and the testing period is shortened.

Description

Method, device and equipment for analyzing cluster reliability test result and readable medium
Technical Field
The field relates to the field of computers, and more particularly to a method, an apparatus, a device and a readable medium for cluster reliability test result analysis.
Background
In the process of cluster reliability test of distributed storage products, multiple indexes need to be monitored, due to the fact that multiple monitoring points are involved in the cluster reliability test, time consumption is long, and multiple scenes are covered by the reliability test, efficiency reduction and errors can be caused when a tester frequently calls a command to inquire and analyze data, and especially analysis errors are prone to occurring in the project emergency phase.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a device, and a readable medium for analyzing cluster reliability test results, which can reduce a large amount of time spent on extracting valid information from a plurality of data, save time for querying and analyzing results, improve test efficiency, and shorten a test period.
In view of the above, an aspect of the embodiments of the present invention provides a method for analyzing cluster reliability test results, including the following steps:
in response to receiving the cluster reliability test instruction, testing the cluster reliability through a cluster testing tool;
receiving input parameters needing to be acquired through a cluster testing tool;
and matching and outputting the test result in the total test result of the cluster test tool based on the input parameters input into the cluster test tool.
According to one embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
matching keywords err and/or war and/or fail in a logfile.html file and an errorlog.html file in response to the input parameter being alarm monitoring;
and responding to the matched keywords err and/or war and/or fail, and outputting the alarm content corresponding to the matched keywords.
According to one embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
responding to the input parameter of inquiring the descending amplitude of the IOPS (read-write times per second) before and after the fault, and acquiring an IOPS value before the fault and an IOPS value after the fault in the test result of the cluster test tool;
and calculating and outputting the IOPS reduction amplitude before and after the fault and the average value of the IOPS before and after the fault based on the IOPS value before the fault and the IOPS value after the fault.
According to one embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
responding to the input parameter as the duration that the IOPS descending amplitude exceeds the threshold value after the inquiry fault, and obtaining the range that the IOPS is lower than the threshold value in the specified time period from the test result of the cluster test tool for printing;
and comparing the duration of the IOPS lower than the threshold value with the set time and outputting the duration.
According to one embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
calculating the average time delay in the test result of the cluster test tool in response to the input parameter being the average time delay after the fault is inquired;
and comparing the calculated average time delay with the set average time delay and outputting.
According to one embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
and responding to the input parameter as the average bandwidth after the query fault, calculating the average bandwidth in the test result of the cluster test tool based on the starting time and the ending time in the input parameter, and outputting the result.
According to one embodiment of the invention, the test tool is a vddnch tool.
In another aspect of the embodiments of the present invention, an apparatus for analyzing cluster reliability test results is further provided, where the apparatus includes:
a test module configured to test cluster reliability via a cluster test tool in response to receiving an instruction for a cluster reliability test;
the input module is configured to receive input parameters needing to be acquired through a cluster testing tool;
an output module configured to match and output test results among the total test results of the cluster test tool based on the input parameters input into the cluster test tool.
In another aspect of an embodiment of the present invention, there is also provided a computer apparatus including:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of any of the methods described above.
In another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium storing a computer program, which when executed by a processor implements the steps of any one of the above-mentioned methods.
The invention has the following beneficial technical effects: according to the method for analyzing the cluster reliability test result, the cluster reliability is tested by the cluster test tool by responding to the received cluster reliability test instruction; receiving input parameters needing to be acquired through a cluster testing tool; according to the technical scheme that the test results are matched and output in the total test results of the cluster test tool based on the input parameters input into the cluster test tool, a large amount of time spent on extracting effective information from a large number of data can be reduced, the time for inquiring and analyzing the results is saved, the test efficiency is improved, and the test period is shortened.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram of a method of cluster reliability test result analysis in accordance with one embodiment of the present invention;
FIG. 2 is a diagram illustrating an apparatus for cluster reliability test result analysis according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a computer device according to one embodiment of the present invention;
fig. 4 is a schematic diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
In view of the above, a first aspect of the embodiments of the present invention provides an embodiment of a method for analyzing cluster reliability test results. Fig. 1 shows a schematic flow diagram of the method.
As shown in fig. 1, the method may include the steps of:
s1 tests cluster reliability via the cluster test tool in response to receiving the instruction for the cluster reliability test.
S2 receives the input parameters to be acquired by the cluster test tool.
S3 matches and outputs test results among the total test results of the cluster test tool based on the input parameters input into the cluster test tool.
The method can adopt the shell language to compile the integrated script to form an analysis tool, can realize the demand query only by specifying the related input parameters, does not need to spend a large amount of time to extract effective information from a plurality of data, saves the manual query analysis time, has reusable test results, improves the test efficiency and shortens the test period. The content packaged in the script comprises two aspects, wherein the first aspect is function query, when the entry parameter is hellp, each monitoring index and corresponding transmission parameter are printed out, and the reliability test result is analyzed according to the requirement; the second aspect is that test parameters are transmitted, the script can analyze an HTML file of a result output by the vdbech tool, and a result value needing to be analyzed is printed out for a tester to judge. The test parameters include seven aspects: 1. simulating the time of interruption (hanging up) of the vdbech after the fault; 2. simulating alarm conditions after faults; 3. simulating the IOPS descending amplitude before and after the fault in a specified time period; 4. the time at which the IOPS drops above a threshold value within a specified time period; 5. simulating the average time delay before and after the fault in a specified time period; 6. and simulating the average bandwidth before and after the fault in a specified time period. Calling an integrated script, and automatically printing a corresponding monitoring index result by inputting a set of specified parameters each time to help a tester to analyze a cluster reliability result; 7. and outputting monitoring information of all monitoring points, recording the 6 monitoring points into a configuration file in the form of the configuration file, calling the configuration file by a script, and printing the information of the 6 monitoring points.
By the technical scheme, a large amount of time spent on extracting effective information from a large number of data can be reduced, the time for inquiring and analyzing results is saved, the testing efficiency is improved, and the testing period is shortened.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
matching keywords err and/or war and/or fail in a logfile.html file and an errorlog.html file in response to the input parameter being alarm monitoring;
and responding to the matched keywords err and/or war and/or fail, and outputting the alarm content corresponding to the matched keywords.
When the script integrated analysis tool identifies that the entry parameter is an alarm, the alarm monitoring entry parameter is err, and when the entry parameter is err, logfile.html and errorlog.html files are called, whether the files have alarm related contents is detected, and whether the two result files contain keywords of err, war and fail is inquired;
when the content related to the alarm is detected in the file, the alarm information is displayed to the tester.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
responding to the input parameter of inquiring the IOPS descending amplitude before and after the fault, and acquiring the IOPS value before the fault and the IOPS value after the fault in the test result of the cluster test tool;
and calculating and outputting the IOPS reduction amplitude before and after the fault and the average value of the IOPS before and after the fault based on the IOPS value before the fault and the IOPS value after the fault.
When the entry parameters are identified as IOPS descending amplitude by the script integration analysis tool, the entry parameters are ave _ IOPS, before _ start, before _ end, after _ start and after _ end, and two time periods before and after monitoring are required to be transmitted, and after the group of parameters are transmitted, the script calls a specific analysis command to calculate and display the average value and descending amplitude results before and after fault injection to a tester.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
responding to the input parameter as the duration that the IOPS descending amplitude exceeds the threshold value after the inquiry fault, and obtaining the range that the IOPS is lower than the threshold value in the specified time period from the test result of the cluster test tool for printing;
and comparing the duration of the IOPS lower than the threshold value with the set time and outputting the duration.
The script integration analysis tool identifies parameters such as beyond _ threshold and start end threshold1 threshold2, the detection point needs to be transmitted into a specified time period and a set threshold value and a time length threshold value, after the group of parameters are transmitted, the script calls an analysis command to print a range in which the IOPS is lower than the threshold value in the specified time period, monitors whether the length of the range exceeds a requirement, if the length does not meet the requirement, the actual length and the required length are displayed, the detected duration exceeding the threshold value is compared with the set time, and relevant information is displayed to a tester.
In a preferred embodiment of the invention, if the input parameter is the interruption (hanging) time of the vdbench after the query fault, when the input parameter is Break IO, the script calls a summary. html file, the time point of IOPS 0 in the file is counted and printed out, the interruption (hanging) time of the vdbench is analyzed, and when the interruption (hanging) of the vdbench is detected, the relevant information is displayed to a tester.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
calculating the average time delay in the test result of the cluster test tool in response to the input parameter being the average time delay after the fault is inquired;
and comparing the calculated average time delay with the set average time delay and outputting. The script integration analysis tool identifies the average time delay after the entry parameter is monitored, the parameters are ave _ delay, start end and threshold, the monitoring point needs to transmit the starting time point and the time delay threshold, after the group of parameters are transmitted, the script calls an analysis command to calculate the average time delay and compare the average time delay with the threshold, the actual comparison result is printed out, then the detected average time delay is compared with the set average time delay, and relevant information is displayed to a tester.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
and responding to the input parameter as the average bandwidth after the query fault, calculating the average bandwidth in the test result of the cluster test tool based on the starting time and the ending time in the input parameter, and outputting the result.
In a preferred embodiment of the invention, if the input parameters are all parameters, and the input parameters are all, the monitoring information of all monitoring points is output, the 6 monitoring points are recorded in a configuration file in the form of a configuration file, a script calls the configuration file, and the information of the 6 monitoring points is printed out, and the configuration file is written in advance in the mode, and the failure is simulated at the specified time to carry out the reliability case test.
In a preferred embodiment of the invention, the test tool is a vddnch tool.
By the technical scheme, a large amount of time spent on extracting effective information from a large number of data can be reduced, the time for inquiring and analyzing results is saved, the testing efficiency is improved, and the testing period is shortened.
It should be noted that, as will be understood by those skilled in the art, all or part of the processes in the methods of the above embodiments may be implemented by instructing relevant hardware through a computer program, and the above programs may be stored in a computer-readable storage medium, and when executed, the programs may include the processes of the embodiments of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention.
In view of the above object, according to a second aspect of the embodiments of the present invention, an apparatus for analyzing cluster reliability test results is provided, as shown in fig. 2, the apparatus 200 includes:
a test module configured to test cluster reliability via a cluster test tool in response to receiving an instruction for a cluster reliability test;
the input module is configured to receive input parameters needing to be acquired through a cluster testing tool;
an output module configured to match and output test results among the total test results of the cluster test tool based on the input parameters input into the cluster test tool.
In a preferred embodiment of the present invention, the output module is further configured to:
matching keywords err and/or war and/or fail in a logfile.html file and an errorlog.html file in response to the input parameter being alarm monitoring;
and responding to the matched keywords err and/or war and/or fail, and outputting the alarm content corresponding to the matched keywords.
In a preferred embodiment of the present invention, the output module is further configured to:
responding to the input parameter of inquiring the IOPS descending amplitude before and after the fault, and acquiring the IOPS value before the fault and the IOPS value after the fault in the test result of the cluster test tool;
and calculating and outputting the IOPS reduction amplitude before and after the fault and the average value of the IOPS before and after the fault based on the IOPS value before the fault and the IOPS value after the fault.
In a preferred embodiment of the present invention, the output module is further configured to:
responding to the input parameter as the duration that the IOPS descending amplitude exceeds the threshold value after the inquiry fault, and obtaining the range that the IOPS is lower than the threshold value in the specified time period from the test result of the cluster test tool for printing;
and comparing the duration of the IOPS lower than the threshold value with the set time and outputting the duration.
In a preferred embodiment of the present invention, the output module is further configured to:
calculating the average time delay in the test result of the cluster test tool in response to the input parameter being the average time delay after the fault is inquired;
and comparing the calculated average time delay with the set average time delay and outputting.
In a preferred embodiment of the present invention, the output module is further configured to:
and responding to the input parameter as the average bandwidth after the query fault, calculating the average bandwidth in the test result of the cluster test tool based on the starting time and the ending time in the input parameter, and outputting the result.
In a preferred embodiment of the invention, the test tool is a vddnch tool.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device. Fig. 3 is a schematic diagram of an embodiment of a computer device provided by the present invention. As shown in fig. 3, an embodiment of the present invention includes the following means: at least one processor S21; and a memory S22, the memory S22 storing computer instructions S23 executable on the processor, the instructions when executed by the processor implementing the method of:
in response to receiving the cluster reliability test instruction, testing the cluster reliability through a cluster testing tool;
receiving input parameters needing to be acquired through a cluster testing tool;
and matching and outputting the test result in the total test result of the cluster test tool based on the input parameters input into the cluster test tool.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
matching keywords err and/or war and/or fail in a logfile.html file and an errorlog.html file in response to the input parameter being alarm monitoring;
and responding to the matched keywords err and/or war and/or fail, and outputting the alarm content corresponding to the matched keywords.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
responding to the input parameter of inquiring the IOPS descending amplitude before and after the fault, and acquiring the IOPS value before the fault and the IOPS value after the fault in the test result of the cluster test tool;
and calculating and outputting the IOPS reduction amplitude before and after the fault and the average value of the IOPS before and after the fault based on the IOPS value before the fault and the IOPS value after the fault.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
responding to the input parameter as the duration that the IOPS descending amplitude exceeds the threshold value after the inquiry fault, and obtaining the range that the IOPS is lower than the threshold value in the specified time period from the test result of the cluster test tool for printing;
and comparing the duration of the IOPS lower than the threshold value with the set time and outputting the duration.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
calculating the average time delay in the test result of the cluster test tool in response to the input parameter being the average time delay after the fault is inquired;
and comparing the calculated average time delay with the set average time delay and outputting.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
and responding to the input parameter as the average bandwidth after the query fault, calculating the average bandwidth in the test result of the cluster test tool based on the starting time and the ending time in the input parameter, and outputting the result.
In a preferred embodiment of the invention, the test tool is a vddnch tool.
In view of the above object, a fourth aspect of the embodiments of the present invention proposes a computer-readable storage medium. FIG. 4 is a schematic diagram illustrating an embodiment of a computer-readable storage medium provided by the present invention. As shown in fig. 4, the computer readable storage medium stores S31 a computer program that, when executed by a processor, performs the method S32:
in response to receiving the cluster reliability test instruction, testing the cluster reliability through a cluster testing tool;
receiving input parameters needing to be acquired through a cluster testing tool;
and matching and outputting the test result in the total test result of the cluster test tool based on the input parameters input into the cluster test tool.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
matching keywords err and/or war and/or fail in a logfile.html file and an errorlog.html file in response to the input parameter being alarm monitoring;
and responding to the matched keywords err and/or war and/or fail, and outputting the alarm content corresponding to the matched keywords.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
responding to the input parameter of inquiring the IOPS descending amplitude before and after the fault, and acquiring the IOPS value before the fault and the IOPS value after the fault in the test result of the cluster test tool;
and calculating and outputting the IOPS reduction amplitude before and after the fault and the average value of the IOPS before and after the fault based on the IOPS value before the fault and the IOPS value after the fault.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
responding to the input parameter as the duration that the IOPS descending amplitude exceeds the threshold value after the inquiry fault, and obtaining the range that the IOPS is lower than the threshold value in the specified time period from the test result of the cluster test tool for printing;
and comparing the duration of the IOPS lower than the threshold value with the set time and outputting the duration.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
calculating the average time delay in the test result of the cluster test tool in response to the input parameter being the average time delay after the fault is inquired;
and comparing the calculated average time delay with the set average time delay and outputting.
In a preferred embodiment of the present invention, matching and outputting test results in the total test results of the cluster test tool based on the input parameters input into the cluster test tool comprises:
and responding to the input parameter as the average bandwidth after the query fault, calculating the average bandwidth in the test result of the cluster test tool based on the starting time and the ending time in the input parameter, and outputting the result.
In a preferred embodiment of the invention, the test tool is a vddnch tool.
Furthermore, the methods disclosed according to embodiments of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method for analyzing cluster reliability test results is characterized by comprising the following steps:
in response to receiving the cluster reliability test instruction, testing the cluster reliability through a cluster testing tool;
receiving input parameters needing to be acquired through a cluster testing tool;
and matching and outputting the test result in the total test result of the cluster test tool based on the input parameters input into the cluster test tool.
2. The method of claim 1, wherein matching and outputting test results in the aggregate test results of the cluster test tool based on the input parameters entered into the cluster test tool comprises:
matching keywords err and/or war and/or fail in a logfile.html file and an errorlog.html file in response to the input parameter being alarm monitoring;
and responding to the matched keywords err and/or war and/or fail, and outputting the alarm content corresponding to the matched keywords.
3. The method of claim 1, wherein matching and outputting test results in the aggregate test results of the cluster test tool based on the input parameters entered into the cluster test tool comprises:
responding to the input parameter of inquiring the IOPS descending amplitude before and after the fault, and acquiring the IOPS value before the fault and the IOPS value after the fault in the test result of the cluster test tool;
and calculating and outputting the IOPS reduction amplitude before and after the fault and the average value of the IOPS before and after the fault based on the IOPS value before the fault and the IOPS value after the fault.
4. The method of claim 1, wherein matching and outputting test results in the aggregate test results of the cluster test tool based on the input parameters entered into the cluster test tool comprises:
responding to the input parameter as the duration that the IOPS descending amplitude exceeds the threshold value after the inquiry fault, and obtaining the range that the IOPS is lower than the threshold value in the specified time period from the test result of the cluster test tool for printing;
and comparing the duration of the IOPS lower than the threshold value with the set time and outputting the duration.
5. The method of claim 1, wherein matching and outputting test results in the aggregate test results of the cluster test tool based on the input parameters entered into the cluster test tool comprises:
calculating the average time delay in the test result of the cluster test tool in response to the input parameter being the average time delay after the fault is inquired;
and comparing the calculated average time delay with the set average time delay and outputting.
6. The method of claim 1, wherein matching and outputting test results in the aggregate test results of the cluster test tool based on the input parameters entered into the cluster test tool comprises:
and responding to the input parameter as the average bandwidth after the query fault, calculating the average bandwidth in the test result of the cluster test tool based on the starting time and the ending time in the input parameter, and outputting the result.
7. The method of claim 1, wherein the test tool is a vdbech tool.
8. An apparatus for cluster reliability test result analysis, the apparatus comprising:
a test module configured to test cluster reliability via a cluster test tool in response to receiving an instruction for a cluster reliability test;
the input module is configured to receive input parameters needing to be acquired through a cluster testing tool;
an output module configured to match and output test results among the total test results of the cluster test tool based on the input parameters input into the cluster test tool.
9. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202110737606.3A 2021-06-30 2021-06-30 Method, device and equipment for analyzing cluster reliability test result and readable medium Withdrawn CN113392021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110737606.3A CN113392021A (en) 2021-06-30 2021-06-30 Method, device and equipment for analyzing cluster reliability test result and readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110737606.3A CN113392021A (en) 2021-06-30 2021-06-30 Method, device and equipment for analyzing cluster reliability test result and readable medium

Publications (1)

Publication Number Publication Date
CN113392021A true CN113392021A (en) 2021-09-14

Family

ID=77624665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110737606.3A Withdrawn CN113392021A (en) 2021-06-30 2021-06-30 Method, device and equipment for analyzing cluster reliability test result and readable medium

Country Status (1)

Country Link
CN (1) CN113392021A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116627847A (en) * 2023-07-21 2023-08-22 山东云科汉威软件有限公司 Browser compatibility testing method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116627847A (en) * 2023-07-21 2023-08-22 山东云科汉威软件有限公司 Browser compatibility testing method and system
CN116627847B (en) * 2023-07-21 2023-10-10 山东云科汉威软件有限公司 Browser compatibility testing method and system

Similar Documents

Publication Publication Date Title
CN108459850B (en) Method, device and system for generating test script
CN110088744B (en) Database maintenance method and system
CN109669798B (en) Crash analysis method, crash analysis device, electronic equipment and storage medium
US11038587B2 (en) Method and apparatus for locating fault cause, and storage medium
CN114201408A (en) Regression testing method, device, computer equipment and storage medium
WO2021047184A1 (en) System failure analysis and processing method and apparatus, storage medium, and electronic device
CN113392021A (en) Method, device and equipment for analyzing cluster reliability test result and readable medium
CN110580220B (en) Method for measuring code segment execution time and terminal equipment
CN110019067A (en) A kind of log analysis method and system
CN112948262A (en) System test method, device, computer equipment and storage medium
CN110147313B (en) Log output method and device
CN110008074B (en) Method, device and equipment for automatically testing and inquiring upper-layer interface of hardware information
CN111143151B (en) Service monitoring method and device and electronic equipment
CN116662197A (en) Automatic interface testing method, system, computer and readable storage medium
CN107357701B (en) SAS signal testing method and device under distributed scene
CN114138579A (en) Prometous-based GPU (graphics processing Unit) interactive test method, device, equipment and readable medium
CN113037521B (en) Method for identifying state of communication equipment, communication system and storage medium
CN114064510A (en) Function testing method and device, electronic equipment and storage medium
CN114138633A (en) Method, device and equipment for testing software based on data driving and readable medium
CN113448786A (en) PCIe equipment testing method, device, equipment and readable storage medium
CN115470095A (en) Test method, test system, electronic equipment and computer storage medium
CN110109809B (en) Method and equipment for testing log auditing function according to syslog
CN115454819A (en) Test method, device, equipment and storage medium for block chain cross-chain system
CN109361531A (en) A kind of communication equipment is not easy to reappear the reproducing method of problem, system and equipment
CN117234826B (en) Solid state disk reliability verification interference-free test platform and working method

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210914