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

can't work with selenium grid #623

Open
Doaa-Ismael opened this issue May 5, 2020 · 0 comments
Open

can't work with selenium grid #623

Doaa-Ismael opened this issue May 5, 2020 · 0 comments

Comments

@Doaa-Ismael
Copy link

I ran hub and node like this
java -jar selenium-server-standalone-3.141.59.jar -role hub -debug
java -jar selenium-server-standalone-3.141.59.jar -role node -nodeConfig nodeConfig1.json -hub http://localhost:4444/grid/register

nodeConfig1.json

{
  "capabilities": [
    {
      "browserName": "android",
      "maxInstances": 1,
      "deviceName": "Pixel2",
      "version": "9.0",
      "udid": "emulator-5554",
      "platform": "MAC"
    }
  ],
  "cleanUpCycle": 2000,
  "timeout": 30000,
  "port": 24487,
  "host": "192.168.1.9",
  "register": true,
  "hubPort": 4444,
  "maxSession": 5
}

and here is setup.js

/* eslint-disable */
require("colors");
const webDriver = require("wd");
const expect = require("chai").expect;
const chai = require('chai');
const {assert} = chai;
const asserts = webDriver.asserters;
const emulatorDriver = webDriver.remote('http://localhost:4444/wd/hub', 'promiseChainRemote');

const DEFAULT_WAIT_TIME = 20000;
const SHORT_TIME = 1000;
require("./logging").configure(emulatorDriver);
const emulatorConfiguration = {
    "platformName": "Android",
     "browserName": "android",
      "maxInstances": 1,
      "deviceName": "Pixel2",
      "udid": "emulator-5554",
      "platform": "MAC",
      "app": "test-app.apk"
};

module.exports = { emulatorConfiguration }

and emulatorConfiguration used like this

await emulatorDriver.init(emulatorConfiguration);

I got this error

Cannot extract a capabilities from the request: 

and here is the complete log

17:39:33.499 DEBUG [ActiveTestSessions.getExistingSession] - Session [timeouts] not available and is not among the last 1000 terminated sessions.
Active sessions are[]
17:39:33.499 DEBUG [ActiveTestSessions.getExistingSession] - Session [orientation] not available and is not among the last 1000 terminated sessions.
Active sessions are[]
17:39:33.506 INFO [RequestHandler.process] - Got a request to create a new session: Capabilities {app: /Users/doaa/projects/NIS-e2..., browserName: android, deviceName: Pixel_ASHTAR_HPEmulator, maxInstances: 1, platform: MAC, platformName: android, udid: emulator-5554}
17:39:33.506 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.506 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.507 INFO [TestSlot.getNewSession] - Trying to create a new session on test slot {server:CONFIG_UUID=7898bc45-ba44-4ce9-ac12-b3b3ed44e103, seleniumProtocol=WebDriver, browserName=android, maxInstances=1, platformName=MAC, udid=emulator-5554, deviceName=Pixel_ASHTAR_HPEmulator, version=9.0, platform=MAC}
17:39:33.517 DEBUG [ActiveTestSessions.getExistingSession] - Session [element] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.517 DEBUG [ActiveTestSessions.getExistingSession] - Session [element] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.535 DEBUG [ActiveTestSessions.getExistingSession] - Session [orientation] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.535 DEBUG [ActiveTestSessions.getExistingSession] - Session [timeouts] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.539 DEBUG [ActiveTestSessions.getExistingSession] - Session [element] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.544 INFO [RequestHandler.process] - Got a request to create a new session: Capabilities {app: /Users/doaa/projects/NIS-e2..., browserName: android, deviceName: Pixel_ASHTAR_HPEmulator, maxInstances: 1, platform: MAC, platformName: android, udid: emulator-5554}
17:39:33.545 DEBUG [ActiveTestSessions.getExistingSession] - Session [appium] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
2020-05-05 17:39:33.545:WARN:osjs.HttpChannel:qtp473581465-46: /wd/hub/session java.io.IOException: org.openqa.grid.common.exception.GridException: Cannot extract a capabilities from the request: 
17:39:33.545 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.545 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.560 DEBUG [ActiveTestSessions.getExistingSession] - Session [timeouts] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.560 DEBUG [ActiveTestSessions.getExistingSession] - Session [orientation] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.562 INFO [RequestHandler.process] - Got a request to create a new session: Capabilities {app: /Users/doaa/projects/NIS-e2..., browserName: android, deviceName: Pixel_ASHTAR_HPEmulator, maxInstances: 1, platform: MAC, platformName: android, udid: emulator-5554}
17:39:33.562 DEBUG [ActiveTestSessions.getExistingSession] - Session [appium] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.563 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.564 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.564 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.564 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.566 DEBUG [ActiveTestSessions.getExistingSession] - Session [element] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.573 DEBUG [ActiveTestSessions.getExistingSession] - Session [appium] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
2020-05-05 17:39:33.573:WARN:osjs.HttpChannel:qtp473581465-227: /wd/hub/session java.io.IOException: org.openqa.grid.common.exception.GridException: Cannot extract a capabilities from the request: 
17:39:33.573 DEBUG [ActiveTestSessions.getExistingSession] - Session [timeouts] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.573 DEBUG [ActiveTestSessions.getExistingSession] - Session [element] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.574 DEBUG [ActiveTestSessions.getExistingSession] - Session [orientation] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.574 INFO [RequestHandler.process] - Got a request to create a new session: Capabilities {app: /Users/doaa/projects/NIS-e2..., browserName: android, deviceName: Pixel_ASHTAR_HPEmulator, maxInstances: 1, platform: MAC, platformName: android, udid: emulator-5554}
17:39:33.575 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.575 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.575 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.575 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.575 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.575 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.606 DEBUG [ActiveTestSessions.getExistingSession] - Session [appium] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.606 DEBUG [ActiveTestSessions.getExistingSession] - Session [appium] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
2020-05-05 17:39:33.606:WARN:osjs.HttpChannel:qtp473581465-227: /wd/hub/session java.io.IOException: org.openqa.grid.common.exception.GridException: Cannot extract a capabilities from the request: 
17:39:33.622 DEBUG [ActiveTestSessions.getExistingSession] - Session [timeouts] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.622 DEBUG [ActiveTestSessions.getExistingSession] - Session [orientation] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.622 DEBUG [ActiveTestSessions.getExistingSession] - Session [element] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.623 INFO [RequestHandler.process] - Got a request to create a new session: Capabilities {app: /Users/doaa/projects/NIS-e2..., browserName: android, deviceName: Pixel_ASHTAR_HPEmulator, maxInstances: 1, platform: MAC, platformName: android, udid: emulator-5554}
17:39:33.623 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.623 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.623 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.623 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.623 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.623 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.624 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.624 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
2020-05-05 17:39:33.632:WARN:osjs.HttpChannel:qtp473581465-200: /wd/hub/session java.io.IOException: org.openqa.grid.common.exception.GridException: Cannot extract a capabilities from the request: 
17:39:33.631 DEBUG [ActiveTestSessions.getExistingSession] - Session [appium] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.632 DEBUG [ActiveTestSessions.getExistingSession] - Session [appium] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.645 DEBUG [ActiveTestSessions.getExistingSession] - Session [timeouts] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.645 DEBUG [ActiveTestSessions.getExistingSession] - Session [orientation] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.645 DEBUG [ActiveTestSessions.getExistingSession] - Session [element] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.646 INFO [RequestHandler.process] - Got a request to create a new session: Capabilities {app: /Users/doaa/projects/NIS-e2..., browserName: android, deviceName: Pixel_ASHTAR_HPEmulator, maxInstances: 1, platform: MAC, platformName: android, udid: emulator-5554}
17:39:33.646 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.646 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.646 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.646 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.646 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.646 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.646 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.647 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.647 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.647 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.659 DEBUG [ActiveTestSessions.getExistingSession] - Session [appium] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
17:39:33.659 DEBUG [ActiveTestSessions.getExistingSession] - Session [appium] not available and is not among the last 1000 terminated sessions.
Active sessions are[a7fc0958-31ab-4261-9536-efe9d36a0072 (int. key, remote not contacted yet.)]
2020-05-05 17:39:33.661:WARN:osjs.HttpChannel:qtp473581465-246: /wd/hub/session java.io.IOException: org.openqa.grid.common.exception.GridException: Cannot extract a capabilities from the request: 
17:39:33.671 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.672 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.672 INFO [TestSlot.getNewSession] - Trying to create a new session on test slot {server:CONFIG_UUID=7898bc45-ba44-4ce9-ac12-b3b3ed44e103, seleniumProtocol=WebDriver, browserName=android, maxInstances=1, platformName=MAC, udid=emulator-5554, deviceName=Pixel_ASHTAR_HPEmulator, version=9.0, platform=MAC}
17:39:33.672 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.673 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.673 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.673 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.673 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.673 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.673 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.673 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.707 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.708 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.708 INFO [TestSlot.getNewSession] - Trying to create a new session on test slot {server:CONFIG_UUID=7898bc45-ba44-4ce9-ac12-b3b3ed44e103, seleniumProtocol=WebDriver, browserName=android, maxInstances=1, platformName=MAC, udid=emulator-5554, deviceName=Pixel_ASHTAR_HPEmulator, version=9.0, platform=MAC}
17:39:33.708 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.708 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.709 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.709 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.709 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.709 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.710 INFO [RequestHandler.process] - Got a request to create a new session: Capabilities {app: /Users/doaa/projects/NIS-e2..., browserName: android, deviceName: Pixel_ASHTAR_HPEmulator, maxInstances: 1, platform: MAC, platformName: android, udid: emulator-5554}
17:39:33.710 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.710 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.710 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.710 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.711 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.711 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.711 DEBUG [ActiveTestSessions.getExistingSession] - Session [timeouts] not available and is not among the last 1000 terminated sessions.
Active sessions are[ca601718-6002-48cb-b5b7-7e246b0925f0 (int. key, remote not contacted yet.)]
17:39:33.711 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.711 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.712 DEBUG [ActiveTestSessions.getExistingSession] - Session [element] not available and is not among the last 1000 terminated sessions.
Active sessions are[ca601718-6002-48cb-b5b7-7e246b0925f0 (int. key, remote not contacted yet.)]
17:39:33.712 DEBUG [ActiveTestSessions.getExistingSession] - Session [orientation] not available and is not among the last 1000 terminated sessions.
Active sessions are[ca601718-6002-48cb-b5b7-7e246b0925f0 (int. key, remote not contacted yet.)]
17:39:33.731 DEBUG [ActiveTestSessions.getExistingSession] - Session [appium] not available and is not among the last 1000 terminated sessions.
Active sessions are[ca601718-6002-48cb-b5b7-7e246b0925f0 (int. key, remote not contacted yet.)]
17:39:33.731 DEBUG [ActiveTestSessions.getExistingSession] - Session [appium] not available and is not among the last 1000 terminated sessions.
Active sessions are[ca601718-6002-48cb-b5b7-7e246b0925f0 (int. key, remote not contacted yet.)]
2020-05-05 17:39:33.731:WARN:osjs.HttpChannel:qtp473581465-200: /wd/hub/session java.io.IOException: org.openqa.grid.common.exception.GridException: Cannot extract a capabilities from the request: 
17:39:33.733 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.733 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.733 INFO [TestSlot.getNewSession] - Trying to create a new session on test slot {server:CONFIG_UUID=7898bc45-ba44-4ce9-ac12-b3b3ed44e103, seleniumProtocol=WebDriver, browserName=android, maxInstances=1, platformName=MAC, udid=emulator-5554, deviceName=Pixel_ASHTAR_HPEmulator, version=9.0, platform=MAC}
17:39:33.734 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.734 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.734 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.734 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.734 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.734 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.745 DEBUG [ActiveTestSessions.getExistingSession] - Session [timeouts] not available and is not among the last 1000 terminated sessions.
Active sessions are[d235f5c1-b9ff-4a18-9798-ebd2c42b5874 (int. key, remote not contacted yet.)]
17:39:33.745 DEBUG [ActiveTestSessions.getExistingSession] - Session [element] not available and is not among the last 1000 terminated sessions.
Active sessions are[d235f5c1-b9ff-4a18-9798-ebd2c42b5874 (int. key, remote not contacted yet.)]
17:39:33.745 DEBUG [ActiveTestSessions.getExistingSession] - Session [orientation] not available and is not among the last 1000 terminated sessions.
Active sessions are[d235f5c1-b9ff-4a18-9798-ebd2c42b5874 (int. key, remote not contacted yet.)]
17:39:33.746 INFO [RequestHandler.process] - Got a request to create a new session: Capabilities {app: /Users/doaa/projects/NIS-e2..., browserName: android, deviceName: Pixel_ASHTAR_HPEmulator, maxInstances: 1, platform: MAC, platformName: android, udid: emulator-5554}
17:39:33.746 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.747 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.747 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.747 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.747 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.747 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.747 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.747 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.755 DEBUG [ActiveTestSessions.getExistingSession] - Session [element] not available and is not among the last 1000 terminated sessions.
Active sessions are[d235f5c1-b9ff-4a18-9798-ebd2c42b5874 (int. key, remote not contacted yet.)]
17:39:33.756 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.756 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.756 INFO [TestSlot.getNewSession] - Trying to create a new session on test slot {server:CONFIG_UUID=7898bc45-ba44-4ce9-ac12-b3b3ed44e103, seleniumProtocol=WebDriver, browserName=android, maxInstances=1, platformName=MAC, udid=emulator-5554, deviceName=Pixel_ASHTAR_HPEmulator, version=9.0, platform=MAC}
17:39:33.756 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.756 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.756 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.757 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.757 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.757 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.770 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.770 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.770 INFO [TestSlot.getNewSession] - Trying to create a new session on test slot {server:CONFIG_UUID=7898bc45-ba44-4ce9-ac12-b3b3ed44e103, seleniumProtocol=WebDriver, browserName=android, maxInstances=1, platformName=MAC, udid=emulator-5554, deviceName=Pixel_ASHTAR_HPEmulator, version=9.0, platform=MAC}
17:39:33.771 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.771 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.771 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.771 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.783 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.783 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.783 INFO [TestSlot.getNewSession] - Trying to create a new session on test slot {server:CONFIG_UUID=7898bc45-ba44-4ce9-ac12-b3b3ed44e103, seleniumProtocol=WebDriver, browserName=android, maxInstances=1, platformName=MAC, udid=emulator-5554, deviceName=Pixel_ASHTAR_HPEmulator, version=9.0, platform=MAC}
17:39:33.784 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.784 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.797 DEBUG [ProxySet.getNewSession] - Available nodes: [http://192.168.1.9:24487]
17:39:33.797 DEBUG [BaseRemoteProxy.getNewSession] - Trying to create a new session on node http://192.168.1.9:24487
17:39:33.797 INFO [TestSlot.getNewSession] - Trying to create a new session on test slot {server:CONFIG_UUID=7898bc45-ba44-4ce9-ac12-b3b3ed44e103, seleniumProtocol=WebDriver, browserName=android, maxInstances=1, platformName=MAC, udid=emulator-5554, deviceName=Pixel_ASHTAR_HPEmulator, version=9.0, platform=MAC}
17:55:35.001 DEBUG [RegistrationServlet.process] - getting the following registration request  : 
2020-05-05 17:55:35.001:WARN:osjs.HttpChannel:qtp473581465-61: /grid/register
org.openqa.selenium.json.JsonException: Expected to read a START_MAP but instead have: END. Last 0 characters read: |Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'|System info: host: 'doaa.local', ip: 'fe80:0:0:0:e0:98a0:5a23:4586%en0', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.15.3', java.version: '1.8.0_232'|Driver info: driver.version: unknown
	at org.openqa.selenium.json.JsonInput.expect(JsonInput.java:290)
	at org.openqa.selenium.json.JsonInput.beginObject(JsonInput.java:220)
	at org.openqa.selenium.json.MapCoercer.lambda$apply$1(MapCoercer.java:64)
	at org.openqa.selenium.json.JsonTypeCoercer.lambda$null$6(JsonTypeCoercer.java:145)
	at org.openqa.selenium.json.JsonTypeCoercer.coerce(JsonTypeCoercer.java:126)
	at org.openqa.selenium.json.Json.toType(Json.java:69)
	at org.openqa.selenium.json.Json.toType(Json.java:55)
	at org.openqa.selenium.json.Json.toType(Json.java:50)
	at org.openqa.grid.web.servlet.RegistrationServlet.process(RegistrationServlet.java:83)
	at org.openqa.grid.web.servlet.RegistrationServlet.doGet(RegistrationServlet.java:64)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.seleniumhq.jetty9.servlet.ServletHolder.handle(ServletHolder.java:865)
	at org.seleniumhq.jetty9.servlet.ServletHandler.doHandle(ServletHandler.java:535)
	at org.seleniumhq.jetty9.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
	at org.seleniumhq.jetty9.security.SecurityHandler.handle(SecurityHandler.java:548)
	at org.seleniumhq.jetty9.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
	at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
	at org.seleniumhq.jetty9.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
	at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
	at org.seleniumhq.jetty9.server.handler.ContextHandler.doHandle(ContextHandler.java:1340)
	at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
	at org.seleniumhq.jetty9.servlet.ServletHandler.doScope(ServletHandler.java:473)
	at org.seleniumhq.jetty9.server.session.SessionHandler.doScope(SessionHandler.java:1564)
	at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
	at org.seleniumhq.jetty9.server.handler.ContextHandler.doScope(ContextHandler.java:1242)
	at org.seleniumhq.jetty9.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
	at org.seleniumhq.jetty9.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
	at org.seleniumhq.jetty9.server.Server.handle(Server.java:503)
	at org.seleniumhq.jetty9.server.HttpChannel.handle(HttpChannel.java:364)
	at org.seleniumhq.jetty9.server.HttpConnection.onFillable(HttpConnection.java:260)
	at org.seleniumhq.jetty9.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
	at org.seleniumhq.jetty9.io.FillInterest.fillable(FillInterest.java:103)
	at org.seleniumhq.jetty9.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
	at org.seleniumhq.jetty9.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)
	at org.seleniumhq.jetty9.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)
	at org.seleniumhq.jetty9.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)
	at org.seleniumhq.jetty9.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)
	at org.seleniumhq.jetty9.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)
	at org.seleniumhq.jetty9.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
	at org.seleniumhq.jetty9.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
	at java.lang.Thread.run(Thread.java:748)

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

1 participant