Last active
January 27, 2021 22:55
-
-
Save alexfaber2011/70fb71013912c318611e2a3aed536f9c to your computer and use it in GitHub Desktop.
trace logs
This file contains hidden or 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
<nix-shell> ~/R/e/app-native (detox|✚4) $ detox test --configuration android --loglevel trace | |
detox[70101] INFO: [test.js] DETOX_CONFIGURATION="android" DETOX_FORCE_ADB_INSTALL=false DETOX_LOGLEVEL="trace" DETOX_READ_ONLY_EMU=false DETOX_REPORT_SPECS=true DETOX_START_TIMESTAMP=1611786051573 DETOX_USE_CUSTOM_LOGGER=true jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' --maxWorkers 1 e2e | |
detox[70102] TRACE: [Detox.js/DETOX_CREATE] created a Detox instance with config: | |
{"artifactsConfig":{"rootDir":"artifacts/android.2021-01-27 22-20-51Z","plugins":{"log":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"screenshot":{"enabled":true,"shouldTakeAutomaticSnapshots":false,"keepOnlyFailedTestsArtifacts":false},"video":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"instruments":{"enabled":false,"keepOnlyFailedTestsArtifacts":false},"timeline":{"enabled":false},"uiHierarchy":{"enabled":false,"keepOnlyFailedTestsArtifacts":false}},"pathBuilder":{"_rootDir":"artifacts/android.2021-01-27 22-20-51Z"}},"behaviorConfig":{"init":{"reinstallApp":true,"exposeGlobals":true},"cleanup":{"shutdownDevice":false},"launchApp":"auto"},"cliConfig":{"configuration":"android","forceAdbInstall":"false","loglevel":"trace","useCustomLogger":"true"},"deviceConfig":{"type":"android.attached","binaryPath":"build/android.apk","testBinaryPath":"build/android.apk","build":"./scripts/build_test_app android","device":{"adbName":"059aaa47"}},"runnerConfig":{"testRunner":"jest","runnerConfig":"e2e/config.json","specs":"e2e"},"sessionConfig":{"autoStart":true,"server":"ws://localhost:62306","sessionId":"3f6e737f-e096-7573-939e-6e83b6f8dbad","debugSynchronization":10000},"errorBuilder":{"filepath":"/Users/member/foobar/app/app-native/.detoxrc.json","contents":{"testRunner":"jest","runnerConfig":"e2e/config.json","configurations":{"ios":{"type":"ios.simulator","binaryPath":"build/app-native.app","build":"./scripts/build_test_app ios","device":{"type":"iPhone 11"}},"android":{"type":"android.attached","binaryPath":"build/android.apk","testBinaryPath":"build/android.apk","build":"./scripts/build_test_app android","device":{"adbName":"059aaa47"}}}},"configurationName":"android"}} | |
detox[70102] INFO: [DetoxServer.js] server listening on localhost:62306... | |
detox[70102] DEBUG: [AsyncWebSocket.js/WEBSOCKET_OPEN] opened web socket to: ws://localhost:62306 | |
detox[70102] TRACE: [AsyncWebSocket.js/WEBSOCKET_SEND] {"type":"login","params":{"sessionId":"3f6e737f-e096-7573-939e-6e83b6f8dbad","role":"tester"},"messageId":0} | |
detox[70102] DEBUG: [DetoxServer.js/LOGIN] role=tester, sessionId=3f6e737f-e096-7573-939e-6e83b6f8dbad | |
detox[70102] DEBUG: [DetoxServer.js/LOGIN_SUCCESS] role=tester, sessionId=3f6e737f-e096-7573-939e-6e83b6f8dbad | |
detox[70102] TRACE: [AsyncWebSocket.js/WEBSOCKET_MESSAGE] {"type":"loginSuccess","params":{"sessionId":"3f6e737f-e096-7573-939e-6e83b6f8dbad","role":"tester"},"messageId":0} | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #0] "/Users/member/Library/Android/sdk/platform-tools/adb" devices | |
detox[70102] DEBUG: [exec.js/EXEC_SUCCESS, #0] List of devices attached | |
059aaa47 device | |
emulator-5554 device | |
detox[70102] DEBUG: [FreeDeviceFinder.js/DEVICE_LOOKUP] Found a matching & free device 059aaa47 | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #1] "/Users/member/Library/Android/sdk/platform-tools/adb" -s 059aaa47 shell "getprop ro.build.version.sdk" | |
detox[70102] TRACE: [exec.js/EXEC_SUCCESS, #1] 21 | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #2] "/Users/member/Library/Android/sdk/platform-tools/adb" -s 059aaa47 shell "dumpsys power | grep \"^[ ]*m[UW].*=\"" | |
detox[70102] TRACE: [exec.js/EXEC_SUCCESS, #2] mWakefulness=Asleep | |
mWakeLockSummary=0x1 | |
mUserActivitySummary=0x0 | |
mWakeUpWhenPluggedOrUnpluggedConfig=true | |
mUserActivityTimeoutOverrideFromWindowManager=3000 | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #3] "/Users/member/Library/Android/sdk/platform-tools/adb" -s 059aaa47 shell "input keyevent KEYCODE_POWER" | |
detox[70102] TRACE: [exec.js/EXEC_SUCCESS, #3] | |
detox[70102] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onBootDevice({ coldBoot: false, deviceId: '059aaa47', type: 'device' }) | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #4] "/Users/member/Library/Android/sdk/build-tools/30.0.2/aapt" dump badging "/Users/member/foobar/app/app-native/build/android.apk" | grep -e "package: name=" | |
detox[70102] TRACE: [exec.js/EXEC_SUCCESS, #4] package: name='com.foobar.mobilern' versionCode='1' versionName='3.0.0' compileSdkVersion='29' compileSdkVersionCodename='10' | |
detox[70102] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onBeforeUninstallApp({ deviceId: '059aaa47', bundleId: 'com.foobar.mobilern' }) | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #5] "/Users/member/Library/Android/sdk/platform-tools/adb" -s 059aaa47 shell "pm list packages com.foobar.mobilern" | |
detox[70102] TRACE: [exec.js/EXEC_SUCCESS, #5] package:com.foobar.mobilern | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #6] "/Users/member/Library/Android/sdk/platform-tools/adb" -s 059aaa47 uninstall com.foobar.mobilern | |
detox[70102] TRACE: [exec.js/EXEC_SUCCESS, #6] Success | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #7] "/Users/member/Library/Android/sdk/platform-tools/adb" -s 059aaa47 shell "pm list packages com.foobar.mobilern.test" | |
detox[70102] TRACE: [exec.js/EXEC_SUCCESS, #7] | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #8] "/Users/member/Library/Android/sdk/platform-tools/adb" -s 059aaa47 install -rg "/Users/member/foobar/app/app-native/build/android.apk" | |
detox[70102] TRACE: [exec.js/EXEC_SUCCESS, #8] Performing Push Install | |
/Users/member/foobar/app/app-native/build/android.apk: 1 file pushed. 4.7 MB/s (60280339 bytes in 12.178s) | |
pkg: /data/local/tmp/android.apk | |
Success | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #9] "/Users/member/Library/Android/sdk/platform-tools/adb" -s 059aaa47 install -rg "/Users/member/foobar/app/app-native/build/android.apk" | |
detox[70102] TRACE: [exec.js/EXEC_SUCCESS, #9] Performing Push Install | |
/Users/member/foobar/app/app-native/build/android.apk: 1 file pushed. 4.3 MB/s (60280339 bytes in 13.445s) | |
pkg: /data/local/tmp/android.apk | |
Success | |
ROOT_DESCRIBE_BLOCK[70102] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onRunDescribeStart({ name: 'ROOT_DESCRIBE_BLOCK' }) | |
Sign In[70102] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onRunDescribeStart({ name: 'Sign In' }) | |
detox[70102] INFO: Sign In is assigned to 059aaa47 | |
detox[70102] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onBeforeTerminateApp({ deviceId: '059aaa47', bundleId: 'com.foobar.mobilern' }) | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #10] "/Users/member/Library/Android/sdk/platform-tools/adb" -s 059aaa47 shell "am force-stop com.foobar.mobilern" | |
detox[70102] TRACE: [exec.js/EXEC_SUCCESS, #10] | |
detox[70102] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onTerminateApp({ deviceId: '059aaa47', bundleId: 'com.foobar.mobilern' }) | |
detox[70102] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onBeforeLaunchApp({ | |
deviceId: '059aaa47', | |
bundleId: 'com.foobar.mobilern', | |
launchArgs: { | |
detoxServer: 'ws://localhost:62306', | |
detoxSessionId: '3f6e737f-e096-7573-939e-6e83b6f8dbad' | |
} | |
}) | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #11] "/Users/member/Library/Android/sdk/platform-tools/adb" -s 059aaa47 shell "date +\"%m-%d %T.000\"" | |
detox[70102] TRACE: [exec.js/EXEC_SUCCESS, #11] 01-27 16:23:32.000 | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #12] "/Users/member/Library/Android/sdk/platform-tools/adb" -s 059aaa47 reverse tcp:62306 tcp:62306 | |
detox[70102] TRACE: [exec.js/EXEC_SUCCESS, #12] | |
detox[70102] DEBUG: [exec.js/EXEC_CMD, #13] "/Users/member/Library/Android/sdk/platform-tools/adb" -s 059aaa47 shell "pm list instrumentation" | |
detox[70102] TRACE: [exec.js/EXEC_SUCCESS, #13] | |
detox[70102] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onHookFailure({ | |
error: Error: No instrumentation runner found on device 059aaa47 for package com.foobar.mobilern | |
at ADB.getInstrumentationRunner (/Users/member/foobar/app/app-native/node_modules/detox/src/devices/drivers/android/exec/ADB.js:250:13) | |
at processTicksAndRejections (internal/process/task_queues.js:93:5) | |
at Instrumentation.launch (/Users/member/foobar/app/app-native/node_modules/detox/src/devices/drivers/android/tools/Instrumentation.js:19:24) | |
at MonitoredInstrumentation.launch (/Users/member/foobar/app/app-native/node_modules/detox/src/devices/drivers/android/tools/MonitoredInstrumentation.js:18:5) | |
at AttachedAndroidDriver._launchInstrumentationProcess (/Users/member/foobar/app/app-native/node_modules/detox/src/devices/drivers/android/AndroidDriver.js:284:5) | |
at AttachedAndroidDriver._launchApp (/Users/member/foobar/app/app-native/node_modules/detox/src/devices/drivers/android/AndroidDriver.js:267:7) | |
at AttachedAndroidDriver._handleLaunchApp (/Users/member/foobar/app/app-native/node_modules/detox/src/devices/drivers/android/AndroidDriver.js:120:7) | |
at AttachedAndroidDriver.launchApp (/Users/member/foobar/app/app-native/node_modules/detox/src/devices/drivers/android/AndroidDriver.js:91:12) | |
at Device._doLaunchApp (/Users/member/foobar/app/app-native/node_modules/detox/src/devices/Device.js:85:19) | |
at traceCall (/Users/member/foobar/app/app-native/node_modules/detox/src/utils/trace.js:41:20), | |
hook: 'beforeAll' | |
}) | |
detox[70102] INFO: Sign In: should show an error when the user supplies invalid credentials | |
detox[70102] INFO: Sign In: should show an error when the user supplies invalid credentials [FAIL] | |
detox[70102] INFO: Sign In: should allow the user to sign in | |
detox[70102] INFO: Sign In: should allow the user to sign in [FAIL] | |
Sign In[70102] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onRunDescribeFinish({ name: 'Sign In' }) | |
ROOT_DESCRIBE_BLOCK[70102] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onRunDescribeFinish({ name: 'ROOT_DESCRIBE_BLOCK' }) | |
detox[70102] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onBeforeCleanup() | |
detox[70102] DEBUG: [DetoxServer.js/DISCONNECT] role=tester, sessionId=3f6e737f-e096-7573-939e-6e83b6f8dbad | |
detox[70102] DEBUG: [DetoxServer.js/WS_CLOSE] Detox server connections terminated gracefully | |
FAIL e2e/tests/sign-in.e2e.ts (161.606 s) | |
Sign In | |
✕ should show an error when the user supplies invalid credentials (1 ms) | |
✕ should allow the user to sign in (1 ms) | |
● Sign In › should show an error when the user supplies invalid credentials | |
No instrumentation runner found on device 059aaa47 for package com.foobar.mobilern | |
at ADB.getInstrumentationRunner (../node_modules/detox/src/devices/drivers/android/exec/ADB.js:250:13) | |
at Instrumentation.launch (../node_modules/detox/src/devices/drivers/android/tools/Instrumentation.js:19:24) | |
at MonitoredInstrumentation.launch (../node_modules/detox/src/devices/drivers/android/tools/MonitoredInstrumentation.js:18:5) | |
at AttachedAndroidDriver._launchInstrumentationProcess (../node_modules/detox/src/devices/drivers/android/AndroidDriver.js:284:5) | |
at AttachedAndroidDriver._launchApp (../node_modules/detox/src/devices/drivers/android/AndroidDriver.js:267:7) | |
at AttachedAndroidDriver._handleLaunchApp (../node_modules/detox/src/devices/drivers/android/AndroidDriver.js:120:7) | |
at AttachedAndroidDriver.launchApp (../node_modules/detox/src/devices/drivers/android/AndroidDriver.js:91:12) | |
at Device._doLaunchApp (../node_modules/detox/src/devices/Device.js:85:19) | |
at traceCall (../node_modules/detox/src/utils/trace.js:41:20) | |
● Sign In › should allow the user to sign in | |
No instrumentation runner found on device 059aaa47 for package com.foobar.mobilern | |
at ADB.getInstrumentationRunner (../node_modules/detox/src/devices/drivers/android/exec/ADB.js:250:13) | |
at Instrumentation.launch (../node_modules/detox/src/devices/drivers/android/tools/Instrumentation.js:19:24) | |
at MonitoredInstrumentation.launch (../node_modules/detox/src/devices/drivers/android/tools/MonitoredInstrumentation.js:18:5) | |
at AttachedAndroidDriver._launchInstrumentationProcess (../node_modules/detox/src/devices/drivers/android/AndroidDriver.js:284:5) | |
at AttachedAndroidDriver._launchApp (../node_modules/detox/src/devices/drivers/android/AndroidDriver.js:267:7) | |
at AttachedAndroidDriver._handleLaunchApp (../node_modules/detox/src/devices/drivers/android/AndroidDriver.js:120:7) | |
at AttachedAndroidDriver.launchApp (../node_modules/detox/src/devices/drivers/android/AndroidDriver.js:91:12) | |
at Device._doLaunchApp (../node_modules/detox/src/devices/Device.js:85:19) | |
at traceCall (../node_modules/detox/src/utils/trace.js:41:20) | |
detox[70101] ERROR: [cli.js] Error: Command failed: jest --config e2e/config.json --testNamePattern '^((?!:ios:).)*$' --maxWorkers 1 e2e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment