Advertisement
dsvoronin

emulog

Feb 11th, 2022
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.63 KB | None | 0 0
  1. docker run -it --device /dev/kvm/ f5ef268da7b7
  2. + ./adb_redirect.sh
  3. + ./run_emulator.sh
  4. + [[ -z 22 ]]
  5. + emulator_name=emulator_22
  6. + sd_card_name=/sdcard.img
  7. + emulator_arguments=(-avd ${emulator_name} -sdcard ${sd_card_name} -verbose)
  8. + [[ '' == \t\r\u\e ]]
  9. + binary_name=qemu-system-x86_64-headless
  10. + echo 'Rendering: Headless swiftshader (software) rendering mode is enabled'
  11. Rendering: Headless swiftshader (software) rendering mode is enabled
  12. + emulator_arguments+=(-no-window -gpu swiftshader_indirect)
  13. + '[' '' == true ']'
  14. + '[' '' '!=' true ']'
  15. + echo 'Snapshots: Emulator will be ran with loading snapshot (for using emulator with snapshot on CI)'
  16. Snapshots: Emulator will be ran with loading snapshot (for using emulator with snapshot on CI)
  17. + emulator_arguments+=(-snapshot ci -no-snapshot-save)
  18. + emulator_arguments+=(-no-boot-anim -no-audio -partition-size 2048 -logcat *:v)
  19. + adb start-server
  20. * daemon not running; starting now at tcp:5037
  21. * daemon started successfully
  22. + cd /opt/android-sdk/emulator
  23. + echo 'Run qemu-system-x86_64-headless binary for emulator emulator_22 with abi: x86 (Version: 22)'
  24. Run qemu-system-x86_64-headless binary for emulator emulator_22 with abi: x86 (Version: 22)
  25. + echo no
  26. + ./qemu/linux-x86_64/qemu-system-x86_64-headless -avd emulator_22 -sdcard /sdcard.img -verbose -no-window -gpu swiftshader_indirect -snapshot ci -no-snapshot-save -no-boot-anim -no-audio -partition-size 2048 -logcat '*:v'
  27. VERBOSE | autoconfig: -skin 320x480
  28. VERBOSE | autoconfig: -skindir (null)
  29. VERBOSE | autoconfig: -kernel /opt/android-sdk/system-images/android-22/google_apis/x86//kernel-ranchu
  30. VERBOSE | Target arch = 'x86'
  31. VERBOSE | Auto-config: -qemu -cpu qemu32
  32. VERBOSE | Auto-detect: Kernel image requires new device naming scheme.
  33. VERBOSE | Auto-detect: Kernel does not support YAFFS2 partitions.
  34. VERBOSE | autoconfig: -ramdisk /opt/android-sdk/system-images/android-22/google_apis/x86//ramdisk.img
  35. VERBOSE | Using initial system image: /opt/android-sdk/system-images/android-22/google_apis/x86//system.img
  36. VERBOSE | No vendor image
  37. VERBOSE | autoconfig: -initdata /root/.android/avd/emulator_22.avd/userdata.img
  38. VERBOSE | autoconfig: -cache /root/.android/avd/emulator_22.avd/cache.img
  39. VERBOSE | Physical RAM size: 2048MB
  40. VERBOSE | VM heap size 0MB is below hardware specified minimum of 512MB,setting it to that value
  41. VERBOSE | System image is read only
  42. VERBOSE | Found 2 DNS servers:
  43. VERBOSE | 10.0.0.1
  44. VERBOSE | 192.168.0.1
  45. VERBOSE | found magic skin width=320 height=480 bpp=16
  46.  
  47. VERBOSE | Creating: /root/.android/avd/emulator_22.avd/userdata-qemu.img by copying from /root/.android/avd/emulator_22.avd/userdata.img
  48. WARNING | encryption is off
  49. VERBOSE | Creating empty ext4 cache partition: /root/.android/avd/emulator_22.avd/cache.img
  50. Creating filesystem with parameters:
  51. Size: 69206016
  52. Block size: 4096
  53. Blocks per group: 32768
  54. Inodes per group: 4224
  55. Inode size: 256
  56. Journal blocks: 1024
  57. Label:
  58. Blocks: 16896
  59. Block groups: 1
  60. Reserved block group size: 7
  61. Created filesystem with 11/4224 inodes and 1302/16896 blocks
  62. VERBOSE | CPU Acceleration: working
  63. VERBOSE | CPU Acceleration status: KVM (version 12) is installed and usable.
  64. VERBOSE | handleCpuAcceleration: feature check for hvf
  65. WARNING | Logcat tag filtering is currently disabled. b/132840817, everything will be placed on stdout
  66. VERBOSE | feeding guest with passive gps data, in headless mode
  67. VERBOSE | Path:/opt/android-sdk/platform-tools/adb protocol version: 41
  68. VERBOSE | Path:/opt/android-sdk/platform-tools/adb protocol version: 41
  69. VERBOSE | Path:/opt/android-sdk/platform-tools/adb protocol version: 41
  70. VERBOSE | Found: 3 adb executables
  71. VERBOSE | Adb: /opt/android-sdk/platform-tools/adb
  72. VERBOSE | Adb: /opt/android-sdk/platform-tools/adb
  73. VERBOSE | Adb: /opt/android-sdk/platform-tools/adb
  74. VERBOSE | Path:/opt/android-sdk/platform-tools/adb protocol version: 41
  75. VERBOSE | Path:/opt/android-sdk/platform-tools/adb protocol version: 41
  76. VERBOSE | Path:/opt/android-sdk/platform-tools/adb protocol version: 41
  77. VERBOSE | GPU emulation enabled using 'swiftshader_indirect' mode
  78. VERBOSE | Initializing hardware OpenGLES emulation support
  79. VERBOSE | create display 0
  80. VERBOSE | setDisplayPose 0 x 0 y 0 w 320 h 480 dpi 0
  81. INFO | configAndStartRenderer: setting vsync to 60 hz
  82. VERBOSE | Verified boot params were not found.
  83. VERBOSE | Found 2 DNS servers:
  84. VERBOSE | 10.0.0.1
  85. VERBOSE | 192.168.0.1
  86. WARNING | cannot add library /opt/android-sdk/emulator/qemu/linux-x86_64/lib64/vulkan/libvulkan.so: failed
  87. INFO | Content of hardware configuration file:
  88. INFO | hw.cpu.arch = x86
  89. INFO | hw.cpu.model = qemu32
  90. INFO | hw.cpu.ncore = 2
  91. INFO | hw.ramSize = 2048
  92. INFO | hw.screen = multi-touch
  93. INFO | hw.mainKeys = true
  94. INFO | hw.trackBall = true
  95. INFO | hw.keyboard = false
  96. INFO | hw.keyboard.lid = false
  97. INFO | hw.keyboard.charmap = qwerty2
  98. INFO | hw.dPad = false
  99. INFO | hw.rotaryInput = false
  100. INFO | hw.gsmModem = true
  101. INFO | hw.gps = true
  102. INFO | hw.battery = true
  103. INFO | hw.accelerometer = false
  104. INFO | hw.gyroscope = false
  105. INFO | hw.audioInput = false
  106. INFO | hw.audioOutput = false
  107. INFO | hw.sdCard = true
  108. INFO | hw.sdCard.path = /sdcard.img
  109. INFO | disk.cachePartition = true
  110. INFO | disk.cachePartition.path = /root/.android/avd/emulator_22.avd/cache.img
  111. INFO | disk.cachePartition.size = 66m
  112. INFO | test.quitAfterBootTimeOut = -1
  113. INFO | test.delayAdbTillBootComplete = 0
  114. INFO | test.monitorAdb = 0
  115. INFO | hw.lcd.width = 320
  116. INFO | hw.lcd.height = 480
  117. INFO | hw.lcd.depth = 16
  118. INFO | hw.lcd.density = 120
  119. INFO | hw.lcd.backlight = true
  120. INFO | hw.lcd.vsync = 60
  121. INFO | hw.gltransport = pipe
  122. INFO | hw.gltransport.asg.writeBufferSize = 1048576
  123. INFO | hw.gltransport.asg.writeStepSize = 4096
  124. INFO | hw.gltransport.asg.dataRingSize = 32768
  125. INFO | hw.gltransport.drawFlushInterval = 800
  126. INFO | hw.displayRegion.0.1.xOffset = -1
  127. INFO | hw.displayRegion.0.1.yOffset = -1
  128. INFO | hw.displayRegion.0.1.width = 0
  129. INFO | hw.displayRegion.0.1.height = 0
  130. INFO | hw.displayRegion.0.2.xOffset = -1
  131. INFO | hw.displayRegion.0.2.yOffset = -1
  132. INFO | hw.displayRegion.0.2.width = 0
  133. INFO | hw.displayRegion.0.2.height = 0
  134. INFO | hw.displayRegion.0.3.xOffset = -1
  135. INFO | hw.displayRegion.0.3.yOffset = -1
  136. INFO | hw.displayRegion.0.3.width = 0
  137. INFO | hw.displayRegion.0.3.height = 0
  138. INFO | hw.display1.width = 0
  139. INFO | hw.display1.height = 0
  140. INFO | hw.display1.density = 0
  141. INFO | hw.display1.xOffset = -1
  142. INFO | hw.display1.yOffset = -1
  143. INFO | hw.display1.flag = 0
  144. INFO | hw.display2.width = 0
  145. INFO | hw.display2.height = 0
  146. INFO | hw.display2.density = 0
  147. INFO | hw.display2.xOffset = -1
  148. INFO | hw.display2.yOffset = -1
  149. INFO | hw.display2.flag = 0
  150. INFO | hw.display3.width = 0
  151. INFO | hw.display3.height = 0
  152. INFO | hw.display3.density = 0
  153. INFO | hw.display3.xOffset = -1
  154. INFO | hw.display3.yOffset = -1
  155. INFO | hw.display3.flag = 0
  156. INFO | hw.gpu.enabled = true
  157. INFO | hw.gpu.mode = swiftshader_indirect
  158. INFO | hw.initialOrientation = portrait
  159. INFO | hw.camera.back = emulated
  160. INFO | hw.camera.front = none
  161. INFO | vm.heapSize = 512
  162. INFO | hw.sensors.light = false
  163. INFO | hw.sensors.pressure = false
  164. INFO | hw.sensors.humidity = false
  165. INFO | hw.sensors.proximity = false
  166. INFO | hw.sensors.magnetic_field = false
  167. INFO | hw.sensors.magnetic_field_uncalibrated = false
  168. INFO | hw.sensors.gyroscope_uncalibrated = false
  169. INFO | hw.sensors.orientation = false
  170. INFO | hw.sensors.temperature = false
  171. INFO | hw.sensors.rgbclight = false
  172. INFO | hw.sensor.hinge = false
  173. INFO | hw.sensor.hinge.count = 0
  174. INFO | hw.sensor.hinge.type = 0
  175. INFO | hw.sensor.hinge.sub_type = 0
  176. INFO | hw.sensor.hinge.fold_to_displayRegion.0.1_at_posture = 1
  177. INFO | hw.sensor.roll = false
  178. INFO | hw.sensor.roll.count = 0
  179. INFO | hw.sensor.roll.resize_to_displayRegion.0.1_at_posture = 6
  180. INFO | hw.sensor.roll.resize_to_displayRegion.0.2_at_posture = 6
  181. INFO | hw.sensor.roll.resize_to_displayRegion.0.3_at_posture = 6
  182. INFO | hw.sensors.heart_rate = false
  183. INFO | hw.sensors.wrist_tilt = false
  184. INFO | hw.useext4 = true
  185. INFO | hw.arc = false
  186. INFO | hw.arc.autologin = false
  187. INFO | kernel.path = /opt/android-sdk/system-images/android-22/google_apis/x86//kernel-ranchu
  188. INFO | kernel.newDeviceNaming = yes
  189. INFO | kernel.supportsYaffs2 = no
  190. INFO | disk.ramdisk.path = /opt/android-sdk/system-images/android-22/google_apis/x86//ramdisk.img
  191. INFO | disk.systemPartition.initPath = /opt/android-sdk/system-images/android-22/google_apis/x86//system.img
  192. INFO | disk.systemPartition.size = 2g
  193. INFO | disk.vendorPartition.size = 0
  194. INFO | disk.dataPartition.path = /root/.android/avd/emulator_22.avd/userdata-qemu.img
  195. INFO | disk.dataPartition.initPath = /root/.android/avd/emulator_22.avd/userdata.img
  196. INFO | disk.dataPartition.size = 2g
  197. INFO | PlayStore.enabled = false
  198. INFO | avd.name = emulator_22
  199. INFO | avd.id = emulator_22
  200. INFO | fastboot.forceColdBoot = false
  201. INFO | android.sdk.root = /opt/android-sdk
  202. INFO | android.avd.home = /root/.android/avd
  203. INFO | .
  204. INFO | QEMU options list:
  205. INFO INFO | | added library /opt/android-sdk/emulator/lib64/vulkan/libvulkan.so argv[00] = "./qemu/linux-x86_64/qemu-system-x86_64-headless"
  206. INFO | argv[01] = "-dns-server"
  207. INFO | argv[02] = "10.0.0.1,192.168.0.1"
  208. INFO | argv[03] = "-no-audio"
  209. INFO | argv[04] = "-loadvm"
  210. INFO | argv[05] = "ci"
  211. INFO | argv[06] = "-serial"
  212. INFO | argv[07] = "null"
  213. INFO | argv[08] = "-device"
  214. INFO | argv[09] = "goldfish_pstore,addr=0xff018000,size=0x10000,file=/root/.android/avd/emulator_22.avd/data/misc/pstore/pstore.bin"
  215. INFO | argv[10] = "-cpu"
  216. INFO | argv[11] = "android64"
  217.  
  218. INFO | argv[12] = "-enable-kvm"
  219. INFO | argv[13] = "-smp"
  220. INFO | argv[14] = "cores=2"
  221. INFO | argv[15] = "-m"
  222. INFO | argv[16] = "2048"
  223. INFO | argv[17] = "-lcd-density"
  224. INFO | argv[18] = "120"
  225. INFO | argv[19] = "-object"
  226. INFO | argv[20] = "iothread,id=disk-iothread"
  227. INFO | argv[21] = "-nodefaults"
  228. INFO | argv[22] = "-kernel"
  229. INFO | argv[23] = "/opt/android-sdk/system-images/android-22/google_apis/x86//kernel-ranchu"
  230. INFO | argv[24] = "-initrd"
  231. INFO | argv[25] = "/opt/android-sdk/system-images/android-22/google_apis/x86//ramdisk.img"
  232. INFO | argv[26] = "-drive"
  233. INFO | argv[27] = "if=none,index=0,id=system,if=none,file=/opt/android-sdk/system-images/android-22/google_apis/x86//system.img,read-only"
  234. INFO | argv[28] = "-device"
  235. INFO | argv[29] = "virtio-blk-pci,drive=system,iothread=disk-iothread,modern-pio-notify"
  236. INFO | argv[30] = "-drive"
  237. INFO | argv[31] = "if=none,index=1,id=cache,if=none,file=/root/.android/avd/emulator_22.avd/cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
  238. INFO | argv[32] = "-device"
  239. INFO | argv[33] = "virtio-blk-pci,drive=cache,iothread=disk-iothread,modern-pio-notify"
  240. INFO | argv[34] = "-drive"
  241. INFO | argv[35] = "if=none,index=2,id=userdata,if=none,file=/root/.android/avd/emulator_22.avd/userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
  242. INFO | argv[36] = "-device"
  243. INFO | argv[37] = "virtio-blk-pci,drive=userdata,iothread=disk-iothread,modern-pio-notify"
  244. INFO | argv[38] = "-drive"
  245. INFO | argv[39] = "if=none,index=3,id=sdcard,if=none,file=/sdcard.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576"
  246. INFO | argv[40] = "-device"
  247. INFO | argv[41] = "virtio-blk-pci,drive=sdcard,iothread=disk-iothread,modern-pio-notify"
  248. INFO | argv[42] = "-netdev"
  249. INFO | argv[43] = "user,id=mynet"
  250. INFO | argv[44] = "-device"
  251. INFO | argv[45] = "virtio-net-pci,netdev=mynet"
  252. INFO | argv[46] = "-device"
  253. INFO | argv[47] = "virtio-rng-pci"
  254. INFO | argv[48] = "-show-cursor"
  255. INFO | argv[49] = "-L"
  256. INFO | argv[50] = "lib/pc-bios"
  257. INFO | argv[51] = "-soundhw"
  258. INFO | argv[52] = "hda"
  259. INFO | argv[53] = "-vga"
  260. INFO | argv[54] = "none"
  261. INFO | argv[55] = "-append"
  262. INFO | argv[56] = "no_timer_check clocksource=pit no-kvmclock console=0 cma=4M@0-4G ndns=2 loop.max_part=7 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 printk.devkmsg=on qemu=1 androidboot.hardware=ranchu androidboot.serialno=EMULATOR31X2X8X0 android.bootanim=0 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=131072 qemu.dalvik.vm.heapsize=512m qemu.camera_hq_edge_processing=0 androidboot.android_dt_dir=/sys/bus/platform/devices/ANDR0001:00/properties/android/ androidboot.console=ttyS0 android.qemud=1 qemu.avd_name=emulator_22"
  263. INFO | argv[57] = "-android-hw"
  264. INFO | argv[58] = "/root/.android/avd/emulator_22.avd/hardware-qemu.ini"
  265. INFO | Concatenated QEMU options: ./qemu/linux-x86_64/qemu-system-x86_64-headless -dns-server 10.0.0.1,192.168.0.1 -no-audio -loadvm ci -serial null -device goldfish_pstore,addr=0xff018000,size=0x10000,file=/root/.android/avd/emulator_22.avd/data/misc/pstore/pstore.bin -cpu android64 -enable-kvm -smp cores=2 -m 2048 -lcd-density 120 -object iothread,id=disk-iothread -nodefaults -kernel /opt/android-sdk/system-images/android-22/google_apis/x86//kernel-ranchu -initrd /opt/android-sdk/system-images/android-22/google_apis/x86//ramdisk.img -drive if=none,index=0,id=system,if=none,file=/opt/android-sdk/system-images/android-22/google_apis/x86//system.img,read-only -device virtio-blk-pci,drive=system,iothread=disk-iothread,modern-pio-notify -drive if=none,index=1,id=cache,if=none,file=/root/.android/avd/emulator_22.avd/cache.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=cache,iothread=disk-iothread,modern-pio-notify -drive if=none,index=2,id=userdata,if=none,file=/root/.android/avd/emulator_22.avd/userdata-qemu.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=userdata,iothread=disk-iothread,modern-pio-notify -drive if=none,index=3,id=sdcard,if=none,file=/sdcard.img.qcow2,overlap-check=none,cache=unsafe,l2-cache-size=1048576 -device virtio-blk-pci,drive=sdcard,iothread=disk-iothread,modern-pio-notify -netdev user,id=mynet -device virtio-net-pci,netdev=mynet -device virtio-rng-pci -show-cursor -L lib/pc-bios -soundhw hda -vga none -append 'no_timer_check clocksource=pit no-kvmclock console=0 cma=4M@0-4G ndns=2 loop.max_part=7 ramoops.mem_address=0xff018000 ramoops.mem_size=0x10000 memmap=0x10000$0xff018000 printk.devkmsg=on qemu=1 androidboot.hardware=ranchu androidboot.serialno=EMULATOR31X2X8X0 android.bootanim=0 qemu.gles=1 qemu.settings.system.screen_off_timeout=2147483647 qemu.vsync=60 qemu.gltransport=pipe qemu.gltransport.drawFlushInterval=800 qemu.opengles.version=131072 qemu.dalvik.vm.heapsize=512m qemu.camera_hq_edge_processing=0 androidboot.android_dt_dir=/sys/bus/platform/devices/ANDR0001:00/properties/android/ androidboot.console=ttyS0 android.qemud=1 qemu.avd_name=emulator_22' -android-hw /root/.android/avd/emulator_22.avd/hardware-qemu.ini
  266. VERBOSE | Android qemu version 31.2.8.0 (build_id 8143646) (CL:N/A)
  267. VERBOSE | Starting QEMU main loop
  268. VERBOSE | registered 'boot-properties' qemud service
  269. VERBOSE | Adding boot property: 'ro.opengles.version' = '131072'
  270. VERBOSE | Adding boot property: 'qemu.sf.fake_camera' = 'back'
  271. VERBOSE | Adding boot property: 'dalvik.vm.heapsize' = '512m'
  272. VERBOSE | Adding boot property: 'qemu.hw.mainkeys' = '1'
  273. VERBOSE | Adding boot property: 'qemu.sf.lcd_density' = '120'
  274. VERBOSE | control console listening on port 5554, ADB on port 5555
  275. VERBOSE | goldfish_events.have-dpad: false
  276. VERBOSE | goldfish_events.have-trackball: true
  277. VERBOSE | goldfish_events.have-camera: true
  278. VERBOSE | goldfish_events.have-keyboard: false
  279. VERBOSE | goldfish_events.have-lidswitch: false
  280. VERBOSE | goldfish_events.have-tabletmode: false
  281. VERBOSE | goldfish_events.have-touch: false
  282. VERBOSE | goldfish_events.have-multitouch: true
  283. VERBOSE | Not using any http proxy
  284. WARNING | could not find /usr/share/zoneinfo/ directory. unable to determine host timezone
  285. VERBOSE | Adding boot property: 'qemu.timezone' = 'Unknown/Unknown'
  286. VERBOSE | android_hw_fingerprint_init: fingerprint qemud listen service initialized
  287. INFO | Started GRPC server at 127.0.0.1:8554, security: Local
  288. WARNING | Using fallback path for the emulator registration directory.
  289. INFO | Advertising in: /root/.android/avd/running/pid_25.ini
  290. VERBOSE | emulator_window_fb_rotate
  291. VERBOSE | No acpi ini file provided, using default
  292. VERBOSE | No acpi ini file provided, using default
  293. INFO | Your emulator is out of date, please update by launching Android Studio:
  294. - Start Android Studio
  295. - Select menu "Tools > Android > SDK Manager"
  296. - Click "SDK Tools" tab
  297. - Check "Android Emulator" checkbox
  298. - Click "OK"
  299.  
  300. VERBOSE | onGuestSendCommand: [0x6869c70] Adb connected, start proxing data
  301. WARNING | could not find /usr/share/zoneinfo/ directory. unable to determine host timezone
  302. WARNING | could not find /usr/share/zoneinfo/ directory. unable to determine host timezone
  303. ^CINFO | Discarding the changed state: command-line flag
  304. WARNING | Discarding the changed state (command-line flag).
  305. INFO | Shutting down gRPC endpoint
  306. INFO | Shutting down gRPC endpoint
  307. VERBOSE | Done with QEMU main loop
  308. VERBOSE | User configuration saved to /root/.android/avd/emulator_22.avd/emulator-user.ini
  309. VERBOSE | Adb transition disconnected -> disconnected
  310.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement