# US 2021/0286711 A1 · System testing infrastructure for analyzing and preventing soft failure in active environment

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0286711 A1
- Document ID: US20210286711A1
- Status: Published application
- Kind: A1
- Application number: 16/819,321
- Filed: 2020-03-16
- Published: 2021-09-16
- Earliest claimed: 2020-03-16
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Andrew C. M. Hicks; RYAN THOMAS RAWLINS; Dale E. Blue; Kevin Minerley
- Web page: https://patentgrep.com/patent/US20210286711A1

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/076: {by exceeding a count or rate limit, e.g. word- or bit count limit}
- G06F 11/327: {Alarm or error message display}
- G06F 11/3636: {by tracing the execution of the program}
- G06F 11/3676: {for coverage analysis}
- G06F 11/3684: {for test design, e.g. generating new test cases}
- G06F 11/3692: {for test results analysis}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for testing a system under test (SUT) in an active environment includes receiving, by a testing system, a code path of the SUT that causes a soft failure in the active environment. The soft failure occurs in the active environment during execution of the SUT based at least on a parameter of the active environment. The method further includes generating, by the testing system, multiple tests for testing the SUT, the tests generated based on a coverage model of the SUT, wherein the coverage model uses several attributes. The method further includes selecting, by the testing system, from the generated tests, a set of tests that are associated with the code path. The method further includes executing, by the testing system, only the set of tests that are selected on the SUT to analyze a cause of the soft failure.

## Claims

### Claim 1

A method for testing a system under test (SUT) in an active environment, the method comprising:
receiving, by a testing system, a code path of the SUT that causes a soft failure in the active environment, wherein the soft failure occurs in the active environment during execution of the SUT based at least on a parameter of the active environment;
generating, by the testing system, a plurality of tests for testing the SUT, the plurality of tests generated based on a coverage model of the SUT, wherein the coverage model comprises a plurality of attributes;
selecting, by the testing system, from the plurality of tests, a set of tests that are associated with the code path; and
executing, by the testing system, only the set of tests that are selected on the SUT to analyze a cause of the soft failure.

### Claim 2 (depends on 1)

The method of claim 1, wherein each of the plurality of attributes has a set of possible values and wherein the coverage model defines possible combinations of values of the attributes as covered by the plurality of tests.

### Claim 3 (depends on 1)

The method of claim 1, further comprising updating the SUT to bypass execution of the code path.

### Claim 4 (depends on 1)

The method of claim 1, wherein the plurality of tests is generated using combinatorial test design (CTD).

### Claim 5 (depends on 1)

The method of claim 1, wherein selecting the set of tests comprises identifying that a test from the plurality of tests is associated with the code path, wherein the identification is based on a breakpoint fingerprint of the code path.

### Claim 6 (depends on 5)

The method of claim 5, wherein the breakpoint fingerprint is generated based on a plurality of breakpoints that are exercised during execution of the code path by the test in a clean environment.

### Claim 7 (depends on 1)

The method of claim 1, further comprising reducing the set of tests in response to a number of tests in the set of tests exceeding a predetermined threshold.

### Claim 8

A system comprising:
a memory device; and
one or more processing units coupled with the memory device, the one or more processing units configured to perform a method comprising:
receiving a code path of a system under test (SUT) that is being executed in an active environment that causes a soft failure in the active environment, wherein the soft failure occurs in the active environment during execution of the SUT based at least on a parameter of the active environment;
generating a plurality of tests for testing the SUT, the plurality of tests is generated based on a coverage model of the SUT, wherein the coverage model comprises a plurality of attributes;
selecting from the plurality of tests, a set of tests that are associated with the code path; and
executing only the selected set of tests that are selected on the SUT to analyze a cause of the soft failure.

### Claim 9 (depends on 8)

The system of claim 8, wherein each of the plurality of attributes has a set of possible values and wherein the coverage model defines possible combinations of values of the attributes as covered by the plurality of tests.

### Claim 10 (depends on 8)

The system of claim 8, wherein the method further comprises updating the SUT to bypass execution of the code path.

### Claim 11 (depends on 8)

The system of claim 8, wherein the plurality of tests is generated using combinatorial test design (CTD).

### Claim 12 (depends on 8)

The system of claim 8, wherein selecting the set of tests comprises identifying that a test from the plurality of tests is associated with the code path, wherein the identification is based on a breakpoint fingerprint of the code path.

### Claim 13 (depends on 12)

The system of claim 12, wherein the breakpoint fingerprint is generated based on a plurality of breakpoints that are exercised during execution of the code path by the test in a clean environment.

### Claim 14 (depends on 8)

The system of claim 8, wherein the method further comprises reducing the set of tests in response to a number of tests in the set of tests exceeding a predetermined threshold.

### Claim 15

A computer program product comprising a computer-readable storage medium having computer-executable instructions stored thereupon, which when executed by a processor cause the processor to perform for testing a system under test (SUT) in an active environment, the method comprising:
receiving a code path of the SUT that causes a soft failure in the active environment, wherein the soft failure occurs in the active environment during execution of the SUT based at least on a parameter of the active environment;
generating a plurality of tests for testing the SUT, the plurality of tests is generated based on a coverage model of the SUT, wherein the coverage model comprises a plurality of attributes;
selecting from the plurality of tests, a set of tests that are associated with the code path; and
executing only the selected set of tests that are selected on the SUT to analyze a cause of the soft failure.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein each of the plurality of attributes has a set of possible values and wherein the coverage model defines possible combinations of values of the attributes as covered by the plurality of tests.

### Claim 17 (depends on 15)

The computer program product of claim 15, wherein the method further comprises updating the SUT to bypass execution of the code path.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the plurality of tests is generated using combinatorial test design (CTD).

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein selecting the set of tests comprises identifying that a test from the plurality of tests is associated with the code path, wherein the identification is based on a breakpoint fingerprint of the code path.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the method further comprises reducing the set of tests in response to a number of tests in the set of tests exceeding a predetermined threshold.
