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

There are too many error logs in the UT. #1411

Open
workingloong opened this issue Dec 29, 2024 · 0 comments · May be fixed by #1416
Open

There are too many error logs in the UT. #1411

workingloong opened this issue Dec 29, 2024 · 0 comments · May be fixed by #1416
Assignees
Labels

Comments

@workingloong
Copy link
Collaborator

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/logging/__init__.py", line 1088, in emit
    stream.write(msg + self.terminator)
ValueError: I/O operation on closed file.
Call stack:
  File "/usr/local/lib/python3.8/threading.py", line 890, in _bootstrap
    self._bootstrap_inner()
  File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/github/workspace/dlrover/python/elastic_agent/diagnosis/diagnosis_agent.py", line 251, in _periodically_report
    self.send_heartbeat()
  File "/github/workspace/dlrover/python/elastic_agent/diagnosis/diagnosis_agent.py", line 243, in send_heartbeat
    action = self._client.report_heart_beat(ts)
  File "/github/workspace/dlrover/python/elastic_agent/master_client.py", line 250, in report_heart_beat
    response: grpc.HeartbeatResponse = self._get(message)
  File "/github/workspace/dlrover/python/elastic_agent/master_client.py", line 43, in wrapper
    for i in range(retry):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants