appium server output

Views: 779

Anonymous   3 years ago   Never
Text   8.14 KB   Public
Crumb Tree
  • appium server output
Highlight mode ON

Click on the lines you want to highlight and share this url.

    Download   RAW   Copy   Fork
  1. [WD Proxy] socket hang up
  2. [debug] [Instrumentation] io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
  3. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  4. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
  5. [WD Proxy] socket hang up
  6. [debug] [WD Proxy] Matched '/status' to command name 'getStatus'
  7. [debug] [WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:8200/wd/hub/status] with no body
  8. [debug] [WD Proxy] Got response with status 200: {"sessionId":"None","value":{"message":"UiAutomator2 Server is ready to accept commands","ready":true}}
  9. [debug] [UiAutomator2] The initialization of the instrumentation process took 3072ms
  10. [debug] [WD Proxy] Matched '/session' to command name 'createSession'
  11. [debug] [WD Proxy] Proxying [POST /session] to [POST http://127.0.0.1:8200/wd/hub/session] with body: {"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"11.0","deviceName":"TEST PHONE API 30","app":"./verificac19.apk","appPackage":"it.ministerodellasalute.verificaC19","appActivity":"MainActivity","automationName":"UiAutomator2"},"platformName":"Android","platformVersion":"11.0","deviceName":"emulator-5554","app":"./verificac19.apk","appPackage":"it.ministerodellasalute.verificaC19","appActivity":"MainActivity","automationName":"UiAutomator2","deviceUDID":"emulator-5554"}],"alwaysMatch":{}}}
  12. [debug] [WD Proxy] Got response with status 200: {"sessionId":"187d18f3-8cf2-488a-887d-28ff9d957c0b","value":{"capabilities":{"firstMatch":[{"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","platformVersion":"11.0","deviceName":"TEST PHONE API 30","app":"./verificac19.apk","appPackage":"it.ministerodellasalute.verificaC19","appActivity":"MainActivity","automationName":"UiAutomator2"},"platformName":"Android","platformVersion":"11.0","deviceName":"emulator-5554","app":"./verificac19.apk","appPackage":"it.ministerodellasalute.verificaC19","appActivity":"MainActivity","automationName":"UiAutomator2","deviceUDID":"emulator-5554"}],"alwaysMatch":{}},"sessionId":"187d18f3-8cf2-488a-887d-28ff9d957c0b"}}
  13. [WD Proxy] Determined the downstream protocol as 'W3C'
  14. [debug] [WD Proxy] Proxying [GET /appium/device/info] to [GET http://127.0.0.1:8200/wd/hub/session/187d18f3-8cf2-488a-887d-28ff9d957c0b/appium/device/info] with no body
  15. [debug] [WD Proxy] Got response with status 200: {"sessionId":"187d18f3-8cf2-488a-887d-28ff9d957c0b","value":{"androidId":"cf529e209d01847c","apiVersion":"30","bluetooth":{"state":"OFF"},"brand":"google","carrierName":"Android","displayDensity":420,"locale":"en_US","manufacturer":"Google","model":"sdk_gphone_x86","networks":[{"capabilities":{"SSID":null,"linkDownBandwidthKbps":141000,"linkUpstreamBandwidthKbps":141000,"networkCapabilities":"NET_CAPABILITY_NOT_METERED,NET_CAPABILITY_INTERNET,NET_CAPABILITY_NOT_RESTRICTED,NET_CAPABILITY_TRUSTED,NET_CAPABILITY_NOT_VPN,NET_CAPABILITY_VALIDATED,NET_CAPABILITY_NOT_ROAMING,NET_CAPABILITY_FOREGROUND,NET_CAPABILITY_NOT_CONGESTED,NET_CAPABILITY_NOT_SUSPENDED","signalStrength":-30,"transportTypes":"TRANSPORT_WIFI"},"detailedState":"CONNECTED","extraInfo":"","isAvailable":true,"isConnected":true,"isFailover":false,"isRoaming":false,"state":"CONNECTED","subtype":0,"subtypeName":"","type":1,"typeName":"WIFI"},{"capabilities":{"SSID":null,"linkDownBandwidthKbps":30000,"linkUpstreamBandwidthKbps":15000,"networkCapabilit...
  16. [debug] [ADB] Running '/home/maxelweb/Android/Sdk/platform-tools/adb -P 5037 -s emulator-5554 shell dumpsys window'
  17. [AndroidDriver] Screen already unlocked, doing nothing
  18. [UiAutomator2] Starting 'it.ministerodellasalute.verificaC19/MainActivity and waiting for 'it.ministerodellasalute.verificaC19/MainActivity'
  19. [debug] [ADB] Running '/home/maxelweb/Android/Sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -n it.ministerodellasalute.verificaC19/MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
  20. [debug] [ADB] We tried to start an activity that doesn't exist, retrying with '.MainActivity' activity name
  21. [debug] [ADB] Running '/home/maxelweb/Android/Sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -n it.ministerodellasalute.verificaC19/.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000'
  22. [debug] [UiAutomator2] Deleting UiAutomator2 session
  23. [debug] [UiAutomator2] Deleting UiAutomator2 server session
  24. [debug] [WD Proxy] Matched '/' to command name 'deleteSession'
  25. [debug] [WD Proxy] Proxying [DELETE /] to [DELETE http://127.0.0.1:8200/wd/hub/session/187d18f3-8cf2-488a-887d-28ff9d957c0b] with no body
  26. [debug] [WD Proxy] Got response with status 200: {"sessionId":"187d18f3-8cf2-488a-887d-28ff9d957c0b","value":null}
  27. [debug] [ADB] Running '/home/maxelweb/Android/Sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am force-stop it.ministerodellasalute.verificaC19'
  28. [debug] [Logcat] Stopping logcat capture
  29. [debug] [ADB] Removing forwarded port socket connection: 8200
  30. [debug] [ADB] Running '/home/maxelweb/Android/Sdk/platform-tools/adb -P 5037 -s emulator-5554 forward --remove tcp:8200'
  31. [UiAutomator2] Restoring hidden api policy to the device default configuration
  32. [debug] [ADB] Running '/home/maxelweb/Android/Sdk/platform-tools/adb -P 5037 -s emulator-5554 shell 'settings delete global hidden_api_policy_pre_p_apps;settings delete global hidden_api_policy_p_apps;settings delete global hidden_api_policy''
  33. [debug] [BaseDriver] Event 'newSessionStarted' logged at 1641858248872 (00:44:08 GMT+0100 (Ora standard dell’Europa centrale))
  34. [debug] [W3C] Encountered internal error running command: Error: Cannot start the 'it.ministerodellasalute.verificaC19' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Cannot start the 'it.ministerodellasalute.verificaC19' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Activity name '.MainActivity' used to start the app doesn't exist or cannot be launched! Make sure it exists and is a launchable activity
  35. [debug] [W3C]     at ADB.startApp (/home/maxelweb/.npm-global/lib/node_modules/appium/node_modules/appium-adb/lib/tools/apk-utils.js:179:11)
  36. [debug] [W3C]     at AndroidUiautomator2Driver.ensureAppStarts (/home/maxelweb/.npm-global/lib/node_modules/appium/node_modules/appium-uiautomator2-driver/lib/driver.js:564:7)
  37. [debug] [W3C]     at AndroidUiautomator2Driver.startUiAutomator2Session (/home/maxelweb/.npm-global/lib/node_modules/appium/node_modules/appium-uiautomator2-driver/lib/driver.js:431:7)
  38. [debug] [W3C]     at AndroidUiautomator2Driver.createSession (/home/maxelweb/.npm-global/lib/node_modules/appium/node_modules/appium-uiautomator2-driver/lib/driver.js:229:7)
  39. [debug] [W3C]     at AppiumDriver.createSession (/home/maxelweb/.npm-global/lib/node_modules/appium/lib/appium.js:387:35)
  40. [HTTP] <-- POST /wd/hub/session 500 10625 ms - 1663
  41. [HTTP]
  42. [debug] [Instrumentation] .
  43. [debug] [Instrumentation] Time: 3.068
  44. [debug] [Instrumentation]
  45. [debug] [Instrumentation] OK (1 test)
  46. [debug] [Instrumentation] The process has exited with code 0
  47.