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

Worker end of action - unicode exception #1080

Open
mohierf opened this issue Jan 7, 2019 · 0 comments
Open

Worker end of action - unicode exception #1080

mohierf opened this issue Jan 7, 2019 · 0 comments

Comments

@mohierf
Copy link
Contributor

mohierf commented Jan 7, 2019

[2019-01-07 06:39:09] INFO: [poller-master.alignak.daemon] Daemon poller-master is living: loop #1 ;)
[2019-01-07 06:43:54] ERROR: [poller-master.alignak.worker.fork_1] [fork_1] exited with an unmanaged exception : 'utf8' codec can't decode byte 0x90 in position 14: invalid start byte
[2019-01-07 06:43:54] ERROR: [poller-master.alignak.worker.fork_1] 'utf8' codec can't decode byte 0x90 in position 14: invalid start byte
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/alignak-2.0.3-py2.7.egg/alignak/worker.py", line 374, in work
    self.do_work(actions_queue, returns_queue, control_queue)
  File "/usr/local/lib/python2.7/dist-packages/alignak-2.0.3-py2.7.egg/alignak/worker.py", line 420, in do_work
    self.manage_finished_checks(returns_queue)
  File "/usr/local/lib/python2.7/dist-packages/alignak-2.0.3-py2.7.egg/alignak/worker.py", line 320, in manage_finished_checks
    action.check_finished(self.max_plugins_output_length)
  File "/usr/local/lib/python2.7/dist-packages/alignak-2.0.3-py2.7.egg/alignak/action.py", line 437, in check_finished
    self.stderrdata += stderr.decode("utf-8")
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x90 in position 14: invalid start byte
[2019-01-07 06:43:55] WARNING: [poller-master.alignak.satellite] The worker fork_1 (pid=28712) went down unexpectedly!
[2019-01-07 06:43:55] INFO: [poller-master.alignak.satellite] Allocating new 'fork' worker...
[2019-01-07 06:43:55] INFO: [poller-master.alignak.satellite] Started 'fork' worker: fork_4 (pid=29623)
[2019-01-07 06:43:55] INFO: [poller-master.alignak.worker.fork_4] [fork_4] (pid=29623) starting my job...
[2019-01-07 06:43:55] WARNING: [poller-master.alignak.action] Process pid=29491 spent too much time: 60.34 seconds
[2019-01-07 06:43:59] WARNING: [poller-master.alignak.action] Process pid=29509 spent too much time: 60.07 seconds
[2019-01-07 06:44:00] WARNING: [poller-master.alignak.action] Process pid=29516 spent too much time: 60.01 seconds
[2019-01-07 06:44:00] ERROR: [poller-master.alignak.worker.fork_3] [fork_3] exited with an unmanaged exception : 'utf8' codec can't decode byte 0x8e in position 16: invalid start byte
[2019-01-07 06:44:00] ERROR: [poller-master.alignak.worker.fork_3] 'utf8' codec can't decode byte 0x8e in position 16: invalid start byte
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/alignak-2.0.3-py2.7.egg/alignak/worker.py", line 374, in work
    self.do_work(actions_queue, returns_queue, control_queue)
  File "/usr/local/lib/python2.7/dist-packages/alignak-2.0.3-py2.7.egg/alignak/worker.py", line 420, in do_work
    self.manage_finished_checks(returns_queue)
  File "/usr/local/lib/python2.7/dist-packages/alignak-2.0.3-py2.7.egg/alignak/worker.py", line 320, in manage_finished_checks
    action.check_finished(self.max_plugins_output_length)
  File "/usr/local/lib/python2.7/dist-packages/alignak-2.0.3-py2.7.egg/alignak/action.py", line 437, in check_finished
    self.stderrdata += stderr.decode("utf-8")
  File "/usr/lib/python2.7/encodings/utf_8.py", line 16, in decode
    return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x8e in position 16: invalid start byte
[2019-01-07 06:44:01] WARNING: [poller-master.alignak.satellite] The worker fork_3 (pid=28714) went down unexpectedly!
[2019-01-07 06:44:01] INFO: [poller-master.alignak.satellite] Allocating new 'fork' worker...
[2019-01-07 06:44:01] INFO: [poller-master.alignak.satellite] Started 'fork' worker: fork_5 (pid=29644)
[2019-01-07 06:44:01] INFO: [poller-master.alignak.worker.fork_5] [fork_5] (pid=29644) starting my job...
[2019-01-07 06:44:03] WARNING: [poller-master.alignak.action] Process pid=29522 spent too much time: 60.52 seconds
[2019-01-07 06:44:27] WARNING: [poller-master.alignak.action] Process pid=29584 spent too much time: 60.39 seconds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant