debug pkgagent test failures.