ReactNative android Error: Timeout of 120000ms exceeded - react-native

I am getting error in ReactNative android while testing with detox. The error is, "Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves."
React-Native : 0.57.7
Detox test works fine with iOS without any issues but getting timeout error while running with Android. Not sure where should i check about this.
node_modules/.bin/mocha e2e --opts e2e/mocha.opts --configuration android.emu.debug --loglevel verbose --grep :ios: --invert --artifacts-location "artifacts/android.emu.debug.2019-04-10 10-27-45Z"
detox[30977] INFO: [DetoxServer.js] server listening on localhost:51629...
detox[30977] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:51629
detox[30977] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=c4ef8798-0ec8-3517-0a6f-56bb03181111
detox[30977] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=c4ef8798-0ec8-3517-0a6f-56bb03181111
detox[30977] DEBUG: [exec.js/EXEC_CMD, #0] /Users/iphone/Library/Android/sdk/emulator/emulator -list-avds --verbose
detox[30977] DEBUG: [exec.js/EXEC_CMD, #1] /Users/iphone/Library/Android/sdk/platform-tools/adb devices
detox[30977] DEBUG: [exec.js/EXEC_CMD, #2] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "getprop dev.bootcomplete"
detox[30977] DEBUG: [exec.js/EXEC_CMD, #3] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "getprop ro.build.version.sdk"
detox[30977] DEBUG: [exec.js/EXEC_CMD, #4] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "dumpsys power | grep \"^[ ]*m[UW].*=\""
detox[30977] DEBUG: [exec.js/EXEC_CMD, #5] /Users/iphone/Library/Android/sdk/build-tools/28.0.3/aapt dump badging "/Users/iphone/Desktop/extra/reactnativegettingstarted/android/app/build/outputs/apk/debug/app-debug.apk" | grep -e "package: name="
detox[30977] DEBUG: [exec.js/EXEC_CMD, #6] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "pm list packages com.plugindemoapp"
detox[30977] DEBUG: [exec.js/EXEC_CMD, #7] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 uninstall com.plugindemoapp
detox[30977] DEBUG: [exec.js/EXEC_CMD, #8] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "pm list packages com.plugindemoapp.test"
detox[30977] DEBUG: [exec.js/EXEC_CMD, #9] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 uninstall com.plugindemoapp.test
detox[30977] DEBUG: [exec.js/EXEC_CMD, #10] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 install -r -g -t /Users/iphone/Desktop/extra/reactnativegettingstarted/android/app/build/outputs/apk/debug/app-debug.apk
detox[30977] DEBUG: [exec.js/EXEC_CMD, #11] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 install -r -g -t /Users/iphone/Desktop/extra/reactnativegettingstarted/android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk
detox[30977] DEBUG: [exec.js/EXEC_CMD, #12] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "pm list instrumentation"
detox[30977] DEBUG: [exec.js/SPAWN_CMD, #13] [pid=30994] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r "-e detoxServer ws://localhost:51629 -e detoxSessionId c4ef8798-0ec8-3517-0a6f-56bb03181111" -e debug false com.plugindemoapp.test/android.support.test.runner.AndroidJUnitRunner
detox[30977] DEBUG: [exec.js/EXEC_CMD, #14] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #14] "/Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""" failed with code = 1, stdout and stderr:
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #14]
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #14]
detox[30977] DEBUG: [exec.js/EXEC_CMD, #15] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #15] "/Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""" failed with code = 1, stdout and stderr:
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #15]
detox[30977] DEBUG: [exec.js/EXEC_FAIL, #15]
detox[30977] DEBUG: [exec.js/EXEC_CMD, #16] /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell "ps | grep \"com\.plugindemoapp$\""
detox[30977] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=c4ef8798-0ec8-3517-0a6f-56bb03181111)
detox[30977] DEBUG: [exec.js/KILL] sending SIGINT to [pid = 30994]: /Users/iphone/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:51629 -e detoxSessionId c4ef8798-0ec8-3517-0a6f-56bb03181111 -e debug false com.plugindemoapp.test/android.support.test.runner.AndroidJUnitRunner
1) "before all" hook
0 passing (2m)
1 failing
1) "before all" hook:
Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
0 passing (2m)
1 failing
1) "before all" hook:
Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.
detox[30977] DEBUG: [DetoxServer.js/DISCONNECT] role=tester, sessionId=c4ef8798-0ec8-3517-0a6f-56bb03181111
child_process.js:656
throw err;
^
Error: Command failed: node_modules/.bin/mocha e2e --opts e2e/mocha.opts --configuration android.emu.debug --loglevel verbose --grep :ios: --invert --artifacts-location "artifacts/android.emu.debug.2019-04-10 10-27-45Z"
at checkExecSyncError (child_process.js:616:11)
at Object.execSync (child_process.js:653:13)
at runMocha (/Users/iphone/Desktop/extra/reactnativegettingstarted/node_modules/detox/local-cli/detox-test.js:143:6)
at run (/Users/iphone/Desktop/extra/reactnativegettingstarted/node_modules/detox/local-cli/detox-test.js:85:7)
at Object.<anonymous> (/Users/iphone/Desktop/extra/reactnativegettingstarted/node_modules/detox/local-cli/detox-test.js:233:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)

Related

Getting SessionNotCreatedError when trying to run scripts from Jenkins pipeline

I am trying to run my protractor scripts on jenkins pipeline and getting the SessionNotCreatedError when it tries to access the Selenium address. When I run the same on local its working fine. Not sure what's going on.
Conf.js script
let domainName = util.domainName;
exports.config = {
seleniumAddress: 'http://selenium-hub:4444/wd/hub', //for testing in the pipeline
directConnect: false, // Set to true for local testing, or provide a link to a running selenium grid.
// specs: ['e2e/**/mailbox-test.js', 'e2e/**/email-dumps-test.js'],
specs: ['e2e/**/*-test.js'],
capabilities: {
browserName: 'chrome',
acceptInsecureCerts: true,
'goog:chromeOptions': {
w3c: false,
args: [
'--no-sandbox',
'--headless',
'--disable-gpu',
'--window-size=1200,1200',
'--disable-dev-shm-usage',
'--allow-insecure-localhost',
'--allow-running-insecure-content',
'--ignore_ssl',
'--user-agent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.130 Safari/537.36',
],
},
},
allScriptsTimeout: 600000,
baseUrl: eaUrl,
framework: 'jasmine',
jasmineNodeOpts: {
isVerbose: true,
showColors: true,
includeStackTrace: true,
defaultTimeoutInterval: 600000,
stackTrace: false
},
Jenkins output error
[15:32:21] D/launcher - Protractor version: 5.4.2 10:31:59 [15:32:21]
D/launcher - Your base url for tests is
https://ea-webapp-int-raven.ocp-nonprod.ice.dhs.gov/ 10:31:59
[15:32:21] I/launcher - Running 1 instances of WebDriver 10:31:59
[15:32:21] I/hosted - Using the selenium server at
http://selenium-hub:4444/wd/hub 10:37:05 [15:37:21] E/launcher -
Could not start a new session. New session request timed out 10:37:05
Build info: version: '4.1.2', revision: '9a5a329c5a' 10:37:05 System
info: host: 'eb3088c85a9d', ip: '172.17.0.2', os.name: 'Linux',
os.arch: 'amd64', os.version: '3.10.0-1160.53.1.el7.x86_64',
java.version: '11.0.13' 10:37:05 Driver info: driver.version: unknown
10:37:05 [15:37:21] E/launcher - SessionNotCreatedError: Could not
start a new session. New session request timed out 10:37:05 Build
info: version: '4.1.2', revision: '9a5a329c5a' 10:37:05 System info:
host: 'eb3088c85a9d', ip: '172.17.0.2', os.name: 'Linux', os.arch:
'amd64', os.version: '3.10.0-1160.53.1.el7.x86_64', java.version:
'11.0.13' 10:37:05 Driver info: driver.version: unknown 10:37:05
at Object.throwDecodedError
(/app/test/node_modules/selenium-webdriver/lib/error.js:514:15)
10:37:05 at parseHttpResponse
(/app/test/node_modules/selenium-webdriver/lib/http.js:519:13)
10:37:05 at doSend.then.response
(/app/test/node_modules/selenium-webdriver/lib/http.js:441:30)
10:37:05 at process._tickCallback
(internal/process/next_tick.js:68:7) 10:37:05 From: Task:
WebDriver.createSession() 10:37:05 at Function.createSession
(/app/test/node_modules/selenium-webdriver/lib/webdriver.js:769:24)
10:37:05 at Function.createSession
(/app/test/node_modules/selenium-webdriver/chrome.js:761:15) 10:37:05
at createDriver
(/app/test/node_modules/selenium-webdriver/index.js:170:33) 10:37:05
at Builder.build
(/app/test/node_modules/selenium-webdriver/index.js:626:16) 10:37:05
at Hosted.getNewDriver
(/app/test/node_modules/protractor/built/driverProviders/driverProvider.js:53:33)
10:37:05 at Runner.createBrowser
(/app/test/node_modules/protractor/built/runner.js:195:43) 10:37:05
at q.then.then
(/app/test/node_modules/protractor/built/runner.js:339:29) 10:37:05
at _fulfilled (/app/test/node_modules/q/q.js:834:54) 10:37:05 at
/app/test/node_modules/q/q.js:863:30 10:37:05 at
Promise.promise.promiseDispatch (/app/test/node_modules/q/q.js:796:13)
10:37:05 [15:37:21] E/launcher - Process exited with error code 199
10:37:05 10:37:05 exitStatus=$? 10:37:05 10:37:05 # Allow the
Jenkin pipeline to access and archive any test output. 10:37:05 chmod
-R 777 ./test_output/
I am adding my observations as others might need if they get similar issues and this might help them too. After a long long investigation of the console output in Jenkins with my docker installation scripts, I noticed that we are trying to install the latest version of the selenium hub and chrome node but the docker command doesn't include the SE_EVENT_BUS_HOST information. After changing my code from
docker run -d --name selenium-node-chrome -e HUB_HOST=selenium-hub --shm-size="2g" nexus2.xxx.com:18443/selenium/node-chrome
to
docker run -d --name selenium-node-chrome -e SE_EVENT_BUS_HOST=selenium-hub --shm-size="2g" -e SE_EVENT_BUS_PUBLISH_PORT=4442 -e SE_EVENT_BUS_SUBSCRIBE_PORT=4443 nexus2.xxx.com:18443/selenium/node-chrome
Then it started working for me.

iOS simulator app doesn't launch when 'detox test' command executed #2305

Description
iOS simulator app doesn't launch when 'detox test' command executed
Detox --loglevel verbose output shows [DetoxServer.js/CANNOT_FORWARD]
[x] I have tested this issue on the latest Detox release and it still reproduces
Reproduction
Detox tests were last running in April with the following setup
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"eject": "expo eject",
"test": "jest"
},
"dependencies": {
"expo": "^37.0.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-37.0.0.tar.gz",
},
"devDependencies": {
"detox": "^15.3.0",
"detox-expo-helpers": "^0.6.0",
"expo-detox-hook": "^1.0.10",
"jest-expo": "^37.0.0",
"metro-react-native-babel-preset": "^0.53.1",
"react-native-testing-library": "^1.12.0",
"react-test-renderer": "^16.12.0",
},
"jest": {
"preset": "jest-expo",
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element|#react-native-community|expo(nent)?|#expo(nent)?/.*|react-navigation|#react-navigation/.*|#unimodules/.*|unimodules|#sentry/.*|sentry-expo|native-base|react-native-multi-slider|#ptomasroos/.*)"
],
"setupFilesAfterEnv": [
"<rootDir>/unit_tests/setupTests.js"
],
"testMatch": [
"<rootDir>/unit_tests/**/*.test.js?(x)"
]
},
"detox": {
"test-runner": "jest",
"configurations": {
"ios.sim": {
"binaryPath": "<app_name>.app",
"type": "ios.simulator",
"name": "iPhone 11 Pro Max"
}
}
}
}
They are now failing as described above with the following package.json
{
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"eject": "expo eject",
"test": "jest"
},
"dependencies": {
"expo": "^37.0.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-37.0.0.tar.gz",
},
"devDependencies": {
"detox": "^17.4.5",
"detox-expo-helpers": "^0.6.0",
"expo-detox-hook": "^1.0.10",
"jest-expo": "^37.0.0",
"metro-react-native-babel-preset": "^0.53.1",
"react-native-testing-library": "^1.12.0",
"react-test-renderer": "^16.12.0",
},
"jest": {
"preset": "jest-expo",
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element|#react-native-community/async-storage/.*|expo(nent)?|#expo(nent)?/.*|react-navigation|#react-navigation/.*|#unimodules/.*|unimodules|#sentry/.*|sentry-expo|native-base|react-native-multi-slider|#ptomasroos/.*)"
],
"setupFilesAfterEnv": [
"<rootDir>/unit_tests/setupTests.js"
],
"testMatch": [
"<rootDir>/unit_tests/**/*.test.js?(x)"
]
},
"detox": {
"test-runner": "jest",
"configurations": {
"ios.sim": {
"binaryPath": "<app_name>.app",
"type": "ios.simulator",
"name": "iPhone 11 Pro Max"
}
}
}
}
Expected behavior
Running detox test should open the app in the simulator and execute tests.
Environment (please complete the following information):
Detox: 17.4.5
React Native: 0.61
Node: v14.5.0
Device: iOS simulator iPhone 11 pro max
Xcode: 11.3.1 (Using expo for development)
iOS: 13.3
macOS: 10.14.4
Logs
If you are experiencing a timeout in your test
[x] I have followed the instructions under Lower-level Idling Resources Debug and am providing the log below:
Tried running detox test --debug-synchronization 200
the terminal hangs with the following output
detox[16107] INFO: [test.js] debugSynchronization=200 reportSpecs=true useCustomLogger=true forceAdbInstall=false DETOX_START_TIMESTAMP=1599257790958 node_modules/.bin/jest --config e2e/config.json '--testNamePattern=^((?!:android:).)*$' --maxWorkers 1 e2e
detox[16109] INFO: at e2e/tests/Auth/login.spec.js:11:11
describe(Auth)
detox[16109] INFO: at e2e/init.js:21:19
beforeAll
detox[16109] INFO: [DetoxServer.js] server listening on localhost:62081...
detox[16109] INFO: at e2e/init.js:28:19
initialized
RUNS e2e/tests/Auth/login.spec.js
Tried adding ‘detoxPrintBusyIdleResources’
terminal hangs with output ‘Filtering the log data using "category == "EarlGreyStatistics””’
Try adding ‘disableSynchroniztion’.
After running detox test, the test code seems to stall at ‘await device.disableSynchronization’ (a console log is never called on the next line of code)
Device and verbose Detox logs
[x] I have run my tests using the --loglevel trace argument and am providing the verbose log below:
detox[15678] INFO: [test.js] configuration="ios.sim" loglevel="verbose" cleanup=true reportSpecs=true useCustomLogger=true forceAdbInstall=false DETOX_START_TIMESTAMP=1599256657224 node_modules/.bin/jest --config e2e/config.json '--testNamePattern=^((?!:android:).)*$' --maxWorkers 1 e2e
detox[15680] INFO: at e2e/tests/Auth/login.spec.js:11:11
describe(Auth)
detox[15680] INFO: at e2e/init.js:21:19
beforeAll
detox[15680] INFO: [DetoxServer.js] server listening on localhost:61596...
detox[15680] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:61596
detox[15680] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=25a0b4f5-f767-48a9-1a95-ca18b51c4773
detox[15680] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=25a0b4f5-f767-48a9-1a95-ca18b51c4773
detox[15680] DEBUG: [exec.js/EXEC_CMD, #0] applesimutils --list --byType "iPhone 11 Pro Max"
detox[15680] DEBUG: [exec.js/EXEC_CMD, #1] applesimutils --list --byId 0BABC374-4903-4E95-A1CB-C265C656F1D6 --maxResults 1
detox[15680] DEBUG: [exec.js/EXEC_CMD, #2] /usr/bin/xcrun simctl uninstall 0BABC374-4903-4E95-A1CB-C265C656F1D6 [BUNDLE_ID]
detox[15680] DEBUG: [exec.js/EXEC_TRY, #2] Uninstalling [BUNDLE_ID]...
detox[15680] DEBUG: [exec.js/EXEC_SUCCESS, #2] [BUNDLE_ID] uninstalled
detox[15680] DEBUG: [exec.js/EXEC_CMD, #3] /usr/bin/xcrun simctl install 0BABC374-4903-4E95-A1CB-C265C656F1D6 "/Users/bryanboyko/XCode/<app_name>.app"
detox[15680] DEBUG: [exec.js/EXEC_TRY, #3] Installing /Users/bryanboyko/XCode/<app_name>.app...
detox[15680] DEBUG: [exec.js/EXEC_SUCCESS, #3] /Users/bryanboyko/XCode/<app_name>.app installed
detox[15680] INFO: at e2e/init.js:28:19
initialized
detox[15680] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=25a0b4f5-f767-48a9-1a95-ca18b51c4773)
detox[15680] INFO: Auth: should show main feed after manual login
detox[15680] INFO: at e2e/init.js:57:19
before each
detox[15680] DEBUG: [exec.js/EXEC_CMD, #4] /usr/bin/xcrun simctl terminate 0BABC374-4903-4E95-A1CB-C265C656F1D6 [BUNDLE_ID]
detox[15680] DEBUG: [exec.js/EXEC_TRY, #4] Terminating [BUNDLE_ID]...
detox[15680] DEBUG: [exec.js/EXEC_SUCCESS, #4] [BUNDLE_ID] terminated
detox[15680] DEBUG: [exec.js/EXEC_CMD, #5] applesimutils --byId 0BABC374-4903-4E95-A1CB-C265C656F1D6 --bundle [BUNDLE_ID] --restartSB --setPermissions location=inuse,notifications=YES
detox[15680] DEBUG: [exec.js/EXEC_TRY, #5] Trying to set permissions...
detox[15680] DEBUG: [exec.js/EXEC_SUCCESS, #5] Permissions are set
detox[15680] DEBUG: [exec.js/EXEC_CMD, #6] SIMCTL_CHILD_DYLD_INSERT_LIBRARIES="/Users/bryanboyko/Library/ExpoDetoxHook/ios/58b2f26a0f87b2136ea15b6c467bcf04a21fd6e7/ExpoDetoxHook.framework/ExpoDetoxHook:/Users/bryanboyko/Library/Detox/ios/26afbf8d93760131ef9f1ae830bc7169ba83b8b0/Detox.framework/Detox" /usr/bin/xcrun simctl launch 0BABC374-4903-4E95-A1CB-C265C656F1D6 [BUNDLE_ID] --args -detoxServer "ws://localhost:61596" -detoxSessionId "25a0b4f5-f767-48a9-1a95-ca18b51c4773" -EXKernelDisableNuxDefaultsKey "true" -detoxURLBlacklistRegex "\("http://192.168.1.19:19001/onchange","https://e.crashlytics.com/spi/v2/events"\)" -detoxURLOverride "exp://192.168.1.19:19000" -detoxSourceAppOverride "host.exp.exponent"
detox[15680] DEBUG: [exec.js/EXEC_TRY, #6] Launching [BUNDLE_ID]...
detox[15680] DEBUG: [exec.js/EXEC_CMD, #7] /usr/bin/xcrun simctl get_app_container 0BABC374-4903-4E95-A1CB-C265C656F1D6 [BUNDLE_ID]
detox[15680] INFO: [AppleSimUtils.js] [BUNDLE_ID] launched. To watch simulator logs, run:
/usr/bin/xcrun simctl spawn 0BABC374-4903-4E95-A1CB-C265C656F1D6 log stream --level debug --style compact --predicate 'process == "[BUNDLE_ID]"'
detox[15680] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=25a0b4f5-f767-48a9-1a95-ca18b51c4773)
detox[15680] DEBUG: [DetoxServer.js/LOGIN] role=testee, sessionId=25a0b4f5-f767-48a9-1a95-ca18b51c4773
detox[15680] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=testee, sessionId=25a0b4f5-f767-48a9-1a95-ca18b51c4773
detox[15680] INFO: at e2e/tests/Auth/login.spec.js:37:21
1st test
detox[15680] INFO: Auth: should show main feed after manual login [FAIL]
detox[15680] INFO: at e2e/init.js:73:19
after all
detox[15680] WARN: [Client.js/PENDING_REQUESTS] App has not responded to the network requests below:
(id = 1) setSyncSettings: {"enabled":false}
(id = 2) invoke: {"type":"expectation","predicate":{"type":"id","value":"LOGIN_VIEW"},"expectation":"toBeVisible"}
(id = -1000) isReady: {}
That might be the reason why the test "Auth should show main feed after manual login" has timed out.
detox[15680] DEBUG: [exec.js/EXEC_CMD, #8] /usr/bin/xcrun simctl shutdown 0BABC374-4903-4E95-A1CB-C265C656F1D6
detox[15680] DEBUG: [exec.js/EXEC_TRY, #8] Shutting down 0BABC374-4903-4E95-A1CB-C265C656F1D6...
detox[15680] DEBUG: [DetoxServer.js/DISCONNECT] role=tester, sessionId=25a0b4f5-f767-48a9-1a95-ca18b51c4773
detox[15680] DEBUG: [DetoxServer.js/DISCONNECT] role=testee, sessionId=25a0b4f5-f767-48a9-1a95-ca18b51c4773
detox[15680] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=tester not connected, cannot fw action (sessionId=25a0b4f5-f767-48a9-1a95-ca18b51c4773)
detox[15680] DEBUG: [exec.js/EXEC_SUCCESS, #8] 0BABC374-4903-4E95-A1CB-C265C656F1D6 shut down
detox[15680] DEBUG: [DetoxServer.js/WS_CLOSE] Detox server connections terminated gracefully
FAIL e2e/tests/Auth/login.spec.js (547.778s)
Auth
✕ should show main feed after manual login (240426ms)
● Auth › should show main feed after manual login
Timeout - Async callback was not invoked within the 300000ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 300000ms timeout specified by jest.setTimeout.
at mapper (../node_modules/jest-jasmine2/build/queueRunner.js:25:45)
● Auth › should show main feed after manual login
Timeout - Async callback was not invoked within the 120000ms timeout specified by jest.setTimeout.Error: Timeout - Async callback was not invoked within the 120000ms timeout specified by jest.setTimeout.
at mapper (../node_modules/jest-jasmine2/build/queueRunner.js:25:45)
● Auth › should show main feed after manual login
: Timeout - Async callback was not invoked within the 120000ms timeout specified by jest.setTimeout.Timeout - Async callback was not invoked within the 120000ms timeout specified by jest.setTimeout.
30 |
[private login info]
34 |
35 | // DOUBLE TAP LOGIN BUTTON
at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
at Suite.<anonymous> (tests/Auth/login.spec.js:32:3)
at Object.<anonymous> (tests/Auth/login.spec.js:10:1)
detox[15680] INFO: at e2e/init.js:21:19
beforeAll
detox[15680] INFO: [DetoxServer.js] server listening on localhost:61703...
detox[15680] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:61703
detox[15680] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=d7d6ad2d-d095-81b0-7955-6b83885362a3
detox[15680] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=d7d6ad2d-d095-81b0-7955-6b83885362a3
detox[15680] DEBUG: [exec.js/EXEC_CMD, #0] applesimutils --list --byType "iPhone 11 Pro Max"
detox[15680] DEBUG: [exec.js/EXEC_CMD, #1] applesimutils --list --byId 0BABC374-4903-4E95-A1CB-C265C656F1D6 --maxResults 1
detox[15680] DEBUG: [exec.js/EXEC_CMD, #2] /usr/bin/xcrun simctl boot 0BABC374-4903-4E95-A1CB-C265C656F1D6
detox[15680] DEBUG: [exec.js/EXEC_TRY, #2] Booting device 0BABC374-4903-4E95-A1CB-C265C656F1D6...
detox[15680] DEBUG: [exec.js/EXEC_CMD, #3] /usr/bin/xcrun simctl bootstatus 0BABC374-4903-4E95-A1CB-C265C656F1D6
detox[15680] DEBUG: [exec.js/EXEC_CMD, #4] /usr/bin/xcrun simctl io 0BABC374-4903-4E95-A1CB-C265C656F1D6 screenshot "/dev/null"
detox[15680] DEBUG: [exec.js/EXEC_CMD, #5] /usr/bin/xcrun simctl uninstall 0BABC374-4903-4E95-A1CB-C265C656F1D6 [BUNDLE_ID]
detox[15680] DEBUG: [exec.js/EXEC_TRY, #5] Uninstalling [BUNDLE_ID]...
detox[15680] DEBUG: [exec.js/EXEC_SUCCESS, #5] [BUNDLE_ID] uninstalled
detox[15680] DEBUG: [exec.js/EXEC_CMD, #6] /usr/bin/xcrun simctl install 0BABC374-4903-4E95-A1CB-C265C656F1D6 "/Users/bryanboyko/XCode/<app_name>.app"
detox[15680] DEBUG: [exec.js/EXEC_TRY, #6] Installing /Users/bryanboyko/XCode/<app_name>.app...
detox[15680] DEBUG: [exec.js/EXEC_SUCCESS, #6] /Users/bryanboyko/XCode/<app_name>.app installed
detox[15680] INFO: at e2e/init.js:28:19
initialized
detox[15680] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=d7d6ad2d-d095-81b0-7955-6b83885362a3)
RUNS e2e/tests/Auth/registration.spec.js
I also ran into this issue and was able to resolve it by starting Xcode and starting a new simulator that was unrelated to the detox simulator. My guess is that starting a new simulator via Xcode helped bust a hang.
However, I'm also aware that disablingSynchronization is generally to be avoided. So my first recommendation is to comment that out and retry. If that doesn't work, then try my weird Xcode hack with it commented it out and go from there.
For reference, here is the documentation on disableSynchronization, which should explain why adding it should be avoided if possible: https://github.com/wix/detox/blob/master/docs/Troubleshooting.Synchronization.md#controlling-the-entire-synchronization-mechanism

Detox server doesn't get initialized on iOS and JavaScript Timers -> busy Javascript Timers

I am trying to make e2e tests using Detox
and i have faced problem as Detox server doesn't get initialized
and I get the following too :
detox[48831] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8)
I hope that logs are not too long but here are the logs that I have in the artifact.
4D59B341-1D72-4537-A7A6-2685607D41FC 2020-02-19 15-16-51Z.startup
detox[48831] INFO: [DetoxServer.js] server listening on localhost:50871...
detox[48831] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:50871
detox[48831] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8
detox[48831] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8
detox[48831] DEBUG: [exec.js/EXEC_CMD, #0] applesimutils --list --byType "iPhone X"
detox[48831] DEBUG: [exec.js/EXEC_CMD, #1] applesimutils --list --byId 4D59B341-1D72-4537-A7A6-2685607D41FC --maxResults 1
detox[48831] DEBUG: [exec.js/EXEC_CMD, #2] /usr/bin/xcrun simctl uninstall 4D59B341-1D72-4537-A7A6-2685607D41FC com.snowflake.hike
detox[48831] DEBUG: [exec.js/EXEC_TRY, #2] Uninstalling com.snowflake.hike...
detox[48831] DEBUG: [exec.js/EXEC_SUCCESS, #2] com.snowflake.hike uninstalled
detox[48831] DEBUG: [exec.js/EXEC_CMD, #3] /usr/bin/xcrun simctl install 4D59B341-1D72-4537-A7A6-2685607D41FC "/Users/snowflake/DevSquads/snowflake/snowflake-react-native/ios/build/snowflake/Build/Products/Debug-iphonesimulator/snowflake.app"
detox[48831] DEBUG: [exec.js/EXEC_TRY, #3] Installing /Users/snowflake/DevSquads/snowflake/snowflake-react-native/ios/build/snowflake/Build/Products/Debug-iphonesimulator/snowflake.app...
detox[48831] DEBUG: [exec.js/EXEC_SUCCESS, #3] /Users/snowflake/DevSquads/snowflake/snowflake-react-native/ios/build/snowflake/Build/Products/Debug-iphonesimulator/snowflake.app installed
detox[48831] DEBUG: [exec.js/EXEC_CMD, #4] /usr/bin/xcrun simctl terminate 4D59B341-1D72-4537-A7A6-2685607D41FC com.snowflake.hike
detox[48831] DEBUG: [exec.js/EXEC_TRY, #4] Terminating com.snowflake.hike...
detox[48831] DEBUG: [exec.js/EXEC_SUCCESS, #4] com.snowflake.hike terminated
detox[48831] DEBUG: [exec.js/EXEC_CMD, #5] /usr/bin/xcrun simctl get_app_container 4D59B341-1D72-4537-A7A6-2685607D41FC com.snowflake.hike
detox[48831] DEBUG: [exec.js/SPAWN_CMD, #6] [pid=48872] /usr/bin/xcrun simctl spawn 4D59B341-1D72-4537-A7A6-2685607D41FC log stream --level debug --style compact --predicate "processImagePath beginsWith \"/Users/snowflake/Library/Developer/CoreSimulator/Devices/4D59B341-1D72-4537-A7A6-2685607D41FC/data/Containers/Bundle/Application/0C2DE3FE-41FB-40C4-A0A6-7EC5819FD51E/snowflake.app\""
detox[48831] DEBUG: [exec.js/EXEC_CMD, #7] SIMCTL_CHILD_DYLD_INSERT_LIBRARIES="/Users/snowflake/Library/Detox/ios/647caee43d053e07344915b0d5b71c85cb0b4733/Detox.framework/Detox" /usr/bin/xcrun simctl launch 4D59B341-1D72-4537-A7A6-2685607D41FC com.snowflake.hike --args -detoxServer "ws://localhost:50871" -detoxSessionId "c5f11579-4c6f-6735-87be-96d91fe111d8" -detoxPrintBusyIdleResources "YES"
detox[48831] DEBUG: [exec.js/EXEC_TRY, #7] Launching com.snowflake.hike...
detox[48831] DEBUG: [exec.js/EXEC_CMD, #8] /usr/bin/xcrun simctl get_app_container 4D59B341-1D72-4537-A7A6-2685607D41FC com.snowflake.hike
detox[48831] INFO: [AppleSimUtils.js] com.snowflake.hike launched. To watch simulator logs, run:
/usr/bin/xcrun simctl spawn 4D59B341-1D72-4537-A7A6-2685607D41FC log stream --level debug --style compact --predicate 'process == snowflake'
detox[48831] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8)
detox[48831] DEBUG: [DetoxServer.js/LOGIN] role=testee, sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8
detox[48831] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=testee, sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8
detox[48831] DEBUG: [exec.js/KILL] sending SIGINT to [pid = 48872]: /usr/bin/xcrun simctl spawn 4D59B341-1D72-4537-A7A6-2685607D41FC log stream --level debug --style compact --predicate processImagePath beginsWith "/Users/snowflake/Library/Developer/CoreSimulator/Devices/4D59B341-1D72-4537-A7A6-2685607D41FC/data/Containers/Bundle/Application/0C2DE3FE-41FB-40C4-A0A6-7EC5819FD51E/snowflake.app"
detox[48831] DEBUG: [exec.js/EXEC_CMD, #9] /usr/bin/xcrun simctl get_app_container 4D59B341-1D72-4537-A7A6-2685607D41FC com.snowflake.hike
detox[48831] DEBUG: [exec.js/SPAWN_CMD, #10] [pid=49499] /usr/bin/xcrun simctl spawn 4D59B341-1D72-4537-A7A6-2685607D41FC log stream --level debug --style compact --predicate "processImagePath beginsWith \"/Users/snowflake/Library/Developer/CoreSimulator/Devices/4D59B341-1D72-4537-A7A6-2685607D41FC/data/Containers/Bundle/Application/0C2DE3FE-41FB-40C4-A0A6-7EC5819FD51E/snowflake.app\""
detox[48831] DEBUG: [exec.js/EXEC_CMD, #11] /usr/bin/xcrun simctl io 4D59B341-1D72-4537-A7A6-2685607D41FC screenshot "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/ac4574f8-0716-40bd-9cdc-bc4dc6d0ffdb.detox.png"
detox[48831] DEBUG: [exec.js/SPAWN_CMD, #12] [pid=49503] /usr/bin/xcrun simctl io 4D59B341-1D72-4537-A7A6-2685607D41FC recordVideo /private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/c0179e52-2fb0-49ab-90b8-30dc9dfa43db.detox.mp4
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync WXRunLoopIdlingResource: React Native thread is busy.
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync WXRunLoopIdlingResource: React Native thread is busy.
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync Timer: Tracking Timer <__NSCFTimer: 0x600003b0dd40>
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync Timer: Tracking Timer <__NSCFTimer: 0x600003b0dd40>
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync Timer: Tracking Timer <__NSCFTimer: 0x600003b0dd40>
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync WXRunLoopIdlingResource: React Native thread is busy.
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync WXRunLoopIdlingResource: React Native thread is busy.
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.facebook.react.ShadowQueue
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync WXRunLoopIdlingResource: React Native thread is busy.
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.facebook.react.ShadowQueue
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync WXRunLoopIdlingResource: React Native thread is busy.
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync WXRunLoopIdlingResource: React Native thread is busy.
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.facebook.react.ShadowQueue
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync WXRunLoopIdlingResource: React Native thread is busy.
detox[48831] DEBUG: [exec.js/EXEC_CMD, #13] /usr/bin/xcrun simctl io 4D59B341-1D72-4537-A7A6-2685607D41FC screenshot "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/f98b8fab-208a-4d78-8153-d261dce44d90.detox.png"
detox[48831] DEBUG: [exec.js/KILL] sending SIGINT to [pid = 49503]: /usr/bin/xcrun simctl io 4D59B341-1D72-4537-A7A6-2685607D41FC recordVideo /private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/c0179e52-2fb0-49ab-90b8-30dc9dfa43db.detox.mp4
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] DEBUG: [SimulatorRecordVideoPlugin.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/c0179e52-2fb0-49ab-90b8-30dc9dfa43db.detox.mp4" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/✗ Example should show GET STARTED button/test.mp4
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] DEBUG: [Artifact.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/ac4574f8-0716-40bd-9cdc-bc4dc6d0ffdb.detox.png" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/✗ Example should show GET STARTED button/testStart.png
detox[48831] DEBUG: [Artifact.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/f98b8fab-208a-4d78-8153-d261dce44d90.detox.png" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/✗ Example should show GET STARTED button/testDone.png
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] DEBUG: [exec.js/KILL] sending SIGINT to [pid = 49499]: /usr/bin/xcrun simctl spawn 4D59B341-1D72-4537-A7A6-2685607D41FC log stream --level debug --style compact --predicate processImagePath beginsWith "/Users/snowflake/Library/Developer/CoreSimulator/Devices/4D59B341-1D72-4537-A7A6-2685607D41FC/data/Containers/Bundle/Application/0C2DE3FE-41FB-40C4-A0A6-7EC5819FD51E/snowflake.app"
detox[48831] WARN: [Client.js/PENDING_REQUESTS] App has not responded to the network requests below:
(id = 1) invoke: {"target":{"type":"Invocation","value":{"target":{"type":"EarlGrey","value":"instance"},"method":"detox_selectElementWithMatcher:","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"GREYMatchers"},"method":"detoxMatcherForText:","args":[{"type":"NSString","value":"Personalized to You"}]}}]}},"method":"assertWithMatcher:","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"GREYMatchers"},"method":"matcherForSufficientlyVisible","args":[]}}]}
(id = -1000) reactNativeReload: {}
That might be the reason why the test "Example should show GET STARTED button" has timed out.
detox[48831] DEBUG: [SimulatorLogRecording.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/90c3bf5e-026e-42f8-a462-d8d32e57fd77.detox.log" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/✗ Example should show GET STARTED button/process.log
detox[48831] DEBUG: [SimulatorLogRecording.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/864b0986-f94b-481a-8f81-6132f73f6558.detox.log" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/4D59B341-1D72-4537-A7A6-2685607D41FC 2020-02-19 15-16-51Z.startup.log
detox[48831] DEBUG: [Artifact.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/053ef6fa-1c4f-4f4a-bfc7-c7a0973c182a.detox.log" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/detox_pid_48831.json.log
detox[48831] DEBUG: [Artifact.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/dc0d2b5c-4d65-471e-850e-f86af80747d8.detox.log" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/detox_pid_48831.log
detox[48831] DEBUG: [DetoxServer.js/DISCONNECT] role=tester, sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8
detox[48831] DEBUG: [DetoxServer.js/DISCONNECT] role=testee, sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8
detox[48831] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=tester not connected, cannot fw action (sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8)
detox[48831] DEBUG: [DetoxServer.js/WS_CLOSE] Detox server connections terminated gracefully
process.log
Filtering the log data using "processImagePath BEGINSWITH "/Users/snowflake/Library/Developer/CoreSimulator/Devices/4D59B341-1D72-4537-A7A6-2685607D41FC/data/Containers/Bundle/Application/0C2DE3FE-41FB-40C4-A0A6-7EC5819FD51E/snowflake.app""
Timestamp Ty Process[PID:TID]
2020-02-19 17:12:50.038 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.038 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.038 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.038 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.038 I snowflake[48884:9d3f4] [com.wix.Detox:WXJSTimerObservationIdlingResource] Removing observed timer 17836
2020-02-19 17:12:50.039 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] WXRunLoopIdlingResource -> busy React Native thread is busy.
2020-02-19 17:12:50.039 I snowflake[48884:9d3f4] [com.wix.Detox:WXJSTimerObservationIdlingResource] Observing timer: 17837 d: 0.001 r: 0
2020-02-19 17:12:50.039 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] WXRunLoopIdlingResource -> busy React Native thread is busy.
2020-02-19 17:12:50.039 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.039 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.039 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.054 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.055 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.055 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.055 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.055 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.055 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.055 I snowflake[48884:9d3f4] [com.wix.Detox:WXJSTimerObservationIdlingResource] Removing observed timer 17837
2020-02-19 17:12:50.055 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] WXRunLoopIdlingResource -> busy React Native thread is busy.
2020-02-19 17:12:50.055 I snowflake[48884:9d3f4] [com.wix.Detox:WXJSTimerObservationIdlingResource] Observing timer: 17838 d: 0.001 r: 0
2020-02-19 17:12:50.056 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] WXRunLoopIdlingResource -> busy React Native thread is busy.
2020-02-19 17:12:50.056 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.056 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
2020-02-19 17:12:50.056 Db snowflake[48884:9d39b] [com.wix.Detox:EarlGreyStatistics] JavaScript Timers -> busy Javascript Timers
detox_pid_48831.log
detox[48831] INFO: [DetoxServer.js] server listening on localhost:50871...
detox[48831] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:50871
detox[48831] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8
detox[48831] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8
detox[48831] DEBUG: [exec.js/EXEC_CMD, #0] applesimutils --list --byType "iPhone X"
detox[48831] DEBUG: [exec.js/EXEC_CMD, #1] applesimutils --list --byId 4D59B341-1D72-4537-A7A6-2685607D41FC --maxResults 1
detox[48831] DEBUG: [exec.js/EXEC_CMD, #2] /usr/bin/xcrun simctl uninstall 4D59B341-1D72-4537-A7A6-2685607D41FC com.snowflake.hike
detox[48831] DEBUG: [exec.js/EXEC_TRY, #2] Uninstalling com.snowflake.hike...
detox[48831] DEBUG: [exec.js/EXEC_SUCCESS, #2] com.snowflake.hike uninstalled
detox[48831] DEBUG: [exec.js/EXEC_CMD, #3] /usr/bin/xcrun simctl install 4D59B341-1D72-4537-A7A6-2685607D41FC "/Users/snowflake/DevSquads/snowflake/snowflake-react-native/ios/build/snowflake/Build/Products/Debug-iphonesimulator/snowflake.app"
detox[48831] DEBUG: [exec.js/EXEC_TRY, #3] Installing /Users/snowflake/DevSquads/snowflake/snowflake-react-native/ios/build/snowflake/Build/Products/Debug-iphonesimulator/snowflake.app...
detox[48831] DEBUG: [exec.js/EXEC_SUCCESS, #3] /Users/snowflake/DevSquads/snowflake/snowflake-react-native/ios/build/snowflake/Build/Products/Debug-iphonesimulator/snowflake.app installed
detox[48831] DEBUG: [exec.js/EXEC_CMD, #4] /usr/bin/xcrun simctl terminate 4D59B341-1D72-4537-A7A6-2685607D41FC com.snowflake.hike
detox[48831] DEBUG: [exec.js/EXEC_TRY, #4] Terminating com.snowflake.hike...
detox[48831] DEBUG: [exec.js/EXEC_SUCCESS, #4] com.snowflake.hike terminated
detox[48831] DEBUG: [exec.js/EXEC_CMD, #5] /usr/bin/xcrun simctl get_app_container 4D59B341-1D72-4537-A7A6-2685607D41FC com.snowflake.hike
detox[48831] DEBUG: [exec.js/SPAWN_CMD, #6] [pid=48872] /usr/bin/xcrun simctl spawn 4D59B341-1D72-4537-A7A6-2685607D41FC log stream --level debug --style compact --predicate "processImagePath beginsWith \"/Users/snowflake/Library/Developer/CoreSimulator/Devices/4D59B341-1D72-4537-A7A6-2685607D41FC/data/Containers/Bundle/Application/0C2DE3FE-41FB-40C4-A0A6-7EC5819FD51E/snowflake.app\""
detox[48831] DEBUG: [exec.js/EXEC_CMD, #7] SIMCTL_CHILD_DYLD_INSERT_LIBRARIES="/Users/snowflake/Library/Detox/ios/647caee43d053e07344915b0d5b71c85cb0b4733/Detox.framework/Detox" /usr/bin/xcrun simctl launch 4D59B341-1D72-4537-A7A6-2685607D41FC com.snowflake.hike --args -detoxServer "ws://localhost:50871" -detoxSessionId "c5f11579-4c6f-6735-87be-96d91fe111d8" -detoxPrintBusyIdleResources "YES"
detox[48831] DEBUG: [exec.js/EXEC_TRY, #7] Launching com.snowflake.hike...
detox[48831] DEBUG: [exec.js/EXEC_CMD, #8] /usr/bin/xcrun simctl get_app_container 4D59B341-1D72-4537-A7A6-2685607D41FC com.snowflake.hike
detox[48831] INFO: [AppleSimUtils.js] com.snowflake.hike launched. To watch simulator logs, run:
/usr/bin/xcrun simctl spawn 4D59B341-1D72-4537-A7A6-2685607D41FC log stream --level debug --style compact --predicate 'process == snowflake'
detox[48831] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8)
detox[48831] DEBUG: [DetoxServer.js/LOGIN] role=testee, sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8
detox[48831] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=testee, sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8
detox[48831] DEBUG: [exec.js/KILL] sending SIGINT to [pid = 48872]: /usr/bin/xcrun simctl spawn 4D59B341-1D72-4537-A7A6-2685607D41FC log stream --level debug --style compact --predicate processImagePath beginsWith "/Users/snowflake/Library/Developer/CoreSimulator/Devices/4D59B341-1D72-4537-A7A6-2685607D41FC/data/Containers/Bundle/Application/0C2DE3FE-41FB-40C4-A0A6-7EC5819FD51E/snowflake.app"
detox[48831] DEBUG: [exec.js/EXEC_CMD, #9] /usr/bin/xcrun simctl get_app_container 4D59B341-1D72-4537-A7A6-2685607D41FC com.snowflake.hike
detox[48831] DEBUG: [exec.js/SPAWN_CMD, #10] [pid=49499] /usr/bin/xcrun simctl spawn 4D59B341-1D72-4537-A7A6-2685607D41FC log stream --level debug --style compact --predicate "processImagePath beginsWith \"/Users/snowflake/Library/Developer/CoreSimulator/Devices/4D59B341-1D72-4537-A7A6-2685607D41FC/data/Containers/Bundle/Application/0C2DE3FE-41FB-40C4-A0A6-7EC5819FD51E/snowflake.app\""
detox[48831] DEBUG: [exec.js/EXEC_CMD, #11] /usr/bin/xcrun simctl io 4D59B341-1D72-4537-A7A6-2685607D41FC screenshot "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/ac4574f8-0716-40bd-9cdc-bc4dc6d0ffdb.detox.png"
detox[48831] DEBUG: [exec.js/SPAWN_CMD, #12] [pid=49503] /usr/bin/xcrun simctl io 4D59B341-1D72-4537-A7A6-2685607D41FC recordVideo /private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/c0179e52-2fb0-49ab-90b8-30dc9dfa43db.detox.mp4
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync WXRunLoopIdlingResource: React Native thread is busy.
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync WXRunLoopIdlingResource: React Native thread is busy.
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] DEBUG: [exec.js/EXEC_CMD, #13] /usr/bin/xcrun simctl io 4D59B341-1D72-4537-A7A6-2685607D41FC screenshot "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/f98b8fab-208a-4d78-8153-d261dce44d90.detox.png"
detox[48831] DEBUG: [exec.js/KILL] sending SIGINT to [pid = 49503]: /usr/bin/xcrun simctl io 4D59B341-1D72-4537-A7A6-2685607D41FC recordVideo /private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/c0179e52-2fb0-49ab-90b8-30dc9dfa43db.detox.mp4
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] DEBUG: [SimulatorRecordVideoPlugin.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/c0179e52-2fb0-49ab-90b8-30dc9dfa43db.detox.mp4" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/✗ Example should show GET STARTED button/test.mp4
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] DEBUG: [Artifact.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/ac4574f8-0716-40bd-9cdc-bc4dc6d0ffdb.detox.png" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/✗ Example should show GET STARTED button/testStart.png
detox[48831] DEBUG: [Artifact.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/f98b8fab-208a-4d78-8153-d261dce44d90.detox.png" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/✗ Example should show GET STARTED button/testDone.png
detox[48831] INFO: [actions.js] Sync JavaScript Timers: Javascript Timers
detox[48831] INFO: [actions.js] Sync Dispatch Queue: com.apple.main-thread
detox[48831] DEBUG: [exec.js/KILL] sending SIGINT to [pid = 49499]: /usr/bin/xcrun simctl spawn 4D59B341-1D72-4537-A7A6-2685607D41FC log stream --level debug --style compact --predicate processImagePath beginsWith "/Users/snowflake/Library/Developer/CoreSimulator/Devices/4D59B341-1D72-4537-A7A6-2685607D41FC/data/Containers/Bundle/Application/0C2DE3FE-41FB-40C4-A0A6-7EC5819FD51E/snowflake.app"
detox[48831] WARN: [Client.js/PENDING_REQUESTS] App has not responded to the network requests below:
(id = 1) invoke: {"target":{"type":"Invocation","value":{"target":{"type":"EarlGrey","value":"instance"},"method":"detox_selectElementWithMatcher:","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"GREYMatchers"},"method":"detoxMatcherForText:","args":[{"type":"NSString","value":"Personalized to You"}]}}]}},"method":"assertWithMatcher:","args":[{"type":"Invocation","value":{"target":{"type":"Class","value":"GREYMatchers"},"method":"matcherForSufficientlyVisible","args":[]}}]}
(id = -1000) reactNativeReload: {}
That might be the reason why the test "Example should show GET STARTED button" has timed out.
detox[48831] DEBUG: [SimulatorLogRecording.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/90c3bf5e-026e-42f8-a462-d8d32e57fd77.detox.log" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/✗ Example should show GET STARTED button/process.log
detox[48831] DEBUG: [SimulatorLogRecording.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/864b0986-f94b-481a-8f81-6132f73f6558.detox.log" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/4D59B341-1D72-4537-A7A6-2685607D41FC 2020-02-19 15-16-51Z.startup.log
detox[48831] DEBUG: [Artifact.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/053ef6fa-1c4f-4f4a-bfc7-c7a0973c182a.detox.log" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/detox_pid_48831.json.log
detox[48831] DEBUG: [Artifact.js/MOVE_FILE] moving "/private/var/folders/35/t0nqj9vd2zd735xf5d05ybzr0000gn/T/dc0d2b5c-4d65-471e-850e-f86af80747d8.detox.log" to artifacts/ios.sim.debug.2020-02-19 15-07-46Z/detox_pid_48831.log
detox[48831] DEBUG: [DetoxServer.js/DISCONNECT] role=tester, sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8
detox[48831] DEBUG: [DetoxServer.js/DISCONNECT] role=testee, sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8
detox[48831] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=tester not connected, cannot fw action (sessionId=c5f11579-4c6f-6735-87be-96d91fe111d8)
detox[48831] DEBUG: [DetoxServer.js/WS_CLOSE] Detox server connections terminated gracefully

Appium not clicking on button and Test is passed

I am new in appium. So, i did complete setup and my application launch successfully. But after launching app, No click action is performed on element.
Code--->
package functionlity;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.concurrent.TimeUnit;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.interactions.Actions;
import org.openqa.selenium.remote.CapabilityType;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import io.appium.java_client.AppiumDriver;
import io.appium.java_client.android.AndroidDriver;
public class Login {
WebDriver driver;
#BeforeClass(alwaysRun = true)
public void Loadsetup() {
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability(CapabilityType.BROWSER_NAME, "");
capabilities.setCapability("deviceName", "dcd9e0817d63");
capabilities.setCapability("VERSION", "6.0");
capabilities.setCapability("platformName", "Android");
capabilities.setCapability("appPackage", "com.engagebeyond.load");
capabilities.setCapability("appActivity", "com.engagebeyond.load.Splesh");
try {
driver = new RemoteWebDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
} catch (MalformedURLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
driver.manage().timeouts().implicitlyWait(15, TimeUnit.SECONDS);
}
#Test(priority=1)
public void Logincase_01() throws InterruptedException{
Thread.sleep(5000);
WebElement w=driver.findElement(By.id("com.engagebeyond.load:id/c1"));
System.out.println(w);
w.click();
}
}
Appium Log--->
> Launching Appium server with command: C:\Program Files (x86)\Appium\node.exe lib\server\main.js --address 127.0.0.1 --port 4723 --app D:\Appiumnewproject\Load-com.engagebeyond.load-33-v3.3.apk --no-reset --platform-name Android --platform-version 23 --automation-name Appium --log-no-color
> info: Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
> info: Appium REST http interface listener started on 127.0.0.1:4723
> info: [debug] Non-default server args: {"app":"D:\\Appiumnewproject\\Load-com.engagebeyond.load-33-v3.3.apk","address":"127.0.0.1","noReset":true,"logNoColors":true,"platformName":"Android","platformVersion":"23","automationName":"Appium"}
> info: Console LogLevel: debug
> info: --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"Android","VERSION":"6.0","deviceName":"dcd9e0817d63","appActivity":"com.engagebeyond.load.Splesh","browserName":"","appPackage":"com.engagebeyond.load"}}
> info: Client User-Agent string: Apache-HttpClient/4.5.1 (Java/1.7.0_79)
> info: [debug] The following desired capabilities were provided, but not recognized by appium. They will be passed on to any other services running on this server. : VERSION
> info: [debug] Using local app from command line: D:\Appiumnewproject\Load-com.engagebeyond.load-33-v3.3.apk
> info: [debug] Creating new appium session 2980c636-5d38-4e5c-8c75-0717d1da26b9
> info: Starting android appium
> info: [debug] Getting Java version
> info: Java version is: 1.6.0_16
> info: [debug] Checking whether adb is present
> info: [debug] Using adb from D:\android-sdk-windows\platform-tools\adb.exe
> info: [debug] Using fast reset? false
> info: [debug] Preparing device for session
> info: [debug] Checking whether app is actually present
> info: Retrieving device
> info: [debug] Trying to find a connected android device
> info: [debug] Getting connected devices...
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe devices
> info: [debug] 1 device(s) connected
> info: Found device dcd9e0817d63
> info: [debug] Setting device id to dcd9e0817d63
> info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 wait-for-device
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "echo 'ready'"
> info: [debug] Starting logcat capture
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 23
> info: Device API level is: 23
> info: [debug] Extracting strings for language: default
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "getprop persist.sys.language"
> info: [debug] Current device persist.sys.language:
> info: [debug] java -jar "C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools_1.6.jar" "stringsFromApk" "D:\Appiumnewproject\Load-com.engagebeyond.load-33-v3.3.apk" "c:\Temp\com.engagebeyond.load"
> info: [debug] No strings.xml for language '', getting default strings.xml
> info: [debug] java -jar "C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\appium_apk_tools_1.6.jar" "stringsFromApk" "D:\Appiumnewproject\Load-com.engagebeyond.load-33-v3.3.apk" "c:\Temp\com.engagebeyond.load"
> warn: Error getting strings.xml from apk
> info: [debug] Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
> at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)
> at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:540)
> at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:76)
> at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:68)
> at io.appium.apktools.StringsXML.run(StringsXML.java:84)
> at io.appium.apktools.Main.main(Main.java:31)
> Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
> at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
> at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:43)
> at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:100)
> at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
> at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
> ... 5 more
>
> warn: Could not get strings, continuing anyway
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "echo '{}' > /data/local/tmp/strings.json"
> info: [debug] Checking whether aapt is present
> info: [debug] Using aapt from D:\android-sdk-windows\build-tools\26.0.0-preview\aapt.exe
> info: [debug] Retrieving process from manifest.
> info: [debug] executing cmd: D:\android-sdk-windows\build-tools\26.0.0-preview\aapt.exe dump xmltree D:\Appiumnewproject\Load-com.engagebeyond.load-33-v3.3.apk AndroidManifest.xml
> info: [debug] Set app process to: com.engagebeyond.load
> info: [debug] Not uninstalling app since server not started with --full-reset
> info: [debug] Checking app cert for D:\Appiumnewproject\Load-com.engagebeyond.load-33-v3.3.apk.
> info: [debug] executing cmd: java -jar "C:\Program Files (x86)\Appium\node_modules\appium\node_modules\appium-adb\jars\verify.jar" D:\Appiumnewproject\Load-com.engagebeyond.load-33-v3.3.apk
> info: [debug] App already signed.
> info: [debug] Zip-aligning D:\Appiumnewproject\Load-com.engagebeyond.load-33-v3.3.apk
> info: [debug] Checking whether zipalign is present
> info: [debug] Using zipalign from D:\android-sdk-windows\build-tools\26.0.0-preview\zipalign.exe
> info: [debug] Zip-aligning apk.
> info: [debug] executing cmd: D:\android-sdk-windows\build-tools\26.0.0-preview\zipalign.exe -f 4 D:\Appiumnewproject\Load-com.engagebeyond.load-33-v3.3.apk c:\Temp\117320-672-a5var0\appium.tmp
> info: [debug] MD5 for app is 1ef6766ab258f337503deaecd232d00c
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "ls /data/local/tmp/1ef6766ab258f337503deaecd232d00c.apk"
> info: [debug] Getting install status for com.engagebeyond.load
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 23
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "pm list packages -3 com.engagebeyond.load"
> info: [debug] App is installed
> info: [debug] Forwarding system:4724 to device:4724
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 forward tcp:4724 tcp:4724
> info: [debug] Pushing appium bootstrap to device...
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 push "C:\\Program Files (x86)\\Appium\\node_modules\\appium\\build\\android_bootstrap\\AppiumBootstrap.jar" /data/local/tmp/
> info: [debug] Pushing settings apk to device...
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 install "C:\Program Files (x86)\Appium\node_modules\appium\build\settings_apk\settings_apk-debug.apk"
> info: [debug] Pushing unlock helper app to device...
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 install "C:\Program Files (x86)\Appium\node_modules\appium\build\unlock_apk\unlock_apk-debug.apk"
> info: Starting App
> info: [debug] Attempting to kill all 'uiautomator' processes
> info: [debug] Getting all processes with 'uiautomator'
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "ps 'uiautomator'"
> info: [debug] No matching processes found
> info: [debug] Running bootstrap
> info: [debug] spawning: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell uiautomator runtest AppiumBootstrap.jar -c io.appium.android.bootstrap.Bootstrap -e pkg com.engagebeyond.load -e disableAndroidWatchers false
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
> info: [debug] [UIAUTOMATOR STDOUT] io.appium.android.bootstrap.Bootstrap:
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 1
> info: [debug] [BOOTSTRAP] [debug] Socket opened on port 4724
> info: [debug] [BOOTSTRAP] [debug] Appium Socket Server Ready
> info: [debug] [BOOTSTRAP] [debug] Loading json...
> info: [debug] [BOOTSTRAP] [debug] json loading complete.
> info: [debug] [BOOTSTRAP] [debug] Registered crash watchers.
> info: [debug] Waking up device if it's not alive
> info: [debug] Pushing command to appium work queue: ["wake",{}]
> info: [debug] [BOOTSTRAP] [debug] Client connected
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"wake","params":{}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: wake
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "dumpsys window"
> info: [debug] Screen already unlocked, continuing.
> info: [debug] Pushing command to appium work queue: ["getDataDir",{}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"getDataDir","params":{}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: getDataDir
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"\/data\/local\/tmp"}
> info: [debug] dataDir set to: /data/local/tmp
> info: [debug] Pushing command to appium work queue: ["compressedLayoutHierarchy",{"compressLayout":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"compressedLayoutHierarchy","params":{"compressLayout":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: compressedLayoutHierarchy
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":false}
> info: [debug] Getting device API level
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "getprop ro.build.version.sdk"
> info: [debug] Device is at API Level 23
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.engagebeyond.load/com.engagebeyond.load.Splesh"
> info: [debug] Waiting for pkg "com.engagebeyond.load" and activity "com.engagebeyond.load.Splesh" to be focused
> info: [debug] Getting focused package and activity
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "dumpsys window windows"
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "getprop ro.build.version.release"
> info: [debug] Device is at release version 6.0.1
> info: [debug] Device launched! Ready for commands
> info: [debug] Setting command timeout to the default of 60 secs
> info: [debug] Appium session started with sessionId 2980c636-5d38-4e5c-8c75-0717d1da26b9
> info: <-- POST /wd/hub/session 303 16397.110 ms - 74
> info: --> GET /wd/hub/session/2980c636-5d38-4e5c-8c75-0717d1da26b9 {}
> info: [debug] Responding to client with success: {"status":0,"value":{"platform":"LINUX","browserName":"","platformVersion":"6.0.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","VERSION":"6.0","deviceName":"dcd9e0817d63","appActivity":"com.engagebeyond.load.Splesh","browserName":"","appPackage":"com.engagebeyond.load"},"platformName":"Android","VERSION":"6.0","deviceName":"dcd9e0817d63","appActivity":"com.engagebeyond.load.Splesh","appPackage":"com.engagebeyond.load"},"sessionId":"2980c636-5d38-4e5c-8c75-0717d1da26b9"}
> info: <-- GET /wd/hub/session/2980c636-5d38-4e5c-8c75-0717d1da26b9 200 7.609 ms - 641 {"status":0,"value":{"platform":"LINUX","browserName":"","platformVersion":"6.0.1","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"platformName":"Android","VERSION":"6.0","deviceName":"dcd9e0817d63","appActivity":"com.engagebeyond.load.Splesh","browserName":"","appPackage":"com.engagebeyond.load"},"platformName":"Android","VERSION":"6.0","deviceName":"dcd9e0817d63","appActivity":"com.engagebeyond.load.Splesh","appPackage":"com.engagebeyond.load"},"sessionId":"2980c636-5d38-4e5c-8c75-0717d1da26b9"}
> info: --> POST /wd/hub/session/2980c636-5d38-4e5c-8c75-0717d1da26b9/timeouts {"type":"implicit","ms":15000}
> info: [debug] Set Android implicit wait to 15000ms
> info: [debug] Responding to client with success: {"status":0,"value":null,"sessionId":"2980c636-5d38-4e5c-8c75-0717d1da26b9"}
> info: <-- POST /wd/hub/session/2980c636-5d38-4e5c-8c75-0717d1da26b9/timeouts 200 6.394 ms - 76 {"status":0,"value":null,"sessionId":"2980c636-5d38-4e5c-8c75-0717d1da26b9"}
> info: --> POST /wd/hub/session/2980c636-5d38-4e5c-8c75-0717d1da26b9/element {"using":"id","value":"com.engagebeyond.load:id/c1"}
> info: [debug] Waiting up to 15000ms for condition
> info: [debug] Pushing command to appium work queue: ["find",{"strategy":"id","selector":"com.engagebeyond.load:id/c1","context":"","multiple":false}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.engagebeyond.load:id/c1","context":"","multiple":false}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: find
> info: [debug] [BOOTSTRAP] [debug] Finding com.engagebeyond.load:id/c1 using ID with the contextId: multiple: false
> info: [debug] [BOOTSTRAP] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.engagebeyond.load:id/c1]
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}}
> info: [debug] Responding to client with success: {"status":0,"value":{"ELEMENT":"1"},"sessionId":"2980c636-5d38-4e5c-8c75-0717d1da26b9"}
> info: <-- POST /wd/hub/session/2980c636-5d38-4e5c-8c75-0717d1da26b9/element 200 32.339 ms - 87 {"status":0,"value":{"ELEMENT":"1"},"sessionId":"2980c636-5d38-4e5c-8c75-0717d1da26b9"}
> info: --> POST /wd/hub/session/2980c636-5d38-4e5c-8c75-0717d1da26b9/element/1/click {"id":"1"}
> info: [debug] Pushing command to appium work queue: ["element:click",{"elementId":"1"}]
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: click
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"2980c636-5d38-4e5c-8c75-0717d1da26b9"}
> info: <-- POST /wd/hub/session/2980c636-5d38-4e5c-8c75-0717d1da26b9/element/1/click 200 64.664 ms - 76 {"status":0,"value":true,"sessionId":"2980c636-5d38-4e5c-8c75-0717d1da26b9"}
> info: [debug] Didn't get a new command in 60 secs, shutting down...
> info: Shutting down appium session
> info: [debug] Pressing the HOME button
> info: [debug] executing cmd: D:\android-sdk-windows\platform-tools\adb.exe -s dcd9e0817d63 shell "input keyevent 3"
> info: [debug] Stopping logcat capture
> info: [debug] Logcat terminated with code null, signal SIGTERM
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"shutdown"}
> info: [debug] [BOOTSTRAP] [debug] Got command of type SHUTDOWN
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":"OK, shutting down"}
> info: [debug] Sent shutdown command, waiting for UiAutomator to stop...
> info: [debug] [BOOTSTRAP] [debug] Closed client connection
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: numtests=1
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=.
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: test=testRunServer
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: current=1
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: 0
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS: stream=
> info: [debug] [UIAUTOMATOR STDOUT] Test results for WatcherResultPrinter=.
> info: [debug] [UIAUTOMATOR STDOUT] Time: 68.444
> info: [debug] [UIAUTOMATOR STDOUT] OK (1 test)
> info: [debug] [UIAUTOMATOR STDOUT] INSTRUMENTATION_STATUS_CODE: -1
> info: [debug] UiAutomator shut down normally
> info: [debug] Cleaning up android objects
> info: [debug] Cleaning up appium session
> info: [debug] We shut down because no new commands came in
please suggest me solution. here what is wrong with my code.I am new in appium. So, i did complete setup and my application launch successfully. But after launching app, No click action is performed on element
If you see your log file, it has this output -
> info: [debug] [BOOTSTRAP] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}}
> info: [debug] [BOOTSTRAP] [debug] Got command of type ACTION
> info: [debug] [BOOTSTRAP] [debug] Got command action: click
> info: [debug] [BOOTSTRAP] [debug] Returning result: {"status":0,"value":true}
> info: [debug] Responding to client with success: {"status":0,"value":true,"sessionId":"2980c636-5d38-4e5c-8c75-0717d1da26b9"}
This means that Appium was able to successfully click on the element, based on the identifier you provided. Maybe there is an issue with the identifier you have used, and that's why appium is not clicking on the correct element.
Would it be possible for you to share the UIAutomatorViewer screenshot, so that we can have a look at the object properties?

Selenium driver fails to start WebDriver session for non-root user with Firefox

I have a GoCD (thoughtworks) agent running end-to-end tests using selenium and protractor on a dedicated server through a grunt automated task with a Headless Firefox on Xvfb.
If I run the task as root (mind that all the files and folders on the directory are owned by the GO user), it runs fine.
If I run the task as the Go user (which is the one that runs the automated tests), I get the following error:
16:37:42.357 Running "protractor:ci" (protractor) task
16:37:42.573 Starting selenium standalone server...
16:37:42.581 [launcher] Running 1 instances of WebDriver
16:37:43.194 Selenium standalone server started at http://XX.XX.XX.54:48234/wd/hub
16:37:45.385 ERROR - Unable to start a WebDriver session.
16:37:45.393
16:37:45.394 /var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:113
16:37:45.394 var template = new Error(this.message);
16:37:45.394 ^
16:37:45.394 UnknownError: Bad request
16:37:45.394 Command duration or timeout: 166 milliseconds
16:37:45.394 Build info: version: '2.47.0', revision: '0e4837e', time: '2015-07-29 22:56:05'
16:37:45.394 System info: host: 'MyHostNAME', ip: 'XX.XX.XX.54', os.name: 'Linux', os.arch: 'amd64', os.version: '3.14.32-xxxx-grs-ipv6-64', java.version: '1.7.0_95'
16:37:45.394 Driver info: org.openqa.selenium.firefox.FirefoxDriver
16:37:45.394 at new bot.Error (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/error.js:113:18)
16:37:45.394 at Object.bot.response.checkResponse (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/atoms/response.js:106:9)
16:37:45.394 at /var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:152:24
16:37:45.394 at /var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/base.js:1582:15
16:37:45.394 at [object Object].webdriver.promise.ControlFlow.runInNewFrame_ (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1654:20)
16:37:45.394 at notify (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:465:12)
16:37:45.394 at notifyAll (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:442:7)
16:37:45.394 at resolve (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:420:7)
16:37:45.394 at fulfill (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:535:5)
16:37:45.394 at /var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/goog/base.js:1582:15
16:37:45.394 ==== async task ====
16:37:45.394 WebDriver.createSession()
16:37:45.395 at Function.webdriver.WebDriver.acquireSession_ (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:149:22)
16:37:45.395 at Function.webdriver.WebDriver.createSession (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:123:30)
16:37:45.395 at Builder.build (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/selenium-webdriver/builder.js:294:22)
16:37:45.395 at DriverProvider.getNewDriver (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/lib/driverProviders/driverProvider.js:38:7)
16:37:45.395 at Runner.createBrowser (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/lib/runner.js:180:37)
16:37:45.395 at /var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/lib/runner.js:257:21
16:37:45.395 at _fulfilled (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/q/q.js:797:54)
16:37:45.395 at self.promiseDispatch.done (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/q/q.js:826:30)
16:37:45.395 at Promise.promise.promiseDispatch (/var/lib/go-agent/pipelines/development/e2e_tests/node_modules/grunt-protractor-runner/node_modules/protractor/node_modules/q/q.js:759:13)
16:37:45.395 [launcher] Process exited with error code 1
16:37:45.397 >>
16:37:45.397 Fatal error: protractor exited with code: 1
16:37:45.414 [go] Current job status: failed.
What could be preventing the GO user from starting the server?
Thanks for any feedback,
best regards,
Rafa.