We need to distinguish between a possible infrastructure error and test failures. Possible infrastructure errors could be whatever results in Tracebacks like OSError or errors during network communication. Exit codes could be structured like the following: 0 Tests pass 1 Error 2 ... test failures
https://gerrit.beaker-project.org/#/c/5093/
This is released with rpmdeplint 1.1 available on Fedora Copr: https://copr.fedorainfracloud.org/coprs/dcallagh/rpmdeplint/ for RHEL 7 (EPEL), F23, F24 and Rawhide.