Created
April 25, 2012 17:38
-
-
Save listrophy/2491566 to your computer and use it in GitHub Desktop.
UIATargetHasGoneAWOLException
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
honor TravisCI(原*) rake test | |
running: /Users/brad/dev/bwoken/bin/unix_instruments.sh -D /Users/brad/dev/ios/TravisCI/integration/tmp/trace -t /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate -v /Users/brad/dev/ios/TravisCI/build/TravisCI.app -e UIASCRIPT /Users/brad/dev/ios/TravisCI/integration/tmp/javascript/iphone/favorites.js -e UIARESULTSPATH /Users/brad/dev/ios/TravisCI/integration/tmp/results | |
Instruments : Plugin Search Paths ( | |
"/Users/brad/Library/Application Support/Instruments/PlugIns", | |
"/Library/Application Support/Instruments/PlugIns", | |
"/Applications/Xcode.app/Contents/Developer/usr/PlugIns", | |
"/Applications/Xcode.app/Contents/Developer/usr/bin/PlugIns", | |
"/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns", | |
"/Applications/Xcode.app/Contents/Developer/Library/Instruments/PlugIns", | |
"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns", | |
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Instruments/PlugIns" | |
) | |
Instruments : Loaded Instruments ( | |
"Instrument Type (name:Core Data Saves; category:Core Data)", | |
"Instrument Type (name:Core Data Fetches; category:Core Data)", | |
"Instrument Type (name:Core Data Faults; category:Core Data)", | |
"Instrument Type (name:Core Data Cache Misses; category:Core Data)", | |
"Instrument Type (name:Sudden Termination; category:Custom Instruments)", | |
"Instrument Type (name:Cocoa Layout; category:Custom Instruments)", | |
"Instrument Type (name:Dispatch; category:Dispatch)", | |
"Instrument Type (name:I/O Activity; category:File System)", | |
"Instrument Type (name:File Locks; category:File System)", | |
"Instrument Type (name:File Attributes; category:File System)", | |
"Instrument Type (name:File Activity; category:File System)", | |
"Instrument Type (name:Directory I/O; category:File System)", | |
"Instrument Type (name:Garbage Collection; category:Garbage Collection)", | |
"Instrument Type (name:OpenGL ES Driver; category:Graphics)", | |
"Instrument Type (name:OpenGL ES Analyzer; category:Graphics)", | |
"Instrument Type (name:OpenGL Driver; category:Graphics)", | |
"Instrument Type (name:Core Animation; category:Graphics)", | |
"Instrument Type (name:Reads/Writes; category:Input/Output)", | |
"Instrument Type (name:User Interface; category:Master Tracks)", | |
"Instrument Type (name:VM Tracker; category:Memory)", | |
"Instrument Type (name:Shared Memory; category:Memory)", | |
"Instrument Type (name:Object Graph; category:Memory)", | |
"Instrument Type (name:Leaks; category:Memory)", | |
"Instrument Type (name:Allocations ; category:Memory)", | |
"Instrument Type (name:WiFi; category:System)", | |
"Instrument Type (name:Time Profiler; category:System)", | |
"Instrument Type (name:Spin Monitor ; category:System)", | |
"Instrument Type (name:Sleep/Wake; category:System)", | |
"Instrument Type (name:Sampler ; category:System)", | |
"Instrument Type (name:Process; category:System)", | |
"Instrument Type (name:Network Connections; category:System)", | |
"Instrument Type (name:Network Activity Monitor; category:System)", | |
"Instrument Type (name:Network Activity; category:System)", | |
"Instrument Type (name:Memory Monitor; category:System)", | |
"Instrument Type (name:GPS; category:System)", | |
"Instrument Type (name:Event Profiler; category:System)", | |
"Instrument Type (name:Energy Usage; category:System)", | |
"Instrument Type (name:Display Brightness; category:System)", | |
"Instrument Type (name:Disk Monitor; category:System)", | |
"Instrument Type (name:CPU Monitor; category:System)", | |
"Instrument Type (name:CPU Activity; category:System)", | |
"Instrument Type (name:Counters; category:System)", | |
"Instrument Type (name:Bluetooth; category:System)", | |
"Instrument Type (name:Activity Monitor; category:System)", | |
"Instrument Type (name:Thread States; category:Threads / Locks)", | |
"Instrument Type (name:JavaThread; category:Threads / Locks)", | |
"Instrument Type (name:VM Operations; category:Trace)", | |
"Instrument Type (name:System Calls; category:Trace)", | |
"Instrument Type (name:Scheduling; category:Trace)", | |
"Instrument Type (name:Automation; category:UI Automation)", | |
"Instrument Type (name:Cocoa Events; category:User Interface)", | |
"Instrument Type (name:Carbon Events; category:User Interface)" | |
) | |
Instruments : Loading document 'file://localhost/Users/brad/dev/ios/TravisCI/integration/tmp/trace.trace/' | |
Instruments : Loading template 'file://localhost/Users/brad/dev/ios/TravisCI/integration/tmp/trace.trace/form.template' | |
Instruments : Setting Instrument Trace Command : Instrument Command (purpose:Idle; output destination:file://localhost/Users/brad/dev/ios/TravisCI/integration/tmp/trace.trace/) | |
Instruments : Trace Command Recognized | |
Instruments : Instrument 'Automation - TravisCI' accepted command 'Instrument Command (purpose:Trace; output destination:file://localhost/Users/brad/dev/ios/TravisCI/integration/tmp/trace.trace/)' for target 'Executable (name:TravisCI; arguments:)' | |
Instruments : Instrument 'Automation - TravisCI' verified command 'Instrument Command (purpose:Trace; output destination:file://localhost/Users/brad/dev/ios/TravisCI/integration/tmp/trace.trace/)' for target 'Executable (name:TravisCI; arguments:)' | |
Instruments : Instruments Accepted Command | |
Instruments : Preparing To Start Trace | |
Instruments : Starting Instrument(s) | |
2012-04-25 12:37:20.640 instruments[10084:1203] Automation Instrument ran into an exception while trying to run the script. UIATargetHasGoneAWOLException | |
2012-04-25 17:37:20 +0000 Fail: An error occurred while trying to run the script. |
Oh, and this randomly happens. /facepalm
And it continues to happen when you run the command listed as "running: " by itself, rather than through rake.
/Users/brad/dev/bwoken/bin/unix_instruments.sh
-D /Users/brad/dev/ios/TravisCI/integration/tmp/trace
-t /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Instruments/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate
-v
/Users/brad/dev/ios/TravisCI/build/TravisCI.app
-e UIASCRIPT /Users/brad/dev/ios/TravisCI/integration/tmp/javascript/iphone/favorites.js
-e UIARESULTSPATH /Users/brad/dev/ios/TravisCI/integration/tmp/results
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This seems to happen when instruments "forgets" to ask the OS for permission to access the TravisCI.app process inside the simulator. When working correctly, the permission request blocks (or it's been cached).