Skip to content

Commit 6a52f52

Browse files
orn688CQ Bot
authored andcommitted
[tefmocheck] Mark boot test incorrect failures as infra failures
These failure modes are common sources of false rejections and are likely infra issues, so mark them as infra failures to indicate to users that they are likely to be false rejections. NO_IFTTT=not actually changing the important strings Bug: 42085023 Change-Id: Icd2200d98425f816f8581e07ef8b7ea6a3ce0299 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1235467 Commit-Queue: Oliver Newman <[email protected]> Reviewed-by: Ina Huh <[email protected]>
1 parent 2c6c5f3 commit 6a52f52

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

tools/testing/tefmocheck/string_in_log_check.go

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -524,26 +524,30 @@ func fuchsiaLogChecks() []FailureModeCheck {
524524
&stringInLogCheck{String: "double fault, halting", Type: lt},
525525
// This string can show up in some boot tests.
526526
&stringInLogCheck{String: "entering panic shell loop", Type: lt, ExceptStrings: []string{"Boot-test-successful!"}},
527-
// For https://fxbug.dev/42067738. These should track all boot test failures
527+
// For https://fxbug.dev/42085023. These should track all boot test failures
528528
// where either the success string shows up in one of the logs but we fail
529529
// to read it, or the test times out before the success string gets written.
530-
// LINT.IfChange(seriallistener_timed_out)
531530
&stringInLogCheck{
532-
String: "Boot-test-successful!",
533-
Type: lt,
531+
String: "Boot-test-successful!",
532+
Type: lt,
533+
// This failure mode is likely to be infra-related.
534+
InfraFailure: true,
534535
SkipAllPassedTests: true,
535536
AlwaysFlake: true,
536537
ExceptBlocks: []*logBlock{
538+
// LINT.IfChange(seriallistener_timed_out)
537539
{startString: "seriallistener FATAL: timed out before success string", endString: "was read from serial"},
540+
// LINT.ThenChange(/tools/testing/seriallistener/cmd/main.go:timed_out)
538541
},
539542
},
540543
&stringInLogCheck{
541-
String: "seriallistener FATAL: timed out before success string",
544+
// LINT.IfChange(seriallistener_timed_out)
545+
String: "seriallistener FATAL: timed out before success string",
546+
// LINT.ThenChange(/tools/testing/seriallistener/cmd/main.go:timed_out)
542547
Type: lt,
543548
SkipAllPassedTests: true,
544549
AlwaysFlake: true,
545550
},
546-
// LINT.ThenChange(/tools/testing/seriallistener/cmd/main.go:timed_out)
547551
}...)
548552
}
549553

0 commit comments

Comments
 (0)