Skip to content

Instantly share code, notes, and snippets.

@HemaPriya-18
Created August 12, 2022 21:47
Show Gist options
  • Save HemaPriya-18/5e4dacdf679eb05ef06d3f4dcf59face to your computer and use it in GitHub Desktop.
Save HemaPriya-18/5e4dacdf679eb05ef06d3f4dcf59face to your computer and use it in GitHub Desktop.
AppiumServer_Logs
Last login: Fri Aug 12 17:24:07 on ttys000
hema@csm--HMX9LPV7MN ~ % appium server -ka 800 --use-plugins=device-farm,appium-dashboard -pa /wd/hub --plugin-device-farm-platform=android
WARN Appium Appium encountered 2 warnings while validating plugins found in manifest /Users/hema/.appium/node_modules/.cache/appium/extensions.yaml
WARN Appium Plugin "appium-dashboard" has 1 potential problem:
WARN Appium - Plugin "appium-dashboard" (package `appium-dashboard`) may be incompatible with the current version of Appium (v2.0.0-beta.43) due to an invalid or missing peer dependency on Appium. Please ask the developer of `appium-dashboard` to add a peer dependency on `^appium@2.0.0-beta.43`.
WARN Appium Plugin "device-farm" has 1 potential problem:
WARN Appium - Plugin "device-farm" (package `appium-device-farm`) may be incompatible with the current version of Appium (v2.0.0-beta.43) due to an invalid or missing peer dependency on Appium. Please ask the developer of `appium-device-farm` to add a peer dependency on `^appium@2.0.0-beta.43`.
[Appium] Attempting to load plugin appium-dashboard...
[debug] [Appium] Requiring plugin at /Users/hema/.appium/node_modules/appium-dashboard
[Appium] Attempting to load plugin device-farm...
[debug] [Appium] Requiring plugin at /Users/hema/.appium/node_modules/appium-device-farm
In Con android
[ADB] Found 2 'build-tools' folders under '/Users/hema/Library/Android/sdk' (newest first):
[ADB] /Users/hema/Library/Android/sdk/build-tools/33.0.0
[ADB] /Users/hema/Library/Android/sdk/build-tools/30.0.3
[ADB] Using 'adb' from '/Users/hema/Library/Android/sdk/platform-tools/adb'
[debug] [ADB] Running '/Users/hema/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[Appium] Welcome to Appium v2.0.0-beta.43 (REV 3748bed378401ed75abdf32bcb3d2674d854a6f9)
[Appium] Non-default server args:
[Appium] {
[Appium] basePath: '/wd/hub',
[Appium] keepAliveTimeout: 800,
[Appium] usePlugins: [
[Appium] 'device-farm',
[Appium] 'appium-dashboard'
[Appium] ]
[Appium] }
[appium-dashboard] Dashboard plugin is enabled and will be served at http://localhost:4723/dashboard
[appium-dashboard] If the appium server is started with different port other than 4723, then use the correct port number to access the device farm dashboard
[device-farm] Device Farm Plugin will be served --**--- at http://localhost:4723/device-farm
[device-farm] If the appium server is started with different port other than 4723, then use the correct port number to access the device farm dashboard
[ADB] Found 2 'build-tools' folders under '/Users/hema/Library/Android/sdk' (newest first):
[ADB] /Users/hema/Library/Android/sdk/build-tools/33.0.0
[ADB] /Users/hema/Library/Android/sdk/build-tools/30.0.3
[ADB] Using 'adb' from '/Users/hema/Library/Android/sdk/platform-tools/adb'
[debug] [ADB] Running '/Users/hema/Library/Android/sdk/platform-tools/adb -P 5037 start-server'
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{"udid":"14231JEC210835","state":"device"}]
[device-farm] Android Device details for 14231JEC210835 not available. So querying now.
[debug] [ADB] Running '/Users/hema/Library/Android/sdk/platform-tools/adb -P 5037 -s 14231JEC210835 shell getprop ro.build.version.release'
[debug] [ADB] Running '/Users/hema/Library/Android/sdk/platform-tools/adb -P 5037 -s 14231JEC210835 shell getprop ro.build.characteristics'
[debug] [ADB] Running '/Users/hema/Library/Android/sdk/platform-tools/adb -P 5037 -s 14231JEC210835 shell getprop ro.product.name'
[device-farm] Device list updated: ["sunfish"]
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[Appium] No drivers have been installed in /Users/hema/.appium. Use the "appium driver" command to install the one(s) you want to use.
[Appium] Available plugins:
[Appium] - appium-dashboard@v1.0.0-beta.14 (ACTIVE)
[Appium] - device-farm@1.0.0-beta.18 (ACTIVE)
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{"udid":"14231JEC210835","state":"device"}]
[device-farm] Android Device details for 14231JEC210835 already available
[device-farm] Device list updated: ["sunfish"]
[debug] [HTTP] Request idempotency key: e8d0d584-88ff-4190-8674-b1a6b4fd4da2
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"appActivity”:APP_ACTIVITY,”appPackage":APP_PACKAGE,"noReset":false,"appium:udids":"14231JEC210835","autoLaunch":true,"appWaitActivity":APP_ACTIVITY,”appWaitPackage":APP_PACKAGE,"appium:deviceName":"Pixel4a","platformName":"Android","appium:automationName":"UIAutomator2","appium:app”:APP_PATH},”capabilities":{"firstMatch":[{"appium:appActivity":APP_ACTIVITY,”appium:appPackage":APP_PACKAGE,"appium:appWaitActivity”:APP_ACTIVITY,”appium:appWaitPackage":APP_PACKAGE,"appium:app”:APP_PATH,”appium:automationName":"UI...
[debug] [AppiumDriver@6b1f] Calling AppiumDriver.createSession() with args: [{"appActivity”:APP_ACTIVITY,”appPackage":APP_PACKAGE"noReset":false,"appium:udids":"14231JEC210835","autoLaunch":true,"appWaitActivity":APP_ACTIVITY,”appWaitPackage":APP_PACKAGE,"appium:deviceName":"Pixel4a","platformName":"Android","appium:automationName":"UIAutomator2","appium:app”:APP_PATH},null,{"firstMatch":[{"appium:appActivity":APP_ACTIVITY,”appium:appPackage":APP_PACKAGE,"appium:appWaitActivity”:,APP_ACTIVITY”appium:appWaitPackage":APP_PACKAGE,"appium:app”:APP_PATH,”appium:automationName":"UIAutomator2","appium:deviceName":...
[AppiumDriver@6b1f] Plugins which can handle cmd 'createSession': appium-dashboard,device-farm
[AppiumDriver@6b1f] Plugin device-farm is now handling cmd 'createSession'
[debug] [ADB] Getting connected devices
[debug] [ADB] Connected devices: [{"udid":"14231JEC210835","state":"device"}]
[device-farm] Android Device details for 14231JEC210835 already available
[device-farm] Device list updated: ["sunfish"]
[device-farm] {"platform":"android","name":"","udid":["14231JEC210835"],"busy":false,"offline":false}
[device-farm] Waiting for free device
[device-farm] Device found: {"sdk":"12","realDevice":true,"name":"sunfish","busy":false,"state":"device","udid":"14231JEC210835","platform":"android","deviceType":"real","offline":false,"meta":{"revision":2,"created":1660339875656,"version":0,"updated":1660339888403},"$loki":1}
[device-farm] Blocking device 14231JEC210835 for new session
[AppiumDriver@6b1f] Command 'createSession' was *not* handled by the following behaviours or plugins, even though they were registered to handle it: ["default","appium-dashboard"]. The command *was* handled by these: ["device-farm"].
[debug] [AppiumDriver@6b1f] Encountered internal error running command: TypeError: Cannot convert undefined or null to object
[debug] [AppiumDriver@6b1f] at /Users/hema/.appium/node_modules/appium-device-farm/lib/CapabilityManager.js:30:21
[debug] [AppiumDriver@6b1f] at Generator.next (<anonymous>)
[debug] [AppiumDriver@6b1f] at fulfilled (/Users/hema/.appium/node_modules/appium-device-farm/lib/CapabilityManager.js:5:58)
[debug] [AppiumDriver@6b1f] at processTicksAndRejections (node:internal/process/task_queues:95:5)
[HTTP] <-- POST /wd/hub/session 500 24 ms - 664
[HTTP]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment