# US 2021/0286712 A1 · System testing infrastructure for detecting 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/0286712 A1
- Document ID: US20210286712A1
- Status: Published application
- Kind: A1
- Application number: 16/819,324
- 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/US20210286712A1

## CPC

- G06F 11/3688: {for test execution, e.g. scheduling of test suites}
- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- 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 executing, by the testing system, on the SUT, a test from a set of tests. The method further includes, monitoring a first execution time to complete the test on the SUT in the active environment. Based on the first execution time being different than a second execution time of the test, marking, by the testing system, a code path associated with the test. The second execution time is a duration to complete execution of the test on the SUT in a clean execution environment. The method further includes communicating, by the testing system, the code path for analyzing a soft failure of the SUT 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.

## Claims

### Claim 1

A method for testing a system under test (SUT) in an active environment, the method comprising:
generating, by a 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;
executing, by the testing system, a test from the plurality of tests on the SUT;
monitoring, by the testing system, a first execution time of the test, the first execution time being a duration to complete execution of the test on the SUT in the active environment;
based on the first execution time being different than a second execution time of the test, marking, by the testing system, a code path associated with the test, wherein the second execution time is a duration to complete execution of the test on the SUT in a clean execution environment; and
communicating, by the testing system, the code path for analyzing a soft failure of the SUT 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.

### 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, wherein the coverage model is a functional coverage model of the SUT.

### 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, further comprising:
creating, by the testing system, a minimal set of tests from the plurality of tests by selecting tests for a disjoint set of attributes from the plurality of attributes of the coverage model, the test being from the minimal set of tests.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
identifying the code path associated with the test using a breakpoint fingerprint of the code path.

### Claim 7 (depends on 6)

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

### 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:
generating a plurality of tests for testing a system under test (SUT) that is being executed in an active environment, the plurality of tests is generated based on a coverage model of the SUT, wherein the coverage model comprises a plurality of attributes;
executing a test from the plurality of tests on the SUT;
monitoring a first execution time of the test, the first execution time being a duration to complete execution of the test on the SUT in the active environment;
based on the first execution time being different than a second execution time of the test, marking a code path associated with the test, wherein the second execution time is a duration to complete execution of the test on the SUT in a clean execution environment; and
communicating the code path for analyzing a soft failure of the SUT 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.

### 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 coverage model is a functional coverage model of the SUT.

### 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 the method further comprises:
creating, by the testing system, a minimal set of tests from the plurality of tests by selecting tests for a disjoint set of attributes from the plurality of attributes of the coverage model, the test being from the minimal set of tests.

### Claim 13 (depends on 8)

The system of claim 8, wherein the method further comprises identifying the code path associated with the test using a breakpoint fingerprint of the code path.

### Claim 14 (depends on 13)

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

### 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 a method for testing a system under test (SUT) in an active environment, the method comprising:
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;
executing a test from the plurality of tests on the SUT;
monitoring a first execution time of the test, the first execution time being a duration to complete execution of the test on the SUT in the active environment;
based on the first execution time being different than a second execution time of the test, marking a code path associated with the test, wherein the second execution time is a duration to complete execution of the test on the SUT in a clean execution environment; and
communicating the code path for analyzing a soft failure of the SUT 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.

### 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 coverage model is a functional coverage model of the SUT.

### 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 the method further comprises:
creating, by the testing system, a minimal set of tests from the plurality of tests by selecting tests for a disjoint set of attributes from the plurality of attributes of the coverage model, the test being from the minimal set of tests.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the method further comprises identifying the code path associated with the test using a breakpoint fingerprint of the code path.
