Bug 88

Summary: Log file tests cause spurious failure on machine with multiple default routes
Product: passt Reporter: David Gibson <dgibson>
Component: buildAssignee: David Gibson <dgibson>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   

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").