Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- npm run hub
- npm info using npm@10.7.0
- npm info using node@v20.14.0
- > hub
- > appium server -ka 800 --use-plugins=device-farm -pa /wd/hub --config ./configs/hub.json --allow-insecure=adb_shell --log $PWD/appium.log --log-level debug
- [Appium] Attempting to load plugin device-farm...
- [Appium] Requiring plugin at /Users/mbhealth/Workspace/appium-server/node_modules/appium-device-farm/lib/src/main.js
- Using Metadata Path: /Users/mbhealth/.cache/appium-device-farm
- Using Metadata Path: /Users/mbhealth/.cache/appium-device-farm
- { DeviceFarmProLoader: [class F], default: [class F] }
- [Appium] WD has been successfully loaded in 0.188s
- [Appium] Welcome to Appium v2.16.2 (REV 018cf7d73ced32b2e0fcbaf95ca488d37148969f)
- [Appium] Non-default server args:
- [Appium] {
- allowInsecure: [
- 'adb_shell'
- ],
- basePath: '/wd/hub',
- keepAliveTimeout: 800,
- port: 31337,
- usePlugins: [
- 'device-farm'
- ],
- plugin: {
- 'device-farm': {
- iosDeviceType: 'real'
- }
- }
- }
- [Appium] The autodetected Appium home path: /Users/mbhealth/Workspace/appium-server
- [Appium] Attempting to load driver uiautomator2...
- [Appium] Attempting to load driver xcuitest...
- [Appium] Requiring driver at /Users/mbhealth/Workspace/appium-server/node_modules/appium-uiautomator2-driver/build/index.js
- [Appium] AndroidUiautomator2Driver has been successfully loaded in 0.182s
- [Appium] Requiring driver at /Users/mbhealth/Workspace/appium-server/node_modules/appium-xcuitest-driver/build/index.js
- [Appium] XCUITestDriver has been successfully loaded in 0.366s
- [device-farm-main] 📱 Update server with CLI Args: {"subcommand":"server","address":"0.0.0.0","allowInsecure":["adb_shell"],"basePath":"/wd/hub","keepAliveTimeout":800,"logFile":"/Users/mbhealth/Workspace/appium-server/appium.log","loglevel":"debug","port":31337,"usePlugins":["device-farm"],"configFile":"./configs/hub.json","extraArgs":[],"plugin":{"device-farm":{"platform":"both","iosDeviceType":"real","wdaBundleId":"com.facebook.WebDriverAgentRunner.xctrunner","preBuildWDAPath":"/Users/mbhealth/Documents/AppiumGuide/WebDriverAgentRunner-Runner.app","deviceAvailabilityTimeoutMs":300000,"newCommandTimeoutSec":60,"enableDashboard":false,"androidDeviceType":"both"}},"allowCors":false,"callbackPort":4723,"debugLogSpacing":false,"denyInsecure":[],"requestTimeout":3600,"localTimezone":false,"logFormat":"text","logNoColors":false,"logTimestamp":false,"pluginsImportChunkSize":7,"driversImportChunkSize":3,"longStacktrace":false,"noPermsCheck":false,"relaxedSecurityEnabled":false,"shutdownTimeout":5000,"sessionOverride":false,"strictCaps":false,"useDrivers":[],"driver":{"xcuitest":{"wdaLocalPort":8100}},"tmpDir":"/var/folders/j_/xqm821ws0w33t4xzl4cp938w0000gn/T"}
- { DeviceFarmProLoader: [class F], default: [class F] }
- [ADB] Found 2 'build-tools' folders under '/Users/mbhealth/Android/sdk' (newest first):
- [ADB] /Users/mbhealth/Android/sdk/build-tools/35.0.0
- [ADB] /Users/mbhealth/Android/sdk/build-tools/34.0.0
- [ADB] Using 'adb' from '/Users/mbhealth/Android/sdk/platform-tools/adb'
- [ADB] Running '/Users/mbhealth/Android/sdk/platform-tools/adb -P 5037 start-server'
- [device-farm-main] Cli Args: {"subcommand":"server","address":"0.0.0.0","allowInsecure":["adb_shell"],"basePath":"/wd/hub","keepAliveTimeout":800,"logFile":"/Users/mbhealth/Workspace/appium-server/appium.log","loglevel":"debug","port":31337,"usePlugins":["device-farm"],"configFile":"./configs/hub.json","extraArgs":[],"plugin":{"device-farm":{"platform":"both","iosDeviceType":"real","wdaBundleId":"com.facebook.WebDriverAgentRunner.xctrunner","preBuildWDAPath":"/Users/mbhealth/Documents/AppiumGuide/WebDriverAgentRunner-Runner.app","deviceAvailabilityTimeoutMs":300000,"newCommandTimeoutSec":60,"enableDashboard":false,"androidDeviceType":"both"}},"allowCors":false,"callbackPort":4723,"debugLogSpacing":false,"denyInsecure":[],"requestTimeout":3600,"localTimezone":false,"logFormat":"text","logNoColors":false,"logTimestamp":false,"pluginsImportChunkSize":7,"driversImportChunkSize":3,"longStacktrace":false,"noPermsCheck":false,"relaxedSecurityEnabled":false,"shutdownTimeout":5000,"sessionOverride":false,"strictCaps":false,"useDrivers":[],"driver":{"xcuitest":{"wdaLocalPort":8100}},"tmpDir":"/var/folders/j_/xqm821ws0w33t4xzl4cp938w0000gn/T"}
- [device-farm-main] 📱 Update server with Plugin Args: {"platform":"both","iosDeviceType":"real","androidDeviceType":"both","skipChromeDownload":true,"maxSessions":8,"adbRemote":[],"emulators":[],"simulators":[],"deviceAvailabilityTimeoutMs":300000,"deviceAvailabilityQueryIntervalMs":10000,"sendNodeDevicesToHubIntervalMs":30000,"checkStaleDevicesIntervalMs":30000,"checkBlockedDevicesIntervalMs":30000,"newCommandTimeoutSec":60,"bindHostOrIp":"192.168.100.62","enableDashboard":false,"removeDevicesFromDatabaseBeforeRunningThePlugin":false,"remoteConnectionTimeout":60000,"liveStreaming":true,"wdaBundleId":"com.facebook.WebDriverAgentRunner.xctrunner","preBuildWDAPath":"/Users/mbhealth/Documents/AppiumGuide/WebDriverAgentRunner-Runner.app"}
- [device-farm-main] Initializing storage
- [device-farm-main] Initializing database
- [device-farm-main] Creating new database: ./temp-appium/db.json
- [device-farm-main] Database loaded
- [device-farm-main] proxy is not required for axios
- [device-farm-main] Registering proxy middleware
- [device-farm-main] Registering websocket handler for Android Streaming
- [device-farm-main] Registering websocket handler for iOS Streaming
- Inside get streaming server
- [device-farm-main] 📣📣📣 I'm a hub and I'm listening on 192.168.100.62:31337
- [device-farm-main] Found 0 device candidates to be released
- [device-farm-main] Hub will clean pending sessions every 30000 ms with pending session timeout: 310000 ms
- [ADB] Using 'adb' from '/Users/mbhealth/Android/sdk/platform-tools/adb'
- [ADB] Running '/Users/mbhealth/Android/sdk/platform-tools/adb -P 5037 start-server'
- [ADB] Getting connected devices
- [ADB] No connected devices have been detected
- [device-farm-main] fetchAndroidDevices from host: undefined. Found 0 android devices
- [device-farm-main] Found 0 android devices
- [device-farm-main] Getting device info for 00008020-00012D112106002E
- [device-farm-main] Getting device info for 8c91b5cc121b597d563947817e6ef790c44bf18e
- [device-farm-main] Found GO_IOS in env
- [device-farm-main] Added 2 new devices to local database
- [device-farm-main] 📣📣📣 Device Farm Plugin will be served at 🔗 http://192.168.100.62:31337/device-farm with id 47b8f099-7c3f-4cd5-9b04-8954ecea71c7
- [Appium] Appium REST http interface listener started on http://0.0.0.0:31337/wd/hub
- [Appium] You can provide the following URLs in your client code to connect to this server:
- http://127.0.0.1:31337/wd/hub (only accessible from the same host)
- http://192.168.100.62:31337/wd/hub
- http://192.168.191.14:31337/wd/hub
- http://169.254.48.212:31337/wd/hub
- [Appium] Available drivers:
- [Appium] - uiautomator2@4.1.0 (automationName 'UiAutomator2')
- [Appium] - xcuitest@8.3.3 (automationName 'XCUITest')
- [Appium] Available plugins:
- [Appium] - device-farm@9.8.2 (ACTIVE)
- [device-farm-main] iOS device with udid 8c91b5cc121b597d563947817e6ef790c44bf18e plugged! updating device list...
- [device-farm-main] Added 0 new devices to local database
- [HTTP] --> GET /device-farm/ {}
- [device-farm-main] Received non-webdriver request with url /device-farm/. So, not proxying it to downstream.
- [HTTP] <-- GET /device-farm/ 304 17 ms - -
- [HTTP] --> GET /device-farm/ui-assets/index-C0yVyUTw.js {}
- [device-farm-main] Received non-webdriver request with url /device-farm/ui-assets/index-C0yVyUTw.js. So, not proxying it to downstream.
- [HTTP] --> GET /device-farm/ui-assets/index-BoTh_KCm.css {}
- [device-farm-main] Received non-webdriver request with url /device-farm/ui-assets/index-BoTh_KCm.css. So, not proxying it to downstream.
- [HTTP] <-- GET /device-farm/ui-assets/index-C0yVyUTw.js 304 5 ms - -
- [HTTP] <-- GET /device-farm/ui-assets/index-BoTh_KCm.css 304 1 ms - -
- [HTTP] --> GET /device-farm/api/device {}
- [device-farm-main] Received non-webdriver request with url /device-farm/api/device. So, not proxying it to downstream.
- [HTTP] --> GET /dashboard/api/ping {}
- [device-farm-main] Received non-webdriver request with url /dashboard/api/ping. So, not proxying it to downstream.
- [HTTP] No route found for /dashboard/api/ping
- [HTTP] <-- GET /dashboard/api/ping 404 1 ms - 211
- [HTTP] <-- GET /device-farm/api/device 200 34 ms - 1240
- [HTTP] --> GET /device-farm/api/queue/length {}
- [device-farm-main] Received non-webdriver request with url /device-farm/api/queue/length. So, not proxying it to downstream.
- [HTTP] <-- GET /device-farm/api/queue/length 304 1 ms - -
- [HTTP] --> GET /device-farm/ {}
- [device-farm-main] Received non-webdriver request with url /device-farm/. So, not proxying it to downstream.
- [HTTP] <-- GET /device-farm/ 304 3 ms - -
- [HTTP] --> GET /device-farm/ui-assets/index-C0yVyUTw.js {}
- [device-farm-main] Received non-webdriver request with url /device-farm/ui-assets/index-C0yVyUTw.js. So, not proxying it to downstream.
- [HTTP] --> GET /device-farm/ui-assets/index-BoTh_KCm.css {}
- [device-farm-main] Received non-webdriver request with url /device-farm/ui-assets/index-BoTh_KCm.css. So, not proxying it to downstream.
- [HTTP] <-- GET /device-farm/ui-assets/index-C0yVyUTw.js 304 2 ms - -
- [HTTP] <-- GET /device-farm/ui-assets/index-BoTh_KCm.css 304 1 ms - -
- [HTTP] --> GET /device-farm/api/device {}
- [device-farm-main] Received non-webdriver request with url /device-farm/api/device. So, not proxying it to downstream.
- [HTTP] <-- GET /device-farm/api/device 304 1 ms - -
- [HTTP] --> GET /device-farm/api/queue/length {}
- [device-farm-main] Received non-webdriver request with url /device-farm/api/queue/length. So, not proxying it to downstream.
- [HTTP] <-- GET /device-farm/api/queue/length 304 1 ms - -
- [HTTP] --> GET /device-farm/api/device {}
- [device-farm-main] Received non-webdriver request with url /device-farm/api/device. So, not proxying it to downstream.
- [HTTP] <-- GET /device-farm/api/device 304 2 ms - -
- [HTTP] --> POST /device-farm/api/block {"udid":"8c91b5cc121b597d563947817e6ef790c44bf18e","host":"http://192.168.100.62:31337"}
- [device-farm-main] Received non-webdriver request with url /device-farm/api/block. So, not proxying it to downstream.
- [device-farm-main] Updated devices with filter: {"udid":{"$in":"8c91b5cc121b597d563947817e6ef790c44bf18e"}}
- [HTTP] <-- POST /device-farm/api/block 200 3 ms - 16
- [HTTP] --> POST /device-farm/api/dashboard/installiOSWDA {"udid":"8c91b5cc121b597d563947817e6ef790c44bf18e"}
- [device-farm-main] Received non-webdriver request with url /device-farm/api/dashboard/installiOSWDA. So, not proxying it to downstream.
- [device-farm-main] Updated devices with filter: {"udid":{"$in":["8c91b5cc121b597d563947817e6ef790c44bf18e"]}}
- stdout:
- stderr: {"level":"warning","msg":"failed to get tunnel info","time":"2025-03-03T17:48:38+07:00","udid":"8c91b5cc121b597d563947817e6ef790c44bf18e"}
- {"appPath":"/Users/mbhealth/.cache/appium-device-farm/assets/wda-resign.ipa","device":"8c91b5cc121b597d563947817e6ef790c44bf18e","level":"info","msg":"installing","time":"2025-03-03T17:48:38+07:00"}
- {"level":"info","msg":"installing","percentComplete":5,"status":"CreatingStagingDirectory","time":"2025-03-03T17:48:39+07:00"}
- {"level":"info","msg":"installing","percentComplete":15,"status":"ExtractingPackage","time":"2025-03-03T17:48:39+07:00"}
- {"level":"info","msg":"installing","percentComplete":20,"status":"InspectingPackage","time":"2025-03-03T17:48:39+07:00"}
- {"level":"info","msg":"installing","percentComplete":20,"status":"TakingInstallLock","time":"2025-03-03T17:48:39+07:00"}
- {"level":"info","msg":"installing","percentComplete":30,"status":"PreflightingApplication","time":"2025-03-03T17:48:39+07:00"}
- {"level":"info","msg":"installing","percentComplete":30,"status":"InstallingEmbeddedProfile","time":"2025-03-03T17:48:39+07:00"}
- {"level":"info","msg":"installing","percentComplete":40,"status":"VerifyingApplication","time":"2025-03-03T17:48:39+07:00"}
- {"level":"info","msg":"installing","percentComplete":50,"status":"CreatingContainer","time":"2025-03-03T17:48:39+07:00"}
- {"level":"info","msg":"installing","percentComplete":60,"status":"InstallingApplication","time":"2025-03-03T17:48:39+07:00"}
- {"level":"info","msg":"installing","percentComplete":70,"status":"PostflightingApplication","time":"2025-03-03T17:48:39+07:00"}
- {"level":"info","msg":"installing","percentComplete":80,"status":"SandboxingApplication","time":"2025-03-03T17:48:39+07:00"}
- {"level":"info","msg":"installing","percentComplete":90,"status":"GeneratingApplicationMap","time":"2025-03-03T17:48:39+07:00"}
- {"level":"info","msg":"installation successful","time":"2025-03-03T17:48:39+07:00"}
- [device-farm-main] Updated devices with filter: {"udid":{"$in":["8c91b5cc121b597d563947817e6ef790c44bf18e"]}}
- /Users/mbhealth/Workspace/appium-server/.bin/go-ios runwda --udid=8c91b5cc121b597d563947817e6ef790c44bf18e --bundleid=com.facebook.WebDriverAgentRunner.xctrunner --testrunnerbundleid=com.facebook.WebDriverAgentRunner.xctrunner --xctestconfig=WebDriverAgentRunner.xctest --env USE_PORT=51024 --env MJPEG_SERVER_PORT=51025
- [HTTP] <-- POST /device-farm/api/dashboard/installiOSWDA 200 1839 ms - 106
- [HTTP] --> POST /device-farm/api/dashboard/appiumSession {"udid":"8c91b5cc121b597d563947817e6ef790c44bf18e","origin":"http://localhost:31337"}
- [device-farm-main] Received non-webdriver request with url /device-farm/api/dashboard/appiumSession. So, not proxying it to downstream.
- [device-farm-main] Updated devices with filter: {"udid":{"$in":["8c91b5cc121b597d563947817e6ef790c44bf18e"]}}
- [DevCon Factory Device Farm] Requesting connection for device 8c91b5cc121b597d563947817e6ef790c44bf18e on local port 51024, device port 51024
- [DevCon Factory Device Farm] Cached connections count: 0
- [DevCon Factory Device Farm] Successfully requested the connection for 8c91b5cc121b597d563947817e6ef790c44bf18e:51024
- [iProxy@8c91b5cc:51024] Connection was refused to port 51024
- [device-farm-main] ⏳Waiting for WDA to be up and running!!
- [iProxy@8c91b5cc:51024] Connection was refused to port 51024
- [device-farm-main] ⏳Waiting for WDA to be up and running!!
- [iProxy@8c91b5cc:51024] Connection was refused to port 51024
- [device-farm-main] ⏳Waiting for WDA to be up and running!!
- [iProxy@8c91b5cc:51024] Connection was refused to port 51024
- [device-farm-main] ⏳Waiting for WDA to be up and running!!
- [iProxy@8c91b5cc:51024] Connection was refused to port 51024
- [device-farm-main] ⏳Waiting for WDA to be up and running!!
- [iProxy@8c91b5cc:51024] Connection was refused to port 51024
- [device-farm-main] ⏳Waiting for WDA to be up and running!!
- [iProxy@8c91b5cc:51024] Connection was refused to port 51024
- [device-farm-main] ⏳Waiting for WDA to be up and running!!
- [iProxy@8c91b5cc:51024] Connection was refused to port 51024
- [device-farm-main] ⏳Waiting for WDA to be up and running!!
- [HTTP] --> POST /wd/hub/session {"capabilities":{"alwaysMatch":{"platformName":"iOS","appium:automationName":"XCUITest","appium:newCommandTimeout":120,"appium:udid":"8c91b5cc121b597d563947817e6ef790c44bf18e","df:skipReport":true,"df:liveVideo":true,"appium:mjpegServerPort":51088,"appium:waitForQuiescence":false,"appium:wdaEventloopIdleDelay":0,"appium:eventLoopIdleDelaySec":0,"appium:waitForIdleTimeout":0,"appium:settings":{"mjpegServerFramerate":10,"mjpegServerScreenshotQuality":0,"mjpegScalingFactor":50,"animationCoolOffTimeout":0}},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","appium:automationName":"XCUITest","appium:newCommandTimeout":120,"appium:udid":"8c91b5cc121b597d563947817e6ef790c44bf18e","df:skipReport":true,"df:liveVideo":true,"appium:mjpegServerPort":51088,"appium:waitForQuiescence":false,"appium:wdaEventloopIdleDelay":0,"appium:eventLoopIdleDelaySec":0,"appium:waitForIdleTimeout":0,"appium:settings":{"mjpegServerFramerate":10,"mjpegServerScreenshotQuality":0,"mjpegScalingFactor":50,"animationCoolOffTimeou...
- [AppiumDriver@fdb3] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","appium:automationName":"XCUITest","appium:newCommandTimeout":120,"appium:udid":"8c91b5cc121b597d563947817e6ef790c44bf18e","df:skipReport":true,"df:liveVideo":true,"appium:mjpegServerPort":51088,"appium:waitForQuiescence":false,"appium:wdaEventloopIdleDelay":0,"appium:eventLoopIdleDelaySec":0,"appium:waitForIdleTimeout":0,"appium:settings":{"mjpegServerFramerate":10,"mjpegServerScreenshotQuality":0,"mjpegScalingFactor":50,"animationCoolOffTimeout":0},"appium:webDriverAgentUrl":"http://192.168.100.62:51024"},null,{"alwaysMatch":{"platformName":"iOS","appium:automationName":"XCUITest","appium:newCommandTimeout":120,"appium:udid":"8c91b5cc121b597d563947817e6ef790c44bf18e","df:skipReport":true,"df:liveVideo":true,"appium:mjpegServerPort":51088,"appium:waitForQuiescence":false,"appium:wdaEventloopIdleDelay":0,"appium:eventLoopIdleDelaySec":0,"appium:waitForIdleTimeout":0,"appium:settings":{"mjpegServerFramerate":10,"mjpegServerScreenshotQuality":0,"mjpegScalingFactor":50,"animationCoolOff...
- [device-farm-main] 📱 Plugin Args: {"platform":"both","iosDeviceType":"real","wdaBundleId":"com.facebook.WebDriverAgentRunner.xctrunner","preBuildWDAPath":"/Users/mbhealth/Documents/AppiumGuide/WebDriverAgentRunner-Runner.app","deviceAvailabilityTimeoutMs":300000,"newCommandTimeoutSec":60,"enableDashboard":false,"androidDeviceType":"both"}
- [AppiumDriver@fdb3] Plugins which can handle cmd 'createSession': device-farm
- [AppiumDriver@fdb3] Plugin device-farm is now handling cmd 'createSession'
- [device-farm-main] 📱 pluginArgs: {"platform":"both","iosDeviceType":"real","androidDeviceType":"both","skipChromeDownload":true,"maxSessions":8,"adbRemote":[],"emulators":[],"simulators":[],"deviceAvailabilityTimeoutMs":300000,"deviceAvailabilityQueryIntervalMs":10000,"sendNodeDevicesToHubIntervalMs":30000,"checkStaleDevicesIntervalMs":30000,"checkBlockedDevicesIntervalMs":30000,"newCommandTimeoutSec":60,"bindHostOrIp":"192.168.100.62","enableDashboard":false,"removeDevicesFromDatabaseBeforeRunningThePlugin":false,"remoteConnectionTimeout":60000,"liveStreaming":true,"wdaBundleId":"com.facebook.WebDriverAgentRunner.xctrunner","preBuildWDAPath":"/Users/mbhealth/Documents/AppiumGuide/WebDriverAgentRunner-Runner.app"}
- [device-farm-main] Receiving session request at host: 192.168.100.62
- [device-farm-main] 📱 Creating temporary session capability_id: 1905c9c4-b00d-4b90-aebe-964a3606f21f
- [device-farm-main] Merged Capabilities: {
- [device-farm-main] "platformName": "iOS",
- [device-farm-main] "appium:automationName": "XCUITest",
- [device-farm-main] "appium:newCommandTimeout": 120,
- [device-farm-main] "appium:udid": "8c91b5cc121b597d563947817e6ef790c44bf18e",
- [device-farm-main] "df:skipReport": true,
- [device-farm-main] "df:liveVideo": true,
- [device-farm-main] "appium:mjpegServerPort": 51088,
- [device-farm-main] "appium:waitForQuiescence": false,
- [device-farm-main] "appium:wdaEventloopIdleDelay": 0,
- [device-farm-main] "appium:eventLoopIdleDelaySec": 0,
- [device-farm-main] "appium:waitForIdleTimeout": 0,
- [device-farm-main] "appium:settings": {
- [device-farm-main] "mjpegServerFramerate": 10,
- [device-farm-main] "mjpegServerScreenshotQuality": 0,
- [device-farm-main] "mjpegScalingFactor": 50,
- [device-farm-main] "animationCoolOffTimeout": 0
- [device-farm-main] }
- [device-farm-main] }
- Acquiring Lock with name aacdeeegiimnorsv
- [device-farm-main] Max session count: 8, Busy device count: 0
- [device-farm-main] Waiting for free device. Filter: {"platform":"ios","udid":"8c91b5cc121b597d563947817e6ef790c44bf18e","busy":false,"userBlocked":false}}
- [device-farm-main] Updated devices with filter: {"platform":"ios","udid":{"$in":"8c91b5cc121b597d563947817e6ef790c44bf18e"}}
- [device-farm-main] Updated devices with filter: {"platform":"ios","udid":{"$in":"8c91b5cc121b597d563947817e6ef790c44bf18e"}}
- [device-farm-main] 📱 Blocking device 8c91b5cc121b597d563947817e6ef790c44bf18e at host http://192.168.100.62:31337 for new session
- [device-farm-main] Updating allocated device: "{"userBlocked":true,"offline":false,"wdaLocalPort":51132,"mjpegServerPort":51131,"udid":"8c91b5cc121b597d563947817e6ef790c44bf18e","sdk":"15.8.3","name":"iPhone 7+ ","busy":false,"realDevice":true,"deviceType":"real","platform":"ios","host":"http://192.168.100.62:31337","wdaBundleId":"","productModel":"iPhone9,4","totalUtilizationTimeMilliSec":41532,"sessionStartTime":0,"width":"414","height":"736","tags":[],"webDriverAgentHost":"http://192.168.100.62","webDriverAgentUrl":"http://192.168.100.62:51132","nodeId":"47b8f099-7c3f-4cd5-9b04-8954ecea71c7","meta":{"revision":1,"created":1740998913840,"version":0,"updated":1740998917976},"$loki":2}"
- [device-farm-main] Updated allocated device: "[{"userBlocked":true,"offline":false,"wdaLocalPort":51024,"mjpegServerPort":51025,"udid":"8c91b5cc121b597d563947817e6ef790c44bf18e","sdk":"15.8.3","name":"iPhone 7+ ","busy":true,"realDevice":true,"deviceType":"real","platform":"ios","host":"http://192.168.100.62:31337","wdaBundleId":"","productModel":"iPhone9,4","totalUtilizationTimeMilliSec":41532,"sessionStartTime":0,"width":"414","height":"736","tags":[],"webDriverAgentHost":"http://192.168.100.62","webDriverAgentUrl":"http://192.168.100.62:51024","nodeId":"47b8f099-7c3f-4cd5-9b04-8954ecea71c7","meta":{"revision":3,"created":1740998913840,"version":0,"updated":1740998923959},"$loki":2,"newCommandTimeout":120}]"
- [device-farm-main] device.host: http://192.168.100.62:31337 and pluginArgs.bindHostOrIp: 192.168.100.62
- [device-farm-main] 📱 Creating session on the same node
- [AppiumDriver@fdb3] Executing default handling behavior for command 'createSession'
- [AppiumDriver@fdb3] Event 'newSessionRequested' logged at 1740998923960 (17:48:43 GMT+0700 (Indochina Time))
- [Appium] Attempting to find matching driver for automationName 'XCUITest' and platformName 'iOS'
- [Appium] The 'xcuitest' driver was installed and matched caps.
- [Appium] Will require it at /Users/mbhealth/Workspace/appium-server/node_modules/appium-xcuitest-driver
- [Appium] Requiring driver at /Users/mbhealth/Workspace/appium-server/node_modules/appium-xcuitest-driver/build/index.js
- [AppiumDriver@fdb3] Appium v2.16.2 creating new XCUITestDriver (v8.3.3) session
- [AppiumDriver@fdb3] Checking BaseDriver versions for Appium and XCUITestDriver
- [AppiumDriver@fdb3] Appium's BaseDriver version is 9.16.2
- [AppiumDriver@fdb3] XCUITestDriver's BaseDriver version is 9.16.2
- [AppiumDriver@fdb3] Explicitly enabling use of insecure features:
- [AppiumDriver@fdb3] adb_shell
- [XCUITestDriver@a729]
- [XCUITestDriver@a729] Creating session with W3C capabilities: {
- "alwaysMatch": {
- "platformName": "iOS",
- "df:skipReport": true,
- "df:liveVideo": true,
- "appium:automationName": "XCUITest",
- "appium:newCommandTimeout": 120,
- "appium:waitForQuiescence": false,
- "appium:wdaEventloopIdleDelay": 0,
- "appium:eventLoopIdleDelaySec": 0,
- "appium:waitForIdleTimeout": 0,
- "appium:udid": "8c91b5cc121b597d563947817e6ef790c44bf18e",
- "appium:deviceName": "iPhone 7+ ",
- "appium:platformVersion": "15.8.3",
- "appium:mjpegServerPort": 51131,
- "appium:webDriverAgentUrl": "http://192.168.100.62:51132"
- },
- "firstMatch": [
- {}
- ]
- }
- [BaseDriver] The 'waitForQuiescence' capability has been deprecated and must not be used anymore. Please check the driver documentation for possible alternatives.
- [BaseDriver] The 'waitForQuiescence' capability has been deprecated and must not be used anymore. Please check the driver documentation for possible alternatives.
- [XCUITestDriver@a729] The following provided capabilities were not recognized by this driver:
- [XCUITestDriver@a729] df:skipReport
- [XCUITestDriver@a729] df:liveVideo
- [XCUITestDriver@a729] eventLoopIdleDelaySec
- [XCUITestDriver@a729] The desired capabilities include neither an app nor a bundleId. WebDriverAgent will be started without the default app
- [b811339b][XCUITestDriver@a729] Session created with session id: b811339b-9a92-4acb-be07-1b3fc99d3702
- [b811339b][XCUITest] Current user: 'mbhealth'
- [b811339b][XCUITestDriver@a729] Skipping checking of the real devices availability since the session specifies appium:webDriverAgentUrl
- [b811339b][XCUITestDriver@a729] Creating iDevice object with udid '8c91b5cc121b597d563947817e6ef790c44bf18e'
- [b811339b][XCUITestDriver@a729] Determining device to run tests on: udid: '8c91b5cc121b597d563947817e6ef790c44bf18e', real device: true
- [b811339b][XCUITestDriver@a729] Normalized platformVersion capability value '15.8.3' to '15.8'
- [b811339b][XCUITestDriver@a729] Event 'xcodeDetailsRetrieved' logged at 1740998924319 (17:48:44 GMT+0700 (Indochina Time))
- [b811339b][XCUITestDriver@a729] Event 'appConfigured' logged at 1740998924319 (17:48:44 GMT+0700 (Indochina Time))
- [b811339b][XCUITestDriver@a729] Event 'resetStarted' logged at 1740998924319 (17:48:44 GMT+0700 (Indochina Time))
- [b811339b][XCUITestDriver@a729] Reset: running ios real device reset flow
- [b811339b][XCUITestDriver@a729] Event 'resetComplete' logged at 1740998924320 (17:48:44 GMT+0700 (Indochina Time))
- [b811339b][XCUITestDriver@a729] Using WDA path: '/Users/mbhealth/Workspace/appium-server/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
- [b811339b][XCUITestDriver@a729] Using WDA agent: '/Users/mbhealth/Workspace/appium-server/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
- [b811339b][XCUITestDriver@a729] The pyidevice tool is not present in PATH. Skipping crash logs collection for real devices.
- [b811339b][XCUITestDriver@a729] Event 'logCaptureStarted' logged at 1740998924506 (17:48:44 GMT+0700 (Indochina Time))
- [b811339b][XCUITestDriver@a729] Setting up real device
- [b811339b][DevCon Factory] Requesting connection for device 8c91b5cc121b597d563947817e6ef790c44bf18e on local port 51132
- [b811339b][DevCon Factory] Cached connections count: 0
- [b811339b][DevCon Factory] Successfully requested the connection for 8c91b5cc121b597d563947817e6ef790c44bf18e:51132
- [b811339b][XCUITestDriver@a729] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
- [b811339b][XCUITestDriver@a729] Trying to start WebDriverAgent once since at least one of webDriverAgentUrl,usePreinstalledWDA capabilities is provided
- [b811339b][XCUITestDriver@a729] Event 'wdaStartAttempted' logged at 1740998924508 (17:48:44 GMT+0700 (Indochina Time))
- [b811339b][XCUITestDriver@a729] Using provided WebdriverAgent at 'http://192.168.100.62:51132'
- [b811339b][WD Proxy] Matched '/status' to command name 'getStatus'
- [b811339b][WD Proxy] Proxying [GET /status] to [GET http://192.168.100.62:51132/status] with no body
- [b811339b][WD Proxy] connect ECONNREFUSED 192.168.100.62:51132
- [b811339b][XCUITestDriver@a729] WDA is not listening at 'http://192.168.100.62:51132/'. Original error:: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 192.168.100.62:51132
- [b811339b][XCUITestDriver@a729] Event 'wdaSessionAttempted' logged at 1740998924551 (17:48:44 GMT+0700 (Indochina Time))
- [b811339b][XCUITestDriver@a729] Sending createSession command to WDA
- [b811339b][XCUITestDriver@a729] Matched '/status' to command name 'getStatus'
- [b811339b][XCUITestDriver@a729] Proxying [GET /status] to [GET http://192.168.100.62:51132/status] with no body
- [b811339b][XCUITestDriver@a729] connect ECONNREFUSED 192.168.100.62:51132
- [b811339b][XCUITestDriver@a729] Event 'wdaSessionFailed' logged at 1740998924558 (17:48:44 GMT+0700 (Indochina Time))
- [b811339b][XCUITestDriver@a729] UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 192.168.100.62:51132
- at JWProxy.command (/Users/mbhealth/Workspace/appium-server/node_modules/appium-xcuitest-driver/node_modules/@appium/base-driver/lib/jsonwp-proxy/proxy.js:353:13)
- at processTicksAndRejections (node:internal/process/task_queues:95:5)
- at XCUITestDriver.proxyCommand (/Users/mbhealth/Workspace/appium-server/node_modules/appium-xcuitest-driver/lib/commands/proxy-helper.js:103:35)
- at /Users/mbhealth/Workspace/appium-server/node_modules/appium-xcuitest-driver/lib/driver.js:926:59
- at wrapped (/Users/mbhealth/Workspace/appium-server/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:93:13)
- at retry (/Users/mbhealth/Workspace/appium-server/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:66:13)
- at retryInterval (/Users/mbhealth/Workspace/appium-server/node_modules/appium-xcuitest-driver/node_modules/asyncbox/lib/asyncbox.js:103:10)
- at /Users/mbhealth/Workspace/appium-server/node_modules/appium-xcuitest-driver/lib/driver.js:881:7
- [b811339b][XCUITestDriver@a729] {}
- [b811339b][DevCon Factory] Releasing connections for 8c91b5cc121b597d563947817e6ef790c44bf18e device on any port number
- [b811339b][DevCon Factory] Found cached connections to release: ["8c91b5cc121b597d563947817e6ef790c44bf18e:51132"]
- [b811339b][DevCon Factory] Cached connections count: 0
- [b811339b][AppiumDriver@fdb3] Event 'newSessionStarted' logged at 1740998924558 (17:48:44 GMT+0700 (Indochina Time))
- [b811339b][device-farm-main] 📱 Forwarding ios port to real device 8c91b5cc121b597d563947817e6ef790c44bf18e for manual interaction
- [b811339b][DevCon Factory Device Farm] Requesting connection for device 8c91b5cc121b597d563947817e6ef790c44bf18e on local port 51131, device port 51131
- [b811339b][DevCon Factory Device Farm] Cached connections count: 0
- [b811339b][DevCon Factory Device Farm] Successfully requested the connection for 8c91b5cc121b597d563947817e6ef790c44bf18e:51131
- [b811339b][device-farm-main] 📱 1905c9c4-b00d-4b90-aebe-964a3606f21f Session response:
- [b811339b][device-farm-main] {"protocol":"W3C","error":{}}
- [b811339b][device-farm-main] 📱 Removing pending session with capability_id: 1905c9c4-b00d-4b90-aebe-964a3606f21f
- [b811339b][device-farm-main] 1905c9c4-b00d-4b90-aebe-964a3606f21f 📱 Device UDID 8c91b5cc121b597d563947817e6ef790c44bf18e unblocked. Reason: Failed to create session
- [b811339b][AppiumDriver@fdb3] Encountered internal error running command: Error: Error: Unable to start WebDriverAgent session. Original error: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 192.168.100.62:51132
- at WD.this (/Users/mbhealth/Workspace/appium-server/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/plugin.js:369:23)
- at WD.generator (/Users/mbhealth/Workspace/appium-server/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/plugin.js:355:17)
- at Generator.next (<anonymous>)
- at WT (/Users/mbhealth/Workspace/appium-server/node_modules/appium-device-farm/lib/webpack:/appium-device-farm/lib/src/plugin.js:28:48)
- [b811339b][HTTP] <-- POST /wd/hub/session 500 655 ms - 1010
- [device-farm-main] Received error from remote node: {"message":"Request failed with status code 500","name":"AxiosError","stack":"AxiosError: Request failed with status code 500\n at settle (/Users/mbhealth/Workspace/appium-server/node_modules/axios/lib/core/settle.js:19:12)\n at IncomingMessage.handleStreamEnd (/Users/mbhealth/Workspace/appium-server/node_modules/axios/lib/adapters/http.js:589:11)\n at IncomingMessage.emit (node:events:531:35)\n at endReadableNT (node:internal/streams/readable:1696:12)\n at processTicksAndRejections (node:internal/process/task_queues:82:21)\n at Axios.request (/Users/mbhealth/Workspace/appium-server/node_modules/axios/lib/core/Axios.js:45:41)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)","config":{"transitional":{"silentJSONParsing":true,"forcedJSONParsing":true,"clarifyTimeoutError":false},"adapter":["xhr","http","fetch"],"transformRequest":[null],"transformResponse":[null],"timeout":260000,"xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN","maxContentLength":-1,"maxBodyLength":-1,"env":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json","User-Agent":"axios/1.7.2","Content-Length":"1085","Accept-Encoding":"gzip, compress, deflate, br"},"method":"post","url":"http://localhost:31337/wd/hub/session","data":"{\"capabilities\":{\"alwaysMatch\":{\"platformName\":\"iOS\",\"appium:automationName\":\"XCUITest\",\"appium:newCommandTimeout\":120,\"appium:udid\":\"8c91b5cc121b597d563947817e6ef790c44bf18e\",\"df:skipReport\":true,\"df:liveVideo\":true,\"appium:mjpegServerPort\":51088,\"appium:waitForQuiescence\":false,\"appium:wdaEventloopIdleDelay\":0,\"appium:eventLoopIdleDelaySec\":0,\"appium:waitForIdleTimeout\":0,\"appium:settings\":{\"mjpegServerFramerate\":10,\"mjpegServerScreenshotQuality\":0,\"mjpegScalingFactor\":50,\"animationCoolOffTimeout\":0}},\"firstMatch\":[{}]},\"desiredCapabilities\":{\"platformName\":\"iOS\",\"appium:automationName\":\"XCUITest\",\"appium:newCommandTimeout\":120,\"appium:udid\":\"8c91b5cc121b597d563947817e6ef790c44bf18e\",\"df:skipReport\":true,\"df:liveVideo\":true,\"appium:mjpegServerPort\":51088,\"appium:waitForQuiescence\":false,\"appium:wdaEventloopIdleDelay\":0,\"appium:eventLoopIdleDelaySec\":0,\"appium:waitForIdleTimeout\":0,\"appium:settings\":{\"mjpegServerFramerate\":10,\"mjpegServerScreenshotQuality\":0,\"mjpegScalingFactor\":50,\"animationCoolOffTimeout\":0},\"appium:webDriverAgentUrl\":\"http://192.168.100.62:51024\"}}"},"code":"ERR_BAD_RESPONSE","status":500}
- [HTTP] <-- POST /device-farm/api/dashboard/appiumSession 400 4783 ms - 1010
- [HTTP] --> POST /device-farm/api/unblock {"udid":"8c91b5cc121b597d563947817e6ef790c44bf18e","host":"http://192.168.100.62:31337"}
- [device-farm-main] Received non-webdriver request with url /device-farm/api/unblock. So, not proxying it to downstream.
- [device-farm-main] Updated devices with filter: {"udid":{"$in":"8c91b5cc121b597d563947817e6ef790c44bf18e"}}
- [HTTP] <-- POST /device-farm/api/unblock 200 1 ms - 16
- ^C[Appium] Received SIGINT - shutting down
- [AppiumDriver@fdb3] There are no active sessions for cleanup
- [HTTP] Closing Appium HTTP server
- [HTTP] Appium HTTP server has been succesfully closed after 0ms
- npm info ok
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement