MCPcopy Create free account
hub / github.com/apache/impala / log_summary

Method log_summary

docker/test-with-docker.py:745–760  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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
763class TestSuiteRunner(object):

Callers 1

mainFunction · 0.95

Calls 2

maxFunction · 0.85
runtime_secondsMethod · 0.80

Tested by

no test coverage detected