Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAOS-16457 test: remove display_memory_info #15031

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions src/tests/ftest/util/server_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,14 +465,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("<SERVER> 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.

Expand Down Expand Up @@ -665,14 +657,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("<SERVER> Formatting hosts: <%s>", self.dmg.hostlist)
Expand Down Expand Up @@ -712,9 +701,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)))
Expand Down
Loading