bytedance / Fastbot_iOS

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

通过命令行运行中途自动退出testFastbot遇到错误 (测试运行器在完成运测试之前以代码74退出。这可能是因为您的代码调了’exit’,考添加一个符号断在’exit’上进行调试。 #133

Open lichen1479070363 opened 5 months ago

lichen1479070363 commented 5 months ago

[fastbot] : got reward: 61.0643 [fastbot] : build state cost: 0.000s action cost: 0.000s total cost 0.000s 2024-04-15 13:26:55.640662+0800 FastbotRunner-Runner[55619:1463760] state g0s2795 action SCROLL_RIGHT_LEFT pos[105,455,150,469] throttle 0.30 2024-04-15 13:26:56.274653+0800 FastbotRunner-Runner[55619:1498121] [Default] Exiting due to IDE disconnection. 2024-04-15 13:26:56.326 xcodebuild[11690:5088310] [MT] IDETestOperationsObserverDebug: 6383.809 elapsed -- Testing started completed. 2024-04-15 13:26:56.326 xcodebuild[11690:5088310] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start 2024-04-15 13:26:56.326 xcodebuild[11690:5088310] [MT] IDETestOperationsObserverDebug: 6383.809 sec, +6383.809 sec -- end 2024-04-15 13:26:56.618 xcodebuild[11690:5088310] [MT] IDEResultKit: Warning: While writing a result bundle to /Users/lichen/Library/Developer/Xcode/DerivedData/Fastbot-iOS-evuuvnhkgpxymyegajsxptyvtsug/Logs/Test/Test-FastbotRunner-2024.04.15_11-40-27-+0800.xcresult, not all contents have been imported, as the Staging directory still contains the following files/directories: ["1_Test"]

Test session results, code coverage, and logs: /Users/lichen/Library/Developer/Xcode/DerivedData/Fastbot-iOS-evuuvnhkgpxymyegajsxptyvtsug/Logs/Test/Test-FastbotRunner-2024.04.15_11-40-27-+0800.xcresult

Testing failed: testFastbot encountered an error (The test runner exited with code 74 before finishing running tests. This may be due to your code calling 'exit', consider adding a symbolic breakpoint on 'exit' to debug.)

TEST FAILED 这是具体的日志,麻烦帮忙看下吧

hjtester commented 1 month ago

兄弟,你的问题我也遇到了。解决了吗?用的什么方案