Created
January 14, 2019 09:38
-
-
Save pankajigec26/169363c5f886336310ace490f3ca0883 to your computer and use it in GitHub Desktop.
Appium logs while creating sessions
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
able | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell pm list instrumentation' | |
[debug] [UiAutomator2] Instrumentation 'io.appium.uiautomator2.server.test/andro | |
id.support.test.runner.AndroidJUnitRunner' available | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 wait-for-device' | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell echo ping' | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Getting install status for io.appium.settings | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell dumpsys package io.appium.settings' | |
[debug] [ADB] 'io.appium.settings' is installed | |
[debug] [ADB] Getting package info for 'io.appium.settings' | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell dumpsys package io.appium.settings' | |
[debug] [ADB] The installed 'io.appium.settings' package does not require upgrad | |
e ('2.10.0' >= '2.10.0') | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell ps' | |
[debug] [ADB] Device API level: 27 | |
[debug] [ADB] Device API level: 27 | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell am start -W -n io.appium.settings/.S | |
ettings -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x1 | |
0200000' | |
[AndroidDriver] Failed to launch settings app: Cannot start the 'io.appium.setti | |
ngs' application. Visit https://github.com/appium/appium/blob/master/docs/en/wri | |
ting-running-appium/android/activity-startup.md for troubleshooting. Original er | |
ror: Activity name '.Settings' used to start the app doesn't exist or cannot be | |
launched! Make sure it exists and is a launchable activity | |
[debug] [ADB] Device API level: 27 | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell appops set io.appium.settings androi | |
d\:mock_location allow' | |
[AndroidDriver] setDeviceLanguageCountry requires language or country. | |
[AndroidDriver] Got language: 'null' and country: 'null' | |
[debug] [Logcat] Starting logcat capture | |
[debug] [UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8217 | |
[debug] [ADB] Forwarding system: 8217 to device: 6790 | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 forward tcp\:8217 tcp\:6790' | |
[debug] [UiAutomator2] No app capability. Assuming it is already on the device | |
[debug] [ADB] Getting install status for com.google.android.dialer | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell dumpsys package com.google.android.d | |
ialer' | |
[debug] [ADB] 'com.google.android.dialer' is installed | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell am force-stop com.google.android.dia | |
ler' | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell pm clear com.google.android.dialer' | |
[debug] [ADB] Device API level: 27 | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell dumpsys package com.google.android.d | |
ialer' | |
[debug] [ADB] Retrieving requested permissions | |
[debug] [ADB] Retrieved 94 permission(s) from ["requested"] group(s) | |
[debug] [ADB] Retrieving granted permissions | |
[debug] [ADB] Retrieved 70 permission(s) from ["install","runtime"] group(s) | |
[debug] [ADB] Granting permissions ["android.permission.READ_APP_BADGE","android | |
.permission.CAPTURE_AUDIO_OUTPUT","android.permission.MODIFY_AUDIO_ROUTING","and | |
roid.permission.USERPREFERREDSIM","android.permission.ACCESS_FINE_LOCATION","and | |
roid.permission.ACCESS_COARSE_LOCATION","android.permission.WRITE_EXTERNAL_STORA | |
GE","android.permission.FOREGROUND_SERVICE","android.permission.READ_EXTERNAL_ST | |
ORAGE"] to 'com.google.android.dialer' | |
[debug] [ADB] Got the following command chunks to execute: [["pm","grant","com.g | |
oogle.android.dialer","android.permission.READ_APP_BADGE",";","pm","grant","com. | |
google.android.dialer","android.permission.CAPTURE_AUDIO_OUTPUT",";","pm","grant | |
","com.google.android.dialer","android.permission.MODIFY_AUDIO_ROUTING",";","pm" | |
,"grant","com.google.android.dialer","android.permission.USERPREFERREDSIM",";"," | |
pm","grant","com.google.android.dialer","android.permission.ACCESS_FINE_LOCATION | |
",";","pm","grant","com.google.android.dialer","android.permission.ACCESS_COARSE | |
_LOCATION",";","pm","grant","com.google.android.dialer","android.permission.WRIT | |
E_EXTERNAL_STORAGE",";","pm","grant","com.google.android.dialer","android.permis | |
sion.FOREGROUND_SERVICE",";","pm","grant","com.google.android.dialer","android.p | |
ermission.READ_EXTERNAL_STORAGE",";"]] | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell pm grant com.google.android.dialer a | |
ndroid.permission.READ_APP_BADGE \; pm grant com.google.android.dialer android.p | |
ermission.CAPTURE_AUDIO_OUTPUT \; pm grant com.google.android.dialer android.per | |
mission.MODIFY_AUDIO_ROUTING \; pm grant com.google.android.dialer android.permi | |
ssion.USERPREFERREDSIM \; pm grant com.google.android.dialer android.permission. | |
ACCESS_FINE_LOCATION \; pm grant com.google.android.dialer android.permission.AC | |
CESS_COARSE_LOCATION \; pm grant com.google.android.dialer android.permission.WR | |
ITE_EXTERNAL_STORAGE \; pm grant com.google.android.dialer android.permission.FO | |
REGROUND_SERVICE \; pm grant com.google.android.dialer android.permission.READ_E | |
XTERNAL_STORAGE \;' | |
[debug] [AndroidDriver] Performed fast reset on the installed 'com.google.androi | |
d.dialer' application (stop and clear) | |
[debug] [ADB] Checking app cert for null | |
[debug] [ADB] 'null' does not exist | |
[debug] [ADB] Getting all processes with uiautomator | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell ps' | |
[debug] [ADB] Running 'C:\Users\panmishr\AppData\Local\Android\Sdk\platform-tool | |
s\adb.exe -P 5037 -s D1AGAD5790400325 shell am force-stop io.appium.uiautomator2 | |
.server' | |
[UiAutomator2] Starting uiautomator2 server 2.7.0 | |
[UiAutomator2] Using UIAutomator2 server from 'C:\Users\panmishr\AppData\Roaming | |
\npm\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uia | |
utomator2-server-v2.7.0.apk' and test from 'C:\Users\panmishr\AppData\Roaming\np | |
m\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiauto | |
mator2-server-debug-androidTest.apk' | |
[UiAutomator2] Running command: 'adb -s D1AGAD5790400325 shell am instrument -w | |
io.appium.uiautomator2.server.test/android.support.test.runner.AndroidJUnitRunne | |
r' | |
[UiAutomator2] Waiting up to 20000ms for UiAutomator2 to be online... | |
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8217/wd/h | |
ub/status] with no body | |
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRE | |
SET","syscall":"read"} | |
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8217/wd/h | |
ub/status] with no body | |
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRE | |
SET","syscall":"read"} | |
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8217/wd/h | |
ub/status] with no body | |
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRE | |
SET","syscall":"read"} | |
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8217/wd/h | |
ub/status] with no body | |
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRE | |
SET","syscall":"read"} | |
[debug] [UiAutomator2] [UIAutomator2] io.appium.uiautomator2.server.test.AppiumU | |
iAutomator2Server: | |
[debug] [UiAutomator2] [UIAutomator2] Error in startServer(io.appium.uiautomator | |
2.server.test.AppiumUiAutomator2Server): | |
[debug] [UiAutomator2] [UIAutomator2] java.lang.NoSuchMethodError: No static met | |
hod getInstance(Landroid/content/Context;I)Lio/appium/uiautomator2/server/Server | |
Instrumentation; in class Lio/appium/uiautomator2/server/ServerInstrumentation; | |
or its super classes (declaration of 'io.appium.uiautomator2.server.ServerInstru | |
mentation' appears in /data/app/io.appium.uiautomator2.server-47Y9D5APfMs5BfXlE0 | |
OBZA==/base.apk) | |
[debug] [UiAutomator2] [UIAutomator2] at io.appium.uiautomator2.server.test.Ap | |
piumUiAutomator2Server.startServer(AppiumUiAutomator2Server.java:29) | |
[debug] [UiAutomator2] [UIAutomator2] at java.lang.reflect.Method.invoke(Nativ | |
e Method) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.model.FrameworkMeth | |
od$1.runReflectiveCall(FrameworkMethod.java:50) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.internal.runners.model.Refl | |
ectiveCallable.run(ReflectiveCallable.java:12) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.model.FrameworkMeth | |
od.invokeExplosively(FrameworkMethod.java:47) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.internal.runners.statements | |
.InvokeMethod.evaluate(InvokeMethod.java:17) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.runLea | |
f(ParentRunner.java:325) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.BlockJUnit4ClassRun | |
ner.runChild(BlockJUnit4ClassRunner.java:78) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.BlockJUnit4ClassRun | |
ner.runChild(BlockJUnit4ClassRunner.java:57) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner$3.run( | |
ParentRunner.java:290) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner$1.sche | |
dule(ParentRunner.java:71) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.runChi | |
ldren(ParentRunner.java:288) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.access | |
$000(ParentRunner.java:58) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner$2.eval | |
uate(ParentRunner.java:268) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.run(Pa | |
rentRunner.java:363) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.Suite.runChild(Suit | |
e.java:128) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.Suite.runChild(Suit | |
e.java:27) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner$3.run( | |
ParentRunner.java:290) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner$1.sche | |
dule(ParentRunner.java:71) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.runChi | |
ldren(ParentRunner.java:288) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.access | |
$000(ParentRunner.java:58) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner$2.eval | |
uate(ParentRunner.java:268) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.run(Pa | |
rentRunner.java:363) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runner.JUnitCore.run(JUnitC | |
ore.java:137) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runner.JUnitCore.run(JUnitC | |
ore.java:115) | |
[debug] [UiAutomator2] [UIAutomator2] at android.support.test.internal.runner. | |
TestExecutor.execute(TestExecutor.java:59) | |
[debug] [UiAutomator2] [UIAutomator2] at android.support.test.runner.AndroidJU | |
nitRunner.onStart(AndroidJUnitRunner.java:262) | |
[debug] [UiAutomator2] [UIAutomator2] at android.app.Instrumentation$Instrumen | |
tationThread.run(Instrumentation.java:2082) | |
[debug] [UiAutomator2] [UIAutomator2] Time: 0.021 | |
[debug] [UiAutomator2] [UIAutomator2] There was 1 failure: | |
[debug] [UiAutomator2] [UIAutomator2] 1) startServer(io.appium.uiautomator2.serv | |
er.test.AppiumUiAutomator2Server) | |
[debug] [UiAutomator2] [UIAutomator2] java.lang.NoSuchMethodError: No static met | |
hod getInstance(Landroid/content/Context;I)Lio/appium/uiautomator2/server/Server | |
Instrumentation; in class Lio/appium/uiautomator2/server/ServerInstrumentation; | |
or its super classes (declaration of 'io.appium.uiautomator2.server.ServerInstru | |
mentation' appears in /data/app/io.appium.uiautomator2.server-47Y9D5APfMs5BfXlE0 | |
OBZA==/base.apk) | |
[debug] [UiAutomator2] [UIAutomator2] at io.appium.uiautomator2.server.test.Ap | |
piumUiAutomator2Server.startServer(AppiumUiAutomator2Server.java:29) | |
[debug] [UiAutomator2] [UIAutomator2] at java.lang.reflect.Method.invoke(Nativ | |
e Method) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.model.FrameworkMeth | |
od$1.runReflectiveCall(FrameworkMethod.java:50) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.internal.runners.model.Refl | |
ectiveCallable.run(ReflectiveCallable.java:12) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.model.FrameworkMeth | |
od.invokeExplosively(FrameworkMethod.java:47) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.internal.runners.statements | |
.InvokeMethod.evaluate(InvokeMethod.java:17) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.runLea | |
f(ParentRunner.java:325) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.BlockJUnit4ClassRun | |
ner.runChild(BlockJUnit4ClassRunner.java:78) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.BlockJUnit4ClassRun | |
ner.runChild(BlockJUnit4ClassRunner.java:57) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner$3.run( | |
ParentRunner.java:290) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner$1.sche | |
dule(ParentRunner.java:71) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.runChi | |
ldren(ParentRunner.java:288) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.access | |
$000(ParentRunner.java:58) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner$2.eval | |
uate(ParentRunner.java:268) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.run(Pa | |
rentRunner.java:363) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.Suite.runChild(Suit | |
e.java:128) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.Suite.runChild(Suit | |
e.java:27) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner$3.run( | |
ParentRunner.java:290) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner$1.sche | |
dule(ParentRunner.java:71) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.runChi | |
ldren(ParentRunner.java:288) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.access | |
$000(ParentRunner.java:58) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner$2.eval | |
uate(ParentRunner.java:268) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runners.ParentRunner.run(Pa | |
rentRunner.java:363) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runner.JUnitCore.run(JUnitC | |
ore.java:137) | |
[debug] [UiAutomator2] [UIAutomator2] at org.junit.runner.JUnitCore.run(JUnitC | |
ore.java:115) | |
[debug] [UiAutomator2] [UIAutomator2] at android.support.test.internal.runner. | |
TestExecutor.execute(TestExecutor.java:59) | |
[debug] [UiAutomator2] [UIAutomator2] at android.support.test.runner.AndroidJU | |
nitRunner.onStart(AndroidJUnitRunner.java:262) | |
[debug] [UiAutomator2] [UIAutomator2] at android.app.Instrumentation$Instrumen | |
tationThread.run(Instrumentation.java:2082) | |
[debug] [UiAutomator2] [UIAutomator2] FAILURES!!! | |
[debug] [UiAutomator2] [UIAutomator2] Tests run: 1, Failures: 1 | |
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8217/wd/h | |
ub/status] with no body | |
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRE | |
SET","syscall":"read"} | |
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8217/wd/h | |
ub/status] with no body | |
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRE | |
SET","syscall":"read"} | |
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8217/wd/h | |
ub/status] with no body | |
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRE | |
SET","syscall":"read"} | |
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8217/wd/h | |
ub/status] with no body | |
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRE | |
SET","syscall":"read"} | |
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8217/wd/h | |
ub/status] with no body | |
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRE | |
SET","syscall":"read"} | |
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8217/wd/h | |
ub/status] with no body | |
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRE | |
SET","syscall":"read"} | |
[debug] [JSONWP Proxy] Matched '/status' to command name 'getStatus' | |
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8217/wd/h | |
ub/status] with no body | |
[JSONWP Proxy] Got an unexpected response: {"code":"ECONNRESET","errno":"ECONNRE | |
SET","syscall":"read"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment