Bug 88 - Log file tests cause spurious failure on machine with multiple default routes
Summary: Log file tests cause spurious failure on machine with multiple default routes
Status: RESOLVED FIXED
Alias: None
Product: passt
Classification: Unclassified
Component: build (show other bugs)
Version: unspecified
Hardware: All Linux
: Normal normal
Assignee: David Gibson
URL:
Depends on:
Blocks:
 
Reported: 2024-04-24 03:52 UTC by David Gibson
Modified: 2024-04-29 01:03 UTC (History)
0 users

See Also:


Attachments

Description David Gibson 2024-04-24 03:52:11 UTC
On my laptop, which typically has two working interfaces (wired & wireless), each with a default route, the testsuite fails in pasta_options/log_to_file.

Specifically it's failing on the test for truncation of the logfile on start up.  It's
looking for a logfile of exactly one line, but the log is longer than that due to the
information messages about multiple default routes.
Comment 1 David Gibson 2024-04-29 01:03:36 UTC
Fixed by commit ff2ff2fbca75352ff027a90d6341645f1dea4e50 ("test: Make log truncation test more robust").

Note You need to log in before you can comment on or make changes to this bug.