Open franko4don opened 1 year ago
I have also reproduced the same When can we expect this to be fixed
Detox version: ^20.13.1 React Native version: 0.71.12 Has Fabric (React Native's new rendering system) enabled: (yes/no) NO Node version: v18.13.0 Device model: iPhone 14 Pro - Simulator Android version: Test-runner (select one): jest
FAIL e2e/spec/welcome/test.spec.ts (27.074 s)
Welcome
✕ I am on Welcome (11 ms)
● Welcome › I am on Welcome
The pending request #-1000 ("isReady") has been rejected due to the following error:
The app has crashed, see the details below:
Signal 11 was raised
(
0 Detox 0x000000010cb73a55 +[NSThread(DetoxUtils) dtx_demangledCallStackSymbols] + 37
1 Detox 0x000000010cb7685c __DTXHandleCrash + 460
2 Detox 0x000000010cb76f9c __DTXHandleSignal + 59
3 libsystem_platform.dylib 0x000000011423e5ed _sigtramp + 29
4 ??? 0x0000000000000000 0x0 + 0
5 DetoxSync 0x000000015ddeeb1c -[_DTXTimerTrampoline setDisplayLink:] + 78
6 DetoxSync 0x000000015ddec43b +[DTXTimerSyncResource _timerProxyWithDisplayLink:] + 99
7 DetoxSync 0x000000015ddec4cd +[DTXTimerSyncResource existingTimerProxyWithDisplayLink:create:] + 119
8 DetoxSync 0x000000015dde25e9 +[DTXSyncManager trackDisplayLink:name:] + 87
9 DetoxSync 0x000000015ddd5ff1 -[NSObject(REANodesManagerDTXSpy) __detox_sync_startUpdatingOnAnimationFrame] + 103
10 demoAppRN 0x00000001014dfc57 -[REANodesManager postRunUpdatesAfterAnimation] + 55
11 demoAppRN 0x00000001014def2c -[REANode markUpdated] + 124
12 demoAppRN 0x00000001014de912 -[REANode dangerouslyRescheduleEvaluate] + 146
13 demoAppRN 0x00000001014dee29 -[REANode addChild:] + 153
14 demoAppRN 0x00000001014e11a1 -[REANodesManager connectNodes:childID:] + 1009
15 demoAppRN 0x00000001014dd342 __35-[REAModule connectNodes:childTag:]_block_invoke + 66
16 demoAppRN 0x00000001014de22e __42-[REAModule uiManagerWillPerformMounting:]_block_invoke + 382
17 demoAppRN 0x000000010162f386 __44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke + 374
18 demoAppRN 0x000000010162f699 __44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke.498 + 393
19 demoAppRN 0x0000000101637e0a __RCTExecuteOnMainQueue_block_invoke + 26
20 DetoxSync 0x000000015ddd73b7 ____detox_sync_dispatch_wrapper_block_invoke + 23
21 libdispatch.dylib 0x0000000113e72a90 _dispatch_call_block_and_release + 12
22 libdispatch.dylib 0x0000000113e73d3a _dispatch_client_callout + 8
23 libdispatch.dylib 0x0000000113e82ac0 _dispatch_main_queue_drain + 1420
24 libdispatch.dylib 0x0000000113e82526 _dispatch_main_queue_callback_4CF + 31
25 CoreFoundation 0x0000000112890850 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
26 CoreFoundation 0x000000011288b18b __CFRunLoopRun + 2463
27 CoreFoundation 0x000000011288a409 CFRunLoopRunSpecific + 557
28 GraphicsServices 0x000000011f2be187 GSEventRunModal + 137
29 UIKitCore 0x00000001313cd3a2 -[UIApplication _run] + 972
30 DetoxSync 0x000000015dddd3a4 __detox_sync_UIApplication_run + 362
31 UIKitCore 0x00000001313d1e10 UIApplicationMain + 123
32 demoAppRN 0x00000001009a7690 main + 96
33 dyld 0x000000010cad43ee start_sim + 10
34 ??? 0x000000020478141f 0x0 + 8664912927
)
13 |
14 | beforeAll(async () => {
> 15 | await device.launchApp();
| ^
16 | welcomePageObject = new WelcomePageObject(element);
17 | });
18 | it('I am on Welcome', async () => {
at Object.launchApp (e2e/spec/welcome/test.spec.ts:15:18)
at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
at node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
at Object.<anonymous> (node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12)
@phuongwd, what do you get in your device logs?
@noomorph Thanks for response
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions!
For more information on bots in this repository, read this discussion.
I got the same error, has anyone find a solution to this fix?
my setups:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back.
Thank you for your contributions!
For more information on bots in this repository, read this discussion.
What happened?
I got this error when trying to run tests on ios simulator
What was the expected behaviour?
The test is expected to run
Was it tested on latest Detox?
Did your test throw out a timeout?
Help us reproduce this issue!
No response
In what environment did this happen?
Detox version: 20.11.1 React Native version: 0.63.5 Has Fabric (React Native's new rendering system) enabled: (yes/no) no Node version: 16.10.0 Device model: iPhone 14 Pro Max iOS version: 16.4 macOS version: Xcode version: 14.3.1 (14E300c) Test-runner (select one): jest / other jest
Detox logs
Detox logs
``` FAIL e2e/starter.test.js (27.666 s) Example ✕ should have welcome screen (5 ms) ● Example › should have welcome screen The pending request #-1000 ("isReady") has been rejected due to the following error: The app has crashed, see the details below: Signal 11 was raised ( 0 Detox 0x0000000108f7cf15 +[NSThread(DetoxUtils) dtx_demangledCallStackSymbols] + 37 1 Detox 0x0000000108f7fd1c __DTXHandleCrash + 460 2 Detox 0x0000000108f8045c __DTXHandleSignal + 59 3 libsystem_platform.dylib 0x00007ff8377405ed _sigtramp + 29 4 Foundation 0x00007ff800f3d1d4 .str + 1918 5 DetoxSync 0x000000011bd4eb1c -[_DTXTimerTrampoline setDisplayLink:] + 78 6 DetoxSync 0x000000011bd4c43b +[DTXTimerSyncResource _timerProxyWithDisplayLink:] + 99 7 DetoxSync 0x000000011bd4c4cd +[DTXTimerSyncResource existingTimerProxyWithDisplayLink:create:] + 119 8 DetoxSync 0x000000011bd425e9 +[DTXSyncManager trackDisplayLink:name:] + 87 9 DetoxSync 0x000000011bd35ff1 -[NSObject(REANodesManagerDTXSpy) __detox_sync_startUpdatingOnAnimationFrame] + 103 10 cadanapay dev 0x0000000107eaae10 -[REANode markUpdated] + 112 11 cadanapay dev 0x0000000107eaad76 -[REANode addChild:] + 105 12 cadanapay dev 0x0000000107eac342 -[REANodesManager connectNodes:childID:] + 127 13 cadanapay dev 0x0000000107eaa5b8 __42-[REAModule uiManagerWillPerformMounting:]_block_invoke + 170 14 cadanapay dev 0x0000000107f4ced8 __44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke + 189 15 cadanapay dev 0x0000000107f4cfb9 __44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke.417 + 16 16 DetoxSync 0x000000011bd373b7 ____detox_sync_dispatch_wrapper_block_invoke + 23 17 libdispatch.dylib 0x00007ff80013be40 _dispatch_call_block_and_release + 12 18 libdispatch.dylib 0x00007ff80013d0d9 _dispatch_client_callout + 8 19 libdispatch.dylib 0x00007ff80014cb86 _dispatch_main_queue_drain + 1330 20 libdispatch.dylib 0x00007ff80014c646 _dispatch_main_queue_callback_4CF + 31 21 CoreFoundation 0x00007ff8003b26cc __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9 22 CoreFoundation 0x00007ff8003acfbe __CFRunLoopRun + 2429 23 CoreFoundation 0x00007ff8003ac264 CFRunLoopRunSpecific + 560 24 GraphicsServices 0x00007ff809b4024e GSEventRunModal + 139 25 UIKitCore 0x0000000116e4d7bf -[UIApplication _run] + 994 26 DetoxSync 0x000000011bd3d3a4 __detox_sync_UIApplication_run + 362 27 UIKitCore 0x0000000116e525de UIApplicationMain + 123 28 cadanapay dev 0x0000000107d6ab80 main + 80 29 dyld 0x0000000108ba2384 start_sim + 10 30 ??? 0x000000010de0641f 0x0 + 4527776799 ) 2 | beforeAll(async () => { 3 | > 4 | await device.launchApp({ | ^ 5 | permissions: {notifications: 'YES', location: 'inuse', userTracking: 'YES'}, 6 | launchArgs: { 'DTXEnableVerboseSyncSystem': 'YES', 'DTXEnableVerboseSyncResources': 'YES' } 7 | }); at launchApp (e2e/starter.test.js:4:18) at tryCatch (node_modules/regenerator-runtime/runtime.js:63:40) at Generator.invoke [as _invoke] (node_modules/regenerator-runtime/runtime.js:293:22) at Generator.next (node_modules/regenerator-runtime/runtime.js:118:21) at tryCatch (node_modules/regenerator-runtime/runtime.js:63:40) at invoke (node_modules/regenerator-runtime/runtime.js:154:20) at node_modules/regenerator-runtime/runtime.js:189:11 at callInvokeWithMethodAndArg (node_modules/regenerator-runtime/runtime.js:188:16) at AsyncIterator.enqueue (node_modules/regenerator-runtime/runtime.js:211:13) at AsyncIterator.next (node_modules/regenerator-runtime/runtime.js:118:21) at Object.Device logs
Device logs
``` ```More data, please!
No response