diff options
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto index b67f200a14..8a2b05bb42 100644 --- a/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto +++ b/src/main/java/com/google/devtools/build/lib/buildeventstream/proto/build_event_stream.proto @@ -504,6 +504,37 @@ message TestResult { // Warnings generated by that test action. repeated string warning = 7; + + // Message providing optional meta data on the execution of the test action, + // if available. + message ExecutionInfo { + int32 timeout_seconds = 1; + + // Name of the strategy to execute this test action (e.g., "local", + // "remote") + string strategy = 2; + + // The hostname of the machine where the test action was executed (in case + // of remote execution), if known. + string hostname = 3; + + // Represents a hierarchical timing breakdown of an activity. + // The top level time should be the total time of the activity. + // Invariant: time_millis >= sum of time_millis of all direct children. + message TimingBreakdown { + repeated TimingBreakdown child = 1; + string name = 2; + int64 time_millis = 3; + } + TimingBreakdown timing_breakdown = 4; + + message ResourceUsage { + string name = 1; + int64 value = 2; + } + repeated ResourceUsage resource_usage = 5; + } + ExecutionInfo execution_info = 8; } // Payload of the event summarizing a test. |