[netrender] Broken pipe when sending result frame #54222

Closed
opened 2018-03-03 23:08:01 +01:00 by Jonathan Hurter · 3 comments

System Information

ArchLinux (kernel 4.15.2-2-ARCH)

Blender Version
Broken: version 2.79 Hash: 8ef39d5c882

Short description of error

Broken pipe when a slave running on the same host of the master node try to send his result:

Here are the logs:

Saved: '/tmp/slave_eec2333792ca4a514a1768c665e9d353/job_12/000106.exr'                                                                                     
 Time: 11:02.61 (Saving: 00:00.97)                                                                                                                         
                                                                                                                                                           
                                                                                                                                                           
Blender quit                                                                                                                                               
status 0                                                                                                                                                   
Traceback (most recent call last):                                                                                                                         
  File "/usr/share/blender/2.79/scripts/addons/netrender/client.py", line 367, in render                                                                   
    raise e                                                                                                                                                
  File "/usr/share/blender/2.79/scripts/addons/netrender/client.py", line 360, in render                                                                   
    self.render_slave(scene)                                                                                                                               
  File "/usr/share/blender/2.79/scripts/addons/netrender/client.py", line 387, in render_slave                                                             
    slave.render_slave(self, scene.network_render, scene.render.threads)                                                                                   
  File "/usr/share/blender/2.79/scripts/addons/netrender/slave.py", line 390, in render_slave                                                              
    conn.request("PUT", "/render", f, headers=headers)                                                                                                     
  File "/usr/lib/python3.6/http/client.py", line 1239, in request                                                                                          
    self._send_request(method, url, body, headers, encode_chunked)                                                                                         
  File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request                                                                                    
    self.endheaders(body, encode_chunked=encode_chunked)                                                                                                   
  File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders                                                                                       
    self._send_output(message_body, encode_chunked=encode_chunked)                                                                                         
  File "/usr/lib/python3.6/http/client.py", line 1065, in _send_output                                                                                     
    self.send(chunk)                                                                                                                                       
  File "/usr/lib/python3.6/http/client.py", line 986, in send                                                                                              
    self.sock.sendall(data)                                                                                                                                
BrokenPipeError: [Errno 32] Broken pipe                                                                                                                    
                                                                                                                                                           
location: <unknown location>:-1                                                                                                                            
                                                                                                                                                           
location: <unknown location>:-1                                                                                                                            
Error: [Errno 32] Broken pipe     

It only seems to happen when the the master and the slave are on the same host. I have two other slaves running on my network a window (version 2.79 8928d99270f) and a Mac (version 2.79 8928d99) and they does not seems to be affected by this issue.

Exact steps for others to reproduce the error

Just send a job on the network and let the slave that is running on the same host crash

**System Information** ArchLinux (kernel 4.15.2-2-ARCH) **Blender Version** Broken: version 2.79 Hash: 8ef39d5c882 **Short description of error** Broken pipe when a slave running on the same host of the master node try to send his result: Here are the logs: ``` Saved: '/tmp/slave_eec2333792ca4a514a1768c665e9d353/job_12/000106.exr' Time: 11:02.61 (Saving: 00:00.97) Blender quit status 0 Traceback (most recent call last): File "/usr/share/blender/2.79/scripts/addons/netrender/client.py", line 367, in render raise e File "/usr/share/blender/2.79/scripts/addons/netrender/client.py", line 360, in render self.render_slave(scene) File "/usr/share/blender/2.79/scripts/addons/netrender/client.py", line 387, in render_slave slave.render_slave(self, scene.network_render, scene.render.threads) File "/usr/share/blender/2.79/scripts/addons/netrender/slave.py", line 390, in render_slave conn.request("PUT", "/render", f, headers=headers) File "/usr/lib/python3.6/http/client.py", line 1239, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1065, in _send_output self.send(chunk) File "/usr/lib/python3.6/http/client.py", line 986, in send self.sock.sendall(data) BrokenPipeError: [Errno 32] Broken pipe location: <unknown location>:-1 location: <unknown location>:-1 Error: [Errno 32] Broken pipe ``` It only seems to happen when the the master and the slave are on the same host. I have two other slaves running on my network a window (version 2.79 8928d99270f) and a Mac (version 2.79 8928d99) and they does not seems to be affected by this issue. **Exact steps for others to reproduce the error** Just send a job on the network and let the slave that is running on the same host crash

Added subscriber: @johnsudaar

Added subscriber: @johnsudaar

This issue was referenced by f975292b1e

This issue was referenced by f975292b1ec103826fe244dfdb851fed0428b624

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#54222
No description provided.