Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate call to updateAllocatedDevice results in wrong port. #1463

Open
bossleem opened this issue Dec 6, 2024 · 4 comments
Open

Duplicate call to updateAllocatedDevice results in wrong port. #1463

bossleem opened this issue Dec 6, 2024 · 4 comments

Comments

@bossleem
Copy link

bossleem commented Dec 6, 2024

Describe the bug

A clear and concise description of what the bug is.

Screenshot 2024-12-06 at 9 41 08 AM

Link to Appium logs

Create a GIST which is a paste of your full Appium logs, and link them here.
Do NOT paste your full Appium logs here, as it will make this issue very long and hard to read!
If you are reporting a bug, always include Appium logs!

Environment

  1. Appium version (or git revision) that exhibits the issue: 2.13.0
  2. Last Appium version that did not exhibit the issue (if applicable): 2.13.0
  3. Node.js version (unless using Appium.app|exe): v23.3.0
  4. Npm or Yarn package manager: npm
  5. Mobile platform/version under test: ios 14.7.1
  6. Real device or emulator/simulator: real device
  7. Appium CLI or Appium.app|exe: Appium CLI
@bossleem
Copy link
Author

bossleem commented Dec 6, 2024

I came up with this code wrongly

Screenshot 2024-12-06 at 9 45 44 AM

@saikrishna321
Copy link
Member

@bossleem pls provide full logs and also tell us your setup.

@bossleem
Copy link
Author

bossleem commented Dec 6, 2024

╭─    ~ ······································································································· ✔  5m 56s   12:00:04 am  ─╮
╰─ appium server -ka 800 --use-plugins="device-farm" -pa /wd/hub --plugin-device-farm-platform=ios --plugin-device-farm-ios-device-type=real ─╯
[Appium] Attempting to load plugin device-farm...
[Appium] Requiring plugin at /Users/mrlee/.appium/node_modules/appium-device-farm/lib/src/main.js
{ DeviceFarmProLoader: [class q], default: [class q] }
[Appium] Ot has been successfully loaded in 0.327s
[Appium] Welcome to Appium v2.13.0
[Appium] Non-default server args:
[Appium] {
basePath: '/wd/hub',
keepAliveTimeout: 800,
usePlugins: [
'device-farm'
],
plugin: {
'device-farm': {
iosDeviceType: 'real'
}
}
}
[Appium] The autodetected Appium home path: /Users/mrlee/.appium
[Appium] Attempting to load driver xcuitest...
[Appium] Requiring driver at /Users/mrlee/.appium/node_modules/appium-xcuitest-driver/build/index.js
[Appium] XCUITestDriver has been successfully loaded in 0.206s
[device-farm-main] 📱 Update server with CLI Args: {"subcommand":"server","address":"0.0.0.0","basePath":"/wd/hub","keepAliveTimeout":800,"port":4723,"usePlugins":["device-farm"],"plugin":{"device-farm":{"platform":"ios","iosDeviceType":"real","androidDeviceType":"both"}},"extraArgs":[],"allowCors":false,"allowInsecure":[],"callbackPort":4723,"debugLogSpacing":false,"denyInsecure":[],"localTimezone":false,"loglevel":"debug","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/s_/szrl1p1s0vd5lsj7s072c67m0000gn/T"}
{ DeviceFarmProLoader: [class q], default: [class q] }
[device-farm-main] Cli Args: {"subcommand":"server","address":"0.0.0.0","basePath":"/wd/hub","keepAliveTimeout":800,"port":4723,"usePlugins":["device-farm"],"plugin":{"device-farm":{"platform":"ios","iosDeviceType":"real","androidDeviceType":"both"}},"extraArgs":[],"allowCors":false,"allowInsecure":[],"callbackPort":4723,"debugLogSpacing":false,"denyInsecure":[],"localTimezone":false,"loglevel":"debug","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/s_/szrl1p1s0vd5lsj7s072c67m0000gn/T"}
[device-farm-main] 📱 Update server with Plugin Args: {"platform":"ios","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.1.2","enableDashboard":false,"removeDevicesFromDatabaseBeforeRunningThePlugin":false,"remoteConnectionTimeout":60000,"liveStreaming":true,"wdaBundleId":"","preBuildWDAPath":""}
[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 iOS Streaming
Inside get streaming server
[device-farm-main] 📣📣📣 I'm a hub and I'm listening on 192.168.1.2:4723
[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
[device-farm-main] Getting device info for 00008020-000121343A83002E
[device-farm-main] Added 1 new devices to local database
{ MessageType: 'Result', Number: 0 }
{
DeviceID: 21,
MessageType: 'Attached',
Properties: {
ConnectionSpeed: 480000000,
ConnectionType: 'USB',
DeviceID: 21,
LocationID: 336592896,
ProductID: 4776,
SerialNumber: '00008020-000121343A83002E',
UDID: '00008020-000121343A83002E',
USBSerialNumber: '00008020000121343A83002E'
}
}
[device-farm-main] 📣📣📣 Device Farm Plugin will be served at 🔗 http://192.168.1.2:4723/device-farm with id c50ea5e6-208f-4d2b-87f4-7e0bfaac04b2
[Appium] Appium REST http interface listener started on http://0.0.0.0:4723/wd/hub
[Appium] You can provide the following URLs in your client code to connect to this server:
http://127.0.0.1:4723/wd/hub (only accessible from the same host)
http://127.0.2.2:4723/wd/hub (only accessible from the same host)
http://127.0.2.3:4723/wd/hub (only accessible from the same host)
http://192.168.1.2:4723/wd/hub
http://172.16.0.2:4723/wd/hub
http://169.254.241.191:4723/wd/hub
[Appium] Available drivers:
[Appium] - [email protected] (automationName 'XCUITest')
[Appium] Available plugins:
[Appium] - [email protected] (ACTIVE)
[Appium] - [email protected]
[device-farm-main] iOS device with udid 00008020-000121343A83002E 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 6 ms - -
[HTTP] --> GET /device-farm/ui-assets/index-DKWf-j5I.js {}
[device-farm-main] Received non-webdriver request with url /device-farm/ui-assets/index-DKWf-j5I.js. So, not proxying it to downstream.
[HTTP] <-- GET /device-farm/ui-assets/index-DKWf-j5I.js 304 3 ms - -
[HTTP] --> GET /device-farm/ui-assets/index-Cp7K0uA9.css {}
[device-farm-main] Received non-webdriver request with url /device-farm/ui-assets/index-Cp7K0uA9.css. So, not proxying it to downstream.
[HTTP] <-- GET /device-farm/ui-assets/index-Cp7K0uA9.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/ui-assets/device-farm-logo-nn1d6kPf.png {}
[device-farm-main] Received non-webdriver request with url /device-farm/ui-assets/device-farm-logo-nn1d6kPf.png. So, not proxying it to downstream.
[HTTP] <-- GET /device-farm/ui-assets/device-farm-logo-nn1d6kPf.png 304 1 ms - -
[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 24 ms - 626
[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 200 1 ms - 1
[HTTP] --> POST /device-farm/api/block {"udid":"00008020-000121343A83002E","host":"http://192.168.1.2:4723"}
[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":"00008020-000121343A83002E"}}
[HTTP] <-- POST /device-farm/api/block 200 1 ms - 16
[HTTP] --> POST /device-farm/api/dashboard/installiOSWDA {"udid":"00008020-000121343A83002E"}
[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":["00008020-000121343A83002E"]}}
[device-farm-main] Successfully pushed the file payload (890.67 KB) to the remote location '/wda-resign.ipa' in 49ms
[device-farm-main] A new application installation is going to be performed. Will timeout in 240000 ms
[device-farm-main] The installation of 'com.mrleex.WebDriverAgentRunner.xctrunner' succeeded after 782ms
[HTTP] <-- POST /device-farm/api/dashboard/installiOSWDA 200 785 ms - 91
[HTTP] --> POST /device-farm/api/dashboard/appiumSession {"udid":"00008020-000121343A83002E","origin":"http://localhost:4723"}
[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":["00008020-000121343A83002E"]}}
[HTTP] --> POST /wd/hub/session {"capabilities":{"alwaysMatch":{"platformName":"iOS","appium:automationName":"XCUITest","appium:newCommandTimeout":120,"appium:udid":"00008020-000121343A83002E","df:skipReport":true,"appium:mjpegServerPort":56989,"appium:waitForQuiescence":false,"appium:wdaEventloopIdleDelay":0,"appium:eventLoopIdleDelaySec":0,"appium:waitForIdleTimeout":0,"appium:settings":{"mjpegServerFramerate":34,"mjpegServerScreenshotQuality":75,"mjpegScalingFactor":100,"animationCoolOffTimeout":0}},"firstMatch":[{}]},"desiredCapabilities":{"platformName":"iOS","appium:automationName":"XCUITest","appium:newCommandTimeout":120,"appium:udid":"00008020-000121343A83002E","df:skipReport":true,"appium:mjpegServerPort":56989,"appium:waitForQuiescence":false,"appium:wdaEventloopIdleDelay":0,"appium:eventLoopIdleDelaySec":0,"appium:waitForIdleTimeout":0,"appium:settings":{"mjpegServerFramerate":34,"mjpegServerScreenshotQuality":75,"mjpegScalingFactor":100,"animationCoolOffTimeout":0},"appium:usePreinstalledWDA":true,"appium:updatedWDABundleId"...
[AppiumDriver@b031] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","appium:automationName":"XCUITest","appium:newCommandTimeout":120,"appium:udid":"00008020-000121343A83002E","df:skipReport":true,"appium:mjpegServerPort":56989,"appium:waitForQuiescence":false,"appium:wdaEventloopIdleDelay":0,"appium:eventLoopIdleDelaySec":0,"appium:waitForIdleTimeout":0,"appium:settings":{"mjpegServerFramerate":34,"mjpegServerScreenshotQuality":75,"mjpegScalingFactor":100,"animationCoolOffTimeout":0},"appium:usePreinstalledWDA":true,"appium:updatedWDABundleId":"com.mrleex.WebDriverAgentRunner.xctrunner","appium:updatedWDABundleIdSuffix":"","df:portForward":true},null,{"alwaysMatch":{"platformName":"iOS","appium:automationName":"XCUITest","appium:newCommandTimeout":120,"appium:udid":"00008020-000121343A83002E","df:skipReport":true,"appium:mjpegServerPort":56989,"appium:waitForQuiescence":false,"appium:wdaEventloopIdleDelay":0,"appium:eventLoopIdleDelaySec":0,"appium:waitForIdleTimeout":0,"appium:settings":{"mjpegServerFramerate":34,"mjpegServerScreenshotQuality":75,"...
[device-farm-main] 📱 Plugin Args: {"platform":"ios","iosDeviceType":"real","androidDeviceType":"both"}
[AppiumDriver@b031] Plugins which can handle cmd 'createSession': device-farm
[AppiumDriver@b031] Plugin device-farm is now handling cmd 'createSession'
[device-farm-main] 📱 pluginArgs: {"platform":"ios","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.1.2","enableDashboard":false,"removeDevicesFromDatabaseBeforeRunningThePlugin":false,"remoteConnectionTimeout":60000,"liveStreaming":true,"wdaBundleId":"","preBuildWDAPath":""}
[device-farm-main] Receiving session request at host: 192.168.1.2
[device-farm-main] 📱 Creating temporary session capability_id: a23fb13f-06ad-46e1-9ea5-5d0e47625879
[device-farm-main] Merged Capabilities: {
"platformName": "iOS",
"appium:automationName": "XCUITest",
"appium:newCommandTimeout": 120,
"appium:udid": "00008020-000121343A83002E",
"df:skipReport": true,
"appium:mjpegServerPort": 56989,
"appium:waitForQuiescence": false,
"appium:wdaEventloopIdleDelay": 0,
"appium:eventLoopIdleDelaySec": 0,
"appium:waitForIdleTimeout": 0,
"appium:settings": {
"mjpegServerFramerate": 34,
"mjpegServerScreenshotQuality": 75,
"mjpegScalingFactor": 100,
"animationCoolOffTimeout": 0
}
}
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":"00008020-000121343A83002E","busy":false,"userBlocked":false}}
[device-farm-main] Updated devices with filter: {"platform":"ios","udid":{"$in":"00008020-000121343A83002E"}}
[device-farm-main] Updated devices with filter: {"platform":"ios","udid":{"$in":"00008020-000121343A83002E"}}
[device-farm-main] 📱 Blocking device 00008020-000121343A83002E at host http://192.168.1.2:4723 for new session
[device-farm-main] Updating allocated device: "{"userBlocked":true,"offline":false,"wdaLocalPort":57025,"mjpegServerPort":57024,"udid":"00008020-000121343A83002E","sdk":"14.7.1","name":"iPhone XS","busy":false,"realDevice":true,"deviceType":"real","platform":"ios","host":"http://192.168.1.2:4723","wdaBundleId":"","productModel":"iPhone11,2","totalUtilizationTimeMilliSec":460146,"sessionStartTime":0,"width":"375","height":"812","tags":[],"webDriverAgentHost":"http://192.168.1.2","webDriverAgentUrl":"http://192.168.1.2:56988","nodeId":"c50ea5e6-208f-4d2b-87f4-7e0bfaac04b2","meta":{"revision":3,"created":1733418019330,"version":0,"updated":1733418028612},"$loki":1}"
[device-farm-main] Updated allocated device: "[{"userBlocked":true,"offline":false,"wdaLocalPort":56988,"mjpegServerPort":56989,"udid":"00008020-000121343A83002E","sdk":"14.7.1","name":"iPhone XS","busy":true,"realDevice":true,"deviceType":"real","platform":"ios","host":"http://192.168.1.2:4723","wdaBundleId":"","productModel":"iPhone11,2","totalUtilizationTimeMilliSec":460146,"sessionStartTime":0,"width":"375","height":"812","tags":[],"webDriverAgentHost":"http://192.168.1.2","webDriverAgentUrl":"http://192.168.1.2:56988","nodeId":"c50ea5e6-208f-4d2b-87f4-7e0bfaac04b2","meta":{"revision":5,"created":1733418019330,"version":0,"updated":1733418029410},"$loki":1,"newCommandTimeout":120}]"
[device-farm-main] device.host: http://192.168.1.2:4723 and pluginArgs.bindHostOrIp: 192.168.1.2
[device-farm-main] 📱 Creating session on the same node
[device-farm-main] 📱 Forwarding ios port to real device 00008020-000121343A83002E for manual interaction
[DevCon Factory Device Farm] Requesting connection for device 00008020-000121343A83002E on local port 57024, device port 57024
[DevCon Factory Device Farm] Cached connections count: 0
[DevCon Factory Device Farm] Successfully requested the connection for 00008020-000121343A83002E:57024
[AppiumDriver@b031] Executing default handling behavior for command 'createSession'
[AppiumDriver@b031] Event 'newSessionRequested' logged at 1733418029412 (00:00:29 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/mrlee/.appium/node_modules/appium-xcuitest-driver
[Appium] Requiring driver at /Users/mrlee/.appium/node_modules/appium-xcuitest-driver/build/index.js
[AppiumDriver@b031] Appium v2.13.0 creating new XCUITestDriver (v7.32.1) session
[AppiumDriver@b031] Checking BaseDriver versions for Appium and XCUITestDriver
[AppiumDriver@b031] Appium's BaseDriver version is 9.13.0
[AppiumDriver@b031] XCUITestDriver's BaseDriver version is 9.13.0
[XCUITestDriver@771d]
[XCUITestDriver@771d] Creating session with W3C capabilities: {
"alwaysMatch": {
"platformName": "iOS",
"df:skipReport": true,
"appium:automationName": "XCUITest",
"appium:newCommandTimeout": 120,
"appium:waitForQuiescence": false,
"appium:wdaEventloopIdleDelay": 0,
"appium:eventLoopIdleDelaySec": 0,
"appium:waitForIdleTimeout": 0,
"appium:udid": "00008020-000121343A83002E",
"appium:deviceName": "iPhone XS",
"appium:platformVersion": "14.7.1",
"appium:mjpegServerPort": 57024,
"appium:wdaLocalPort": 57025,
"appium:usePreinstalledWDA": true,
"appium:updatedWDABundleId": "com.mrleex.WebDriverAgentRunner.xctrunner",
"appium:updatedWDABundleIdSuffix": ""
},
"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@771d] The following provided capabilities were not recognized by this driver:
[XCUITestDriver@771d] df:skipReport
[XCUITestDriver@771d] eventLoopIdleDelaySec
[XCUITestDriver@771d] The desired capabilities include neither an app nor a bundleId. WebDriverAgent will be started without the default app
[6eaf142e][XCUITestDriver@771d] Session created with session id: 6eaf142e-f7b1-4a67-aa60-d5b5506c36cd
[6eaf142e][XCUITest] Current user: 'mrlee'
[6eaf142e][XCUITestDriver@771d] Available real devices: 00008020-000121343A83002E
[6eaf142e][XCUITestDriver@771d] Creating iDevice object with udid '00008020-000121343A83002E'
[6eaf142e][XCUITestDriver@771d] Determining device to run tests on: udid: '00008020-000121343A83002E', real device: true
[6eaf142e][XCUITestDriver@771d] Normalized platformVersion capability value '14.7.1' to '14.7'
[6eaf142e][XCUITestDriver@771d] Event 'xcodeDetailsRetrieved' logged at 1733418029428 (00:00:29 GMT+0700 (Indochina Time))
[6eaf142e][XCUITestDriver@771d] Event 'appConfigured' logged at 1733418029428 (00:00:29 GMT+0700 (Indochina Time))
[6eaf142e][XCUITestDriver@771d] Event 'resetStarted' logged at 1733418029428 (00:00:29 GMT+0700 (Indochina Time))
[6eaf142e][XCUITestDriver@771d] Reset: running ios real device reset flow
[6eaf142e][XCUITestDriver@771d] Event 'resetComplete' logged at 1733418029428 (00:00:29 GMT+0700 (Indochina Time))
[6eaf142e][XCUITestDriver@771d] Using WDA path: '/Users/mrlee/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent'
[6eaf142e][XCUITestDriver@771d] Using WDA agent: '/Users/mrlee/.appium/node_modules/appium-xcuitest-driver/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj'
[6eaf142e][XCUITestDriver@771d] The pyidevice tool is not present in PATH. Skipping crash logs collection for real devices.
[6eaf142e][XCUITestDriver@771d] Event 'logCaptureStarted' logged at 1733418029541 (00:00:29 GMT+0700 (Indochina Time))
[6eaf142e][XCUITestDriver@771d] Setting up real device
[6eaf142e][XCUITestDriver@771d] No obsolete cached processes from previous WDA sessions listening on port 57025 have been found
[6eaf142e][DevCon Factory] Requesting connection for device 00008020-000121343A83002E on local port 57025, device port 57025
[6eaf142e][DevCon Factory] Cached connections count: 0
[6eaf142e][DevCon Factory] Successfully requested the connection for 00008020-000121343A83002E:57025
[6eaf142e][XCUITestDriver@771d] Starting WebDriverAgent initialization with the synchronization key 'XCUITestDriver'
[6eaf142e][XCUITestDriver@771d] Trying to start WebDriverAgent once since at least one of webDriverAgentUrl,usePreinstalledWDA capabilities is provided
[6eaf142e][XCUITestDriver@771d] Event 'wdaStartAttempted' logged at 1733418029704 (00:00:29 GMT+0700 (Indochina Time))
[6eaf142e][XCUITestDriver@771d] The executable name for the bundle id 'com.mrleex.WebDriverAgentRunner.xctrunner' was 'WebDriverAgentRunner-Runner'
[6eaf142e][XCUITestDriver@771d] The process of the bundle id 'com.mrleex.WebDriverAgentRunner.xctrunner' was not running
[6eaf142e][XCUITestDriver@771d] Launching WebDriverAgent on the device without xcodebuild
[6eaf142e][ios-device] SignerIdentifier: Apple Development: Minh Luc Le (7AFH83K728)
[6eaf142e][ios-device] removing /tmp/WebDriverAgentRunner-24F4E68C-9070-4BB5-BD57-66E7F2ED71D3.xctestconfiguration
[6eaf142e][ios-device] Pid of launched com.mrleex.WebDriverAgentRunner.xctrunner: 38845
[6eaf142e][ios-device] Test runner ready
[6eaf142e][WD Proxy] Matched '/status' to command name 'getStatus'
[6eaf142e][WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:57025/status] with no body
[6eaf142e][iProxy@00008020:57025] Connection was refused to port 57025
[6eaf142e][WD Proxy] socket hang up
[6eaf142e][WD Proxy] Matched '/status' to command name 'getStatus'
[6eaf142e][WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:57025/status] with no body
[6eaf142e][iProxy@00008020:57025] Connection was refused to port 57025
[6eaf142e][WD Proxy] socket hang up
[6eaf142e][WD Proxy] Matched '/status' to command name 'getStatus'
[6eaf142e][WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:57025/status] with no body
[6eaf142e][iProxy@00008020:57025] Connection was refused to port 57025
[6eaf142e][WD Proxy] socket hang up
[6eaf142e][WD Proxy] Matched '/status' to command name 'getStatus'
[6eaf142e][WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:57025/status] with no body
[6eaf142e][iProxy@00008020:57025] Connection was refused to port 57025
[6eaf142e][WD Proxy] socket hang up
[6eaf142e][WD Proxy] Matched '/status' to command name 'getStatus'
[6eaf142e][WD Proxy] Proxying [GET /status] to [GET http://127.0.0.1:57025/status] with no body
[6eaf142e][WD Proxy] Got response with status 200: {"value":{"build":{"version":"8.11.1","time":"Dec 5 2024 23:03:06","productBundleIdentifier":"com.mrleex.WebDriverAgentRunner.xctrunner"},"os":{"testmanagerdVersion":28,"name":"iOS","sdkVersion":"17.0","version":"14.7.1"},"device":"iphone","ios":{"ip":null},"message":"WebDriverAgent is ready to accept commands","state":"success","ready":true},"sessionId":null}
[6eaf142e][XCUITestDriver@771d] Event 'wdaSessionAttempted' logged at 1733418039082 (00:00:39 GMT+0700 (Indochina Time))
[6eaf142e][XCUITestDriver@771d] Sending createSession command to WDA
[6eaf142e][XCUITestDriver@771d] Matched '/session' to command name 'createSession'
[6eaf142e][XCUITestDriver@771d] Proxying [POST /session] to [POST http://127.0.0.1:57025/session] with body: {"capabilities":{"firstMatch":[{"arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":false,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true,"waitForIdleTimeout":0,"shouldTerminateApp":true,"forceAppLaunch":true,"useNativeCachingStrategy":true,"forceSimulatorSoftwareKeyboardPresence":true}],"alwaysMatch":{}}}
[6eaf142e][XCUITestDriver@771d] Got response with status 200: {"value":{"sessionId":"15935D12-1195-4CD1-9BAC-BF61111D5343","capabilities":{"sdkVersion":"14.7.1","device":"iphone"}},"sessionId":"15935D12-1195-4CD1-9BAC-BF61111D5343"}
[6eaf142e][XCUITestDriver@771d] Determined the downstream protocol as 'W3C'
[6eaf142e][XCUITestDriver@771d] WDA session startup took 10ms
[6eaf142e][XCUITestDriver@771d] Event 'wdaSessionStarted' logged at 1733418039093 (00:00:39 GMT+0700 (Indochina Time))
[6eaf142e][XCUITestDriver@771d] Event 'wdaStarted' logged at 1733418039093 (00:00:39 GMT+0700 (Indochina Time))
[6eaf142e][BaseDriver] The value of 'elementResponseAttributes' setting did not change. Skipping the update for it
[6eaf142e][BaseDriver] The value of 'shouldUseCompactResponses' setting did not change. Skipping the update for it
[6eaf142e][AppiumDriver@b031] New XCUITestDriver session created successfully, session 6eaf142e-f7b1-4a67-aa60-d5b5506c36cd added to master session list
[6eaf142e][AppiumDriver@b031] Applying the initial values to Appium settings parsed from W3C caps: {"mjpegServerFramerate":34,"mjpegServerScreenshotQuality":75,"mjpegScalingFactor":100,"animationCoolOffTimeout":0}
[6eaf142e][XCUITestDriver@771d] Matched '/appium/settings' to command name 'updateSettings'
[6eaf142e][XCUITestDriver@771d] Proxying [POST /appium/settings] to [POST http://127.0.0.1:57025/session/15935D12-1195-4CD1-9BAC-BF61111D5343/appium/settings] with body: {"settings":{"mjpegServerFramerate":34}}
[6eaf142e][XCUITestDriver@771d] Got response with status 200: {"value":{"mjpegFixOrientation":false,"boundElementsByIndex":false,"mjpegServerFramerate":34,"maxTypingFrequency":60,"reduceMotion":false,"respectSystemAlerts":false,"elementResponseAttributes":"type,label","screenshotQuality":3,"mjpegScalingFactor":100,"screenshotOrientation":"auto","keyboardPrediction":0,"defaultActiveApplication":"auto","mjpegServerScreenshotQuality":25,"defaultAlertAction":"","keyboardAutocorrection":0,"useFirstMatch":false,"shouldUseCompactResponses":true,"customSnapshotTimeout":15,"dismissAlertButtonSelector":"","activeAppDetectionPoint":"64.00,64.00","useClearTextShortcut":true,"snapshotMaxDepth":50,"waitForIdleTimeout":0,"includeNonModalElements":false,"acceptAlertButtonSelector":"","animationCoolOffTimeout":2},"sessionId":"15935D12-1195-4CD1-9BAC-BF61111D5343"}
[6eaf142e][XCUITestDriver@771d] Matched '/appium/settings' to command name 'updateSettings'
[6eaf142e][XCUITestDriver@771d] Proxying [POST /appium/settings] to [POST http://127.0.0.1:57025/session/15935D12-1195-4CD1-9BAC-BF61111D5343/appium/settings] with body: {"settings":{"mjpegServerScreenshotQuality":75}}
[6eaf142e][XCUITestDriver@771d] Got response with status 200: {"value":{"mjpegFixOrientation":false,"boundElementsByIndex":false,"mjpegServerFramerate":34,"maxTypingFrequency":60,"reduceMotion":false,"respectSystemAlerts":false,"elementResponseAttributes":"type,label","screenshotQuality":3,"mjpegScalingFactor":100,"screenshotOrientation":"auto","keyboardPrediction":0,"defaultActiveApplication":"auto","mjpegServerScreenshotQuality":75,"defaultAlertAction":"","keyboardAutocorrection":0,"useFirstMatch":false,"shouldUseCompactResponses":true,"customSnapshotTimeout":15,"dismissAlertButtonSelector":"","activeAppDetectionPoint":"64.00,64.00","useClearTextShortcut":true,"snapshotMaxDepth":50,"waitForIdleTimeout":0,"includeNonModalElements":false,"acceptAlertButtonSelector":"","animationCoolOffTimeout":2},"sessionId":"15935D12-1195-4CD1-9BAC-BF61111D5343"}
[6eaf142e][BaseDriver] The value of 'mjpegScalingFactor' setting did not change. Skipping the update for it
[6eaf142e][XCUITestDriver@771d] Matched '/appium/settings' to command name 'updateSettings'
[6eaf142e][XCUITestDriver@771d] Proxying [POST /appium/settings] to [POST http://127.0.0.1:57025/session/15935D12-1195-4CD1-9BAC-BF61111D5343/appium/settings] with body: {"settings":{"animationCoolOffTimeout":0}}
[6eaf142e][XCUITestDriver@771d] Got response with status 200: {"value":{"mjpegFixOrientation":false,"boundElementsByIndex":false,"mjpegServerFramerate":34,"maxTypingFrequency":60,"reduceMotion":false,"respectSystemAlerts":false,"elementResponseAttributes":"type,label","screenshotQuality":3,"mjpegScalingFactor":100,"screenshotOrientation":"auto","keyboardPrediction":0,"defaultActiveApplication":"auto","mjpegServerScreenshotQuality":75,"defaultAlertAction":"","keyboardAutocorrection":0,"useFirstMatch":false,"shouldUseCompactResponses":true,"customSnapshotTimeout":15,"dismissAlertButtonSelector":"","activeAppDetectionPoint":"64.00,64.00","useClearTextShortcut":true,"snapshotMaxDepth":50,"waitForIdleTimeout":0,"includeNonModalElements":false,"acceptAlertButtonSelector":"","animationCoolOffTimeout":0},"sessionId":"15935D12-1195-4CD1-9BAC-BF61111D5343"}
[6eaf142e][AppiumDriver@b031] Event 'newSessionStarted' logged at 1733418039112 (00:00:39 GMT+0700 (Indochina Time))
[6eaf142e][device-farm-main] 📱 a23fb13f-06ad-46e1-9ea5-5d0e47625879 Session response: {"protocol":"W3C","value":["6eaf142e-f7b1-4a67-aa60-d5b5506c36cd",{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"iOS","df:skipReport":true,"automationName":"XCUITest","newCommandTimeout":120,"waitForQuiescence":false,"wdaEventloopIdleDelay":0,"eventLoopIdleDelaySec":0,"waitForIdleTimeout":0,"udid":"00008020-000121343A83002E","deviceName":"iPhone XS","platformVersion":"14.7","mjpegServerPort":57024,"wdaLocalPort":57025,"usePreinstalledWDA":true,"updatedWDABundleId":"com.mrleex.WebDriverAgentRunner.xctrunner","updatedWDABundleIdSuffix":""},"W3C"]}
[6eaf142e][device-farm-main] 📱 Removing pending session with capability_id: a23fb13f-06ad-46e1-9ea5-5d0e47625879
[6eaf142e][device-farm-main] a23fb13f-06ad-46e1-9ea5-5d0e47625879 📱 Session response is CreateSessionResponseInternal
[6eaf142e][device-farm-main] 📱 a23fb13f-06ad-46e1-9ea5-5d0e47625879 ----- Device UDID 00008020-000121343A83002E blocked for session 6eaf142e-f7b1-4a67-aa60-d5b5506c36cd
[6eaf142e][device-farm-main] Updating allocated device: "{"userBlocked":true,"offline":false,"wdaLocalPort":57025,"mjpegServerPort":57024,"udid":"00008020-000121343A83002E","sdk":"14.7.1","name":"iPhone XS","busy":false,"realDevice":true,"deviceType":"real","platform":"ios","host":"http://192.168.1.2:4723","wdaBundleId":"","productModel":"iPhone11,2","totalUtilizationTimeMilliSec":460146,"sessionStartTime":0,"width":"375","height":"812","tags":[],"webDriverAgentHost":"http://192.168.1.2","webDriverAgentUrl":"http://192.168.1.2:56988","nodeId":"c50ea5e6-208f-4d2b-87f4-7e0bfaac04b2","meta":{"revision":3,"created":1733418019330,"version":0,"updated":1733418028612},"$loki":1}"
[6eaf142e][device-farm-main] Updated allocated device: "[{"userBlocked":true,"offline":false,"wdaLocalPort":56988,"mjpegServerPort":56989,"udid":"00008020-000121343A83002E","sdk":"14.7.1","name":"iPhone XS","busy":true,"realDevice":true,"deviceType":"real","platform":"ios","host":"http://192.168.1.2:4723","wdaBundleId":"","productModel":"iPhone11,2","totalUtilizationTimeMilliSec":460146,"sessionStartTime":1733418039113,"width":"375","height":"812","tags":[],"webDriverAgentHost":"http://192.168.1.2","webDriverAgentUrl":"http://192.168.1.2:56988","nodeId":"c50ea5e6-208f-4d2b-87f4-7e0bfaac04b2","meta":{"revision":6,"created":1733418019330,"version":0,"updated":1733418039113},"$loki":1,"newCommandTimeout":120,"session_id":"6eaf142e-f7b1-4a67-aa60-d5b5506c36cd","lastCmdExecutedAt":1733418039113}]"
[6eaf142e][device-farm-main] Skipping dashboard report
[6eaf142e][device-farm-main] a23fb13f-06ad-46e1-9ea5-5d0e47625879 📱 Updating Device 00008020-000121343A83002E with session ID 6eaf142e-f7b1-4a67-aa60-d5b5506c36cd
[6eaf142e][device-farm-main] Updating allocated device: "{"userBlocked":true,"offline":false,"wdaLocalPort":57025,"mjpegServerPort":57024,"udid":"00008020-000121343A83002E","sdk":"14.7.1","name":"iPhone XS","busy":false,"realDevice":true,"deviceType":"real","platform":"ios","host":"http://192.168.1.2:4723","wdaBundleId":"","productModel":"iPhone11,2","totalUtilizationTimeMilliSec":460146,"sessionStartTime":0,"width":"375","height":"812","tags":[],"webDriverAgentHost":"http://192.168.1.2","webDriverAgentUrl":"http://192.168.1.2:56988","nodeId":"c50ea5e6-208f-4d2b-87f4-7e0bfaac04b2","meta":{"revision":3,"created":1733418019330,"version":0,"updated":1733418028612},"$loki":1}"
[6eaf142e][device-farm-main] Updated allocated device: "[{"userBlocked":true,"offline":false,"wdaLocalPort":56988,"mjpegServerPort":56989,"udid":"00008020-000121343A83002E","sdk":"14.7.1","name":"iPhone XS","busy":true,"realDevice":true,"deviceType":"real","platform":"ios","host":"http://192.168.1.2:4723","wdaBundleId":"","productModel":"iPhone11,2","totalUtilizationTimeMilliSec":460146,"sessionStartTime":1733418039113,"width":"375","height":"812","tags":[],"webDriverAgentHost":"http://192.168.1.2","webDriverAgentUrl":"http://192.168.1.2:56988","nodeId":"c50ea5e6-208f-4d2b-87f4-7e0bfaac04b2","meta":{"revision":7,"created":1733418019330,"version":0,"updated":1733418039113},"$loki":1,"newCommandTimeout":120,"session_id":"6eaf142e-f7b1-4a67-aa60-d5b5506c36cd","lastCmdExecutedAt":1733418039113,"proxyUrl":"http://127.0.0.1:57025","proxySessionId":"15935D12-1195-4CD1-9BAC-BF61111D5343"}]"
[6eaf142e][AppiumDriver@b031] Promoting 1 sessionless plugins to be attached to session ID 6eaf142e-f7b1-4a67-aa60-d5b5506c36cd
[6eaf142e][XCUITestDriver@771d] Cached the protocol value 'W3C' for the new session 6eaf142e-f7b1-4a67-aa60-d5b5506c36cd
[6eaf142e][XCUITestDriver@771d] Responding to client with driver.createSession() result: {"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"iOS","df:skipReport":true,"automationName":"XCUITest","newCommandTimeout":120,"waitForQuiescence":false,"wdaEventloopIdleDelay":0,"eventLoopIdleDelaySec":0,"waitForIdleTimeout":0,"udid":"00008020-000121343A83002E","deviceName":"iPhone XS","platformVersion":"14.7","mjpegServerPort":57024,"wdaLocalPort":57025,"usePreinstalledWDA":true,"updatedWDABundleId":"com.mrleex.WebDriverAgentRunner.xctrunner","updatedWDABundleIdSuffix":""}}
[6eaf142e][HTTP] <-- POST /wd/hub/session 200 9709 ms - 721
[device-farm-main] Response from browser create session {"value":{"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"iOS","df:skipReport":true,"automationName":"XCUITest","newCommandTimeout":120,"waitForQuiescence":false,"wdaEventloopIdleDelay":0,"eventLoopIdleDelaySec":0,"waitForIdleTimeout":0,"udid":"00008020-000121343A83002E","deviceName":"iPhone XS","platformVersion":"14.7","mjpegServerPort":57024,"wdaLocalPort":57025,"usePreinstalledWDA":true,"updatedWDABundleId":"com.mrleex.WebDriverAgentRunner.xctrunner","updatedWDABundleIdSuffix":""},"sessionId":"6eaf142e-f7b1-4a67-aa60-d5b5506c36cd"}}
[device-farm-main] Updated devices with filter: {"udid":{"$in":["00008020-000121343A83002E"]}}
[HTTP] <-- POST /device-farm/api/dashboard/appiumSession 200 9714 ms - 911
[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 200 1 ms - 838
[HTTP] --> GET /device-farm/api/dashboard/mjpeg-stream/56989 {}
[device-farm-main] Received non-webdriver request with url /device-farm/api/dashboard/mjpeg-stream/56989. So, not proxying it to downstream.
[device-farm-main] New streaming request recieved with url: /ios-stream/00008020-000121343A83002E
[device-farm-main] Device id 00008020-000121343A83002E matched for streaming url : /ios-stream/00008020-000121343A83002E
[device-farm-main] Updated devices with filter: {"udid":{"$in":["00008020-000121343A83002E"]}}
problem with request: Error: connect ECONNREFUSED 127.0.0.1:56989
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1615:16)
at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17) {
errno: -61,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 56989
}
[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 0 ms - -
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[HTTP] --> GET /device-farm/ui-assets/device-loading-BbhTw1Mo.gif {}
[device-farm-main] Received non-webdriver request with url /device-farm/ui-assets/device-loading-BbhTw1Mo.gif. So, not proxying it to downstream.
[HTTP] <-- GET /device-farm/ui-assets/device-loading-BbhTw1Mo.gif 304 1 ms - -
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[6eaf142e][XCUITestDriver@771d] Shutting down because we waited 120 seconds for a command
[6eaf142e][AppiumDriver@b031] Ending session, cause was 'New Command Timeout of 120 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[6eaf142e][AppiumDriver@b031] Plugin device-farm defines an unexpected shutdown handler; calling it now
[6eaf142e][AppiumDriver@b031] Removing session '6eaf142e-f7b1-4a67-aa60-d5b5506c36cd' from our master session list
[6eaf142e][XCUITestDriver@771d] Stopping the XCTest session
[6eaf142e][ios-device] Xctest for com.mrleex.WebDriverAgentRunner.xctrunner on device 00008020-000121343A83002E has stopped!
[6eaf142e][DevCon Factory] Releasing connections for 00008020-000121343A83002E device on any port number
[6eaf142e][DevCon Factory] Found cached connections to release: ["00008020-000121343A83002E:57025"]
[6eaf142e][DevCon Factory] Releasing the listener for '00008020-000121343A83002E:57025'
[6eaf142e][iProxy@00008020:57025] Closing the connection
[6eaf142e][DevCon Factory] Cached connections count: 0
[6eaf142e][iProxy@00008020:57025] The connection has been closed
[6eaf142e][device-farm-main] Unblocking device mapped with filter {"session_id":"6eaf142e-f7b1-4a67-aa60-d5b5506c36cd","udid":"00008020-000121343A83002E"} onUnexpectedShutdown from server
Waiting for iOS websocket handlers to be removed..
Waiting for iOS websocket handlers to be removed..
Waiting for iOS websocket handlers to be removed..
Waiting for iOS websocket handlers to be removed..
Waiting for iOS websocket handlers to be removed..
Waiting for iOS websocket handlers to be removed..
Waiting for iOS websocket handlers to be removed..
Waiting for iOS websocket handlers to be removed..
Waiting for iOS websocket handlers to be removed..
Waiting for iOS websocket handlers to be removed..
Waiting for iOS websocket handlers to be removed..
[6eaf142e][device-farm-main] Socket server not removed within 5000ms. So not registering again
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[HTTP] <-- GET /ios-stream/00008020-000121343A83002E - - 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 200 0 ms - 718
[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 0 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 0 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 0 ms - -
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[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 0 ms - -
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[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 0 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 0 ms - -
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[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 0 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 0 ms - -
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[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 0 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 0 ms - -
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[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 0 ms - -
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[HTTP] <-- GET /device-farm/api/dashboard/mjpeg-stream/56989 - - ms - -
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
{ DeviceID: 21, MessageType: 'Detached' }
[device-farm-main] iOS device with udid 00008020-000121343A83002E unplugged! updating device list...
[device-farm-main] Removing device 00008020-000121343A83002E from host 192.168.1.2 from device list.
[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 200 1 ms - 2
[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 - -
{
DeviceID: 22,
MessageType: 'Attached',
Properties: {
ConnectionSpeed: 480000000,
ConnectionType: 'USB',
DeviceID: 22,
LocationID: 336592896,
ProductID: 4776,
SerialNumber: '00008020-000121343A83002E',
UDID: '00008020-000121343A83002E',
USBSerialNumber: '00008020000121343A83002E'
}
}
[device-farm-main] iOS device with udid 00008020-000121343A83002E plugged! updating device list...
[device-farm-main] Added 1 new devices to local database
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[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 200 0 ms - 626
[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 0 ms - -
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
{ DeviceID: 22, MessageType: 'Detached' }
[device-farm-main] iOS device with udid 00008020-000121343A83002E unplugged! updating device list...
[device-farm-main] Removing device 00008020-000121343A83002E from host 192.168.1.2 from device list.
{
DeviceID: 23,
MessageType: 'Attached',
Properties: {
ConnectionSpeed: 480000000,
ConnectionType: 'USB',
DeviceID: 23,
LocationID: 336592896,
ProductID: 4776,
SerialNumber: '00008020-000121343A83002E',
UDID: '00008020-000121343A83002E',
USBSerialNumber: '00008020000121343A83002E'
}
}
[device-farm-main] iOS device with udid 00008020-000121343A83002E plugged! updating device list...
[device-farm-main] Added 1 new devices to local database
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
{ DeviceID: 23, MessageType: 'Detached' }
[device-farm-main] iOS device with udid 00008020-000121343A83002E unplugged! updating device list...
[device-farm-main] Removing device 00008020-000121343A83002E from host 192.168.1.2 from device list.
[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 200 1 ms - 2
[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 0 ms - -
{
DeviceID: 24,
MessageType: 'Attached',
Properties: {
ConnectionSpeed: 480000000,
ConnectionType: 'USB',
DeviceID: 24,
LocationID: 336592896,
ProductID: 4776,
SerialNumber: '00008020-000121343A83002E',
UDID: '00008020-000121343A83002E',
USBSerialNumber: '00008020000121343A83002E'
}
}
[device-farm-main] iOS device with udid 00008020-000121343A83002E plugged! updating device list...
[device-farm-main] Added 1 new devices to local database
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
{ DeviceID: 24, MessageType: 'Detached' }
[device-farm-main] iOS device with udid 00008020-000121343A83002E unplugged! updating device list...
[device-farm-main] Removing device 00008020-000121343A83002E from host 192.168.1.2 from device list.
[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 0 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 0 ms - -
{
DeviceID: 25,
MessageType: 'Attached',
Properties: {
ConnectionSpeed: 480000000,
ConnectionType: 'USB',
DeviceID: 25,
LocationID: 336592896,
ProductID: 4776,
SerialNumber: '00008020-000121343A83002E',
UDID: '00008020-000121343A83002E',
USBSerialNumber: '00008020000121343A83002E'
}
}
[device-farm-main] iOS device with udid 00008020-000121343A83002E plugged! updating device list...
[device-farm-main] Added 1 new devices to local database
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
{ DeviceID: 25, MessageType: 'Detached' }
[device-farm-main] iOS device with udid 00008020-000121343A83002E unplugged! updating device list...
[device-farm-main] Removing device 00008020-000121343A83002E from host 192.168.1.2 from device list.
[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 - -
{
DeviceID: 26,
MessageType: 'Attached',
Properties: {
ConnectionSpeed: 480000000,
ConnectionType: 'USB',
DeviceID: 26,
LocationID: 336592896,
ProductID: 4776,
SerialNumber: '00008020-000121343A83002E',
UDID: '00008020-000121343A83002E',
USBSerialNumber: '00008020000121343A83002E'
}
}
[device-farm-main] iOS device with udid 00008020-000121343A83002E plugged! updating device list...
[device-farm-main] Added 1 new devices to local database
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
{ DeviceID: 26, MessageType: 'Detached' }
[device-farm-main] iOS device with udid 00008020-000121343A83002E unplugged! updating device list...
[device-farm-main] Removing device 00008020-000121343A83002E from host 192.168.1.2 from device list.
[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 - -
{
DeviceID: 27,
MessageType: 'Attached',
Properties: {
ConnectionSpeed: 480000000,
ConnectionType: 'USB',
DeviceID: 27,
LocationID: 336592896,
ProductID: 4776,
SerialNumber: '00008020-000121343A83002E',
UDID: '00008020-000121343A83002E',
USBSerialNumber: '00008020000121343A83002E'
}
}
[device-farm-main] iOS device with udid 00008020-000121343A83002E plugged! updating device list...
[device-farm-main] Added 1 new devices to local database
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
{ DeviceID: 27, MessageType: 'Detached' }
[device-farm-main] iOS device with udid 00008020-000121343A83002E unplugged! updating device list...
[device-farm-main] Removing device 00008020-000121343A83002E from host 192.168.1.2 from device list.
[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 - -
{
DeviceID: 28,
MessageType: 'Attached',
Properties: {
ConnectionSpeed: 480000000,
ConnectionType: 'USB',
DeviceID: 28,
LocationID: 336592896,
ProductID: 4776,
SerialNumber: '00008020-000121343A83002E',
UDID: '00008020-000121343A83002E',
USBSerialNumber: '00008020000121343A83002E'
}
}
[device-farm-main] iOS device with udid 00008020-000121343A83002E plugged! updating device list...
[device-farm-main] Added 1 new devices to local database
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
[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 200 1 ms - 626
[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 0 ms - -
[device-farm-main] Found 0 device candidates to be released
[device-farm-main] Cleaning pending sessions...
[device-farm-main] No pending sessions to clean
^C[Appium] Received SIGINT - shutting down
[AppiumDriver@b031] There are no active sessions for cleanup
[HTTP] Closing Appium HTTP server
[HTTP] Appium HTTP server has been succesfully closed after 0ms

@bossleem
Copy link
Author

bossleem commented Dec 6, 2024

I can pay to buy a license included :

  • src/modules/

  • dashboard-frontend

with annual costs. Please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants