Created
December 28, 2022 06:28
-
-
Save harsha509/585f3fabb349eccdf23efbfe7739c2e3 to your computer and use it in GitHub Desktop.
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
2022-12-28T06:23:07.475Z INFO @wdio/local-runner: Run worker command: run | |
2022-12-28T06:23:07.835Z INFO webdriver: Initiate new session using the WebDriver protocol | |
2022-12-28T06:23:07.871Z INFO webdriver: [POST] http://127.0.0.1:4723/session | |
2022-12-28T06:23:07.871Z INFO webdriver: DATA { | |
capabilities: { | |
alwaysMatch: { | |
platformName: 'Android', | |
'appium:platformVersion': '11', | |
'appium:deviceName': 'emulator-5554', | |
'appium:automationName': 'UiAutomator2', | |
'appium:app': '/Users/sriharsha/Desktop/wdio-sample/apps/wdio-demo.apk', | |
'appium:commandTimeout': 30000, | |
'appium:appWaitActivity': 'com.wdiodemoapp.MainActivity', | |
'appium:newCommandTimeout': 30000 | |
}, | |
firstMatch: [ {} ] | |
}, | |
desiredCapabilities: { | |
platformName: 'Android', | |
'appium:platformVersion': '11', | |
'appium:deviceName': 'emulator-5554', | |
'appium:automationName': 'UiAutomator2', | |
'appium:app': '/Users/sriharsha/Desktop/wdio-sample/apps/wdio-demo.apk', | |
'appium:commandTimeout': 30000, | |
'appium:appWaitActivity': 'com.wdiodemoapp.MainActivity', | |
'appium:newCommandTimeout': 30000 | |
} | |
} | |
2022-12-28T06:23:08.013Z WARN webdriver: Request failed with status 500 due to An unknown server-side error occurred while processing the command. Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported. Read https://developer.android.com/studio/command-line/variables for more details | |
2022-12-28T06:23:08.013Z INFO webdriver: Retrying 1/3 | |
2022-12-28T06:23:08.014Z INFO webdriver: [POST] http://127.0.0.1:4723/session | |
2022-12-28T06:23:08.014Z INFO webdriver: DATA { | |
capabilities: { | |
alwaysMatch: { | |
platformName: 'Android', | |
'appium:platformVersion': '11', | |
'appium:deviceName': 'emulator-5554', | |
'appium:automationName': 'UiAutomator2', | |
'appium:app': '/Users/sriharsha/Desktop/wdio-sample/apps/wdio-demo.apk', | |
'appium:commandTimeout': 30000, | |
'appium:appWaitActivity': 'com.wdiodemoapp.MainActivity', | |
'appium:newCommandTimeout': 30000 | |
}, | |
firstMatch: [ {} ] | |
}, | |
desiredCapabilities: { | |
platformName: 'Android', | |
'appium:platformVersion': '11', | |
'appium:deviceName': 'emulator-5554', | |
'appium:automationName': 'UiAutomator2', | |
'appium:app': '/Users/sriharsha/Desktop/wdio-sample/apps/wdio-demo.apk', | |
'appium:commandTimeout': 30000, | |
'appium:appWaitActivity': 'com.wdiodemoapp.MainActivity', | |
'appium:newCommandTimeout': 30000 | |
} | |
} | |
2022-12-28T06:23:08.025Z WARN webdriver: Request failed with status 500 due to An unknown server-side error occurred while processing the command. Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported. Read https://developer.android.com/studio/command-line/variables for more details | |
2022-12-28T06:23:08.025Z INFO webdriver: Retrying 2/3 | |
2022-12-28T06:23:08.025Z INFO webdriver: [POST] http://127.0.0.1:4723/session | |
2022-12-28T06:23:08.025Z INFO webdriver: DATA { | |
capabilities: { | |
alwaysMatch: { | |
platformName: 'Android', | |
'appium:platformVersion': '11', | |
'appium:deviceName': 'emulator-5554', | |
'appium:automationName': 'UiAutomator2', | |
'appium:app': '/Users/sriharsha/Desktop/wdio-sample/apps/wdio-demo.apk', | |
'appium:commandTimeout': 30000, | |
'appium:appWaitActivity': 'com.wdiodemoapp.MainActivity', | |
'appium:newCommandTimeout': 30000 | |
}, | |
firstMatch: [ {} ] | |
}, | |
desiredCapabilities: { | |
platformName: 'Android', | |
'appium:platformVersion': '11', | |
'appium:deviceName': 'emulator-5554', | |
'appium:automationName': 'UiAutomator2', | |
'appium:app': '/Users/sriharsha/Desktop/wdio-sample/apps/wdio-demo.apk', | |
'appium:commandTimeout': 30000, | |
'appium:appWaitActivity': 'com.wdiodemoapp.MainActivity', | |
'appium:newCommandTimeout': 30000 | |
} | |
} | |
2022-12-28T06:23:08.031Z WARN webdriver: Request failed with status 500 due to An unknown server-side error occurred while processing the command. Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported. Read https://developer.android.com/studio/command-line/variables for more details | |
2022-12-28T06:23:08.031Z INFO webdriver: Retrying 3/3 | |
2022-12-28T06:23:08.031Z INFO webdriver: [POST] http://127.0.0.1:4723/session | |
2022-12-28T06:23:08.031Z INFO webdriver: DATA { | |
capabilities: { | |
alwaysMatch: { | |
platformName: 'Android', | |
'appium:platformVersion': '11', | |
'appium:deviceName': 'emulator-5554', | |
'appium:automationName': 'UiAutomator2', | |
'appium:app': '/Users/sriharsha/Desktop/wdio-sample/apps/wdio-demo.apk', | |
'appium:commandTimeout': 30000, | |
'appium:appWaitActivity': 'com.wdiodemoapp.MainActivity', | |
'appium:newCommandTimeout': 30000 | |
}, | |
firstMatch: [ {} ] | |
}, | |
desiredCapabilities: { | |
platformName: 'Android', | |
'appium:platformVersion': '11', | |
'appium:deviceName': 'emulator-5554', | |
'appium:automationName': 'UiAutomator2', | |
'appium:app': '/Users/sriharsha/Desktop/wdio-sample/apps/wdio-demo.apk', | |
'appium:commandTimeout': 30000, | |
'appium:appWaitActivity': 'com.wdiodemoapp.MainActivity', | |
'appium:newCommandTimeout': 30000 | |
} | |
} | |
2022-12-28T06:23:08.036Z ERROR webdriver: Request failed with status 500 due to unknown error: An unknown server-side error occurred while processing the command. Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported. Read https://developer.android.com/studio/command-line/variables for more details | |
2022-12-28T06:23:08.036Z ERROR webdriver: unknown error: An unknown server-side error occurred while processing the command. Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported. Read https://developer.android.com/studio/command-line/variables for more details | |
at getErrorFromResponseBody (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/webdriver/build/utils.js:194:12) | |
at NodeJSRequest._request (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/webdriver/build/request/index.js:168:23) | |
at processTicksAndRejections (node:internal/process/task_queues:96:5) | |
at startWebDriverSession (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/webdriver/build/utils.js:63:20) | |
at Function.newSession (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/webdriver/build/index.js:24:45) | |
at remote (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/webdriverio/build/index.js:45:22) | |
at Runner._startSession (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/@wdio/runner/build/index.js:221:29) | |
at Runner._initSession (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/@wdio/runner/build/index.js:187:25) | |
at Runner.run (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/@wdio/runner/build/index.js:77:19) | |
2022-12-28T06:23:08.037Z ERROR @wdio/runner: Error: Failed to create session. | |
An unknown server-side error occurred while processing the command. Original error: Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported. Read https://developer.android.com/studio/command-line/variables for more details | |
at startWebDriverSession (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/webdriver/build/utils.js:68:15) | |
at processTicksAndRejections (node:internal/process/task_queues:96:5) | |
at Function.newSession (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/webdriver/build/index.js:24:45) | |
at remote (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/webdriverio/build/index.js:45:22) | |
at Runner._startSession (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/@wdio/runner/build/index.js:221:29) | |
at Runner._initSession (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/@wdio/runner/build/index.js:187:25) | |
at Runner.run (file:///Users/sriharsha/Desktop/wdio-sample/node_modules/@wdio/runner/build/index.js:77:19) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment