Skip to content

Instantly share code, notes, and snippets.

@trix0
Created February 9, 2018 09:37
Show Gist options
  • Save trix0/368580ee858dff5b1b5072c795b88b23 to your computer and use it in GitHub Desktop.
Save trix0/368580ee858dff5b1b5072c795b88b23 to your computer and use it in GitHub Desktop.
2018-02-09 09:35:56:407 - info: [Appium] Welcome to Appium v1.8.0-beta3
2018-02-09 09:35:56:408 - info: [Appium] Non-default server args:
2018-02-09 09:35:56:408 - info: [Appium] port: 4001
2018-02-09 09:35:56:414 - info: [Appium] bootstrapPort: 6001
2018-02-09 09:35:56:414 - info: [Appium] log: /home/trixo/Code/javaRewrite/log4001.txt
2018-02-09 09:35:56:414 - info: [Appium] logTimestamp: true
2018-02-09 09:35:56:431 - info: [Appium] Appium REST http interface listener started on 0.0.0.0:4001
2018-02-09 09:35:56:467 - info: [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"platformName":"Android","deviceName":"Android","systemPort":8201,"automationName":"uiautomator2","udid":"","appPackage":"com.gorro.nothing","appActivity":"com.gorro.nothing.NothingActivity","noReset":true,"fullReset":false,"newCommandTimeout":120000,"skipUnlock":true,"requestOrigins":{"url":"http://webdriver.io","version":"4.10.1","name":"webdriverio"}}}
2018-02-09 09:35:56:469 - info: [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"platformName":"Android","deviceName":"Android","systemPort":8201,"automationName":"uiautomator2","udid":"","appPackage":"com.gorro.nothing","appActivity":"com.gorro.nothing.NothingActivity","noReset":true,"fullReset":false,"newCommandTimeout":120000,"skipUnlock":true,"requestOrigins":{"url":"http://webdriver.io","version":"4.10.1","name":"webdriverio"}},null,null]
2018-02-09 09:35:56:470 - info: [debug] [BaseDriver] Event 'newSessionRequested' logged at 1518168956470 (10:35:56 GMT+0100 (CET))
2018-02-09 09:35:56:472 - info: [Appium] Creating new AndroidUiautomator2Driver (v1.1.0) session
2018-02-09 09:35:56:473 - info: [Appium] Capabilities:
2018-02-09 09:35:56:473 - info: [Appium] javascriptEnabled: true
2018-02-09 09:35:56:473 - info: [Appium] locationContextEnabled: true
2018-02-09 09:35:56:473 - info: [Appium] handlesAlerts: true
2018-02-09 09:35:56:473 - info: [Appium] rotatable: true
2018-02-09 09:35:56:473 - info: [Appium] platformName: Android
2018-02-09 09:35:56:474 - info: [Appium] deviceName: Android
2018-02-09 09:35:56:474 - info: [Appium] systemPort: 8201
2018-02-09 09:35:56:474 - info: [Appium] automationName: uiautomator2
2018-02-09 09:35:56:474 - info: [Appium] udid:
2018-02-09 09:35:56:474 - info: [Appium] appPackage: com.gorro.nothing
2018-02-09 09:35:56:474 - info: [Appium] appActivity: com.gorro.nothing.NothingActivity
2018-02-09 09:35:56:474 - info: [Appium] noReset: true
2018-02-09 09:35:56:475 - info: [Appium] fullReset: false
2018-02-09 09:35:56:475 - info: [Appium] newCommandTimeout: 120000
2018-02-09 09:35:56:475 - info: [Appium] skipUnlock: true
2018-02-09 09:35:56:475 - info: [Appium] requestOrigins: {
2018-02-09 09:35:56:475 - info: [Appium] url: http://webdriver.io
2018-02-09 09:35:56:475 - info: [Appium] version: 4.10.1
2018-02-09 09:35:56:475 - info: [Appium] name: webdriverio
2018-02-09 09:35:56:476 - info: [Appium] }
2018-02-09 09:35:56:479 - info: [debug] [BaseDriver]
2018-02-09 09:35:56:479 - info: [debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {"javascriptEnabled":true,"...
2018-02-09 09:35:56:483 - warn: [BaseDriver] The following capabilities were provided, but are not recognized by appium: javascriptEnabled, locationContextEnabled, handlesAlerts, rotatable, requestOrigins.
2018-02-09 09:35:56:484 - info: [BaseDriver] Session created with session id: 5ca460d6-39ec-4f11-b69a-a9124fd1983e
2018-02-09 09:35:56:485 - info: [debug] [AndroidDriver] Getting Java version
2018-02-09 09:35:56:566 - info: [AndroidDriver] Java version is: 1.8.0_151
2018-02-09 09:35:56:569 - info: [ADB] Checking whether adb is present
2018-02-09 09:35:56:578 - info: [ADB] Found the following 'build-tools' folders (newest first):
2018-02-09 09:35:56:578 - info: [ADB] /home/trixo/Android/Sdk/build-tools/27.0.3/
/home/trixo/Android/Sdk/build-tools/25.0.0/
2018-02-09 09:35:56:578 - info: [ADB] Using adb from /home/trixo/Android/Sdk/platform-tools/adb
2018-02-09 09:35:56:579 - info: [AndroidDriver] Retrieving device list
2018-02-09 09:35:56:579 - info: [debug] [ADB] Trying to find a connected android device
2018-02-09 09:35:56:580 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:35:56:587 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:35:56:587 - info: [AndroidDriver] Using device: localhost:7437
2018-02-09 09:35:56:588 - info: [ADB] Checking whether adb is present
2018-02-09 09:35:56:589 - info: [debug] [ADB] Setting device id to localhost:7437
2018-02-09 09:35:56:589 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:35:56:597 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:35:56:598 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","shell","getprop","ro.build.version.sdk"]
2018-02-09 09:35:56:639 - info: [debug] [ADB] Current device property 'ro.build.version.sdk': 23
2018-02-09 09:35:56:639 - info: [debug] [ADB] Device API level: 23
2018-02-09 09:35:56:640 - warn: [AndroidDriver] No app sent in, not parsing package/activity
2018-02-09 09:35:56:640 - info: [ADB] Getting device platform version
2018-02-09 09:35:56:641 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:35:56:648 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:35:56:648 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","shell","getprop","ro.build.version.release"]
2018-02-09 09:35:56:690 - info: [debug] [ADB] Current device property 'ro.build.version.release': 6.0.1
2018-02-09 09:35:56:691 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:35:56:697 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:35:56:698 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","shell","wm","size"]
2018-02-09 09:35:58:421 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:35:58:430 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:35:58:431 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","shell","wm","density"]
2018-02-09 09:36:00:182 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:36:00:193 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:36:00:193 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","shell","getprop","ro.product.model"]
2018-02-09 09:36:00:250 - info: [debug] [ADB] Current device property 'ro.product.model': SM-A300FU
2018-02-09 09:36:00:251 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:36:00:262 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:36:00:262 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","shell","getprop","ro.product.manufacturer"]
2018-02-09 09:36:00:323 - info: [debug] [ADB] Current device property 'ro.product.manufacturer': samsung
2018-02-09 09:36:00:326 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:36:00:336 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:36:00:336 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","shell","am","force-stop","io.appium.uiautomator2.server"]
2018-02-09 09:36:02:092 - info: [ADB] Checking whether aapt is present
2018-02-09 09:36:02:093 - info: [ADB] Found the following 'build-tools' folders (newest first):
2018-02-09 09:36:02:093 - info: [ADB] /home/trixo/Android/Sdk/build-tools/27.0.3/
/home/trixo/Android/Sdk/build-tools/25.0.0/
2018-02-09 09:36:02:094 - info: [ADB] Using aapt from /home/trixo/Android/Sdk/build-tools/27.0.3/aapt
2018-02-09 09:36:02:103 - info: [debug] [ADB] Getting install status for io.appium.uiautomator2.server
2018-02-09 09:36:02:103 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:36:02:111 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:36:02:111 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","shell","pm","list","packages","io.appium.uiautomator2.server"]
2018-02-09 09:36:03:679 - info: [debug] [ADB] App is not installed
2018-02-09 09:36:03:679 - info: [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
2018-02-09 09:36:03:679 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:36:03:689 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:36:03:690 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","shell","pm","list","packages","io.appium.uiautomator2.server.test"]
2018-02-09 09:36:05:238 - info: [debug] [ADB] App is not installed
2018-02-09 09:36:05:239 - info: [debug] [ADB] Checking app cert for /home/trixo/Downloads/appium-1.8.0-beta3/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.1.0.apk
2018-02-09 09:36:05:241 - info: [ADB] Found the following 'build-tools' folders (newest first):
2018-02-09 09:36:05:241 - info: [ADB] /home/trixo/Android/Sdk/build-tools/27.0.3/
/home/trixo/Android/Sdk/build-tools/25.0.0/
2018-02-09 09:36:05:242 - info: [ADB] Using apksigner from /home/trixo/Android/Sdk/build-tools/27.0.3/apksigner
2018-02-09 09:36:05:243 - info: [debug] [ADB] Starting '/home/trixo/Android/Sdk/build-tools/27.0.3/apksigner' with args 'verify,/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.1.0.apk'
2018-02-09 09:36:05:559 - info: [debug] [ADB] '/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v1.1.0.apk' is already signed.
2018-02-09 09:36:05:562 - info: [debug] [UiAutomator2] Deleting UiAutomator2 session
2018-02-09 09:36:05:563 - info: [debug] [UiAutomator2] Deleting UiAutomator2 server session
2018-02-09 09:36:05:565 - warn: [UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: Error: Trying to proxy a session command without session id
2018-02-09 09:36:05:565 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:36:05:573 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:36:05:573 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","shell","am","force-stop","com.gorro.nothing"]
2018-02-09 09:36:07:330 - info: [debug] [ADB] Removing forwarded port socket connection: 8201
2018-02-09 09:36:07:331 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","forward","--remove","tcp:8201"]
2018-02-09 09:36:07:340 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","forward","--remove","tcp:8201"]
2018-02-09 09:36:07:346 - warn: [UiAutomator2] Unable to remove port forward 'Error executing adbExec. Original error: 'Command '/home/trixo/Android/Sdk/platform-tools/adb -P 5037 -s localhost\:7437 forward --remove tcp\:8201' exited with code 1'; Stderr: 'error: listener 'tcp:8201' not found'; Code: '1''
2018-02-09 09:36:07:378 - error: [MJSONWP] Encountered internal error running command: TypeError: Cannot create property 'replace' on boolean 'true'
at ADB.callee$0$0$ (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/appium-adb/lib/tools/apk-utils.js:331:20)
at tryCatch (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at invoke (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at enqueueResult (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/babel-runtime/regenerator/runtime.js:185:17)
at new Promise (<anonymous>)
at new F (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/core-js/library/modules/$.export.js:30:36)
at AsyncIterator.enqueue (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/babel-runtime/regenerator/runtime.js:184:12)
at AsyncIterator.prototype.(anonymous function) [as next] (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at Object.runtime.async (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/babel-runtime/regenerator/runtime.js:209:12)
at ADB.callee$0$0 [as install] (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/appium-adb/build/lib/tools/apk-utils.js:761:30)
at UiAutomator2Server.signAndInstall$ (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/appium-uiautomator2-driver/lib/uiautomator2.js:110:20)
at tryCatch (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/home/trixo/Downloads/appium-1.8.0-beta3/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at <anonymous>
2018-02-09 09:36:07:383 - info: [HTTP] <-- POST /wd/hub/session 500 10914 ms - 187
2018-02-09 09:36:10:518 - info: [Appium] Received SIGINT - shutting down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment