Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When MaxWorkers is >1 Detox fails to communicate with devices #4428

Open
2 tasks done
UgurGumushan opened this issue Mar 28, 2024 · 3 comments
Open
2 tasks done

When MaxWorkers is >1 Detox fails to communicate with devices #4428

UgurGumushan opened this issue Mar 28, 2024 · 3 comments

Comments

@UgurGumushan
Copy link

What happened?

When MaxWorkers=1 Tests are run normally
When MaxWokers>1 Tests fail to communicate with devices

What was the expected behaviour?

Tests to run in parallel without error

Was it tested on latest Detox?

  • I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

Help us reproduce this issue!

set maxworkers to 2 and run android tests on simulators with API levels between 30-33

In what environment did this happen?

Detox version: 20.19.4
React Native version: 0.72.7
Has Fabric (React Native's new rendering system) enabled: no
Node version: 18
Device model: Pixel 8
Android version: 13
Test-runner (select one): jest

Detox logs

Detox logs
The following package could not be delivered:

{
  type: 'invoke',
  params: [Object],
  messageId: 6
}
18:28:45.192 detox[87328] i ""/Users/ugurgumushan/Library/Android/sdk/platform-tools/adb" -s emulator-18020 shell "ps | grep \"com\.kontist$\""" failed with error = ChildProcessError: Command failed: "/Users/ugurgumushan/Library/Android/sdk/platform-tools/adb" -s emulator-18020 shell "ps | grep \"com\.kontist$\""
 `"/Users/ugurgumushan/Library/Android/sdk/platform-tools/adb" -s emulator-18020 shell "ps | grep \"com\.kontist$\""` (exited with error code 1) (code=1), stdout and stderr:

18:28:45.192 detox[87328] i 
18:28:45.192 detox[87328] i 
18:28:47.047 detox[87328] i An error occurred while waiting for the app to become ready. Waiting for disconnection...
  error: Failed to run application on the device
  
  HINT: Most likely, your tests have timed out and called detox.cleanup() while it was waiting for "ready" message (over WebSocket) from the instrumentation process.
18:28:47.047 detox[87328] i The app disconnected.
18:28:47.076 detox[87328] i Detox can't seem to connect to the test app(s)!

HINT: 

The test app might have crashed prematurely, or has had trouble setting up the connection.
Refer to our troubleshooting guide, for full details: https://wix.github.io/Detox/docs/troubleshooting/running-tests#tests-execution-hangs 

Device logs

Device logs
WARNING | Crash annotation is very large (16515), only 16384 bytes will be recorded, 131 bytes are lost.
INFO    | Storing crashdata in: /tmp/android-ugurgumushan/emu-crash-34.1.19.db, detection is enabled for process: 42347
INFO    | Android emulator version 34.1.19.0 (build_id 11525734) (CL:N/A)
DEBUG   | Current emulator version 34.1.19 is the same as the required version 34.1.19.
INFO    | Deleting /Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/bootcompleted.ini done
INFO    | Found AVD name 'Pixel_8_API_33'
INFO    | Found AVD target architecture: arm64
INFO    | argv[0]: '/Users/ugurgumushan/Library/Android/sdk/emulator/emulator'; program directory: '/Users/ugurgumushan/Library/Android/sdk/emulator'
INFO    | Found systemPath /Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a/
WARNING | Crash annotation is very large (17301), only 16384 bytes will be recorded, 917 bytes are lost.
INFO    | Storing crashdata in: /tmp/android-ugurgumushan/emu-crash-34.1.19.db, detection is enabled for process: 42347
INFO    | Duplicate loglines will be removed, if you wish to see each individual line launch with the -log-nofilter flag.
DEBUG   | autoconfig: -skin pixel_8
DEBUG   | autoconfig: -skindir /Users/ugurgumushan/Library/Android/sdk/skins/
DEBUG   | autoconfig: -kernel /Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//kernel-ranchu
DEBUG   | Target arch = 'arm64'
DEBUG   | Auto-detect: Kernel image requires new device naming scheme.
DEBUG   | Auto-detect: Kernel does not support YAFFS2 partitions.
DEBUG   | autoconfig: -ramdisk /Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//ramdisk.img
DEBUG   | Using initial system image: /Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//system.img
DEBUG   | Using initial vendor image: /Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//vendor.img
DEBUG   | autoconfig: -data /Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/userdata-qemu.img
DEBUG   | autoconfig: -initdata /Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/userdata.img
DEBUG   | autoconfig: -cache /Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/cache.img
DEBUG   | INFO: ignore sdcard for arm at api level >= 30
DEBUG   | Physical RAM size: 2048MB
DEBUG   | VM heap size 256MB is below hardware specified minimum of 512MB,setting it to that value
DEBUG   | System image is read only
DEBUG   | Found 1 DNS servers:
DEBUG   | 	192.10.0.1
DEBUG   | Starting hostapd main loop.
DEBUG   | trying to load skin file '/Users/ugurgumushan/Library/Android/sdk/skins//pixel_8/layout'
DEBUG   | Requested console port 19876: Inferring adb port 19877.
DEBUG   | CPU Acceleration: working
DEBUG   | CPU Acceleration status: Hypervisor.Framework OS X Version 14.4
DEBUG   | handleCpuAcceleration: feature check for hvf
DEBUG   | Bluetooth requested by guest
DEBUG   | started modem simulator host server at port: 64551
INFO    | Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_posture_requested(int) ((null):0, (null))
INFO    | Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_posture_selection_dialog() ((null):0, (null))
INFO    | Warning: QMetaObject::connectSlotsByName: No matching signal for on_new_resizable_requested(PresetEmulatorSizeType) ((null):0, (null))
INFO    | Warning: QMetaObject::connectSlotsByName: No matching signal for on_dismiss_resizable_dialog() ((null):0, (null))
INFO    | Warning: QMetaObject::connectSlotsByName: No matching signal for on_sleep_timer_done() ((null):0, (null))
INFO    | Crash reports will be automatically uploaded to: https://clients2.google.com/cr/report
library_mode host gpu mode host
DEBUG   | GPU emulation enabled using 'host' mode
DEBUG   | Initializing hardware OpenGLES emulation support
Initializing hardware OpenGLES emulation supportINFO    | Attempting to send crashreport f6a21572-a3f3-44af-8ea5-c7a2fcd42a68 to https://clients2.google.com/cr/report
INFO    | Attempting to send crashreport d1888c2c-2e58-4ee3-9b22-2166467beaa1 to https://clients2.google.com/cr/report
[42347:5127939:20240328,150937.566547:ERROR directory_reader_posix.cc:42] opendir /tmp/android-ugurgumushan/emu-crash-34.1.19.db/attachments/f6a21572-a3f3-44af-8ea5-c7a2fcd42a68: No such file or directory (2)
[42347:5127940:20240328,150937.566615:ERROR directory_reader_posix.cc:42] opendir /tmp/android-ugurgumushan/emu-crash-34.1.19.db/attachments/d1888c2c-2e58-4ee3-9b22-2166467beaa1: No such file or directory (2)
android_startOpenglesRenderer: gpu infoI0328 15:09:37.683432 da33ac0 HealthMonitor.cpp:279] HealthMonitor disabled.
DEBUG   | create display 0
DEBUG   | setDisplayPose 0 x 0 y 0 w 1080 h 2400 dpi 0
cannot add library /Users/ugurgumushan/Library/Android/sdk/emulator/qemu/darwin-aarch64/lib64/vulkan/libvulkan.dylib: failed
added library /Users/ugurgumushan/Library/Android/sdk/emulator/lib64/vulkan/libvulkan.dylib
createGlobalVkEmulation:964 Selecting Vulkan device: SwiftShader Device (LLVM 10.0.0)
initialize: Supports id properties, got a vulkan device UUID
I0328 15:09:37.869882 da33ac0 VkCommonOperations.cpp:1226] Initializing VkEmulation features:
I0328 15:09:37.869904 da33ac0 VkCommonOperations.cpp:1227]     glInteropSupported: false
I0328 15:09:37.869908 da33ac0 VkCommonOperations.cpp:1228]     useDeferredCommands: true
I0328 15:09:37.869912 da33ac0 VkCommonOperations.cpp:1230]     createResourceWithRequirements: true
I0328 15:09:37.869915 da33ac0 VkCommonOperations.cpp:1231]     useVulkanComposition: false
I0328 15:09:37.869917 da33ac0 VkCommonOperations.cpp:1232]     useVulkanNativeSwapchain: false
I0328 15:09:37.869921 da33ac0 VkCommonOperations.cpp:1233]     enable guestRenderDoc: false
I0328 15:09:37.869924 da33ac0 VkCommonOperations.cpp:1234]     ASTC LDR emulation mode: 2
I0328 15:09:37.869926 da33ac0 VkCommonOperations.cpp:1235]     enable ETC2 emulation: true
I0328 15:09:37.869929 da33ac0 VkCommonOperations.cpp:1236]     enable Ycbcr emulation: false
I0328 15:09:37.869931 da33ac0 VkCommonOperations.cpp:1237]     guestUsesAngle: false
I0328 15:09:37.869934 da33ac0 VkCommonOperations.cpp:1238]     useDedicatedAllocations: false
I0328 15:09:37.870193 da33ac0 FrameBuffer.cpp:486] Graphics Adapter Vendor Google (Apple)
I0328 15:09:37.870207 da33ac0 FrameBuffer.cpp:487] Graphics Adapter Android Emulator OpenGL ES Translator (Apple M3 Max)
I0328 15:09:37.870212 da33ac0 FrameBuffer.cpp:488] Graphics API Version OpenGL ES 3.0 (4.1 Metal - 88)
I0328 15:09:37.870217 da33ac0 FrameBuffer.cpp:489] Graphics API Extensions GL_OES_EGL_sync GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888 
I0328 15:09:37.870220 da33ac0 FrameBuffer.cpp:490] Graphics Device Extensions N/A
INFO    | Setting vsync to 60 hz
DEBUG   | INFO: ignore sdcard for arm at api level >= 30
INFO    | Sending adb public key [QAAAAPkTTNO3wcdrgCvoDaj6FzkRdGI3dpVZZ61VpRVcdbla4h+EIisWUgUDghHJDSQcpKF62czxIf60zsQ/kS0pkmbkqKE6jN8iDorYPILFBgOCDN4wQBL/Uy9boFPp6C40cjmQkaXCFdsIp5Q9bi08xI51hC9hCCRtIb+1wRDbl8opVi39WU6j3qxyWoPnj78PM9vLhXIfLPaU4arncWj72uC/jl3rA+MU4zspyLjb1hwlXoNOo3SeWmnWYCbDtdnDns2FNO28BwnT8JgU8WjMPjfxnNceTjVv+Ar3LYPyPHhkPeiKDcIa2i8bDnKKIZ8EdcUpWVxnpZDUEAUpJIYhHs/S4Kmz7Pnc2RrLZZnxk1Fa0wPYBGiklWWlrHShLn9PO/YkuFjzjDa84jsR0IDOiDBOdD3/qTw2HYbvnd4d7LQNqpf2a2z5nybU5k14/a4bVouJFDaQSk+/uvt3GZOwPj0RxDA/7nHFxTdIUzakeMyxI47a0SMFGDqH3QKuRi+26bmeWnO6LtT7b6FDgAziQLttUdJz7jP6OEKhrQfdJW855MLF+xMzusRv/m3L9E7DZ1GxQ6vaoeNKRv/Crpx+1AAzSpBmhyo348abXCjc1nzK8uKHSZRGJSguOSssSnh8Y2SuIEZ2p7VQK9spHlWJNXiiHYoqdJjawYmrdM5YxtD8EOy8mwEAAQA= ugurgumushan@unknown]
DEBUG   | Found 1 DNS servers:
DEBUG   | 	192.10.0.1
INFO    | Content of hardware configuration file:
INFO    | 	hw.cpu.arch = arm64
INFO    | 	hw.cpu.ncore = 4
INFO    | 	hw.ramSize = 2048
INFO    | 	hw.screen = multi-touch
INFO    | 	hw.mainKeys = false
INFO    | 	hw.trackBall = false
INFO    | 	hw.keyboard = true
INFO    | 	hw.keyboard.lid = false
INFO    | 	hw.keyboard.charmap = qwerty2
INFO    | 	hw.dPad = false
INFO    | 	hw.rotaryInput = false
INFO    | 	hw.gsmModem = true
INFO    | 	hw.gps = true
INFO    | 	hw.battery = true
INFO    | 	hw.accelerometer = true
INFO    | 	hw.accelerometer_uncalibrated = true
INFO    | 	hw.gyroscope = true
INFO    | 	hw.audioInput = true
INFO    | 	hw.audioOutput = true
INFO    | 	hw.sdCard = true
INFO    | 	disk.cachePartition = true
INFO    | 	disk.cachePartition.path = /Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/cache.img
INFO    | 	disk.cachePartition.size = 66m
INFO    | 	test.quitAfterBootTimeOut = -1
INFO    | 	test.delayAdbTillBootComplete = 0
INFO    | 	test.monitorAdb = 0
INFO    | 	hw.lcd.width = 1080
INFO    | 	hw.lcd.height = 2400
INFO    | 	hw.lcd.depth = 16
INFO    | 	hw.lcd.circular = false
INFO    | 	hw.lcd.density = 420
INFO    | 	hw.lcd.backlight = true
INFO    | 	hw.lcd.vsync = 60
INFO    | 	hw.gltransport = pipe
INFO    | 	hw.gltransport.asg.writeBufferSize = 1048576
INFO    | 	hw.gltransport.asg.writeStepSize = 4096
INFO    | 	hw.gltransport.asg.dataRingSize = 32768
INFO    | 	hw.gltransport.drawFlushInterval = 800
INFO    | 	hw.displayRegion.0.1.xOffset = -1
INFO    | 	hw.displayRegion.0.1.yOffset = -1
INFO    | 	hw.displayRegion.0.1.width = 0
INFO    | 	hw.displayRegion.0.1.height = 0
INFO    | 	hw.displayRegion.0.2.xOffset = -1
INFO    | 	hw.displayRegion.0.2.yOffset = -1
INFO    | 	hw.displayRegion.0.2.width = 0
INFO    | 	hw.displayRegion.0.2.height = 0
INFO    | 	hw.displayRegion.0.3.xOffset = -1
INFO    | 	hw.displayRegion.0.3.yOffset = -1
INFO    | 	hw.displayRegion.0.3.width = 0
INFO    | 	hw.displayRegion.0.3.height = 0
INFO    | 	hw.display1.width = 0
INFO    | 	hw.display1.height = 0
INFO    | 	hw.display1.density = 0
INFO    | 	hw.display1.xOffset = -1
INFO    | 	hw.display1.yOffset = -1
INFO    | 	hw.display1.flag = 0
INFO    | 	hw.display2.width = 0
INFO    | 	hw.display2.height = 0
INFO    | 	hw.display2.density = 0
INFO    | 	hw.display2.xOffset = -1
INFO    | 	hw.display2.yOffset = -1
INFO    | 	hw.display2.flag = 0
INFO    | 	hw.display3.width = 0
INFO    | 	hw.display3.height = 0
INFO    | 	hw.display3.density = 0
INFO    | 	hw.display3.xOffset = -1
INFO    | 	hw.display3.yOffset = -1
INFO    | 	hw.display3.flag = 0
INFO    | 	hw.multi_display_window = false
INFO    | 	hw.hotplug_multi_display = false
INFO    | 	hw.gpu.enabled = true
INFO    | 	hw.gpu.mode = host
INFO    | 	hw.initialOrientation = Portrait
INFO    | 	hw.camera.back = virtualscene
INFO    | 	hw.camera.front = emulated
INFO    | 	vm.heapSize = 512
INFO    | 	hw.sensors.light = true
INFO    | 	hw.sensors.pressure = true
INFO    | 	hw.sensors.humidity = true
INFO    | 	hw.sensors.proximity = true
INFO    | 	hw.sensors.magnetic_field = true
INFO    | 	hw.sensors.magnetic_field_uncalibrated = true
INFO    | 	hw.sensors.gyroscope_uncalibrated = true
INFO    | 	hw.sensors.orientation = true
INFO    | 	hw.sensors.temperature = true
INFO    | 	hw.sensors.rgbclight = false
INFO    | 	hw.sensor.hinge = false
INFO    | 	hw.sensor.hinge.count = 0
INFO    | 	hw.sensor.hinge.type = 0
INFO    | 	hw.sensor.hinge.sub_type = 0
INFO    | 	hw.sensor.hinge.resizable.config = 1
INFO    | 	hw.sensor.hinge.fold_to_displayRegion.0.1_at_posture = 1
INFO    | 	hw.sensor.roll = false
INFO    | 	hw.sensor.roll.count = 0
INFO    | 	hw.sensor.roll.resize_to_displayRegion.0.1_at_posture = 6
INFO    | 	hw.sensor.roll.resize_to_displayRegion.0.2_at_posture = 6
INFO    | 	hw.sensor.roll.resize_to_displayRegion.0.3_at_posture = 6
INFO    | 	hw.sensors.heart_rate = false
INFO    | 	hw.sensors.wrist_tilt = false
INFO    | 	hw.useext4 = true
INFO    | 	hw.arc = false
INFO    | 	hw.arc.autologin = false
INFO    | 	hw.device.name = pixel_8
INFO    | 	kernel.path = /Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//kernel-ranchu
INFO    | 	kernel.newDeviceNaming = yes
INFO    | 	kernel.supportsYaffs2 = no
INFO    | 	disk.ramdisk.path = /Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//ramdisk.img
INFO    | 	disk.systemPartition.initPath = /Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//system.img
INFO    | 	disk.systemPartition.size = 2930m
INFO    | 	disk.vendorPartition.initPath = /Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//vendor.img
INFO    | 	disk.vendorPartition.size = 800m
INFO    | 	disk.dataPartition.path = /Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/userdata-qemu.img
INFO    | 	disk.dataPartition.size = 6g
INFO    | 	disk.encryptionKeyPartition.path = /Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/encryptionkey.img
INFO    | 	PlayStore.enabled = true
INFO    | 	avd.name = Pixel_8_API_33
INFO    | 	avd.id = Pixel_8_API_33
INFO    | 	fastboot.forceColdBoot = false
INFO    | 	userdata.useQcow2 = true
INFO    | 	firstboot.bootFromDownloadableSnapshot = true
INFO    | 	firstboot.bootFromLocalSnapshot = true
INFO    | 	firstboot.saveToLocalSnapshot = true
INFO    | 	android.sdk.root = /Users/ugurgumushan/Library/Android/sdk
INFO    | 	android.avd.home = /Users/ugurgumushan/.android/avd
INFO    | .
INFO    | QEMU options list:
INFO    | 	 argv[00] = "/Users/ugurgumushan/Library/Android/sdk/emulator/qemu/darwin-aarch64/qemu-system-aarch64"
INFO    | 	 argv[01] = "-read-only"
INFO    | 	 argv[02] = "-dns-server"
INFO    | 	 argv[03] = "192.10.0.1"
INFO    | 	 argv[04] = "-no-audio"
INFO    | 	 argv[05] = "-serial"
INFO    | 	 argv[06] = "null"
INFO    | 	 argv[07] = "-android-ports"
INFO    | 	 argv[08] = "19876,19877"
INFO    | 	 argv[09] = "-cpu"
INFO    | 	 argv[10] = "cortex-a53"
INFO    | 	 argv[11] = "-machine"
INFO    | 	 argv[12] = "type=virt"
INFO    | 	 argv[13] = "-enable-hvf"
INFO    | 	 argv[14] = "-smp"
INFO    | 	 argv[15] = "cores=4"
INFO    | 	 argv[16] = "-m"
INFO    | 	 argv[17] = "2048"
INFO    | 	 argv[18] = "-lcd-density"
INFO    | 	 argv[19] = "420"
INFO    | 	 argv[20] = "-nodefaults"
INFO    | 	 argv[21] = "-kernel"
INFO    | 	 argv[22] = "/Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//kernel-ranchu"
INFO    | 	 argv[23] = "-initrd"
INFO    | 	 argv[24] = "/Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/initrd"
INFO    | 	 argv[25] = "-drive"
INFO    | 	 argv[26] = "index=0,id=vendor,if=none,file=/Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//vendor.img,read-only"
INFO    | 	 argv[27] = "-device"
INFO    | 	 argv[28] = "virtio-blk-device,drive=vendor"
INFO    | 	 argv[29] = "-drive"
INFO    | 	 argv[30] = "index=1,id=encrypt,if=none,file=/Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/encryptionkey.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
INFO    | 	 argv[31] = "-device"
INFO    | 	 argv[32] = "virtio-blk-device,drive=encrypt"
INFO    | 	 argv[33] = "-drive"
INFO    | 	 argv[34] = "index=2,id=userdata,if=none,file=/Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
INFO    | 	 argv[35] = "-device"
INFO    | 	 argv[36] = "virtio-blk-device,drive=userdata"
INFO    | 	 argv[37] = "-drive"
INFO    | 	 argv[38] = "index=3,id=cache,if=none,file=/Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
INFO    | 	 argv[39] = "-device"
INFO    | 	 argv[40] = "virtio-blk-device,drive=cache"
INFO    | 	 argv[41] = "-drive"
INFO    | 	 argv[42] = "index=4,id=system,if=none,file=/Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//system.img,read-only"
INFO    | 	 argv[43] = "-device"
INFO    | 	 argv[44] = "virtio-blk-device,drive=system"
INFO    | 	 argv[45] = "-netdev"
INFO    | 	 argv[46] = "user,id=mynet"
INFO    | 	 argv[47] = "-device"
INFO    | 	 argv[48] = "virtio-net-device,netdev=mynet"
INFO    | 	 argv[49] = "-chardev"
INFO    | 	 argv[50] = "null,id=forhvc0"
INFO    | 	 argv[51] = "-chardev"
INFO    | 	 argv[52] = "null,id=forhvc1"
INFO    | 	 argv[53] = "-device"
INFO    | 	 argv[54] = "virtio-serial-pci,ioeventfd=off"
INFO    | 	 argv[55] = "-device"
INFO    | 	 argv[56] = "virtconsole,chardev=forhvc0"
INFO    | 	 argv[57] = "-device"
INFO    | 	 argv[58] = "virtconsole,chardev=forhvc1"
INFO    | 	 argv[59] = "-chardev"
INFO    | 	 argv[60] = "netsim,id=bluetooth"
INFO    | 	 argv[61] = "-device"
INFO    | 	 argv[62] = "virtserialport,chardev=bluetooth,name=bluetooth"
INFO    | 	 argv[63] = "-device"
INFO    | 	 argv[64] = "virtio-serial,ioeventfd=off"
INFO    | 	 argv[65] = "-chardev"
INFO    | 	 argv[66] = "socket,port=64550,host=::1,nowait,nodelay,reconnect=10,ipv6,id=modem"
INFO    | 	 argv[67] = "-device"
INFO    | 	 argv[68] = "virtserialport,chardev=modem,name=modem"
INFO    | 	 argv[69] = "-device"
INFO    | 	 argv[70] = "virtio-rng-device"
INFO    | 	 argv[71] = "-show-cursor"
INFO    | 	 argv[72] = "-device"
INFO    | 	 argv[73] = "virtio_input_multi_touch_pci_1"
INFO    | 	 argv[74] = "-device"
INFO    | 	 argv[75] = "virtio_input_multi_touch_pci_2"
INFO    | 	 argv[76] = "-device"
INFO    | 	 argv[77] = "virtio_input_multi_touch_pci_3"
INFO    | 	 argv[78] = "-device"
INFO    | 	 argv[79] = "virtio_input_multi_touch_pci_4"
INFO    | 	 argv[80] = "-device"
INFO    | 	 argv[81] = "virtio_input_multi_touch_pci_5"
INFO    | 	 argv[82] = "-device"
INFO    | 	 argv[83] = "virtio_input_multi_touch_pci_6"
INFO    | 	 argv[84] = "-device"
INFO    | 	 argv[85] = "virtio_input_multi_touch_pci_7"
INFO    | 	 argv[86] = "-device"
INFO    | 	 argv[87] = "virtio_input_multi_touch_pci_8"
INFO    | 	 argv[88] = "-device"
INFO    | 	 argv[89] = "virtio_input_multi_touch_pci_9"
INFO    | 	 argv[90] = "-device"
INFO    | 	 argv[91] = "virtio_input_multi_touch_pci_10"
INFO    | 	 argv[92] = "-device"
INFO    | 	 argv[93] = "virtio_input_multi_touch_pci_11"
INFO    | 	 argv[94] = "-device"
INFO    | 	 argv[95] = "virtio-keyboard-pci"
INFO    | 	 argv[96] = "-netdev"
INFO    | 	 argv[97] = "user,id=virtio-wifi,dhcpstart=10.0.2.16"
INFO    | 	 argv[98] = "-device"
INFO    | 	 argv[99] = "virtio-wifi-pci,netdev=virtio-wifi"
INFO    | 	 argv[100] = "-device"
INFO    | 	 argv[101] = "virtio-vsock-pci,guest-cid=77"
INFO    | 	 argv[102] = "-L"
INFO    | 	 argv[103] = "/Users/ugurgumushan/Library/Android/sdk/emulator/lib/pc-bios"
INFO    | 	 argv[104] = "-soundhw"
INFO    | 	 argv[105] = "virtio-snd-pci"
INFO    | 	 argv[106] = "-append"
INFO    | 	 argv[107] = "no_timer_check 8250.nr_uarts=1 keep_bootcon earlyprintk=ttyAMA0 console=0 cma=296M@0-4G loop.max_part=7 printk.devkmsg=on bootconfig"
INFO    | 	 argv[108] = "-android-hw"
INFO    | 	 argv[109] = "/tmp/android-ugurgumushan/emulator-FZJxxI"
INFO    | Concatenated QEMU options: /Users/ugurgumushan/Library/Android/sdk/emulator/qemu/darwin-aarch64/qemu-system-aarch64 -read-only -dns-server 192.10.0.1 -no-audio -serial null -android-ports 19876,19877 -cpu cortex-a53 -machine type=virt -enable-hvf -smp cores=4 -m 2048 -lcd-density 420 -nodefaults -kernel /Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//kernel-ranchu -initrd /Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/initrd -drive index=0,id=vendor,if=none,file=/Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//vendor.img,read-only -device virtio-blk-device,drive=vendor -drive index=1,id=encrypt,if=none,file=/Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/encryptionkey.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-device,drive=encrypt -drive index=2,id=userdata,if=none,file=/Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-device,drive=userdata -drive index=3,id=cache,if=none,file=/Users/ugurgumushan/.android/avd/../avd/Pixel_8_API_33.avd/cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-device,drive=cache -drive index=4,id=system,if=none,file=/Users/ugurgumushan/Library/Android/sdk/system-images/android-33/google_apis_playstore/arm64-v8a//system.img,read-only -device virtio-blk-device,drive=system -netdev user,id=mynet -device virtio-net-device,netdev=mynet -chardev null,id=forhvc0 -chardev null,id=forhvc1 -device virtio-serial-pci,ioeventfd=off -device virtconsole,chardev=forhvc0 -device virtconsole,chardev=forhvc1 -chardev netsim,id=bluetooth -device virtserialport,chardev=bluetooth,name=bluetooth -device virtio-serial,ioeventfd=off -chardev socket,port=64550,host=::1,nowait,nodelay,reconnect=10,ipv6,id=modem -device virtserialport,chardev=modem,name=modem -device virtio-rng-device -show-cursor -device virtio_input_multi_touch_pci_1 -device virtio_input_multi_touch_pci_2 -device virtio_input_multi_touch_pci_3 -device virtio_input_multi_touch_pci_4 -device virtio_input_multi_touch_pci_5 -device virtio_input_multi_touch_pci_6 -device virtio_input_multi_touch_pci_7 -device virtio_input_multi_touch_pci_8 -device virtio_input_multi_touch_pci_9 -device virtio_input_multi_touch_pci_10 -device virtio_input_multi_touch_pci_11 -device virtio-keyboard-pci -netdev user,id=virtio-wifi,dhcpstart=10.0.2.16 -device virtio-wifi-pci,netdev=virtio-wifi -device virtio-vsock-pci,guest-cid=77 -L /Users/ugurgumushan/Library/Android/sdk/emulator/lib/pc-bios -soundhw virtio-snd-pci -append 'no_timer_check 8250.nr_uarts=1 keep_bootcon earlyprintk=ttyAMA0 console=0 cma=296M@0-4G loop.max_part=7 printk.devkmsg=on bootconfig' -android-hw /tmp/android-ugurgumushan/emulator-FZJxxI
DEBUG   | Android qemu version 34.1.19.0 (build_id 11525734) (CL:N/A)
DEBUG   | Starting QEMU main loop
DEBUG   | registered 'boot-properties' qemud service
DEBUG   | Adding boot property: 'ro.opengles.version' = '196608'
DEBUG   | Adding boot property: 'qemu.sf.fake_camera' = 'front'
DEBUG   | Adding boot property: 'qemu.adb.secure' = '1'
DEBUG   | Adding boot property: 'dalvik.vm.heapsize' = '512m'
DEBUG   | Adding boot property: 'qemu.hw.mainkeys' = '0'
DEBUG   | Adding boot property: 'qemu.sf.lcd_density' = '420'
DEBUG   | goldfish_events.have-dpad: false
DEBUG   | goldfish_events.have-trackball: false
DEBUG   | goldfish_events.have-camera: true
DEBUG   | goldfish_events.have-keyboard: false
DEBUG   | goldfish_events.have-lidswitch: false
DEBUG   | goldfish_events.have-tabletmode: false
DEBUG   | goldfish_events.have-touch: false
DEBUG   | goldfish_events.have-multitouch: false
DEBUG   | Adding boot property: 'net.wifi_mac_prefix' = '19876'
WARNING | Requested adb port (19877) is outside the recommended range [5555,5586]. ADB may not function properly for the emulator. See -help-port for details.
DEBUG   | Adding boot property: 'qemu.timezone' = 'Europe/Istanbul'
DEBUG   | android_hw_fingerprint_init: fingerprint qemud listen service initialized
DEBUG   | Successfully initialized Wi-Fi
DEBUG   | emulator_window_fb_rotate
I0328 15:09:38.103987 f71b000 FrameBuffer.cpp:3707] setDisplayConfigs w 1080 h 2400 dpiX 420 dpiY 420
DEBUG   | setDisplayPose 0 x 0 y 0 w 1080 h 2400 dpi 0
I0328 15:09:38.104005 f71b000 FrameBuffer.cpp:3720] setDisplayActiveConfig 0
DEBUG   | Adjusting window size by 0.38x for hw_lcd_density
DEBUG   | Path:/Users/ugurgumushan/Library/Android/sdk/platform-tools/adb protocol version: 41
DEBUG   | Path:/Users/ugurgumushan/Library/Android/sdk/platform-tools/adb protocol version: 41
DEBUG   | Path:/opt/homebrew/bin/adb protocol version: 41
DEBUG   | Found: 3 adb executables
DEBUG   | Adb: /Users/ugurgumushan/Library/Android/sdk/platform-tools/adb
DEBUG   | Adb: /Users/ugurgumushan/Library/Android/sdk/platform-tools/adb
DEBUG   | Adb: /opt/homebrew/bin/adb
DEBUG   | Path:/Users/ugurgumushan/Library/Android/sdk/platform-tools/adb protocol version: 41
DEBUG   | Path:/Users/ugurgumushan/Library/Android/sdk/platform-tools/adb protocol version: 41
DEBUG   | Path:/opt/homebrew/bin/adb protocol version: 41
DEBUG   | config multidisplay with config.ini 0x0 0x0 0x0
DEBUG   | added one RIL client
INFO    | Loading snapshot 'default_boot'...
WARNING | Device 'encrypt' does not have the requested snapshot 'default_boot'
WARNING | Failed to load snapshot 'default_boot'
DEBUG   | OpenGL Vendor=[Google (Apple)]
OpenGL Vendor=[Google (Apple)]DEBUG   | OpenGL Renderer=[Android Emulator OpenGL ES Translator (Apple M3 Max)]
OpenGL Renderer=[Android Emulator OpenGL ES Translator (Apple M3 Max)]DEBUG   | OpenGL Version=[OpenGL ES 3.0 (4.1 Metal - 88)]
OpenGL Version=[OpenGL ES 3.0 (4.1 Metal - 88)]INFO    | Activated packet streamer for bluetooth emulation
INFO    | Report f6a21572-a3f3-44af-8ea5-c7a2fcd42a68 is available remotely as: 00b6ffdbe850388f.
INFO    | Report d1888c2c-2e58-4ee3-9b22-2166467beaa1 is available remotely as: f3278a72a7cef98c.
DEBUG   | setDisplayPose 0 x -1 y -1 w 1080 h 2400 dpi 420
DEBUG   | _hwFingerprint_connect: connect finger print listen is called
DEBUG   | got message from guest system fingerprint HAL
INFO    | Boot completed in 22036 ms
INFO    | Increasing screen off timeout, logcat buffer size to 2M.
DEBUG   | applying overlayName pixel_8
DEBUG   | calling ctec from remote
DEBUG   | added one remote client
INFO    | Warning: QMetaObject::connectSlotsByName: No matching signal for on_rgbcSensorValueWidget_valueChanged() ((null):0, (null))
INFO    | Warning: QMetaObject::connectSlotsByName: No matching signal for on_posture_valueChanged(int) ((null):0, (null))
INFO    | Info: 

GLImplementation: 
Surface Type: OpenGL
Surface Profile: CoreProfile
Surface Version: 4.1
Using Default SG Backend: no
Using Software Dynamic GL: no
Using Angle: no

Init Parameters:
  *  application-name Emulator 
  *  browser-subprocess-path /Users/ugurgumushan/Library/Android/sdk/emulator/lib64/qt/libexec/QtWebEngineProcess 
  *  disable-features DnsOverHttpsUpgrade,ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture 
  *  disable-gpu  
  *  disable-speech-api  
  *  enable-features TracingServiceInProcess 
  *  enable-threaded-compositing  
 ((null):0, (null))
INFO    | Warning: No functional TLS backend was found ((null):0, (null))
INFO    | Warning: No functional TLS backend was found ((null):0, (null))
 (2x)
INFO    | Warning: No TLS backend is available ((null):0, (null))
INFO    | Warning: No functional TLS backend was found ((null):0, (null))
INFO    | Warning: No functional TLS backend was found ((null):0, (null))
 (3x)
INFO    | Warning: No TLS backend is available ((null):0, (null))
INFO    | Warning: No functional TLS backend was found ((null):0, (null))
INFO    | Warning: No functional TLS backend was found ((null):0, (null))
 (2x)
DEBUG   | getMultiDisplay 0 x -1 y -1 w 1080 h 2400 dpi 420 flag 0 enable 1
DEBUG   | getMultiDisplay 0 x -1 y -1 w 1080 h 2400 dpi 420 flag 0 enable 1 (598x)
DEBUG   | Registering pipe service multidisplay
DEBUG   | MultiDisplayPipe created 0x600003734680
DEBUG   | MultiDisplayPipe recevied QUERY
DEBUG   | MultiDisplayPipe send add id 0 width 1080 height 2400 dpi 420 flag 0
DEBUG   | getMultiDisplay 0 x -1 y -1 w 1080 h 2400 dpi 420 flag 0 enable 1
DEBUG   | getMultiDisplay 0 x -1 y -1 w 1080 h 2400 dpi 420 flag 0 enable 1 (353x)
DEBUG   | Timed out with running command 
DEBUG   | Timed out with running command  (9x)
INFO    | Wait for emulator (pid 42347) 20 seconds to shutdown gracefully before kill;you can set environment variable ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL(in seconds) to change the default value (20 seconds)
INFO    | Wait for emulator (pid 42347) 20 seconds to shutdown gracefully before kill;you can set environment variable ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL(in seconds) to change the default value (20 seconds)

WARNING | Discarding the changed state (command-line flag).
WARNING | Emulator client has not yet been configured.. Call configure me first!
[42352:5127826:20240328,151409.365606:WARNING crash_report_exception_handler.cc:235] UniversalExceptionRaise: (os/kern) failure (5)

More data, please!

No response

Copy link

stale bot commented Feb 1, 2025

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.

@stale stale bot added the 🏚 stale label Feb 1, 2025
@d4vidi
Copy link
Collaborator

d4vidi commented Feb 3, 2025

@UgurGumushan is this still relevant?

@stale stale bot removed the 🏚 stale label Feb 3, 2025
@UgurGumushan
Copy link
Author

UgurGumushan commented Feb 3, 2025

@UgurGumushan is this still relevant?

I can't confirm. I dont work with / use detox at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants