(self)
| 743 | timeline.create(os.path.join(self.log_dir, "timeline.html")) |
| 744 | |
| 745 | def log_summary(self): |
| 746 | logging.info("Containers:") |
| 747 | def to_success_string(exitcode): |
| 748 | if exitcode == 0: |
| 749 | return "SUCCESS" |
| 750 | return "FAILURE" |
| 751 | |
| 752 | for c in self.containers: |
| 753 | logging.info("%s %s %s %0.1fm wall, %0.1fm user, %0.1fm system, " + |
| 754 | "%0.1fx parallelism, %0.1f GB peak RSS", |
| 755 | to_success_string(c.exitcode), c.name, c.logfile, |
| 756 | c.runtime_seconds() / 60.0, |
| 757 | c.total_user_cpu / 60.0, |
| 758 | c.total_system_cpu / 60.0, |
| 759 | (c.total_user_cpu + c.total_system_cpu) / max(c.runtime_seconds(), 0.0001), |
| 760 | c.peak_total_rss / 1024.0 / 1024.0 / 1024.0) |
| 761 | |
| 762 | |
| 763 | class TestSuiteRunner(object): |
no test coverage detected