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

ios monkey执行报错,辛苦帮忙看下原因 #53

Closed yayyds closed 3 years ago

yayyds commented 3 years ago

2021-09-17 20:20:17.609275+0800 FastbotRunner-Runner[2795:307709] state g0s96 action SCROLL_BOTTOM_UP pos[114,436,222,447] throttle 0.30 2021-09-17 20:20:17.915029+0800 FastbotRunner-Runner[2795:307709] block in page, force back happend t = 33139.62s Terminate com.zybang.parent:6904 [fastbot] : total visit count is 42626 [fastbot] : state visited: 832 [fastbot] : action visited: 7 [fastbot] : state is saturated, get reward -0.195186 [fastbot] : got reward: 51.1144 [fastbot] : build state cost: 0.000s action cost: 0.000s total cost 0.000s 2021-09-17 20:20:20.680 xcodebuild[29426:995957] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-18212/IDEFoundation/ProjectModel/ActionRecords/IDESchemeActionTestAttachment.m:250 Details: Error writing attachment data to file /Users/zyb/Library/Developer/Xcode/DerivedData/Fastbot-iOS-bgenoxwdcyhexedvmzsdxtypnrer/Logs/Test/Test-FastbotRunner-2021.09.17_11-07-51-+0800.xcresult/Staging/1_Test/Attachments/Screenshot_9B03F783-8B2F-44FA-A164-9995C4D19978.jpg: Error Domain=NSCocoaErrorDomain Code=4 "The file “Screenshot_9B03F783-8B2F-44FA-A164-9995C4D19978.jpg” doesn’t exist." UserInfo={NSFilePath=/Users/zyb/Library/Developer/Xcode/DerivedData/Fastbot-iOS-bgenoxwdcyhexedvmzsdxtypnrer/Logs/Test/Test-FastbotRunner-2021.09.17_11-07-51-+0800.xcresult/Staging/1_Test/Attachments/Screenshot_9B03F783-8B2F-44FA-A164-9995C4D19978.jpg, NSUnderlyingError=0x12c09e610 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} Object: <IDESchemeActionTestAttachment: 0x12c09e870> Method: -_savePayload: Thread: <NSThread: 0x14c71ac80>{number = 1, name = main} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. t = 33142.92s Open com.zybang.parent t = 33142.98s Launch com.zybang.parent t = 33143.16s Wait for accessibility to load t = 33143.17s Setting up automation session t = 33143.46s Wait for com.zybang.parent to idle 2021-09-17 20:20:23.385 xcodebuild[29426:995957] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-18212/IDEFoundation/ProjectModel/ActionRecords/IDESchemeActionTestAttachment.m:250 Details: Error writing attachment data to file /Users/zyb/Library/Developer/Xcode/DerivedData/Fastbot-iOS-bgenoxwdcyhexedvmzsdxtypnrer/Logs/Test/Test-FastbotRunner-2021.09.17_11-07-51-+0800.xcresult/Staging/1_Test/Attachments/Screenshot_B70ADC7C-01D9-4022-A298-66F6D70D83FF.jpg: Error Domain=NSCocoaErrorDomain Code=4 "The file “Screenshot_B70ADC7C-01D9-4022-A298-66F6D70D83FF.jpg” doesn’t exist." UserInfo={NSFilePath=/Users/zyb/Library/Developer/Xcode/DerivedData/Fastbot-iOS-bgenoxwdcyhexedvmzsdxtypnrer/Logs/Test/Test-FastbotRunner-2021.09.17_11-07-51-+0800.xcresult/Staging/1_Test/Attachments/Screenshot_B70ADC7C-01D9-4022-A298-66F6D70D83FF.jpg, NSUnderlyingError=0x12fa04300 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} Object: <IDESchemeActionTestAttachment: 0x12fa04190> Method: -_savePayload: Thread: <NSThread: 0x14c71ac80>{number = 1, name = main} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. 2021-09-17 20:20:24.390 xcodebuild[29426:995957] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-18212/IDEFoundation/ProjectModel/ActionRecords/IDESchemeActionTestAttachment.m:250 Details: Error writing attachment data to file /Users/zyb/Library/Developer/Xcode/DerivedData/Fastbot-iOS-bgenoxwdcyhexedvmzsdxtypnrer/Logs/Test/Test-FastbotRunner-2021.09.17_11-07-51-+0800.xcresult/Staging/1_Test/Attachments/Screenshot_F291DDB2-3E58-4580-9B83-B45EB318F9FA.jpg: Error Domain=NSCocoaErrorDomain Code=4 "The file “Screenshot_F291DDB2-3E58-4580-9B83-B45EB318F9FA.jpg” doesn’t exist." UserInfo={NSFilePath=/Users/zyb/Library/Developer/Xcode/DerivedData/Fastbot-iOS-bgenoxwdcyhexedvmzsdxtypnrer/Logs/Test/Test-FastbotRunner-2021.09.17_11-07-51-+0800.xcresult/Staging/1_Test/Attachments/Screenshot_F291DDB2-3E58-4580-9B83-B45EB318F9FA.jpg, NSUnderlyingError=0x12c09ea30 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} Object: <IDESchemeActionTestAttachment: 0x12c09f450> Method: -_savePayload: Thread: <NSThread: 0x14c71ac80>{number = 1, name = main} Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide. 2021-09-17 20:20:26.083869+0800 FastbotRunner-Runner[2795:307709] state g0s96 action SCROLL_BOTTOM_UP pos[336,5,405,15] throttle 0.30 [fastbot] : total visit count is 42627 [fastbot] : state visited: 548 [fastbot] : action visited: 4 [fastbot] : state is saturated, get reward -0.128557 [fastbot] : got reward: 54.1311 [fastbot] : build state cost: 0.004s action cost: 0.000s total cost 0.004s 2021-09-17 20:20:27.153373+0800 FastbotRunner-Runner[2795:497416] ticker shot desc cost 0.560456 netact 0.015033 second, left 38857.726547s 2021-09-17 20:20:27.317175+0800 FastbotRunner-Runner[2795:307709] state g0s115 action SCROLL_LEFT_RIGHT pos[74,355,117,365] throttle 0.30 [fastbot] : select new action from unvisited Unsaturated [fastbot] : total visit count is 42628 [fastbot] : state visited: 6 [fastbot] : action first visited, get reward 1.000000 [fastbot] : got reward: 54.3914 [fastbot] : build state cost: 0.008s action cost: 0.000s total cost 0.008s 2021-09-17 20:20:27.964576+0800 FastbotRunner-Runner[2795:307709] state g0s1216 action SCROLL_LEFT_RIGHT pos[2,530,30,618] throttle 0.30 [fastbot] : total visit count is 42629 [fastbot] : state visited: 168 [fastbot] : action visited: 2 [fastbot] : state is saturated, get reward -0.039410 [fastbot] : got reward: 54.1684 [fastbot] : build state cost: 0.003s action cost: 0.001s total cost 0.004s 2021-09-17 20:20:28.506687+0800 FastbotRunner-Runner[2795:307709] state g0s15 action CLICK pos[74,286,91,302] throttle 0.30 [fastbot] : total visit count is 42630 [fastbot] : state visited: 289 [fastbot] : action visited: 2 [fastbot] : state is saturated, get reward -0.067793 [fastbot] : got reward: 55.6806 [fastbot] : build state cost: 0.003s action cost: 0.001s total cost 0.004s 2021-09-17 20:20:29.125969+0800 FastbotRunner-Runner[2795:307709] state g0s16 action SCROLL_LEFT_RIGHT pos[373,33,392,51] throttle 0.30 [fastbot] : total visit count is 42631 [fastbot] : state visited: 226 [fastbot] : action visited: 11 [fastbot] : state is saturated, get reward -0.053013 [fastbot] : got reward: 51.8837 [fastbot] : build state cost: 0.002s action cost: 0.000s total cost 0.002s 2021-09-17 20:20:29.750079+0800 FastbotRunner-Runner[2795:307709] state g0s17 action SCROLL_BOTTOM_UP pos[8,5,62,15] throttle 0.30 [fastbot] : total visit count is 42632 [fastbot] : state visited: 347 [fastbot] : action visited: 23 [fastbot] : state is saturated, get reward -0.081394 [fastbot] : got reward: 37.5491 [fastbot] : build state cost: 0.001s action cost: 0.000s total cost 0.001s 2021-09-17 20:20:30.848387+0800 FastbotRunner-Runner[2795:307709] state g0s18 action SCROLL_BOTTOM_UP pos[0,0,413,735] throttle 0.30 2021-09-17 20:20:32.523289+0800 FastbotRunner-Runner[2795:512599] [Default] Exiting due to IDE disconnection. 2021-09-17 20:20:33.053 xcodebuild[29426:995957] [MT] IDETestOperationsObserverDebug: 33159.224 elapsed -- Testing started completed. 2021-09-17 20:20:33.053 xcodebuild[29426:995957] [MT] IDETestOperationsObserverDebug: 0.000 sec, +0.000 sec -- start 2021-09-17 20:20:33.053 xcodebuild[29426:995957] [MT] IDETestOperationsObserverDebug: 33159.224 sec, +33159.224 sec -- end

Test session results, code coverage, and logs: /Users/zyb/Library/Developer/Xcode/DerivedData/Fastbot-iOS-bgenoxwdcyhexedvmzsdxtypnrer/Logs/Test/Test-FastbotRunner-2021.09.17_11-07-51-+0800.xcresult

Testing failed: FastbotRunner: testFastbot encountered an error (The test runner exited with code 74 before finishing running tests. If you believe this error represents a bug, please attach the result bundle at /Users/zyb/Library/Developer/Xcode/DerivedData/Fastbot-iOS-bgenoxwdcyhexedvmzsdxtypnrer/Logs/Test/Test-FastbotRunner-2021.09.17_11-07-51-+0800.xcresult)

TEST FAILED

geron-cn commented 3 years ago

Exiting due to IDE disconnection. 设备断开连接了, 请检查 PC 磁盘空间/电量 等状态。