Skip to content

Instantly share code, notes, and snippets.

@trix0
Created February 9, 2018 09:38
Show Gist options
  • Save trix0/9d4b47801eaf311046c0efd962f07f4c to your computer and use it in GitHub Desktop.
Save trix0/9d4b47801eaf311046c0efd962f07f4c to your computer and use it in GitHub Desktop.
2018-02-09 09:35:56:416 - info: [Appium] Welcome to Appium v1.8.0-beta3
2018-02-09 09:35:56:417 - info: [Appium] Non-default server args:
2018-02-09 09:35:56:417 - info: [Appium] port: 4000
2018-02-09 09:35:56:418 - info: [Appium] bootstrapPort: 6000
2018-02-09 09:35:56:418 - info: [Appium] log: /home/trixo/Code/javaRewrite/log4000.txt
2018-02-09 09:35:56:418 - info: [Appium] logTimestamp: true
2018-02-09 09:35:56:443 - info: [Appium] Appium REST http interface listener started on 0.0.0.0:4000
2018-02-09 09:35:56:473 - info: [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"platformName":"Android","deviceName":"Android","systemPort":8200,"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:475 - info: [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"platformName":"Android","deviceName":"Android","systemPort":8200,"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:476 - info: [debug] [BaseDriver] Event 'newSessionRequested' logged at 1518168956476 (10:35:56 GMT+0100 (CET))
2018-02-09 09:35:56:477 - info: [Appium] Creating new AndroidUiautomator2Driver (v1.1.0) session
2018-02-09 09:35:56:477 - info: [Appium] Capabilities:
2018-02-09 09:35:56:478 - info: [Appium] javascriptEnabled: true
2018-02-09 09:35:56:478 - info: [Appium] locationContextEnabled: true
2018-02-09 09:35:56:478 - info: [Appium] handlesAlerts: true
2018-02-09 09:35:56:478 - info: [Appium] rotatable: true
2018-02-09 09:35:56:478 - info: [Appium] platformName: Android
2018-02-09 09:35:56:478 - info: [Appium] deviceName: Android
2018-02-09 09:35:56:478 - info: [Appium] systemPort: 8200
2018-02-09 09:35:56:478 - info: [Appium] automationName: uiautomator2
2018-02-09 09:35:56:479 - info: [Appium] udid:
2018-02-09 09:35:56:479 - info: [Appium] appPackage: com.gorro.nothing
2018-02-09 09:35:56:479 - info: [Appium] appActivity: com.gorro.nothing.NothingActivity
2018-02-09 09:35:56:479 - info: [Appium] noReset: true
2018-02-09 09:35:56:479 - info: [Appium] fullReset: false
2018-02-09 09:35:56:479 - info: [Appium] newCommandTimeout: 120000
2018-02-09 09:35:56:479 - info: [Appium] skipUnlock: true
2018-02-09 09:35:56:480 - info: [Appium] requestOrigins: {
2018-02-09 09:35:56:480 - info: [Appium] url: http://webdriver.io
2018-02-09 09:35:56:480 - info: [Appium] version: 4.10.1
2018-02-09 09:35:56:480 - info: [Appium] name: webdriverio
2018-02-09 09:35:56:480 - info: [Appium] }
2018-02-09 09:35:56:483 - info: [debug] [BaseDriver]
2018-02-09 09:35:56:483 - info: [debug] [BaseDriver] Creating session with MJSONWP desired capabilities: {"javascriptEnabled":true,"...
2018-02-09 09:35:56:487 - warn: [BaseDriver] The following capabilities were provided, but are not recognized by appium: javascriptEnabled, locationContextEnabled, handlesAlerts, rotatable, requestOrigins.
2018-02-09 09:35:56:488 - info: [BaseDriver] Session created with session id: b4d2abe5-0187-4c17-8173-70ed291eb37c
2018-02-09 09:35:56:489 - 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:568 - info: [ADB] Checking whether adb is present
2018-02-09 09:35:56:577 - 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:578 - 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:579 - 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:588 - info: [AndroidDriver] Using device: localhost:7437
2018-02-09 09:35:56:589 - 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:590 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:35:56:599 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:35:56:601 - 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:650 - info: [debug] [ADB] Current device property 'ro.build.version.sdk': 23
2018-02-09 09:35:56:651 - info: [debug] [ADB] Device API level: 23
2018-02-09 09:35:56:652 - warn: [AndroidDriver] No app sent in, not parsing package/activity
2018-02-09 09:35:56:652 - info: [ADB] Getting device platform version
2018-02-09 09:35:56:653 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:35:56:661 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:35:56:662 - 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:707 - info: [debug] [ADB] Current device property 'ro.build.version.release': 6.0.1
2018-02-09 09:35:56:708 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:35:56:716 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:35:56:717 - 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:439 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:35:58:447 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:35:58:447 - 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:183 - 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:249 - info: [debug] [ADB] Current device property 'ro.product.model': SM-A300FU
2018-02-09 09:36:00:250 - 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:322 - 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:076 - info: [ADB] Checking whether aapt is present
2018-02-09 09:36:02:079 - info: [ADB] Found the following 'build-tools' folders (newest first):
2018-02-09 09:36:02:079 - 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:081 - info: [ADB] Using aapt from /home/trixo/Android/Sdk/build-tools/27.0.3/aapt
2018-02-09 09:36:02:092 - info: [debug] [ADB] Getting install status for io.appium.uiautomator2.server
2018-02-09 09:36:02:092 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:36:02:100 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:36:02:100 - 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:685 - info: [debug] [ADB] App is not installed
2018-02-09 09:36:03:685 - info: [debug] [ADB] Getting install status for io.appium.uiautomator2.server.test
2018-02-09 09:36:03:686 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:36:03:695 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:36:03:695 - 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:259 - info: [debug] [ADB] App is not installed
2018-02-09 09:36:05:261 - 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:262 - info: [ADB] Found the following 'build-tools' folders (newest first):
2018-02-09 09:36:05:262 - 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:263 - info: [ADB] Using apksigner from /home/trixo/Android/Sdk/build-tools/27.0.3/apksigner
2018-02-09 09:36:05:264 - 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:574 - 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:576 - info: [debug] [UiAutomator2] Deleting UiAutomator2 session
2018-02-09 09:36:05:577 - info: [debug] [UiAutomator2] Deleting UiAutomator2 server session
2018-02-09 09:36:05:579 - 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:579 - info: [debug] [ADB] Getting connected devices...
2018-02-09 09:36:05:586 - info: [debug] [ADB] 4 device(s) connected
2018-02-09 09:36:05:586 - 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:364 - info: [debug] [ADB] Removing forwarded port socket connection: 8200
2018-02-09 09:36:07:364 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","forward","--remove","tcp:8200"]
2018-02-09 09:36:07:370 - info: [debug] [ADB] Running '/home/trixo/Android/Sdk/platform-tools/adb' with args: ["-P",5037,"-s","localhost:7437","forward","--remove","tcp:8200"]
2018-02-09 09:36:07:376 - 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\:8200' exited with code 1'; Stderr: 'error: listener 'tcp:8200' not found'; Code: '1''
2018-02-09 09:36:07:409 - 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:416 - info: [HTTP] <-- POST /wd/hub/session 500 10940 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