Last active
April 12, 2022 00:12
-
-
Save JasonSznol/34da273696d1e56c36403485f88db024 to your computer and use it in GitHub Desktop.
Appium Logs Espresso Driver 2.2.1, Node@14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> timehop-mobile-qa@1.1.1 android.app /timehop-mobile-qa | |
> wdio /config/wdio.android.app.conf.js | |
2022-04-12T00:10:01.127Z DEBUG @wdio/config:utils: Couldn't find ts-node package, no TypeScript compiling | |
Execution of 1 spec files started at 2022-04-12T00:10:01.134Z | |
2022-04-12T00:10:01.134Z DEBUG @wdio/utils:initialiseServices: initialise service "appium" as NPM package | |
2022-04-12T00:10:01.139Z INFO @wdio/cli:launcher: Run onPrepare hook | |
2022-04-12T00:10:01.139Z DEBUG @wdio/appium-service: Will spawn Appium process: node /timehop-mobile-qa/node_modules/appium/build/lib/main.js --base-path / | |
2022-04-12T00:10:01.453Z DEBUG @wdio/appium-service: Appium started with ID: 2210 | |
2022-04-12T00:10:01.453Z DEBUG @wdio/cli:utils: Finished to run "onPrepare" hook in 314ms | |
2022-04-12T00:10:01.454Z INFO @wdio/cli:launcher: Run onWorkerStart hook | |
2022-04-12T00:10:01.454Z DEBUG @wdio/cli:utils: Finished to run "onWorkerStart" hook in 0ms | |
2022-04-12T00:10:01.455Z INFO @wdio/local-runner: Start worker 0-0 with arg: /config/wdio.android.app.conf.js | |
[0-0] 2022-04-12T00:10:01.597Z INFO @wdio/local-runner: Run worker command: run | |
[0-0] 2022-04-12T00:10:01.598Z DEBUG @wdio/config:utils: Couldn't find ts-node package, no TypeScript compiling | |
[0-0] 2022-04-12T00:10:01.599Z DEBUG @wdio/local-runner:utils: init remote session | |
[0-0] 2022-04-12T00:10:01.601Z DEBUG @wdio/utils:initialiseServices: initialise service "appium" as NPM package | |
[0-0] 2022-04-12T00:10:01.695Z DEBUG @wdio/sync: Finished to run "beforeSession" hook in 0ms | |
[0-0] RUNNING in Android - /tests/specs/app.settings.spec.js | |
[0-0] 2022-04-12T00:10:01.911Z DEBUG @wdio/local-runner:utils: init remote session | |
[0-0] 2022-04-12T00:10:01.912Z INFO webdriver: Initiate new session using the WebDriver protocol | |
[0-0] 2022-04-12T00:10:01.912Z INFO webdriver: [POST] http://localhost:4723/session | |
[0-0] 2022-04-12T00:10:01.912Z INFO webdriver: DATA { | |
capabilities: { | |
alwaysMatch: { | |
platformName: 'Android', | |
'appium:allowTestPackages': true, | |
'appium:app': '/timehop-mobile-qa/app/Timehop.apk', | |
'appium:appActivity': 'com.timehop.onboarding.PhoneLoginActivity', | |
'appium:appWaitActivity': 'com.timehop.DayActivity', | |
'appium:automationName': 'Espresso', | |
'appium:deviceName': 'Android Emulator', | |
'appium:showGradleLog': false, | |
noSign: true, | |
'appium:newCommandTimeout': 240, | |
'appium:forceEspressoRebuild': true, | |
'appium:espressoBuildConfig': '{ "toolsVersions": { "gradle": "7.4.2", "androidGradlePlugin":"7.1.1", "sourceCompatibility": "VERSION_11", "targetCompatibility": "VERSION_11", "jvmTarget": "11" } }' | |
}, | |
firstMatch: [ {} ] | |
}, | |
desiredCapabilities: { | |
platformName: 'Android', | |
'appium:allowTestPackages': true, | |
'appium:app': '/timehop-mobile-qa/app/Timehop.apk', | |
'appium:appActivity': 'com.timehop.onboarding.PhoneLoginActivity', | |
'appium:appWaitActivity': 'com.timehop.DayActivity', | |
'appium:automationName': 'Espresso', | |
'appium:deviceName': 'Android Emulator', | |
'appium:showGradleLog': false, | |
noSign: true, | |
'appium:newCommandTimeout': 240, | |
'appium:forceEspressoRebuild': true, | |
'appium:espressoBuildConfig': '{ "toolsVersions": { "gradle": "7.4.2", "androidGradlePlugin":"7.1.1", "sourceCompatibility": "VERSION_11", "targetCompatibility": "VERSION_11", "jvmTarget": "11" } }' | |
} | |
} | |
[0-0] 2022-04-12T00:10:03.133Z DEBUG webdriver: request failed due to response error: session not created | |
[0-0] 2022-04-12T00:10:03.133Z INFO webdriver: Retrying 1/3 | |
[0-0] 2022-04-12T00:10:03.133Z WARN webdriver: Request failed with status 500 due to A new session could not be created. Details: Unable to build Espresso server - spawn /gradlew ENOENT | |
Gradle error message: | |
. Check https://github.com/appium/appium-espresso-driver#troubleshooting regarding advanced session startup troubleshooting. | |
[0-0] 2022-04-12T00:10:03.133Z INFO webdriver: [POST] http://localhost:4723/session | |
[0-0] 2022-04-12T00:10:03.133Z INFO webdriver: DATA { | |
capabilities: { | |
alwaysMatch: { | |
platformName: 'Android', | |
'appium:allowTestPackages': true, | |
'appium:app': '/timehop-mobile-qa/app/Timehop.apk', | |
'appium:appActivity': 'com.timehop.onboarding.PhoneLoginActivity', | |
'appium:appWaitActivity': 'com.timehop.DayActivity', | |
'appium:automationName': 'Espresso', | |
'appium:deviceName': 'Android Emulator', | |
'appium:showGradleLog': false, | |
noSign: true, | |
'appium:newCommandTimeout': 240, | |
'appium:forceEspressoRebuild': true, | |
'appium:espressoBuildConfig': '{ "toolsVersions": { "gradle": "7.4.2", "androidGradlePlugin":"7.1.1", "sourceCompatibility": "VERSION_11", "targetCompatibility": "VERSION_11", "jvmTarget": "11" } }' | |
}, | |
firstMatch: [ {} ] | |
}, | |
desiredCapabilities: { | |
platformName: 'Android', | |
'appium:allowTestPackages': true, | |
'appium:app': '/timehop-mobile-qa/app/Timehop.apk', | |
'appium:appActivity': 'com.timehop.onboarding.PhoneLoginActivity', | |
'appium:appWaitActivity': 'com.timehop.DayActivity', | |
'appium:automationName': 'Espresso', | |
'appium:deviceName': 'Android Emulator', | |
'appium:showGradleLog': false, | |
noSign: true, | |
'appium:newCommandTimeout': 240, | |
'appium:forceEspressoRebuild': true, | |
'appium:espressoBuildConfig': '{ "toolsVersions": { "gradle": "7.4.2", "androidGradlePlugin":"7.1.1", "sourceCompatibility": "VERSION_11", "targetCompatibility": "VERSION_11", "jvmTarget": "11" } }' | |
} | |
} | |
[0-0] 2022-04-12T00:10:04.210Z DEBUG webdriver: request failed due to response error: session not created | |
[0-0] 2022-04-12T00:10:04.210Z INFO webdriver: Retrying 2/3 | |
2022-04-12T00:10:04.210Z INFO webdriver: [POST] http://localhost:4723/session | |
[0-0] 2022-04-12T00:10:04.210Z WARN webdriver: Request failed with status 500 due to A new session could not be created. Details: Unable to build Espresso server - spawn /gradlew ENOENT | |
Gradle error message: | |
. Check https://github.com/appium/appium-espresso-driver#troubleshooting regarding advanced session startup troubleshooting. | |
[0-0] 2022-04-12T00:10:04.210Z INFO webdriver: DATA { | |
capabilities: { | |
alwaysMatch: { | |
platformName: 'Android', | |
'appium:allowTestPackages': true, | |
'appium:app': '/timehop-mobile-qa/app/Timehop.apk', | |
'appium:appActivity': 'com.timehop.onboarding.PhoneLoginActivity', | |
'appium:appWaitActivity': 'com.timehop.DayActivity', | |
'appium:automationName': 'Espresso', | |
'appium:deviceName': 'Android Emulator', | |
'appium:showGradleLog': false, | |
noSign: true, | |
'appium:newCommandTimeout': 240, | |
'appium:forceEspressoRebuild': true, | |
'appium:espressoBuildConfig': '{ "toolsVersions": { "gradle": "7.4.2", "androidGradlePlugin":"7.1.1", "sourceCompatibility": "VERSION_11", "targetCompatibility": "VERSION_11", "jvmTarget": "11" } }' | |
}, | |
firstMatch: [ {} ] | |
}, | |
desiredCapabilities: { | |
platformName: 'Android', | |
'appium:allowTestPackages': true, | |
'appium:app': '/timehop-mobile-qa/app/Timehop.apk', | |
'appium:appActivity': 'com.timehop.onboarding.PhoneLoginActivity', | |
'appium:appWaitActivity': 'com.timehop.DayActivity', | |
'appium:automationName': 'Espresso', | |
'appium:deviceName': 'Android Emulator', | |
'appium:showGradleLog': false, | |
noSign: true, | |
'appium:newCommandTimeout': 240, | |
'appium:forceEspressoRebuild': true, | |
'appium:espressoBuildConfig': '{ "toolsVersions": { "gradle": "7.4.2", "androidGradlePlugin":"7.1.1", "sourceCompatibility": "VERSION_11", "targetCompatibility": "VERSION_11", "jvmTarget": "11" } }' | |
} | |
} | |
[0-0] 2022-04-12T00:10:05.097Z DEBUG webdriver: request failed due to response error: session not created | |
[0-0] 2022-04-12T00:10:05.097Z INFO webdriver: Retrying 3/3 | |
2022-04-12T00:10:05.097Z INFO webdriver: [POST] http://localhost:4723/session | |
[0-0] 2022-04-12T00:10:05.097Z WARN webdriver: Request failed with status 500 due to A new session could not be created. Details: Unable to build Espresso server - spawn /gradlew ENOENT | |
Gradle error message: | |
. Check https://github.com/appium/appium-espresso-driver#troubleshooting regarding advanced session startup troubleshooting. | |
[0-0] 2022-04-12T00:10:05.097Z INFO webdriver: DATA { | |
capabilities: { | |
alwaysMatch: { | |
platformName: 'Android', | |
'appium:allowTestPackages': true, | |
'appium:app': '/timehop-mobile-qa/app/Timehop.apk', | |
'appium:appActivity': 'com.timehop.onboarding.PhoneLoginActivity', | |
'appium:appWaitActivity': 'com.timehop.DayActivity', | |
'appium:automationName': 'Espresso', | |
'appium:deviceName': 'Android Emulator', | |
'appium:showGradleLog': false, | |
noSign: true, | |
'appium:newCommandTimeout': 240, | |
'appium:forceEspressoRebuild': true, | |
'appium:espressoBuildConfig': '{ "toolsVersions": { "gradle": "7.4.2", "androidGradlePlugin":"7.1.1", "sourceCompatibility": "VERSION_11", "targetCompatibility": "VERSION_11", "jvmTarget": "11" } }' | |
}, | |
firstMatch: [ {} ] | |
}, | |
desiredCapabilities: { | |
platformName: 'Android', | |
'appium:allowTestPackages': true, | |
'appium:app': '/timehop-mobile-qa/app/Timehop.apk', | |
'appium:appActivity': 'com.timehop.onboarding.PhoneLoginActivity', | |
'appium:appWaitActivity': 'com.timehop.DayActivity', | |
'appium:automationName': 'Espresso', | |
'appium:deviceName': 'Android Emulator', | |
'appium:showGradleLog': false, | |
noSign: true, | |
'appium:newCommandTimeout': 240, | |
'appium:forceEspressoRebuild': true, | |
'appium:espressoBuildConfig': '{ "toolsVersions": { "gradle": "7.4.2", "androidGradlePlugin":"7.1.1", "sourceCompatibility": "VERSION_11", "targetCompatibility": "VERSION_11", "jvmTarget": "11" } }' | |
} | |
} | |
[0-0] 2022-04-12T00:10:06.068Z DEBUG webdriver: request failed due to response error: session not created | |
[0-0] 2022-04-12T00:10:06.068Z ERROR webdriver: Request failed with status 500 due to session not created: A new session could not be created. Details: Unable to build Espresso server - spawn /gradlew ENOENT | |
Gradle error message: | |
. Check https://github.com/appium/appium-espresso-driver#troubleshooting regarding advanced session startup troubleshooting. | |
[0-0] 2022-04-12T00:10:06.068Z ERROR webdriver: session not created: A new session could not be created. Details: Unable to build Espresso server - spawn /gradlew ENOENT | |
Gradle error message: | |
. Check https://github.com/appium/appium-espresso-driver#troubleshooting regarding advanced session startup troubleshooting. | |
at Object.getErrorFromResponseBody (/timehop-mobile-qa/node_modules/webdriver/build/utils.js:94:12) | |
at WebDriverRequest._request (/timehop-mobile-qa/node_modules/webdriver/build/request.js:134:31) | |
at processTicksAndRejections (internal/process/task_queues.js:95:5) | |
at Object.startWebDriverSession (/timehop-mobile-qa/node_modules/webdriver/build/utils.js:29:20) | |
at Function.newSession (/timehop-mobile-qa/node_modules/webdriver/build/index.js:35:45) | |
at Object.exports.remote (/timehop-mobile-qa/node_modules/webdriverio/build/index.js:53:22) | |
at Runner._startSession (/timehop-mobile-qa/node_modules/@wdio/runner/build/index.js:123:56) | |
at Runner._initSession (/timehop-mobile-qa/node_modules/@wdio/runner/build/index.js:103:25) | |
at Runner.run (/timehop-mobile-qa/node_modules/@wdio/runner/build/index.js:52:19) | |
[0-0] 2022-04-12T00:10:06.069Z ERROR @wdio/runner: Error: Failed to create session. | |
A new session could not be created. Details: Unable to build Espresso server - spawn /gradlew ENOENT | |
Gradle error message: | |
. Check https://github.com/appium/appium-espresso-driver#troubleshooting regarding advanced session startup troubleshooting. | |
at Object.startWebDriverSession (/timehop-mobile-qa/node_modules/webdriver/build/utils.js:34:15) | |
at processTicksAndRejections (internal/process/task_queues.js:95:5) | |
at Function.newSession (/timehop-mobile-qa/node_modules/webdriver/build/index.js:35:45) | |
at Object.exports.remote (/timehop-mobile-qa/node_modules/webdriverio/build/index.js:53:22) | |
at Runner._startSession (/timehop-mobile-qa/node_modules/@wdio/runner/build/index.js:123:56) | |
at Runner._initSession (/timehop-mobile-qa/node_modules/@wdio/runner/build/index.js:103:25) | |
at Runner.run (/timehop-mobile-qa/node_modules/@wdio/runner/build/index.js:52:19) | |
2022-04-12T00:10:06.174Z DEBUG @wdio/local-runner: Runner 0-0 finished with exit code 1 | |
[0-0] FAILED in Android - /tests/specs/app.settings.spec.js | |
2022-04-12T00:10:06.175Z INFO @wdio/cli:launcher: Run onComplete hook | |
2022-04-12T00:10:06.175Z DEBUG @wdio/appium-service: Appium (pid: 2210) killed | |
2022-04-12T00:10:06.175Z DEBUG @wdio/cli:utils: Finished to run "onComplete" hook in 0ms | |
Spec Files: 0 passed, 1 failed, 1 total (100% completed) in 00:00:05 | |
2022-04-12T00:10:06.175Z INFO @wdio/local-runner: Shutting down spawned worker | |
2022-04-12T00:10:06.427Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully | |
2022-04-12T00:10:06.427Z INFO @wdio/local-runner: shutting down | |
npm ERR! code ELIFECYCLE | |
npm ERR! errno 1 | |
npm ERR! timehop-mobile-qa@1.1.1 android.app: `wdio /config/wdio.android.app.conf.js` | |
npm ERR! Exit status 1 | |
npm ERR! | |
npm ERR! Failed at the timehop-mobile-qa@1.1.1 android.app 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! /.npm/_logs/2022-04-12T00_10_06_433Z-debug.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment