# US 10,956,307 B2 · Detection of code defects via analysis of telemetry data across internal validation rings

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

- Number: US 10,956,307 B2
- Document ID: US10956307B2
- Status: Granted
- Kind: B2
- Application number: 16/128,744
- Filed: 2018-09-12
- Published: 2020-03-12
- Granted: 2021-03-23
- Earliest claimed: 2018-09-12
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Donovan Allen Isaak; Dmitry Valentinovich Kholodkov
- Web page: https://patentgrep.com/patent/US10956307B2

## CPC

- G06F 11/0712: {in a virtual computing platform, e.g. logically partitioned systems}
- G06F 11/3672: {Test management}
- G06F 11/0754: {by exceeding limits}
- G06F 11/0769: {Readable error formats, e.g. cross-platform generic formats, human understandable formats}
- G06F 11/3692: {for test results analysis}
- G06F 8/71: Version control (security arrangements therefor G06F21/57); Configuration management
- G06F 11/0775: {Content or structure details of the error report, e.g. specific table structure, specific error fields}
- G06F 11/3698: Environments for analysis, debugging or testing of software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In non-limiting examples of the present disclosure, systems, methods and devices for detecting a code defect associated with a cloud-based service are presented. A correlation between an operation failure spike in an outermost development ring prior to a production environment for a current software build and an operation failure spike in a development ring that precedes the outermost development ring for the current software build may be identified. A determination may be made that an operation failure spike corresponding to the spike in the outermost development ring in a previous software build did not exist. A determination may be made that an operation failure spike corresponding to the development ring that precedes the outermost development ring for a previous software build did not exist. An operation associated with the failure spikes may be flagged as being related to the code defect based on the findings.

## Claims

### Claim 1

A method for detecting a code defect associated with a cloud-based application service, the method comprising:
monitoring a plurality of operations associated with the cloud-based application service, the monitoring comprising:
analyzing data for a first development ring for a software build and data for a second development ring for the software build, wherein the data for the first development ring and the data for the second development ring is generated contemporaneously; and
analyzing, in a previous version of the software build, data for a development ring corresponding to the first development ring and data for a development ring corresponding to the second development ring, wherein the data for the development ring corresponding to the first development ring in the previous version of the software build and the data for the development ring corresponding to the second development ring in the previous version of the software build is generated contemporaneously with the data for the first development ring and the data for the second development ring;
identifying, in the first development ring for the software build, a first failure spike comprising a first number of failures for a specific one of the plurality of operations, wherein the first failure spike occurred during a first temporal period;
identifying, in the second development ring for the software build, a second failure spike comprising a second number of failures, that is less than the first number of failures, for the specific one of the plurality of operations, wherein the second failure spike occurred during a second temporal period that overlaps with the first temporal period;
identifying a correlation between the first failure spike in the first development ring for the software build and the second failure spike in the second development ring for the software build, the correlation comprising a ratio of a number of operation failures for the specific one of the plurality of operations over a specific duration of time in the first development ring, to a number of operation failures for the specific one of the plurality of operations over a specified duration of time in the second development ring;
determining, for the previous version of the software build, that a failure spike for the specific one of the plurality of operations does not exist in the development ring corresponding to the first development ring;
determining, for the previous version of the software build, that a failure spike for the specific one of the plurality of operations does not exist in a development ring corresponding to the second development ring; and
flagging the specific one of the plurality of operations as being related to the code defect.

### Claim 2 (depends on 1)

The method of claim 1, further comprising determining, for the previous version of the software build, that an elevated level of errors associated with the specific one of the plurality of operations does not exist in a production environment.

### Claim 3 (depends on 1)

The method of claim 1, wherein the first development ring is an outermost development ring.

### Claim 4 (depends on 3)

The method of claim 3, wherein the outermost development ring is a last ring of testing for the software build prior to its release in a production environment.

### Claim 5 (depends on 1)

The method of claim 1, wherein the second development ring is a development ring that precedes the first development ring.

### Claim 6 (depends on 5)

The method of claim 5, wherein the second development ring is a development ring that immediately precedes the first development ring.

### Claim 7 (depends on 1)

The method of claim 1, wherein identifying the first failure spike in the first development ring comprises determining that a threshold percentage of errors related to performance of the specific one of the plurality of operations have occurred.

### Claim 8 (depends on 1)

The method of claim 1, wherein identifying the first failure spike in the first development ring comprises determining that a threshold number of errors, over a threshold amount of time, related to the performance of the specific one of the plurality of operations have occurred.

