Skip to content

Instantly share code, notes, and snippets.

@joelneubert
Created November 1, 2013 01:27
Show Gist options
  • Save joelneubert/7259806 to your computer and use it in GitHub Desktop.
Save joelneubert/7259806 to your computer and use it in GitHub Desktop.
Appium Log Before Crash
info: Starting Appium in pre-launch mode
info: Pre-launching app
info: Using local app from command line: /Users/joelneubert/Desktop/TruQC.app
info: Creating new appium session 92f22a1d-4fe1-4058-937d-2f5f3dd828c1
info: Removing any remaining instruments sockets
info: Cleaned up instruments socket /tmp/instruments_sock
info: Parsed app Localizable.strings
info: Forcing use of ipad
info: Parsed app Info.plist
info: Wrote new app Info.plist with device type
debug: No device id or app, not installing to real device.
info: instruments is: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments
debug: Creating instruments
info: [INSTSERVER] Instruments socket server started at /tmp/instruments_sock
info: Spawning instruments with command: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate /Users/joelneubert/Desktop/TruQC.app -e UIASCRIPT /Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/uiauto/bootstrap.js -e UIARESULTSPATH /tmp/appium-instruments/
info: And extra without-delay env: {}
info: And launch timeout: 90000ms
info: [INST STDERR] 2013-10-31 19:26:01.177 ScriptAgent[10543:2e07] CLTilesManagerClient: initialize, sSharedTilesManagerClient
info: [INST STDERR] 2013-10-31 19:26:01.178 ScriptAgent[10543:2e07] CLTilesManagerClient: init
2013-10-31 19:26:01.178 ScriptAgent[10543:2e07] CLTilesManagerClient: reconnecting, 0x98b4870
info: [INST] 2013-11-01 01:26:02 +0000 Default: Instruments shell user: joelneubert
info: [INST] 2013-11-01 01:26:16 +0000 Default: Found node using `which node`: /usr/local/bin/node
info: [INSTSERVER] Instruments is ready to receive commands
debug: Sending command to instruments: au.bundleId()
info: Instruments launched. Starting poll loop for new commands.
info: Pushing command to appium work queue: "au.bundleId()"
info: [INSTSERVER] Socket data received (15 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Sending command to instruments: au.bundleId()
info: [INST] 2013-11-01 01:26:20 +0000 Default: Got new command 0 from instruments: au.bundleId()
info: [INST] 2013-11-01 01:26:20 +0000 Default: Result is not protocol compliant, wrapping
info: [INSTSERVER] Socket data received (71 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
debug: Sending command to instruments: au.setScreenOrientation('LANDSCAPE')
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"com.truqcapp.truqcdebug"}
info: Bundle ID for open app is com.truqcapp.truqcdebug
info: Setting initial orientation to LANDSCAPE
info: Pushing command to appium work queue: "au.setScreenOrientation('LANDSCAPE')"
info: [INSTSERVER] Sending command to instruments: au.setScreenOrientation('LANDSCAPE')
info: [INST] 2013-11-01 01:26:21 +0000 Default: Got new command 1 from instruments: au.setScreenOrientation('LANDSCAPE')
info: [INSTSERVER] Socket data received (57 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"LANDSCAPE"}
info: Device launched! Ready for commands (will time out in 60secs)
info: Welcome to Appium v0.11.2 (REV d31a3729b10f51bb9b538ef76a3ce3201d7d16ea)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: socket.io started
debug: Appium request initiated at /wd/hub/status
debug: Request received with params: {}
info: Responding to client with success: {"status":0,"value":{"build":{"version":"0.11.2","revision":"d31a3729b10f51bb9b538ef76a3ce3201d7d16ea"}},"sessionId":"92f22a1d-4fe1-4058-937d-2f5f3dd828c1"}
debug: 127.0.0.1 - - "GET /wd/hub/status HTTP/1.1" 200 199 "-" "Appium (unknown version) CFNetwork/673.0.3 Darwin/13.0.0 (x86_64) (MacBookPro9%2C2)"
GET /wd/hub/status 200 6ms - 199b
debug: Appium request initiated at /wd/hub/status
info: Responding to client with success: {"status":0,"value":{"build":{"version":"0.11.2","revision":"d31a3729b10f51bb9b538ef76a3ce3201d7d16ea"}},"sessionId":"92f22a1d-4fe1-4058-937d-2f5f3dd828c1"}
debug: Request received with params: {}
GET /wd/hub/status 200 2ms - 199b
debug: 127.0.0.1 - - "GET /wd/hub/status HTTP/1.1" 200 199 "-" "Appium (unknown version) CFNetwork/673.0.3 Darwin/13.0.0 (x86_64) (MacBookPro9%2C2)"
debug: Appium request initiated at /wd/hub/status
info: Responding to client with success: {"status":0,"value":{"build":{"version":"0.11.2","revision":"d31a3729b10f51bb9b538ef76a3ce3201d7d16ea"}},"sessionId":"92f22a1d-4fe1-4058-937d-2f5f3dd828c1"}
debug: Request received with params: {}
debug: 127.0.0.1 - - "GET /wd/hub/status HTTP/1.1" 200 199 "-" "Appium (unknown version) CFNetwork/673.0.3 Darwin/13.0.0 (x86_64) (MacBookPro9%2C2)"
debug: Appium request initiated at /wd/hub/sessions
debug: Request received with params: {}
debug: 127.0.0.1 - - "GET /wd/hub/sessions HTTP/1.1" 200 447 "-" "Appium (unknown version) CFNetwork/673.0.3 Darwin/13.0.0 (x86_64) (MacBookPro9%2C2)"
debug: Appium request initiated at /wd/hub/session/92f22a1d-4fe1-4058-937d-2f5f3dd828c1/execute
debug: Request received with params: {"script":"mobile: setCommandTimeout","args":[{"timeout":900}]}
debug: 127.0.0.1 - - "POST /wd/hub/session/92f22a1d-4fe1-4058-937d-2f5f3dd828c1/execute HTTP/1.1" 200 88 "-" "Appium (unknown version) CFNetwork/673.0.3 Darwin/13.0.0 (x86_64) (MacBookPro9%2C2)"
GET /wd/hub/status 200 0ms - 199b
info: Responding to client with success: {"status":0,"value":[{"id":"92f22a1d-4fe1-4058-937d-2f5f3dd828c1","capabilities":{"version":"6.0","webStorageEnabled":false,"locationContextEnabled":false,"browserName":"iOS","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true}}],"sessionId":"92f22a1d-4fe1-4058-937d-2f5f3dd828c1"}
GET /wd/hub/sessions 200 1ms - 447b
info: Setting command timeout to 900 secs
info: Responding to client with success: {"status":0,"value":900,"sessionId":"92f22a1d-4fe1-4058-937d-2f5f3dd828c1"}
POST /wd/hub/session/92f22a1d-4fe1-4058-937d-2f5f3dd828c1/execute 200 4ms - 88b
debug: Appium request initiated at /wd/hub/session/92f22a1d-4fe1-4058-937d-2f5f3dd828c1/source
debug: Request received with params: {}
debug: Sending command to instruments: wd_frame.getPageSource()
info: Pushing command to appium work queue: "wd_frame.getPageSource()"
info: [INSTSERVER] Sending command to instruments: wd_frame.getPageSource()
info: [INST] 2013-11-01 01:26:21 +0000 Debug: target.setDeviceOrientation("3")
2013-11-01 01:27:10 +0000 Default: Got new command 2 from instruments: wd_frame.getPageSource()
info: [INST] 2013-11-01 01:27:10 +0000 Default: Result is not protocol compliant, wrapping
info: [INSTSERVER] Socket data received (5549 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
debug: 127.0.0.1 - - "GET /wd/hub/session/92f22a1d-4fe1-4058-937d-2f5f3dd828c1/source HTTP/1.1" 200 5588 "-" "Appium (unknown version) CFNetwork/673.0.3 Darwin/13.0.0 (x86_64) (MacBookPro9%2C2)"
info: [INSTSERVER] Got result from instruments: {"status":0,"value":"{\"name\":\"TruQC (Debug)\",\"type\":\"UIAApplication\",\"label\":\"TruQC (Debug)\",\"value\":null,\"rect\":{\"origin\":{\"x\":0,\"y\":20},\"size\":{\"width\":1024,\"height\":748}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[{\"name\":\"Window\",\"type\":\"UIAWindow\",\"label\":\"Window\",\"value\":null,\"rect\":{\"origin\":{\"x\":0,\"y\":0},\"size\":{\"width\":1024,\"height\":768}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[{\"name\":\"gradient-overlay-bg.png\",\"type\":\"UIAImage\",\"label\":\"Bg Image View\",\"value\":null,\"rect\":{\"origin\":{\"x\":0,\"y\":-1},\"size\":{\"width\":1024,\"height\":788}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":false,\"children\":[]},{\"name\":\"callout\",\"type\":\"UIAButton\",\"label\":\"callout\",\"value\":null,\"rect\":{\"origin\":{\"x\":20,\"y\":0},\"size\":{\"width\":170,\"height\":189}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[]},{\"name\":\"TruQC-Logo-med.png\",\"type\":\"UIAImage\",\"label\":null,\"value\":null,\"rect\":{\"origin\":{\"x\":374,\"y\":23},\"size\":{\"width\":276,\"height\":112}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":false,\"children\":[]},{\"name\":\"Customer ID Text Field\",\"type\":\"UIATextField\",\"label\":\"Customer ID Text Field\",\"value\":\"Customer ID\",\"rect\":{\"origin\":{\"x\":377,\"y\":168},\"size\":{\"width\":270,\"height\":44}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[]},{\"name\":\"User Name Text Field\",\"type\":\"UIATextField\",\"label\":\"User Name Text Field\",\"value\":\"User Name\",\"rect\":{\"origin\":{\"x\":377,\"y\":224},\"size\":{\"width\":270,\"height\":44}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[]},{\"name\":\"Password Text Field\",\"type\":\"UIASecureTextField\",\"label\":\"Password Text Field\",\"value\":\"Password\",\"rect\":{\"origin\":{\"x\":377,\"y\":280},\"size\":{\"width\":270,\"height\":44}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[]},{\"name\":\"Login Button\",\"type\":\"UIAButton\",\"label\":\"Login Button\",\"value\":null,\"rect\":{\"origin\":{\"x\":377,\"y\":336},\"size\":{\"width\":270,\"height\":44}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[]},{\"name\":\"Forgot password?\",\"type\":\"UIAButton\",\"label\":\"Forgot password?\",\"value\":null,\"rect\":{\"origin\":{\"x\":377,\"y\":388},\"size\":{\"width\":270,\"height\":30}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[]},{\"name\":\"Version Label\",\"type\":\"UIAStaticText\",\"label\":\"Version Label\",\"value\":\"Version Label\",\"rect\":{\"origin\":{\"x\":0,\"y\":727},\"size\":{\"width\":1024,\"height\":21}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[]},{\"name\":\"In progress\",\"type\":\"UIAActivityIndicator\",\"label\":\"In progress\",\"value\":\"1\",\"rect\":{\"origin\":{\"x\":494,\"y\":366},\"size\":{\"width\":37,\"height\":37}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":false,\"children\":[]},{\"name\":null,\"type\":\"UIAStaticText\",\"label\":null,\"value\":null,\"rect\":{\"origin\":{\"x\":512,\"y\":403},\"size\":{\"width\":0,\"height\":0}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":false,\"children\":[]},{\"name\":null,\"type\":\"UIAStaticText\",\"label\":null,\"value\":null,\"rect\":{\"origin\":{\"x\":512,\"y\":403},\"size\":{\"width\":0,\"height\":0}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":false,\"children\":[]}]},{\"name\":null,\"type\":\"UIAWindow\",\"label\":null,\"value\":null,\"rect\":{\"origin\":{\"x\":0,\"y\":-256},\"size\":{\"width\":768,\"height\":1024}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":false,\"children\":[{\"name\":null,\"type\":\"UIAStatusBar\",\"label\":null,\"value\":null,\"rect\":{\"origin\":{\"x\":0,\"y\":0},\"size\":{\"width\":1024,\"height\":20}},\"dom\":nu
debug: Appium request initiated at /wd/hub/session/92f22a1d-4fe1-4058-937d-2f5f3dd828c1/screenshot
debug: Request received with params: {}
debug: Sending command to instruments: au.capture('screenshot4896ab36-89d1-4db7-8b11-b1489f3e2930')
ll,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[{\"name\":\"Swipe down with three fingers to reveal the notification center., Swipe up with three fingers to reveal the control center, Double-tap to scroll to top\",\"type\":\"UIAElement\",\"label\":null,\"value\":null,\"rect\":{\"origin\":{\"x\":6,\"y\":0},\"size\":{\"width\":39,\"height\":20}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[]},{\"name\":\"3 of 3 Wi-Fi bars\",\"type\":\"UIAElement\",\"label\":\"3 of 3 Wi-Fi bars\",\"value\":null,\"rect\":{\"origin\":{\"x\":50,\"y\":0},\"size\":{\"width\":13,\"height\":20}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[]},{\"name\":\"7:27 PM\",\"type\":\"UIAElement\",\"label\":\"7:27 PM\",\"value\":null,\"rect\":{\"origin\":{\"x\":489,\"y\":0},\"size\":{\"width\":47,\"height\":20}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[]},{\"name\":\"StandardLocationTrackingOn\",\"type\":\"UIAElement\",\"label\":\"Location tracking on\",\"value\":null,\"rect\":{\"origin\":{\"x\":944,\"y\":0},\"size\":{\"width\":10,\"height\":20}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[]},{\"name\":\"100% battery power\",\"type\":\"UIAElement\",\"label\":\"100% battery power\",\"value\":null,\"rect\":{\"origin\":{\"x\":960,\"y\":0},\"size\":{\"width\":59,\"height\":20}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[]}]}]}]}"}
info: Responding to client with success: {"status":0,"value":"{\"name\":\"TruQC (Debug)\",\"type\":\"UIAApplication\",\"label\":\"TruQC (Debug)\",\"value\":null,\"rect\":{\"origin\":{\"x\":0,\"y\":20},\"size\":{\"width\":1024,\"height\":748}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[{\"name\":\"Window\",\"type\":\"UIAWindow\",\"label\":\"Window\",\"value\":null,\"rect\":{\"origin\":{\"x\":0,\"y\":0},\"size\":{\"width\":1024,\"height\":768}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[{\"name\":\"gradient-overlay-bg.png\",\"type\":\"UIAImage\",\"label\":\"Bg Image View\",\"value\":null,\"rect\":{\"origin\":{\"x\":0,\"y\":-1},\"size\":{\"width\":1024,\"height\":788}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":false,\"children\":[]},{\"name\":\"callout\",\"type\":\"UIAButton\",\"label\":\"callout\",\"value\":null,\"rect\":{\"origin\":{\"x\":20,\"y\":0},\"size\":{\"width\":170,\"height\":189}},\"dom\":null,\"enabled\":true,\"valid\":true,\"visible\":true,\"children\":[]},{\"name\":\"TruQC-Logo-med.png\",\"type\":\"UIAImage\",\"label\":null,\"value\":null,\"rect\":{\"origin\":{\"x\":374,\"y\":23},\"size\":{\"width\":276,\"height\":112}},\"dom\":nul...","sessionId":"92f22a1d-4fe1-4058-937d-2f5f3dd828c1"}
GET /wd/hub/session/92f22a1d-4fe1-4058-937d-2f5f3dd828c1/source 200 381ms - 5.46kb
info: Pushing command to appium work queue: "au.capture('screenshot4896ab36-89d1-4db7-8b11-b1489f3e2930')"
info: [INSTSERVER] Sending command to instruments: au.capture('screenshot4896ab36-89d1-4db7-8b11-b1489f3e2930')
info: [INST] 2013-11-01 01:27:11 +0000 Default: Got new command 3 from instruments: au.capture('screenshot4896ab36-89d1-4db7-8b11-b1489f3e2930')
info: [INSTSERVER] Socket data received (48 bytes)
info: [INSTSERVER] Socket data being routed for 'cmd' event
info: [INSTSERVER] Got result from instruments: {"status":0,"value":""}
info: Rotating landscape screenshot
info: Rotating image /tmp/appium-instruments/Run 1/screenshot4896ab36-89d1-4db7-8b11-b1489f3e2930.png -90 degrees
info: [INST] 2013-11-01 01:27:11 +0000 Debug: target.captureRectWithName("{origin:{x:-256.00,y:0.00}, size:{height:768.00,width:1024.00}}", "screenshot4896ab36-89d1-4db7-8b11-b1489f3e2930")
2013-11-01 01:27:11 +0000 Screenshot captured.
2013-11-01 01:27:11 +0000 Default: Command executed without response
info: [INST] 2013-11-01 01:27:11 +0000 Default: Result is not protocol compliant, wrapping
info: Responding to client with success: {"status":0,"value":"iVBORw0KGgoAAAANSUhEUgAABAAAAAMACAYAAAC6uhUNAAAKQWlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUU9kWh8+9N73QEiIgJfQaegkg0jtIFQRRiUmAUAKGhCZ2RAVGFBEpVmRUwAFHhyJjRRQLg4Ji1wnyEFDGwVFEReXdjGsJ7601896a/cdZ39nnt9fZZ+9917oAUPyCBMJ0WAGANKFYFO7rwVwSE8vE9wIYEAEOWAHA4WZmBEf4RALU/L09mZmoSMaz9u4ugGS72yy/UCZz1v9/kSI3QyQGAApF1TY8fiYX5QKUU7PFGTL/BMr0lSkyhjEyFqEJoqwi48SvbPan5iu7yZiXJuShGlnOGbw0noy7UN6aJeGjjAShXJgl4GejfAdlvVRJmgDl9yjT0/icTAAwFJlfzOcmoWyJMkUUGe6J8gIACJTEObxyDov5OWieAHimZ+SKBIlJYqYR15hp5ejIZvrxs1P5YjErlMNN4Yh4TM/0tAyOMBeAr2+WRQElWW2ZaJHtrRzt7VnW5mj5v9nfHn5T/T3IevtV8Sbsz55BjJ5Z32zsrC+9FgD2JFqbHbO+lVUAtG0GQOXhrE/vIADyBQC03pzzHoZsXpLE4gwnC4vs7GxzAZ9rLivoN/ufgm/Kv4Y595nL7vtWO6YXP4EjSRUzZUXlpqemS0TMzAwOl89k/fcQ/+PAOWnNycMsnJ/AF/GF6FVR6JQJhIlou4U8gViQLmQKhH/V4X8YNicHGX6daxRodV8AfYU5ULhJB8hvPQBDIwMkbj96An3rWxAxCsi+vGitka9zjzJ6/uf6Hwtcim7hTEEiU+b2DI9kciWiLBmj34RswQISkAd0oAo0gS4wAixgDRyAM3AD3iAAhIBIEAOWAy5IAmlABLJBPtgACkEx2AF2g2pwANSBetAEToI2cAZcBFfADXALDIBHQAqGwUswAd6BaQiC8BAVokGqkBakD5lC1hAbWgh5Q0FQOBQDxUOJkBCS...","sessionId":"92f22a1d-4fe1-4058-937d-2f5f3dd828c1"}
GET /wd/hub/session/92f22a1d-4fe1-4058-937d-2f5f3dd828c1/screenshot 200 1341ms - 159.65kb
debug: 127.0.0.1 - - "GET /wd/hub/session/92f22a1d-4fe1-4058-937d-2f5f3dd828c1/screenshot HTTP/1.1" 200 163479 "-" "Appium (unknown version) CFNetwork/673.0.3 Darwin/13.0.0 (x86_64) (MacBookPro9%2C2)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment