Skip to content

Pro Version: orchestrator/Runner: Hub node architecture is not working as expected in orchestrator/Runner for device farm for manual testing #2046

@vverma202

Description

@vverma202

Issue:
I am doing POC for free version of orchestrator/Runner for device farm for manual

I have setup the hub on Mac machine A(Hub).
On Mac machine B(Node) I have connected the real devices and am using Mac machine B(Node) as my node machine.

When I lunch the hub url from MAC machine C(Client) and use a device, the session for the device open on Mac machine B automatically launching the browser url and can see the ios device running perfectly, not on MAC machine C(Client).

Actual: The device session is opening on Mac machine B (node machine) and working .

Expected: The device UI(live device mirror) should open on MAC machine C(Client), since I am using the Mac machine C(Client) for launching the device from the UI. and the device ui show the device is launching and keep loading forever without any issues.

Image

1 . hubconfig.json

{
"webdriverSessionPath": "/wd/hub",
"storage": {
"type": "local",
"local": {
"basePath": ".cache/device-farm/logs"
}

},
"ssl": {
"enabled": false,
"cert": "./cert.pem",
"key": "./key.pem"
},
"nodeMonitor": {
"checkInterval": 10000,
"timeoutMs": 40000
},
"websocket": {
"heartbeatInterval": 30000,
"nodeAvailabilityCheckTimeout": 60000,
"sessionCreationTimeout": 120000,
"sessionRequestTimeout": 30000,
"nodeCleanupDelaySeconds": 30
},
"webrtc": {
"browserDisconnectTimeout": 30000,
"allowSessionReconnection": true
}
}

Node-config.json

{
"hubUrl": "http://129.521.1.14:3000",
"accessKey": "XXXXXXXXXXX",
"token": "XXXXXXXXXXXXXXXX",
"name": "wchmd07025",
"platform": "ios",
"iosDeviceType": "real",
"maxSessions": 5,
"heartbeatInterval": 10000,

"appiumServer": {
  "enabled": true,
  "serverArgs": {
    "port": 4723,
    "use-drivers": ["xcuitest"],
    "allow-cors": true,
    "relaxed-security": true
  }
},

"deviceReconciliation": {
  "enabled": true,
  "intervalMs": 60000
},
"wdaResignedIpaPath": "/Users/device/Documents/devicelab/signed-wda.ipa"

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions