Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

webdriver: Request failed due to Error forwarding the new session Error forwarding the request null #1

Open
@dmitry-lomakin

Description

@dmitry-lomakin

Running tests doesn't seem to work at my machine:

dmitry.lomakin@dlomakin-mb sample-test-function % npm run test> example@1.0.0 test /Users/dmitry.lomakin/Sources/scaling-test-execution/run-selenium-tests-at-scale-using-ecs-fargate/sample-test-function> wdioExecution of 1 spec files started at 2021-06-30T18:30:45.095Z2021-06-30T18:30:45.097Z INFO @wdio/cli:launcher: Run onPrepare hook2021-06-30T18:30:45.099Z INFO @wdio/local-runner: Start worker 0-0 with arg:[0-0] 2021-06-30T18:30:45.369Z INFO @wdio/local-runner: Run worker command: run[0-0] RUNNING in chrome - /src/google.specs.js[0-0] 2021-06-30T18:30:45.579Z INFO webdriverio: Initiate new session using the webdriver protocol[0-0] 2021-06-30T18:30:45.581Z INFO webdriver: [POST] http://testi-selen-*******.eu-central-1.elb.amazonaws.com:4444/wd/hub/session[0-0] 2021-06-30T18:30:45.581Z INFO webdriver: DATA {  capabilities: {    alwaysMatch: {      browserName: 'chrome',      'goog:loggingPrefs': [Object],      'goog:chromeOptions': [Object]    },    firstMatch: [ {} ]  },  desiredCapabilities: {    browserName: 'chrome',    'goog:loggingPrefs': { browser: 'ALL' },    'goog:chromeOptions': { args: [Array] }  }}[0-0] 2021-06-30T18:31:04.160Z WARN webdriver: Request failed due to Error forwarding the new session Error forwarding the request null[0-0] 2021-06-30T18:31:04.160Z INFO webdriver: Retrying 1/32021-06-30T18:31:04.161Z INFO webdriver: [POST] http://testi-selen-*******.eu-central-1.elb.amazonaws.com:4444/wd/hub/session[0-0] 2021-06-30T18:31:04.161Z INFO webdriver: DATA {  capabilities: {    alwaysMatch: {      browserName: 'chrome',      'goog:loggingPrefs': [Object],      'goog:chromeOptions': [Object]    },    firstMatch: [ {} ]  },  desiredCapabilities: {    browserName: 'chrome',    'goog:loggingPrefs': { browser: 'ALL' },    'goog:chromeOptions': { args: [Array] }  }}[0-0] 2021-06-30T18:31:04.223Z WARN webdriver: Request failed due to Error forwarding the new session Error forwarding the request null[0-0] 2021-06-30T18:31:04.223Z INFO webdriver: Retrying 2/32021-06-30T18:31:04.223Z INFO webdriver: [POST] http://testi-selen-*******.eu-central-1.elb.amazonaws.com:4444/wd/hub/session[0-0] 2021-06-30T18:31:04.223Z INFO webdriver: DATA {  capabilities: {    alwaysMatch: {      browserName: 'chrome',      'goog:loggingPrefs': [Object],      'goog:chromeOptions': [Object]    },    firstMatch: [ {} ]  },  desiredCapabilities: {    browserName: 'chrome',    'goog:loggingPrefs': { browser: 'ALL' },    'goog:chromeOptions': { args: [Array] }  }}[0-0] 2021-06-30T18:31:04.285Z WARN webdriver: Request failed due to Error forwarding the new session Error forwarding the request null[0-0] 2021-06-30T18:31:04.286Z INFO webdriver: Retrying 3/32021-06-30T18:31:04.286Z INFO webdriver: [POST] http://testi-selen-*******.eu-central-1.elb.amazonaws.com:4444/wd/hub/session[0-0] 2021-06-30T18:31:04.286Z INFO webdriver: DATA {  capabilities: {    alwaysMatch: {      browserName: 'chrome',      'goog:loggingPrefs': [Object],      'goog:chromeOptions': [Object]    },    firstMatch: [ {} ]  },  desiredCapabilities: {    browserName: 'chrome',    'goog:loggingPrefs': { browser: 'ALL' },    'goog:chromeOptions': { args: [Array] }  }}[0-0] 2021-06-30T18:31:04.349Z ERROR webdriver: Request failed due to unknown error: Error forwarding the new session Error forwarding the request null    at getErrorFromResponseBody (/Users/dmitry.lomakin/Sources/scaling-test-execution/run-selenium-tests-at-scale-using-ecs-fargate/sample-test-function/node_modules/webdriver/build/utils.js:121:10)    at Request._callback (/Users/dmitry.lomakin/Sources/scaling-test-execution/run-selenium-tests-at-scale-using-ecs-fargate/sample-test-function/node_modules/webdriver/build/request.js:121:64)    at Request.self.callback (/Users/dmitry.lomakin/Sources/scaling-test-execution/run-selenium-tests-at-scale-using-ecs-fargate/sample-test-function/node_modules/request/request.js:185:22)    at Request.emit (events.js:314:20)    at Request.EventEmitter.emit (domain.js:483:12)    at Request.<anonymous> (/Users/dmitry.lomakin/Sources/scaling-test-execution/run-selenium-tests-at-scale-using-ecs-fargate/sample-test-function/node_modules/request/request.js:1154:10)    at Request.emit (events.js:314:20)    at Request.EventEmitter.emit (domain.js:483:12)    at IncomingMessage.<anonymous> (/Users/dmitry.lomakin/Sources/scaling-test-execution/run-selenium-tests-at-scale-using-ecs-fargate/sample-test-function/node_modules/request/request.js:1076:12)    at Object.onceWrapper (events.js:420:28)[0-0] 2021-06-30T18:31:04.350Z ERROR webdriver: unknown error: Error forwarding the new session Error forwarding the request null    at getErrorFromResponseBody (/Users/dmitry.lomakin/Sources/scaling-test-execution/run-selenium-tests-at-scale-using-ecs-fargate/sample-test-function/node_modules/webdriver/build/utils.js:121:10)    at Request._callback (/Users/dmitry.lomakin/Sources/scaling-test-execution/run-selenium-tests-at-scale-using-ecs-fargate/sample-test-function/node_modules/webdriver/build/request.js:121:64)    at Request.self.callback (/Users/dmitry.lomakin/Sources/scaling-test-execution/run-selenium-tests-at-scale-using-ecs-fargate/sample-test-function/node_modules/request/request.js:185:22)    at Request.emit (events.js:314:20)    at Request.EventEmitter.emit (domain.js:483:12)    at Request.<anonymous> (/Users/dmitry.lomakin/Sources/scaling-test-execution/run-selenium-tests-at-scale-using-ecs-fargate/sample-test-function/node_modules/request/request.js:1154:10)    at Request.emit (events.js:314:20)    at Request.EventEmitter.emit (domain.js:483:12)    at IncomingMessage.<anonymous> (/Users/dmitry.lomakin/Sources/scaling-test-execution/run-selenium-tests-at-scale-using-ecs-fargate/sample-test-function/node_modules/request/request.js:1076:12)    at Object.onceWrapper (events.js:420:28)[0-0] 2021-06-30T18:31:04.351Z ERROR @wdio/runner: Error: Failed to create session.Error forwarding the new session Error forwarding the request null    at startWebDriverSession (/Users/dmitry.lomakin/Sources/scaling-test-execution/run-selenium-tests-at-scale-using-ecs-fargate/sample-test-function/node_modules/webdriver/build/utils.js:45:11)    at processTicksAndRejections (internal/process/task_queues.js:97:5)[0-0] Error: Failed to create session.Error forwarding the new session Error forwarding the request null[0-0] FAILED in chrome - /src/google.specs.js2021-06-30T18:31:04.469Z INFO @wdio/cli:launcher: Run onComplete hookSpec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:192021-06-30T18:31:04.469Z INFO @wdio/local-runner: Shutting down spawned worker2021-06-30T18:31:04.722Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully2021-06-30T18:31:04.723Z INFO @wdio/local-runner: shutting downnpm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! example@1.0.0 test: `wdio`npm ERR! Exit status 1npm ERR!npm ERR! Failed at the example@1.0.0 test script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:npm ERR!     /Users/dmitry.lomakin/Sources/scaling-test-execution/run-selenium-tests-at-scale-using-ecs-fargate/sample-test-function/.npm/_logs/2021-06-30T18_31_04_738Z-debug.logdmitry.lomakin@dlomakin-mb sample-test-function %

Any clue on what could break?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp