Unkown Error while doing long run&pararell test

I’m doing parallel tests for 5~10 android real devices. Run monkey testing using python code, doing action and save screenshot every 10~20 secs. But Sometimes error occured and shut down script executing. It happens irregularly, sometimes testing continue 6~8 hours, but sometimes just 10 minutes.

Do you know why it happens?

I don’t know It’s exactly log… please any comment about it. Thanks.

info: --> POST /wd/hub/session/561c2069-6a61-44dc-aa27-25d334b02c20/touch/multi/
perform {“sessionId”:“561c2069-6a61-44dc-aa27-25d334b02c20”,“actions”:[[{"action
":“longPress”,“options”:{“y”:1003,“x”:1835,“duration”:400}},{“action”:“release”,
“options”:{}}],[{“action”:“longPress”,“options”:{“y”:1034,“x”:1407,“duration”:40
0}},{“action”:“release”,“options”:{}}],[{“action”:“longPress”,“options”:{“y”:75,
“x”:1706,“duration”:400}},{“action”:“release”,“options”:{}}]]}
info: [debug] Pushing command to appium work queue: ["performMultiPointerGesture
",{“actions”:[[{“action”:“longPress”,“time”:0.005,“touch”:{“y”:1003,“x”:1835,“du
ration”:400}}],[{“action”:“longPress”,“time”:0.005,“touch”:{“y”:1034,“x”:1407,“d
uration”:400}}],[{“action”:“longPress”,“time”:0.005,“touch”:{“y”:75,“x”:1706,“du
ration”:400}}]]}]
info: [debug] [BOOTSTRAP] [debug] Got data from client: {“cmd”:“action”,“action”
:“performMultiPointerGesture”,“params”:{“actions”:[[{“action”:“longPress”,“time”
:0.005,“touch”:{“y”:1003,“x”:1835,“duration”:400}}],[{“action”:“longPress”,"time
":0.005,“touch”:{“y”:1034,“x”:1407,“duration”:400}}],[{“action”:“longPress”,“tim
e”:0.005,“touch”:{“y”:75,“x”:1706,“duration”:400}}]]}}
info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
info: [debug] [BOOTSTRAP] [debug] Got command action: performMultiPointerGesture

info: [debug] [BOOTSTRAP] [debug] Returning result: {“value”:“OK”,“status”:0}
info: [debug] Responding to client with success: {“status”:0,“value”:“OK”,“sessi
onId”:“561c2069-6a61-44dc-aa27-25d334b02c20”}
info: <-- POST /wd/hub/session/561c2069-6a61-44dc-aa27-25d334b02c20/touch/multi/
perform 200 290.977 ms - 76 {“status”:0,“value”:“OK”,“sessionId”:“561c2069-6a61-
44dc-aa27-25d334b02c20”}
info: --> GET /wd/hub/session/561c2069-6a61-44dc-aa27-25d334b02c20/screenshot {}

info: [debug] executing cmd: C:\Android\android-sdk\platform-tools\adb.exe -s HC
3B2MP00398 shell “/system/bin/rm /data/local/tmp/screenshot.png; /system/bin/scr
eencap -p /data/local/tmp/screenshot.png "
info: [debug] executing cmd: C:\Android\android-sdk\platform-tools\adb.exe -s HC
3B2MP00398 pull /data/local/tmp/screenshot.png “C:\Users\NETMAR~1\AppData\Lo
cal\Temp\appium116026-8680-1s7m56a.png”
info: [debug] Responding to client with error: {“status”:13,“value”:{“message”:”
An unknown server-side error occurred while processing the command. (Original er
ror: Command failed: C:\Windows\system32\cmd.exe /s /c “C:\Android\android
-sdk\platform-tools\adb.exe -s HC3B2MP00398 pull /data/local/tmp/screenshot.pn
g “C:\\Users\\NETMAR~1\\AppData\\Local\\Temp\\appium116026-8680-1s7
m56a.png””\nADB server didn’t ACK\r\n* failed to start daemon \r\nerror: cann
ot connect to daemon: Result too large\r\n)",“killed”:false,“code”:1,“signal”:nu
ll,“cmd”:"C:\Windows\system32\cmd.exe /s /c "C:\Android\android-sdk\platf
orm-tools\adb.exe -s HC3B2MP00398 pull /data/local/tmp/screenshot.png “C:\\U
sers\\NETMAR~1\\AppData\\Local\\Temp\\appium116026-8680-1s7m56a.png”
“”,“origValue”:"Command failed: C:\Windows\system32\cmd.exe /s /c “C:\Andro
id\android-sdk\platform-tools\adb.exe -s HC3B2MP00398 pull /data/local/tmp/sc
reenshot.png “C:\\Users\\NETMAR~1\\AppData\\Local\\Temp\\appium1160
26-8680-1s7m56a.png””\nADB server didn’t ACK\r\n
failed to start daemon *\r\n
error: cannot connect to daemon: Result too large\r\n"},“sessionId”:“561c2069-6a
61-44dc-aa27-25d334b02c20”}
info: <-- GET /wd/hub/session/561c2069-6a61-44dc-aa27-25d334b02c20/screenshot 50
0 3843.273 ms - 1180

Getting same issue , when tried execution for more that 24 hours…
Even killing all the adb process from task manager is not working.
Even adb kill and start server is not working for me…

Did you got the root cause and fix for this issue ?