Mozilla-Games / speedtests

2 stars 1 forks source link

DMError: DeviceManager: pull unsuccessful: could not get all file data #6

Open modeswitch opened 11 years ago

modeswitch commented 11 years ago

DeviceManager ERROR | DeviceManager: pull unsuccessful: could not get all file data Cycle failed! Exception: Traceback (most recent call last): File "speedtests.py", line 320, in main runner.next_test(cycle_count + 1 == options.cycles) File "/home/speedtest/speedtests/client/BrowserRunner.py", line 295, in next_test self.current_controller.launch(self.current_test_url) File "/home/speedtest/speedtests/client/AndroidBrowserControllers.py", line 200, in launch super(AndroidFirefoxBrowserController, self).launch(url, extras) File "/home/speedtest/speedtests/client/AndroidBrowserControllers.py", line 106, in launch if not self.copy_tests(): File "/home/speedtest/speedtests/client/AndroidBrowserControllers.py", line 87, in copy_tests if not self.device_has_tests(): File "/home/speedtest/speedtests/client/AndroidBrowserControllers.py", line 69, in device_has_tests data = self.dm.pullFile('/mnt/sdcard/html.rev') File "/home/speedtest/speedtests/client/mozdevice/devicemanagerSUT.py", line 627, in pullFile buf = read_exact(total_to_recv, buf, 'could not get all file data') File "/home/speedtest/speedtests/client/mozdevice/devicemanagerSUT.py", line 586, in read_exact data = uread(to_recv, error_msg) File "/home/speedtest/speedtests/client/mozdevice/devicemanagerSUT.py", line 573, in uread err(error_msg) File "/home/speedtest/speedtests/client/mozdevice/devicemanagerSUT.py", line 548, in err raise DMError(err_str) DMError: DeviceManager: pull unsuccessful: could not get all file data

modeswitch commented 11 years ago

Seen on android 4.3

jmaher commented 11 years ago

we can add some error handing in AndroidBrowserController to look for this. There are some members to devicemanagerSUT that can help retry and reduce this.