martin...@kentor.se
unread,Nov 14, 2018, 8:58:43 AM11/14/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to stb-tester
Hi,
I'm seeing an intermittent issue where a test will fail with when trying to perform a key press. The exception/error message simply says "error 104".
I suspect that this may be caused by a network issue on our local network but it would be nice to get this confirmed to rule out other causes. I'm using a RedRat X device and have made a tiny modification to the irnetbox.py module to make this to work as an IrNetbox but I doubt this is causing the issue (it's been working fine for months)
Stack trace below:
File "/usr/lib/python2.7/dist-packages/stbt/__init__.py", line 117, in press
return _dut.press(key, interpress_delay_secs)
File "/usr/lib/stbt/_stbt/core.py", line 900, in press
self._control.press(key)
File "/usr/lib/stbt/_stbt/control.py", line 408, in press
port=self.output, power=100, data=self.config[key])
File "/usr/lib/stbt/_stbt/irnetbox.py", line 154, in irsend_raw
self._send(MessageTypes.OUTPUT_IR_SIGNAL)
File "/usr/lib/stbt/_stbt/irnetbox.py", line 172, in _send
response_type, response_data = self._responses.next()
File "/usr/lib/stbt/_stbt/irnetbox.py", line 265, in _read_responses
s = stream.recv(4096)
error: [Errno 104] Connection reset by peer