Don’t accept failed tests.
Sometimes there are places where the build never completes successfully, yet people happily move along anyway. “Oh, that test always fails,” one might say. Well what good is a test whose failure is acceptable? Either fix the problem or remove the test. Clearly it doesn’t represent a real problem.
The build must stay green. When the red lights appear in the build, that needs to be a major call to action – something is wrong and must be fixed!
If having red lights in a build becomes acceptable, some really bad failures will eventually leak into production. Failures that should have been noticed and prevented.