Bug #113929
测试 Test-ST #113421: V4.0功能与专项测试
测试 Test-ST #113422: V4.0专项--AF专项--monkey测试
【AF】【EVT2】【Monkey】Monkey测试60小时,出现ANR:com.android.settings(1)
Status: | CLOSED | Start date: | 2022-11-14 | |
---|---|---|---|---|
Priority: | Normal | Due date: | 2022-12-30 | |
Assignee: | CD Test赵飞 | % Done: | 100% | |
Category: | CD-FW | |||
Target version: | VX1_MCE_FSE_V5.0_20221230 | |||
Need_Info: | -- | Found Version: | FlatBuild_HH_VX1_MCE_FSE.M.D.userdebug.01.00.X101.202211110608 | |
Resolution: | DUPLICATE | Degrated: | No | |
Severity: | Normal | Verified Version: | ||
Reproducibility: | Frequently | Fixed Version: | 2022-12-28 | |
Test Type: | Monkey Test | Root cause: | 目前剩余ANR问题,原因一致,如下
Reason: Input dispatching timed out (Application does not have a focused window) 剩余的ANR问题,剩余的根本原因应该是一样的。我们将统一在113944票里跟踪分析 |
Description
【执行命令】
adb shell
monkey --pkg-blacklist-file /sdcard/blacklist.txt --ignore-crashes --ignore-timeouts --ignore-security-exceptions --monitor-native-crashes --ignore-native-crashes -s 20 --throttle 200 --pct-touch 30 --pct-motion 15 --pct-nav 15 --pct-majornav 15 --pct-syskeys 5 --pct-appswitch 10 --pct-anyevent 10 --ignore-crashes -v -v -v 180000 2>/sdcard/error.txt 1>/sdcard/info.txt
【错误信息】
// NOT RESPONDING: com.android.settings (pid 24725) ANR in com.android.settings (com.android.settings/.Settings) PID: 24725 Reason: Input dispatching timed out (Application does not have a focused window) Parent: com.android.settings/.Settings ErrorId: a7ed113d-0552-4b59-b971-73afaca36f8c Frozen: false Load: 9.02 / 7.27 / 6.45 ----- Output from /proc/pressure/memory ----- some avg10=0.00 avg60=0.00 avg300=0.00 total=5152260 full avg10=0.00 avg60=0.00 avg300=0.00 total=2439571 ----- End output from /proc/pressure/memory ----- CPU usage from 0ms to 14507ms later (2022-11-11 12:34:01.891 to 2022-11-11 12:34:16.397): 96% 1232/tlog: 3.1% user + 92% kernel / faults: 7 minor 94% 1058/sensors.qti: 20% user + 74% kernel 50% 4797/tlog: 1.8% user + 48% kernel / faults: 2 minor 39% 1123/system_server: 11% user + 28% kernel / faults: 31777 minor 2.2% 1329/media.codec: 0.8% user + 1.4% kernel / faults: 22526 minor 14% 24725/com.android.settings: 9.7% user + 4.8% kernel / faults: 10911 minor 13% 956/vendor.qti.hardware.display.composer-service: 3.8% user + 9.2% kernel / faults: 725 minor 11% 1047/surfaceflinger: 5.1% user + 6.5% kernel / faults: 1825 minor 8.3% 1403/media.swcodec: 1.1% user + 7.1% kernel / faults: 10688 minor 6.6% 1265/cnss_diag: 3.7% user + 2.8% kernel ...
【日志】
Tlog和ANR目录见FTP:
ftp://cdiot@192.168.87.46/Pre_figure/Test_Log/Bug_113739/Tlog&ANR.zip
History
#1 Updated by CD FW 曹覃刚 over 2 years ago
- Status changed from New to ASSIGNED
- Assignee changed from CD FW 曹覃刚 to CD FW-廖涛
#2 Updated by CD FW 曹覃刚 over 2 years ago
- % Done changed from 0 to 20
UserDebug版本运行Monkey跑出的问题,将在user版本上跑三个版本观察,如果不再复现,我们将关闭这个问题
#3 Updated by CD Test赵飞 over 2 years ago
此问题在11月15号Release版本(user)上三台设备共复现5次
请继续分析(user版本暂不能提供ANR目录,待相关Bug修复后再提供新的日志)
#4 Updated by CDTS-TEST 周婷 over 2 years ago
- Target version changed from VX1_MCE_FSE_V3.0_update_20221130 to VX1_MCE_FSE_V5.0_20221230
#5 Updated by CDTS-TEST 周婷 over 2 years ago
- Due date deleted (
2022-11-21)
#6 Updated by CD FW-廖涛 over 2 years ago
- Root cause set to 需要详细日志
#7 Updated by CD FW-廖涛 over 2 years ago
- Due date set to 2022-12-30
#8 Updated by CD FW-廖涛 over 2 years ago
- Assignee changed from CD FW-廖涛 to CD FW 曹覃刚
#9 Updated by CD FW 曹覃刚 over 2 years ago
- Status changed from ASSIGNED to RESOLVED
- Assignee changed from CD FW 曹覃刚 to CD Test赵飞
- % Done changed from 20 to 100
- Resolution changed from -- to DUPLICATE
- Degrated changed from -- to No
- Fixed Version set to 2022-12-28
- Root cause changed from 需要详细日志 to 目前剩余ANR问题,原因一致,如下 Reason: Input dispatching timed out (Application does not have a focused window) 剩余的ANR问题,剩余的根本原因应该是一样的。我们将统一在113944票里跟踪分析
#10 Updated by CD Test赵飞 over 2 years ago
- Status changed from RESOLVED to VERIFIED
经调查分析,产生ANR的原因与113944票一样,使用113944跟踪此类问题,关闭此票
#11 Updated by CD Test赵飞 over 2 years ago
- Status changed from VERIFIED to CLOSED