Skip to content

Instantly share code, notes, and snippets.

@kapoorlakshya
Last active February 4, 2020 00:19
Show Gist options
  • Save kapoorlakshya/a3ced4d98f2d03300e3b230a1211b852 to your computer and use it in GitHub Desktop.
Save kapoorlakshya/a3ced4d98f2d03300e3b230a1211b852 to your computer and use it in GitHub Desktop.
webdriverio-aws-device-farm-debug-log
Execution of 1 spec files started at 2020-02-04T00:03:44.867Z
2020-02-04T00:03:44.868Z INFO @wdio/cli:launcher: Run onPrepare hook
2020-02-04T00:03:44.871Z INFO @wdio/local-runner: Start worker 0-0 with arg: webdriver:aws
[0-0] 2020-02-04T00:03:45.147Z INFO @wdio/local-runner: Run worker command: run
[0-0] RUNNING in chrome - /specs/login/home-page.js
[0-0] 2020-02-04T00:03:45.230Z DEBUG @wdio/local-runner:utils: init remote session
[0-0] 2020-02-04T00:03:45.231Z INFO webdriverio: Initiate new session using the webdriver protocol
[0-0] 2020-02-04T00:03:45.233Z INFO webdriver: [POST] https://testgrid-devicefarm.us-west-2.amazonaws.com/:443AQICAHiRxhO-<redacted-long-string>_s1KzZx_a4zfHB
2YtrdnY=/wd/hub/session
[0-0] 2020-02-04T00:03:45.233Z INFO webdriver: DATA {
capabilities: {
alwaysMatch: {
browserName: 'chrome',
browserVersion: 'latest',
platform: 'windows'
},
firstMatch: [ {} ]
},
desiredCapabilities: {
browserName: 'chrome',
browserVersion: 'latest',
platform: 'windows'
}
}
[0-0] 2020-02-04T00:03:45.497Z DEBUG webdriver: request failed due to response error: AccessDeniedException
[0-0] 2020-02-04T00:03:45.497Z WARN webdriver: Request failed due to Invalid pre-signed URL
[0-0] 2020-02-04T00:03:45.498Z INFO webdriver: Retrying 1/1
2020-02-04T00:03:45.498Z INFO webdriver: [POST] https://testgrid-devicefarm.us-west-2.amazonaws.com/:443AQICAHiRxhO-<redacted-long-string>_s1KzZx_a4zfHB
2YtrdnY=/wd/hub/session
[0-0] 2020-02-04T00:03:45.498Z INFO webdriver: DATA {
capabilities: {
alwaysMatch: {
browserName: 'chrome',
browserVersion: 'latest',
platform: 'windows'
},
firstMatch: [ {} ]
},
desiredCapabilities: {
browserName: 'chrome',
browserVersion: 'latest',
platform: 'windows'
}
}
[0-0] 2020-02-04T00:03:45.543Z DEBUG webdriver: request failed due to response error: AccessDeniedException
[0-0] 2020-02-04T00:03:45.543Z ERROR webdriver: Request failed due to AccessDeniedException: Invalid pre-signed URL
at getErrorFromResponseBody (/Users/lakshya-kapoor/git_local/ui-tests/node_modules/webdriver/build/utils.js:124:10)
at Request._callback (/Users/lakshya-kapoor/git_local/ui-tests/node_modules/webdriver/build/request.js:111:64)
at Request.self.callback (/Users/lakshya-kapoor/git_local/ui-tests/node_modules/request/request.js:185:22)
at Request.emit (events.js:219:5)
at Request.EventEmitter.emit (domain.js:482:12)
at Request.<anonymous> (/Users/lakshya-kapoor/git_local/ui-tests/node_modules/request/request.js:1161:10)
at Request.emit (events.js:219:5)
at Request.EventEmitter.emit (domain.js:482:12)
at IncomingMessage.<anonymous> (/Users/lakshya-kapoor/git_local/ui-tests/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:308:28)
[0-0] 2020-02-04T00:03:45.544Z ERROR webdriver: AccessDeniedException: Invalid pre-signed URL
at getErrorFromResponseBody (/Users/lakshya-kapoor/git_local/ui-tests/node_modules/webdriver/build/utils.js:124:10)
at Request._callback (/Users/lakshya-kapoor/git_local/ui-tests/node_modules/webdriver/build/request.js:111:64)
at Request.self.callback (/Users/lakshya-kapoor/git_local/ui-tests/node_modules/request/request.js:185:22)
at Request.emit (events.js:219:5)
at Request.EventEmitter.emit (domain.js:482:12)
at Request.<anonymous> (/Users/lakshya-kapoor/git_local/ui-tests/node_modules/request/request.js:1161:10)
at Request.emit (events.js:219:5)
at Request.EventEmitter.emit (domain.js:482:12)
at IncomingMessage.<anonymous> (/Users/lakshya-kapoor/git_local/ui-tests/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:308:28)
[0-0] 2020-02-04T00:03:45.545Z ERROR @wdio/runner: Error: Failed to create session.
Invalid pre-signed URL
at startWebDriverSession (/Users/lakshya-kapoor/git_local/ui-tests/node_modules/webdriver/build/utils.js:45:11)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
[0-0] Error: Failed to create session.
Invalid pre-signed URL
2020-02-04T00:03:45.657Z DEBUG @wdio/local-runner: Runner 0-0 finished with exit code 1
[0-0] FAILED in chrome - /specs/login/home-page.js
2020-02-04T00:03:45.657Z INFO @wdio/cli:launcher: Run onComplete hook
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:00
2020-02-04T00:03:45.658Z INFO @wdio/local-runner: Shutting down spawned worker
2020-02-04T00:03:45.914Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully
2020-02-04T00:03:45.914Z INFO @wdio/local-runner: shutting down
Warning: Task "webdriver:aws" failed. Use --force to continue.
Aborted due to warnings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment