Commit 03db98ba authored by Jonas Kaufmann's avatar Jonas Kaufmann
Browse files

sympyhony/orchestration: remove some debug prints

parent ce4900b8
...@@ -160,7 +160,6 @@ class Instantiation: ...@@ -160,7 +160,6 @@ class Instantiation:
raise Exception("cannot create socket path for given interface type") raise Exception("cannot create socket path for given interface type")
assert queue_type is not None assert queue_type is not None
print(f"_interface_to_sock_path: self.env._shm_base={self.shm_base_dir()}")
return self._join_paths( return self._join_paths(
base=self.shm_base_dir(), base=self.shm_base_dir(),
relative_path=f"{queue_type}-{queue_ident}", relative_path=f"{queue_type}-{queue_ident}",
...@@ -208,14 +207,12 @@ class Instantiation: ...@@ -208,14 +207,12 @@ class Instantiation:
if socket is not None: if socket is not None:
new_socket = self._create_opposing_socket(socket=socket, socket_type=socket_type) new_socket = self._create_opposing_socket(socket=socket, socket_type=socket_type)
self._updated_tracker_mapping(interface=interface, socket=new_socket) self._updated_tracker_mapping(interface=interface, socket=new_socket)
print(f"created socket: {new_socket._path}")
return new_socket return new_socket
# create socket if opposing socket was not created yet # create socket if opposing socket was not created yet
sock_path = self._interface_to_sock_path(interface=interface) sock_path = self._interface_to_sock_path(interface=interface)
new_socket = inst_socket.Socket(path=sock_path, ty=socket_type) new_socket = inst_socket.Socket(path=sock_path, ty=socket_type)
self._updated_tracker_mapping(interface=interface, socket=new_socket) self._updated_tracker_mapping(interface=interface, socket=new_socket)
print(f"created socket: {new_socket._path}")
return new_socket return new_socket
def sim_dependencies(self) -> dict[sim_base.Simulator, set[sim_base.Simulator]]: def sim_dependencies(self) -> dict[sim_base.Simulator, set[sim_base.Simulator]]:
......
...@@ -348,5 +348,4 @@ class QemuSim(HostSim): ...@@ -348,5 +348,4 @@ class QemuSim(HostSim):
cmd += ",sync=off" cmd += ",sync=off"
cmd += " " cmd += " "
print(cmd)
return cmd return cmd
...@@ -94,7 +94,6 @@ class NICSim(PCIDevSim): ...@@ -94,7 +94,6 @@ class NICSim(PCIDevSim):
if self.extra_args is not None: if self.extra_args is not None:
cmd += " " + self.extra_args cmd += " " + self.extra_args
print(cmd)
return cmd return cmd
......
...@@ -198,7 +198,6 @@ class LinuxConfigDiskImage(DynamicDiskImage): ...@@ -198,7 +198,6 @@ class LinuxConfigDiskImage(DynamicDiskImage):
async def _prepare_format(self, inst: inst_base.Instantiation, format: str) -> None: async def _prepare_format(self, inst: inst_base.Instantiation, format: str) -> None:
path = self.path(inst, format) path = self.path(inst, format)
print(path)
with tarfile.open(path, "w:") as tar: with tarfile.open(path, "w:") as tar:
# add main run script # add main run script
cfg_i = tarfile.TarInfo("guest/run.sh") cfg_i = tarfile.TarInfo("guest/run.sh")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment