From af28f3a97e35215e31473011fc09345cf853f09f Mon Sep 17 00:00:00 2001 From: Dalton Bohning Date: Thu, 29 Aug 2024 09:52:14 -0700 Subject: [PATCH] DAOS-16457 test: remove display_memory_info (#15031) display_memory_info was added to debug an issue when starting the servers, but resolved by #14295. It is no longer needed and consumes too much log space and time. Required-githooks: true Signed-off-by: Dalton Bohning --- src/tests/ftest/util/server_utils.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/tests/ftest/util/server_utils.py b/src/tests/ftest/util/server_utils.py index d7e1efdd58a..58d912b3648 100644 --- a/src/tests/ftest/util/server_utils.py +++ b/src/tests/ftest/util/server_utils.py @@ -463,14 +463,6 @@ def support_collect_log(self, **kwargs): return run_remote( self.log, self._hosts, cmd.with_exports, timeout=self.collect_log_timeout.value) - def display_memory_info(self): - """Display server hosts memory info.""" - self.log.debug("#" * 80) - self.log.debug(" Collection debug memory info") - run_remote(self.log, self._hosts, "free -m && df -h --type=tmpfs") - run_remote(self.log, self._hosts, "ps -eo size,pid,user,command --sort -size | head -n 6") - self.log.debug("#" * 80) - def detect_format_ready(self, reformat=False): """Detect when all the daos_servers are ready for storage format. @@ -663,14 +655,11 @@ def start(self): self.prepare() # Start the servers and wait for them to be ready for storage format - self.display_memory_info() self.detect_format_ready() # Collect storage and network information from the servers. - self.display_memory_info() self.information.collect_storage_information() self.information.collect_network_information() - self.display_memory_info() # Format storage and wait for server to change ownership self.log.info(" Formatting hosts: <%s>", self.dmg.hostlist) @@ -710,9 +699,6 @@ def stop(self): # Make sure the mount directory belongs to non-root user self.set_scm_mount_ownership() - # Collective memory usage after stop. - self.display_memory_info() - # Report any errors after all stop actions have been attempted if messages: raise ServerFailed("Failed to stop servers:\n {}".format("\n ".join(messages)))