09-02-2015, 04:40 AM
I'm running into an issue where I'm trying to perform multiple runs using the WPT agent hooked up to an iPhone, but the agent is trying to mount the DeveloperDiskImage.dmg file every time it performs a run, which is causing issues.
The first run is fine:
D Sep_01_14:28:00.169 process_utils.js:327 ChildProcess.<anonymous> : stdout[129] Uploading /Users/users/wpt/agent/js/lib/ios/DeviceSupport/7.1/DeveloperDiskImage.dmg
done.
Mounting...
Done.
Status: Complete
And I get results! :-D But after that, each subsequent run gets the following:
D Sep_01_14:28:46.484 process_utils.js:263 unknown : Exec with timeout(30000): '/Users/user/wpt/agent/js/lib/ios/idevice/Darwin x86_64/ideviceimagemounter' -u deviceID /Users/user/wpt/agent/js/lib/ios/DeviceSupport/7.1/DeveloperDiskImage.dmg /Users/user/wpt/agent/js/lib/ios/DeviceSupport/7.1/DeveloperDiskImage.dmg.signature
E Sep_01_14:28:47.495 wd_server.js:204 WebDriverServer.<anonymous> : Exception from "Run test": Error: '/Users/user/wpt/agent/js/lib/ios/idevice/Darwin x86_64/ideviceimagemounter' -u deviceID /Users/user/wpt/agent/js/lib/ios/DeviceSupport/7.1/DeveloperDiskImage.dmg /Users/user/wpt/agent/js/lib/ios/DeviceSupport/7.1/DeveloperDiskImage.dmg.signature failed, code 255, stdout[130] Uploading /Users/user/wpt/agent/js/lib/ios/DeviceSupport/7.1/DeveloperDiskImage.dmg
done.
Mounting...
Error: ImageMountFailed
The only way to get around this I've found is to reboot the iPhone. Is there something I need to change, or is there an issue with each run trying to mount the image, even though it's mounted?
The first run is fine:
D Sep_01_14:28:00.169 process_utils.js:327 ChildProcess.<anonymous> : stdout[129] Uploading /Users/users/wpt/agent/js/lib/ios/DeviceSupport/7.1/DeveloperDiskImage.dmg
done.
Mounting...
Done.
Status: Complete
And I get results! :-D But after that, each subsequent run gets the following:
D Sep_01_14:28:46.484 process_utils.js:263 unknown : Exec with timeout(30000): '/Users/user/wpt/agent/js/lib/ios/idevice/Darwin x86_64/ideviceimagemounter' -u deviceID /Users/user/wpt/agent/js/lib/ios/DeviceSupport/7.1/DeveloperDiskImage.dmg /Users/user/wpt/agent/js/lib/ios/DeviceSupport/7.1/DeveloperDiskImage.dmg.signature
E Sep_01_14:28:47.495 wd_server.js:204 WebDriverServer.<anonymous> : Exception from "Run test": Error: '/Users/user/wpt/agent/js/lib/ios/idevice/Darwin x86_64/ideviceimagemounter' -u deviceID /Users/user/wpt/agent/js/lib/ios/DeviceSupport/7.1/DeveloperDiskImage.dmg /Users/user/wpt/agent/js/lib/ios/DeviceSupport/7.1/DeveloperDiskImage.dmg.signature failed, code 255, stdout[130] Uploading /Users/user/wpt/agent/js/lib/ios/DeviceSupport/7.1/DeveloperDiskImage.dmg
done.
Mounting...
Error: ImageMountFailed
The only way to get around this I've found is to reboot the iPhone. Is there something I need to change, or is there an issue with each run trying to mount the image, even though it's mounted?