### Claim 9

A system for detecting a code defect associated with a cloud-based application service, comprising:
a memory for storing executable program code; and
one or more processors, functionally coupled to the memory, the one or more processors being responsive to computer-executable instructions contained in the program code and operative to:
analyze data for a first development ring for a software build and data for a second development ring for the software build, wherein the data for the first development ring and the data for the second development ring is generated contemporaneously;
analyze, in a previous version of the software build, data for a development ring corresponding to the first development ring and data for a development ring corresponding to the second development ring, wherein the data for the development ring corresponding to the first development ring in the previous version of the software build and the data for the development ring corresponding to the second development ring in the previous version of the software build is generated contemporaneously with the data for the first development ring and the data for the second development ring;
identify a correlation between a first operation failure spike comprising a first number of failures in the first development ring for the software build and a second operation failure spike comprising a second number of failures that is less than the first number of failures in the second development ring for the software build, wherein the first failure spike occurred during a first temporal period and the second failure spike occurred during a second temporal period that overlaps with the first temporal period, and wherein the correlation comprises a ratio of a number of operation failures for an operation over a specified duration of time in the first development ring, to a number of operation failures for the operation over a specified duration of time in the second development ring;
determine that an operation failure spike corresponding to the first operation failure spike did not exist for the previous version of the software build;
determine that an operation failure spike corresponding to the second operation failure spike did not exist for the previous version of the software build; and
flag an operation associated with the failure spikes as being related to the code defect.

### Claim 10 (depends on 9)

The system of claim 9, wherein the first development ring is an outermost development ring.

### Claim 11 (depends on 10)

The system of claim 10, wherein the outermost development ring is a last ring of testing for the software build prior to its release in a production environment.

### Claim 12 (depends on 9)

The system of claim 9, wherein the second development ring is a development ring that precedes the first development ring.

### Claim 13 (depends on 9)

The system of claim 9, wherein the second development ring is a development ring that immediately precedes the first development ring.

### Claim 14

A computer-readable storage media comprising executable instructions that, when executed by one or more processors, assists with detecting a code defect associated with a cloud-based application service, the computer-readable storage media including instructions executable by the one or more processors for:
monitoring a plurality of operations associated with the cloud-based application service, the monitoring comprising:
analyzing data for a first development ring for a software build and data for a second development ring for the software build, wherein the data for the first development ring and the data for the second development ring is generated contemporaneously;
analyzing, in a previous version of the software build, data for a development ring corresponding to the first development ring and data for a development ring corresponding to the second development ring, wherein the data for the development ring corresponding to the first development ring in the previous version of the software build and the data for the development ring corresponding to the second development ring in the previous version of the software build is generated contemporaneously with the data for the first development ring and the data for the second development ring;
identifying, in the first development ring for the software build, a first failure spike comprising a first number of failures for a specific one of the plurality of operations, wherein the first failure spike occurred during a first temporal period;
identifying, in the second development ring for the software build, a second failure spike comprising a second number of failures, that is less than the first number of failures, for the specific one of the plurality of operations, wherein the second failure spike occurred during a second temporal period that overlaps with the first temporal period;
identifying a correlation between the first failure spike in the first development ring for the software build and the second failure spike in the second development ring for the software build, the correlation comprising a ratio of a number of operation failures for the specific one of the plurality of operations over a specific duration of time in the first development ring, to a number of operation failures for the specific one of the plurality of operations over a specified duration of time in the second development ring;
determining, for the previous version of the software build, that a failure spike for the specific one of the plurality of operations does not exist in the development ring corresponding to the first development ring;
determining, for the previous version of the software build, that a failure spike for the specific one of the plurality of operations does not exist in a development ring corresponding to the second development ring; and
flagging the specific one of the plurality of operations as being related to the code defect.

### Claim 15 (depends on 14)

The computer-readable storage media of claim 14, wherein the first development ring is an outermost development ring comprising a last ring of testing for the software build prior to its release in a production environment.

### Claim 16 (depends on 14)

The computer-readable storage media of claim 14, wherein the second development ring is a development ring that immediately precedes the first development ring.

### Claim 17 (depends on 14)

The computer-readable storage media of claim 14, wherein identifying the first failure spike in the first development ring comprises determining that a threshold percentage of errors related to performance of the specific one of the plurality of operations have occurred over a threshold duration of time.
