Skip to content

Commit ee197a3

Browse files
authored
test: exclude nvme shutdown timeout message from validation failure (#7875)
1 parent a616e7b commit ee197a3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

e2e/validators.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1871,7 +1871,8 @@ func ValidateKernelLogs(ctx context.Context, s *Scenario) {
18711871
"IO/FS": {
18721872
pattern: `I/O error|read-only file system|EXT[2-4]-fs error|XFS.*(ERROR|error|corruption)|BTRFS.*(error|warning)|nvme .* (timeout|reset)|ata[0-9].*(failed|error|reset)|scsi.*(error|failed)`,
18731873
// sr[0-9] is the virtual CD-ROM drive on Azure VMs. This error occurs when the VM tries to read from an empty virtual optical drive, which is normal and expected.
1874-
exclude: `sr[0-9]`,
1874+
// "Shutdown timeout set to" is an informational message from the NVMe driver during initialization, not an error.
1875+
exclude: `sr[0-9]|Shutdown timeout set to`,
18751876
},
18761877
}
18771878

0 commit comments

Comments
 (0)