go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/luciexe/legacy/annotee/annotation/test_data/coverage.annotations.txt (about)

     1  # Emit annotations to get full coverage of the annotation state machine.
     2  
     3  SEED_STEP baz/qux
     4  
     5  SEED_STEP_TEXT@baz/qux@seeded text
     6  # Invalid SEED_STEP_TEXT (needs 3 parameters) is ignored.
     7  SEED_STEP_TEXT@baz/qux
     8  
     9  # Invalid STEP_CURSOR for nonexistent step.
    10  +error STEP_CURSOR could not lookup step
    11  STEP_CURSOR missing
    12  
    13  # Erroneous SEED_STEP_TEXT for nonexistent step.
    14  +error no step named "missing"
    15  SEED_STEP_TEXT@missing@nonexistent
    16  
    17  # Start "foo". BUILD_STEP twice is to assert we don't close "foo" if it's the
    18  # current step.
    19  BUILD_STEP foo
    20  BUILD_STEP foo
    21  +time
    22  
    23  # This will close "foo".
    24  BUILD_STEP bar
    25  # Choose a small nest level to hit our optimized level resolution case.
    26  STEP_NEST_LEVEL@1
    27  +time
    28  STEP_LOG_LINE@logging.json@{
    29  STEP_LOG_LINE@logging.json@  "foo": "bar",
    30  STEP_LOG_LINE@logging.json@  "baz": "qux"
    31  STEP_LOG_LINE@logging.json@}
    32  STEP_LOG_END@logging.json
    33  
    34  # We will not end this log to exercise the auto-closing logic.
    35  STEP_LOG_LINE@lorem.txt@Lorem ipsum dolor sit amet, consectetur adipiscing elit.
    36  STEP_LOG_LINE@lorem.txt@Sed suscipit libero at dui blandit, ut aliquam ligula dignissim.
    37  
    38  # All no-op annotations.
    39  STEP_LOG_END_PERF@noop
    40  HONOR_ZERO_RETURN_CODE
    41  STEP_TRIGGER@noop
    42  
    43  # Invalid annotations are silently dropped.
    44  OHAICANHASCHEEZBURGER@PLZ
    45  
    46  # Invalid link (missing URL).
    47  +error missing URL
    48  STEP_LINK@missingurl
    49  
    50  link@example@http://example.com
    51  STEP_LINK@alias-->aliasedExample@http://example.com/alias
    52  BUILD_EXCEPTION
    53  
    54  STEP_CURSOR baz/qux
    55  STEP_STARTED
    56  +time
    57  STEP_LINK@cats@http://example.com/cats
    58  STEP_LINK@dogs@http://example.com/dogs
    59  STEP_LINK@dogs@http://example.com/moreDogs
    60  STEP_LOG_LINE@content@ohai
    61  STEP_LOG_END@content
    62  BUILD_WARNINGS
    63  
    64  STEP_CURSOR bar
    65  +time
    66  
    67  # Test text emission and summary overriding/clearing.
    68  STEP_TEXT@will be cleared
    69  STEP_CLEAR
    70  
    71  STEP_TEXT@message0
    72  STEP_SUMMARY_TEXT@summary0
    73  STEP_TEXT@message1
    74  STEP_SUMMARY_TEXT@summary1
    75  STEP_SUMMARY_CLEAR
    76  STEP_SUMMARY_TEXT@final summary
    77  STEP_TEXT@message2
    78  
    79  # Test build properties.
    80  SET_BUILD_PROPERTY@foo@willchange
    81  SET_BUILD_PROPERTY@foo@bar
    82  SET_BUILD_PROPERTY@baz@qux
    83  SET_BUILD_PROPERTY@quux
    84  
    85  STEP_CLOSED
    86  
    87  BUILD_STEP qux
    88  # Nest at a really high number to hit our sparse case and test level skipping.
    89  STEP_NEST_LEVEL@999999999
    90  +time
    91  HALT_ON_FAILURE
    92  
    93  SOURCE_MANIFEST@cool_name@deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef@logdog://example.com/some/prefix/+/some/path
    94  
    95  +error SOURCE_MANIFEST expected 3 params, got "neat"
    96  SOURCE_MANIFEST@neat
    97  
    98  +error SOURCE_MANIFEST has bad hash:
    99  SOURCE_MANIFEST@neat@not_a_hash@logdog://example.com
   100  
   101  +error repeated SOURCE_MANIFEST name "cool_name"
   102  SOURCE_MANIFEST@cool_name@badc0ffeebadc0ffeebadc0ffeebadc0ffeebadc0ffeebadc0ffeebadc0ffeeb@logdog://example.com/some/prefix/+/some/path
   103  
   104  BUILD_FAILED
   105  STEP_TEXT@will not be emitted, since we're halting on failure.