Continuous Delivery Pipeline Testing Singleton Instance

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In continuous delivery pipeline testing, it is challenging to handle scenarios where multiple builds run concurrently, sharing a singleton instance, leading to redundancy and inefficiency due to repeated execution of test cases on unchanged components.

Innovation Solution

A method and system that identify unchanged and changed components across builds, executing test cases only on changed components in the current build, while skipping redundant tests on unchanged components, and reporting results for both builds.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If multiple builds run concurrently on a singleton instance, then continuous delivery pipeline can maintain frequent deployments, but test execution time increases due to redundant test cases on unchanged components

Engineering Contradiction:
Improvedeployment frequencyVSAvoidtest execution time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent segments the test case execution by dividing test cases into two distinct sets: a first set for unchanged components and a second set for changed components. This segmentation allows parallel processing where the first set of test cases can be executed on the preceding build while the second set is prepared for the current build, thereby reducing overall test execution time while maintaining deployment frequency.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies preliminary action by identifying unchanged components before test execution and pre-determining which test cases belong to the first set (for unchanged components) and second set (for changed components). This preliminary classification enables efficient resource allocation and parallel execution, preventing redundant test execution on unchanged components while maintaining continuous delivery pipeline productivity.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If all test cases are executed on every build, then testing completeness is ensured, but resource efficiency decreases due to redundant execution on unchanged components

Engineering Contradiction:
Improvetesting completenessVSAvoidcomputational resource efficiency
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent applies local quality by differentiating test execution strategies based on component characteristics. Unchanged components receive a streamlined testing approach (first set of test cases) while changed components receive comprehensive testing (second set of test cases). This localized quality adjustment ensures testing completeness for changed components while conserving computational resources on unchanged components, resolving the contradiction between reliability and resource efficiency.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent changes the testing parameter by dynamically adjusting which set of test cases is executed based on component change status. When components are identified as unchanged, the system switches to executing only the first set of test cases, thereby reducing computational resource consumption while maintaining adequate testing coverage. This parameter change enables efficient resource utilization without compromising testing completeness for components that actually changed.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If concurrent builds share a singleton instance, then deployment continuity is maintained, but test coordination complexity increases due to overlapping build and test operations

Engineering Contradiction:
Improvedeployment continuityVSAvoidtest coordination complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies dynamics by implementing flexible, conditional test execution logic that adapts to the state of the singleton instance and build progression. The system dynamically determines whether to execute the first set or second set of test cases based on component change detection, enabling seamless coordination of concurrent builds sharing the singleton instance without rigid, complex scheduling rules.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent incorporates feedback mechanisms by continuously monitoring component changes between builds and using this information to adjust test case selection. The system provides feedback on which components changed and automatically adjusts the testing strategy accordingly, simplifying coordination of concurrent builds by using real-time build state information rather than complex predetermined schedules.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11314626B2Method and system for managing continuous delivery pipeline testing against singleton instance of applications
Publication Date: 2022.04.26 HCL AMERICA INC
  • US11314626B2 patent drawing
  • US11314626B2 patent drawing
  • US11314626B2 patent drawing

AI summary

A method and system for coordinating continuous delivery pipeline testing against a singleton instance of an application is disclosed. The method may include identifying a set of unchanged components across a preceding build and a current build of the singleton instance, and identifying a first set of test cases from a plurality of test cases executed on at least one unchanged component. The method may further include performing execution of a second set of test cases on the remaining set of unchanged components in the current build, and performing execution of each of the plurality of test cases on at least one changed component in the current build. The method may further include reporting test results of executing the first set of test cases on the at least one unchanged component, the second set of test cases, and the plurality of test cases.