-
-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
Hello,
I have a problem running a Espresso server, it always hangs up.
I am using Python 3.12, Appium 2.11.4, espresso 3.5.0.
Thanks for any help
Using this caps:
[EspressoDriver@e7bf] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "Android",
"appium:automationName": "Espresso",
"appium:deviceName": "Lenovo",
"appium:udid": "HA11RZB8",
"appium:app": "<app_path>",
"appium:appPackage": "<package>",
"appium:appActivity": "<launcher>",
"appium:autoGrantPermissions": true,
"appium:showGradleLog": true,
"appium:forceEspressoRebuild": true,
"appium:espressoBuildConfig": "{\"kotlin\": \"2.0.0\", \"minSdk\": 29, \"targetSdk\": 34, \"compileSdk\": 34, \"gradle\": \"8.7\"}"
},
[dc6beafc][EspressoDriver@66c3] Installed Espresso Test Server apk 'C:\Users\KARELV~1\AppData\Local\Temp\io.appium.espressoserver.test_3.5.0_com.sensus.datalogger_HA11RZB8.apk' (pkg: 'io.appium.espressoserver.test')
[dc6beafc][ADB] Adding packages ["io.appium.settings","io.appium.espressoserver.test"] to Doze whitelist
[dc6beafc][ADB] Got the following command chunks to execute: [["dumpsys","deviceidle","whitelist","+io.appium.settings",";","dumpsys","deviceidle","whitelist","+io.appium.espressoserver.test",";"]]
[dc6beafc][ADB] Running 'C:\Users\KarelVrabka\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s HA11RZB8 shell dumpsys deviceidle whitelist +io.appium.settings ; dumpsys deviceidle whitelist +io.appium.espressoserver.test ;'
[dc6beafc][EspressoDriver@66c3] Performing cleanup of automation leftovers
[dc6beafc][EspressoDriver@66c3] No obsolete sessions have been detected (socket hang up)
[dc6beafc][EspressoDriver@66c3] Starting Espresso Server v3.5.0 with cmd: adb shell am instrument -w -e debug false -e disableAnalytics true io.appium.espressoserver.test/androidx.test.runner.AndroidJUnitRunner
[dc6beafc][ADB] Creating ADB subprocess with args: ["-P","5037","-s","HA11RZB8","shell","am","instrument","-w","-e","debug","false","-e","disableAnalytics","true","io.appium.espressoserver.test/androidx.test.runner.AndroidJUnitRunner"]
[dc6beafc][EspressoDriver@66c3] Waiting up to 45000ms for Espresso server to be online
[dc6beafc][EspressoDriver@66c3] Matched '/status' to command name 'getStatus'
[dc6beafc][EspressoDriver@66c3] Proxying [GET /status] to [GET http://127.0.0.1:8300/status] with no body
[dc6beafc][EspressoDriver@66c3] socket hang up
[dc6beafc][EspressoDriver@66c3] Matched '/status' to command name 'getStatus'
[dc6beafc][EspressoDriver@66c3] Proxying [GET /status] to [GET http://127.0.0.1:8300/status] with no body
[dc6beafc][EspressoDriver@66c3] socket hang up
[dc6beafc][EspressoDriver@66c3] Matched '/status' to command name 'getStatus'
[dc6beafc][EspressoDriver@66c3] Proxying [GET /status] to [GET http://127.0.0.1:8300/status] with no body
[dc6beafc][EspressoDriver@66c3] socket hang up
[dc6beafc][EspressoDriver@66c3] Matched '/status' to command name 'getStatus'
[dc6beafc][EspressoDriver@66c3] Proxying [GET /status] to [GET http://127.0.0.1:8300/status] with no body
[dc6beafc][EspressoDriver@66c3] socket hang up
[dc6beafc][EspressoDriver@66c3] Matched '/status' to command name 'getStatus'
[dc6beafc][EspressoDriver@66c3] Proxying [GET /status] to [GET http://127.0.0.1:8300/status] with no body
[dc6beafc][EspressoDriver@66c3] socket hang up
[dc6beafc][EspressoDriver@66c3] Matched '/status' to command name 'getStatus'
[dc6beafc][EspressoDriver@66c3] Proxying [GET /status] to [GET http://127.0.0.1:8300/status] with no body
[dc6beafc][EspressoDriver@66c3] socket hang up
[dc6beafc][EspressoDriver@66c3] Matched '/status' to command name 'getStatus'
[dc6beafc][EspressoDriver@66c3] Proxying [GET /status] to [GET http://127.0.0.1:8300/status] with no body
[dc6beafc][EspressoDriver@66c3] socket hang up
[dc6beafc][EspressoDriver@66c3] Matched '/status' to command name 'getStatus'
[dc6beafc][EspressoDriver@66c3] Proxying [GET /status] to [GET http://127.0.0.1:8300/status] with no body
[dc6beafc][EspressoDriver@66c3] socket hang up
[dc6beafc][EspressoDriver@66c3] Matched '/status' to command name 'getStatus'
[dc6beafc][EspressoDriver@66c3] Proxying [GET /status] to [GET http://127.0.0.1:8300/status] with no body
[dc6beafc][EspressoDriver@66c3] socket hang up
[dc6beafc][EspressoDriver@66c3] Matched '/status' to command name 'getStatus'
[dc6beafc][EspressoDriver@66c3] Proxying [GET /status] to [GET http://127.0.0.1:8300/status] with no body
[dc6beafc][EspressoDriver@66c3] [Instrumentation] Process crashed before executing the test(s):
J6.f: Fatal exception in coroutines machinery for CancellableContinuation(DispatchedContinuation[k3.e@4546f76, Continuation at R3.b@d2d9977]){Completed}@a36c9e4. Please read KDoc to 'handleFatalException' method and report this incident to maintainers
at o8.E.h(Unknown Source:39)
at o8.E.run(Unknown Source:170)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at A1.e.run(Unknown Source:272)
at java.lang.Thread.run(Thread.java:919)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [k0{Cancelling}@585613, k3.e@4546f76]
Caused by: kotlinx.coroutines.CompletionHandlerException: Exception in completion handler k@a6bc238[job@45ef211] for Y{Cancelling}@45ef211
at o8.e0.V(Unknown Source:60)
at o8.e0.b0(Unknown Source:167)
at o8.e0.y(Unknown Source:41)
at o8.e0.C(Unknown Source:6)
at o8.k.b(Unknown Source:4)
at o8.e0.A(Unknown Source:25)
at o8.e0.V(Unknown Source:73)
at o8.e0.b0(Unknown Source:167)
at o8.e0.S(Unknown Source:4)
at o8.a.e(Unknown Source:13)
at P6.a.e(Unknown Source:30)
at o8.E.run(Unknown Source:114)
... 4 more
Caused by: java.lang.NoSuchMethodError: No direct method <init>(Ljava/lang/String;Ljava/lang/Throwable;Lo8/W;)V in class Lkotlinx/coroutines/JobCancellationException; or its super classes (declaration of 'kotlinx.coroutines.JobCancellationException' appears in /data/app/io.appium.espressoserver.test-Z9GB_GFZu8Bg16rPerAanQ==/base.apk!classes5.dex)
at o8.e0.E(Unknown Source:64)
at o8.e0.y(Unknown Source:108)
at o8.k.q(Unknown Source:8)
at o8.e0.V(Unknown Source:25)
... 15 more
INSTRUMENTATION_RESULT: shortMsg=Process crashed.
INSTRUMENTATION_CODE: 0
[dc6beafc][EspressoDriver@66c3] Instrumentation process exited with code 0 from signal null
[dc6beafc][EspressoDriver@66c3] socket hang up
[dc6beafc][EspressoDriver@66c3] Espresso server process has been unexpectedly terminated. Check the Appium server log and the logcat output for more details
Metadata
Metadata
Assignees
Labels
No labels