Resiliency testing of applications and compute infrastructures
Abstract
A computer-implemented method, according to one embodiment, includes: intentionally causing faults to be injected in a compute infrastructure, and determining whether the injected faults cause application failures. Weights are also assigned to the injected faults based on severity of the respective application failures. The weighted faults are compared, and changes to the compute infrastructure are recommended based on the comparison. Moreover, the changes that are recommended are configured to prevent the application failures. Other systems, methods, and computer program products are described in additional embodiments.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 0.
Claims (17 — 3 Independent, 14 Dependent)
- Claim 1Independent Claim
A computer-implemented method, comprising: intentionally causing faults to be injected in a compute infrastructure; determining whether the injected faults cause application failures; assigning weights to the injected faults based on severity of the respective application failures, wherein a negative or zero weight is assigned to ones of the injected faults that cause a change to compute infrastructure behavior, and do not cause an application error; comparing the weighted faults; using an artificial intelligence (AI) model that has been trained to generate physical and/or logical changes to the compute infrastructure based at least in part on the comparison, the injected faults, and/or performance of the compute infrastructure and application(s) in response to the faults being injected, wherein the physical and/or logical changes are configured to prevent the application failures; and causing the physical and/or logical changes to be implemented in the compute infrastructure.
- Claim 2Depends on #1
The computer-implemented method of claim 1, wherein assigning weights to the injected faults includes: creating a heat map having entries identifying whether respective ones of the injected faults cause application errors; determining weights for the injected faults identified in the heat map as causing application errors; and correlating the determined weights with the respective injected faults identified in the heat map as causing the application errors.
- Claim 3Depends on #2
The computer-implemented method of claim 2, wherein the weights are determined based at least in part on an amount of time the application experienced respective errors, wherein the weights increase as the amount of time the compute infrastructure experiences respective errors increases.
- Claim 4Depends on #3
The computer-implemented method of claim 3, wherein the injected faults include infrastructure faults that intentionally subject the compute infrastructure to strain.
- Claim 5Depends on #2
The computer-implemented method of claim 2, wherein the weights are determined based on the outcome and distribution difference of microservice internal calls.
- Claim 6Depends on #1
The computer-implemented method of claim 1, wherein the AI model is trained to generate the physical and/or logical changes to the compute infrastructure based on the comparison, the injected faults, and the performance of the compute infrastructure and application in response to injecting the faults.
- Claim 7Depends on #1
The computer-implemented method of claim 1, wherein the injected faults are selected based on faults previously injected in the compute infrastructure, wherein the injected faults relate to parameters of the compute infrastructure, the parameters being selected from the group consisting of: system errors, fault codes, test workloads, application topologies, and key performance indicators.
- Claim 8Independent Claim
A computer program product, comprising a computer readable storage medium having program instructions embodied therewith, the program instructions readable by a processor, executable by the processor, or readable and executable by the processor, to cause the processor to: intentionally cause faults to be injected in a compute infrastructure; determine whether the injected faults cause application failures; assign weights to the injected faults based on severity of the respective application failures, wherein a negative or zero weight is assigned to ones of the injected faults that cause a change to compute infrastructure behavior, and do not cause an application error; compare the weighted faults; use an artificial intelligence (AI) model that has been trained to generate physical and/or logical changes to the compute infrastructure based at least in part on the comparison, the injected faults, and/or performance of the compute infrastructure and application(s) in response to the faults being injected, wherein the physical and/or logical changes are configured to prevent the application failures; and cause the physical and/or logical changes to be implemented in the compute infrastructure.
- Claim 9Depends on #8
The computer program product of claim 8, wherein assigning weights to the injected faults includes: creating a heat map having entries identifying whether respective ones of the injected faults cause application errors; determining weights for the injected faults identified in the heat map as causing application errors; and correlating the determined weights with the respective injected faults identified in the heat map as causing the application errors.
- Claim 10Depends on #9
The computer program product of claim 9, wherein the weights are determined based at least in part on an amount of time the application experienced respective errors.
- Claim 11Depends on #10
The computer program product of claim 10, wherein the weights increase as the amount of time the compute infrastructure experiences respective errors increases.
- Claim 12Depends on #9
The computer program product of claim 9, wherein the weights are determined based on the outcome and distribution difference of microservice internal calls.
- Claim 13Depends on #8
The computer program product of claim 8, wherein the AI model is trained to generate the physical and/or logical changes to the compute infrastructure based on the comparison, the injected faults, and the performance of the compute infrastructure and application in response to injecting the faults.
- Claim 14Depends on #8
The computer program product of claim 8, wherein the injected faults are selected based on faults previously injected in the compute infrastructure, wherein the injected faults are selected from the group consisting of: system errors, fault codes, test workloads, application topologies, and key performance indicators.
- Claim 15Depends on #14
The computer program product of claim 14, wherein the injected faults relate to parameters of the compute infrastructure, the parameters being selected from the group consisting of: system errors, fault codes, test workloads, application topologies, and key performance indicators.
- Claim 16Independent Claim
A system, comprising: a processor; and logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to: intentionally cause faults to be injected in a compute infrastructure; determine whether the injected faults cause application failures; assign weights to the injected faults based on severity of the respective application failures, wherein a negative or zero weight is assigned to ones of the injected faults that cause a change to compute infrastructure behavior, and do not cause an application error; compare the weighted faults; use an artificial intelligence (AI) model that has been trained to generate physical and/or logical changes to the compute infrastructure based at least in part on the comparison, the injected faults, and/or performance of the compute infrastructure and application(s) in response to the faults being injected, wherein the physical and/or logical changes are configured to prevent the application failures; and cause the physical and/or logical changes to be implemented in the compute infrastructure.
- Claim 17Depends on #16
The system of claim 16, wherein the AI model is trained to generate the physical and/or logical changes to the compute infrastructure based on the comparison, the injected faults, and the performance of the compute infrastructure and application in response to injecting the faults.
Technical Overview & Description
BACKGROUND The present invention relates to application testing, and more specifically, this invention relates to testing the resiliency of an application and/or compute infrastructure. One aspect of developing a system having compute capabilities (also referred to herein as a compute infrastructure) involves determining whether the system will operate under a variety of different scenarios. For instance, different combinations of system settings, user preferences, instructions received, etc., may impact the system's ability to operate successfully. Thus, while a compute system may be designed with broad functionality, applications that run on the compute system are sometimes limited by the physical constraints of the system. Accordingly, it is also desirable that software be tested on a system before being implemented. SUMMARY A computer-implemented method, according to one embodiment, includes: intentionally causing faults to be injected in a compute infrastructure, and determining whether the injected faults cause application failures. Weights are also assigned to the injected faults based on severity of the respective application failures. The weighted faults are compared, and changes to the compute infrastructure are recommended based on the comparison. Moreover, the changes that are recommended are configured to prevent the application failures. A computer program product, according to another embodiment, includes a computer readable storage medium having program instructions embodied therewith. The program instructions are readable by a processor, executable by the processor, or readable and executable by the processor, to cause the processor to perform the foregoing method. A system, according to yet another embodiment, includes: a processor, and logic integrated with the processor, executable by the processor, or integrated with and executable by the processor. The logic is configured to perform the forging method. Other aspects and embodiments of the prese
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (9)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Hernandez-Serrato et al.,
- “
- Applying Machine Learning with Chaos Engineering,
- ”
- IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW), 2020, pp. 151-152.
- Basiri et al.,
- “
- Automating chaos experiments in production,
- ”
- arXiv, 2019, 10 pages, retrieved from https://arxiv.org/pdf/1905.04648.pdf.