System and method for determining fault path behavior

Error detection/correction and fault detection/recovery – Data processing system error or fault handling – Reliability and availability

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C714S041000, C717S135000, C703S022000

Reexamination Certificate

active

06651187

ABSTRACT:

BACKGROUND OF THE INVENTION
The present invention relates to data processing systems, and more particularly to systems and methods for developing and debugging software programs implemented by such systems. During the development of computer software programs, it is typically necessary to continually evaluate and test the program to ensure that it will operate properly under a variety of operational conditions. In conducting such testing (commonly referred to as “debugging”), it is often desirable to obtain performance information generated during the actual execution of the program. This information may include timing information relating to execution time of various parts of the program being tested as well as information relating to the program's ability to operate correctly in response to a wide variety of conditions and errors. Preferably, performance information is obtained by monitoring program execution under situations that simulate, as nearly as practical, the actual operating environment in which the software is intended to run. The data gathered during this monitoring (commonly referred to as “tracing”) is then analyzed to locate the corresponding places in the code that may be causing or contributing to any identified problems.
In one particular example of software program debugging, it is foreseen that, in operation, a software program should appropriately respond to erroneous inputs or other types of fault sequences such that the error condition is overcome in a timely manner. That is, the program is developed to include various fault paths which are followed in response to various error conditions. In debugging such functionality within a test program, it is desirable to view the operation or behavior of the fault paths when subjected to the error conditions. It can then be determined, through analysis, whether the test program is reacting properly and timely.
Unfortunately, several problems exist in performing the above type of fault path analysis and debugging operations. First, many software programs must be responsive to a wide variety of error conditions, each requiring a different response or fault path on the part of the program. Second, the error conditions being tested are often very rare in their natural occurrence. Nonetheless, the software must be designed to overcome the eventuality that the error conditions will occur. In these circumstances, it is often difficult to reproduce such error conditions in a manner which affords testing of the program yet does not itself impact the operation of the program.
Conventionally, error conditions or sequences are tested by inducing the condition (through external means or otherwise) during operation of the software. For example, in a peer-to-peer system between two networked devices, erroneous signals or messages may be sent to a device under test. However, actually generating each of the conditions to be tested is extremely time intensive, if possible at all. Alternatively, the condition may be “tested” during program development by examining the software code itself or test running portions of code to determine end-user operation.
Unfortunately, in complex systems in which various software components are designed to react timely with each other, code testing alone is unlikely to provide an accurate picture of how the complete system will respond in operation.
In particular, conventional techniques commonly used to debug reactive systems include numerous deficiencies in that such techniques are generally 1) static, and not dynamic, 2) hard-coded, and not variable, and 3) not probabilistic. Typically a developer debugging a reactive system will make a change in the code running a system at one end of a communications link, which change could force an invalid or out-of-context message to be sent at a certain point in a scenario. This approach is useful for observing the behavior of the system receiving the message, but it is only useful in observing single-shot behavior. For example, in one scenario, conventional debugging techniques enable developers to see what the system does when it receives a bad message one time. However, such static techniques fail to enable the developer to see what will happen in multiple executions of the event path. In addition, with conventional methods, developers cannot see what happens when error conditions appears, go away, and then re-appear after some duration of correct behavior. In this circumstance, it is unclear whether the error handing process is robust enough to handle errors which happen infrequently, interspersed with longer periods of correct operation, and continue to do the job for which it was designed.
Accordingly, there is a need in the art of software development techniques for system and method for analyzing fault path behavior of computer software programs.
Further, there is also a need for a method and system for reproducibly injecting fault sequences into a computer software program to determine the responsive fault path behavior.
SUMMARY OF THE INVENTION
The present invention overcomes the problems noted above, and provides additional advantages, by providing a system and method for determining fault path behavior in a computer software system. An error or event, the occurrence of which is to be tested, is assigned a probability value and an array of elements populated by pseudo-random numbers. Upon each operation of the system under test the current array value is compared against the probability value. If the current array value is greater than or equal than the probability value, the error or event is simulated within the software. Otherwise, the event is not simulated and the software is left to operate conventionally. The array is incremented upon each occurrence of the system under test.


REFERENCES:
patent: 5671352 (1997-09-01), Subrahmaniam et al.
patent: 5699547 (1997-12-01), Sato et al.
patent: 5751941 (1998-05-01), Hinds et al.
patent: 6002871 (1999-12-01), Duggan et al.
patent: 6110218 (2000-08-01), Jennings
patent: 6192287 (2001-02-01), Solomon et al.
patent: 6208616 (2001-03-01), Mahalingam et al.
patent: 6249755 (2001-06-01), Yemini et al.
patent: 6269330 (2001-07-01), Cidon et al.
patent: 6370606 (2002-04-01), Bonola
patent: 6381604 (2002-04-01), Caughran et al.
patent: 6384843 (2002-05-01), Harel
patent: 6477471 (2002-11-01), Hedstrom et al.
patent: 6539503 (2003-03-01), Walker
patent: 6557120 (2003-04-01), Nicholoson et al.
patent: 2003/0093773 (2003-05-01), Reed et al.
patent: 1094391 (2001-04-01), None
Carreira et al. Assessing the Effects of Communication Faults on Parallel Applications. Apr. 24-26, 1995. Proceeding of IPDS'95, International Computer and Dependability Symposium.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

System and method for determining fault path behavior does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with System and method for determining fault path behavior, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System and method for determining fault path behavior will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3160593

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.