Managing assertions while compiling and debugging source code
US-2016188440-A1 · Jun 30, 2016 · US
US10713147B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-10713147-B2 |
| Application number | US-201815935096-A |
| Country | US |
| Kind code | B2 |
| Filing date | Mar 26, 2018 |
| Priority date | Mar 28, 2017 |
| Publication date | Jul 14, 2020 |
| Grant date | Jul 14, 2020 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
An apparatus tests specific processing performed by plural computing machine resources provided by one or plural computers. The apparatus adds an instruction request command to request an instruction from the apparatus at a predetermined position in a source code of the specific processing performed by each computing machine resource, and generates the source code with an additional command. In response to execution of the instruction request command in one of the plural computing machine resources during execution of the specific processing, the apparatus refers to the memory that stores instruction information by which the instruction request command added to the source code with the additional command executed by each computing machine resource is associated with processing performed by the computing machine resource, and instructs the one of the plural computing machine resources which has executed the instruction request command to perform the processing corresponding to the executed instruction request command.
Opening claim text (preview).
What is claimed is: 1. A test apparatus that tests specific processing performed by a plurality of computing machine resources in coordination with each other, the computing machine resources provided by one or a plurality of computers, the test apparatus comprising: a memory; and a processor coupled to the memory and configured to: add an instruction request command to request an instruction from the test apparatus at a predetermined position in a source code of the specific processing performed by each of the plurality of computing machine resources, and generate the source code with an additional command, and in response to execution of the instruction request command in one of the plurality of computing machine resources during execution of the specific processing, refer to the memory that stores instruction information by which the instruction request command added to the source code with the additional command executed by each of the plurality of computing machine resources is associated with processing performed by the computing machine resource, and instruct the one of the plurality of computing machine resources which has executed the instruction request command to perform the processing corresponding to the executed instruction request command, wherein in response to execution of the instruction request command by one of the plurality of computing machine resources during execution of pre-processing of the specific processing performed before the specific processing is performed, the processor instructs the one of the plurality of computing machine resources which has executed the instruction request command to perform processing determined at random; and the processor is further configured to: in response to execution of the instruction request command by the one of the plurality of computing machine resources, output log information indicating a state of the one computing machine resource, detect a predetermined abnormality which has occurred in the plurality of computing machine resources when the processing determined at random is performed, and upon detection of an occurrence of the predetermined abnormality, generate the instruction information based on the log information, wherein: the instruction information is information by which the instruction request command added to the source code with the additional command executed by each of the plurality of computing machine resources, the processing performed by the computing machine resource, and a predetermined condition are associated with each other; and when the predetermined condition is satisfied, the processor provides an instruction to perform the processing corresponding to the executed instruction request command. 2. The test apparatus according to claim 1 , wherein the instruction request command is a command to request an instruction of processing subsequently performed by each of the plurality of computing machine resources. 3. The test apparatus according to claim 1 , wherein the predetermined condition is that predetermined processing is performed by a specific computing machine resource which is among the plurality of computing machine resources and other than a computing machine resource to which an instruction to perform the processing is provided by the processor. 4. The test apparatus according to claim 1 , wherein when the processing corresponding to the executed instruction request command in the instruction information is a re-start of processing in a computing machine resource, the processor instructs the computing machine resource which has executed the instruction request command to re-start the processing. 5. The test apparatus according to claim 1 , wherein the processor is further configured to: receive notification from each of the plurality of computing machine resources, the notification indicating that the instruction request command has been executed, and in response to receiving the notification, refer to the instruction information. 6. The test apparatus according to claim 1 , wherein the processor adds the instruction request command before or after a command for reading or writing data among commands included in the source code. 7. The test apparatus according to claim 1 , wherein the processor: groups the log information into pieces of log information corresponding to the plurality of computing machine resources; identifies first log information which is a first in an output sequence and second log information which is a last in the output sequence for each grouped piece of log information; and generates, as the instruction information, information by which each identified second log information is associated with first log information which is first in the output sequence out of pieces of the first log information outputted after the second log information. 8. A test apparatus that tests specific processing performed by a plurality of computing machine resources in coordination with each other, the computing machine resources provided by one or a plurality of computers, the test apparatus comprising: a memory; and a processor coupled to the memory and configured to: add an instruction request command to request an instruction from the test apparatus at a predetermined position in a source code of the specific processing performed by each of the plurality of computing machine resources, and generate the source code with an additional command, and in response to execution of the instruction request command in one of the plurality of computing machine resources during execution of the specific processing, refer to the memory that stores instruction information by which the instruction request command added to the source code with the additional command executed by each of the plurality of computing machine resources is associated with processing performed by the computing machine resource, and instruct the one of the plurality of computing machine resources which has executed the instruction request command to perform the processing corresponding to the executed instruction request command, wherein in response to execution of the instruction request command by one of the plurality of computing machine resources during execution of pre-processing of the specific processing performed before the specific processing is performed, the processor instructs the one of the plurality of computing machine resources which has executed the instruction request command to perform processing determined at random; and the processor is further configured to: in response to execution of the instruction request command by the one of the plurality of computing machine resources, output log information indicating a state of the one computing machine resource, detect a predetermined abnormality which has occurred in the plurality of computing machine resources when the processing determined at random is performed, and upon detection of an occurrence of the predetermined abnormality, generate the instruction information based on the log information, wherein when the processing corresponding to the executed instruction request command in the instruction information is a shut-down of a computing machine resource, the processor instructs the computing machine resource which has executed the instruction request command to shut down, wherein when one of the plurality of computing machine resources is shut down in response to the shut-down instructed by the processor, a management apparatus, which manages the plurality of computing machine resources, causes another computing machine resource that executes a source code with additional command being the same as the source code with the additional command of the one computing machine resource to perfor
Hypervisor-specific management and integration aspects · CPC title
Environments for analysis, debugging or testing of software · CPC title
Starting, stopping, suspending or resuming virtual machine instances · CPC title
Test management · CPC title
Monitoring or debugging support · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.