bytedance / Fastbot_Android

Fastbot(2.0) is a model-based testing tool for modeling GUI transitions to discover app stability problems
Other
1.01k stars 235 forks source link

被测App被Fastbot停止 #196

Closed qingqingcaoyuanlin closed 1 year ago

qingqingcaoyuanlin commented 1 year ago

初次使用Fastbot,发现过程中被测App被Fastbot停止(日志中的包名被XXXXXXXX替换了)。看日志Fastbot执行了RESTART操作,将App停止,请问这个怎么去掉?我还以为被测App出Bug。我执行第二遍时没有出现App被停止的情况。 10-22 11:15:08.160: I/Fastbot: // Eventid: 1611 10-22 11:15:08.163: I/Fastbot: Checked a block state g0s9 10-22 11:15:08.163: I/Fastbot: selected aciton {id: g0a0, act: RESTART, value: 0} 10-22 11:15:08.163: I/Fastbot: build state cost: 0.000s action cost: 0.000s total cost 0.001s 10-22 11:15:08.165: I/Fastbot: action type: RESTART 10-22 11:15:08.166: I/Fastbot: rpc cost time: 4 10-22 11:15:08.170: I/Fastbot: Stop all packages, retry count 9 10-22 11:15:08.171: I/Fastbot: Try to stop package com.XXXXXXXX 10-22 11:15:08.173: I/ActivityManager(427): Force stopping com.XXXXXXXX appid=10104 user=0: from pid 3262 10-22 11:15:08.175: I/ActivityManager(427): Killing 1093:com.XXXXXXXX/u0a104 (adj 0): stop com.XXXXXXXX due to from pid 3262

zhangzhao4444 commented 1 year ago

这个是正常的restart,当遍历路径出现死胡同时,会走一些兜底