-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xctest client proxy error with: Error: read ECONNRESET #928
Comments
@xinxinga 改下 |
|
错误应该不在bundleId,根据log显示,没安装-》就去安装,提示已安装-》就先uninstall,再install...这块都能正确处理。测试app 能够正确安装,并成功launch,但是之后log就报错了,case没办法运行 |
This is the translated issue comment: @xinxinga The error should not be in the bundleId, according to the log display, not installed - "Go to the installation, the prompt has been installed -" first uninstall, then install... This block can be handled correctly. The test app can be installed correctly and successfully launched, but after the log is reported, the case can't run. |
@xinxinga 你这个看不出错误啊, |
xcode 里运行也正常
|
This is the translated issue comment: @xinxinga Running in xcode is also normal
|
|
This is the translated issue comment: @xinxinga
|
@xinxinga 在配置driver的时候应该有设置的: |
This is the translated issue comment: @paradite @xinxinga should be set when configuring the driver: |
你的log是完整的嘛?如果报错应该停在 |
This is the translated issue comment: @paradite Is your log complete? If the error should stop at |
我是跑了client test 的,我前面说了,我执行测试,但是case完全跑不起来。
|
This is the translated issue comment: @xinxinga
I ran the client test, I said before, I performed the test, but the case could not run completely.
|
是的,我在跑测试case,只是一直跑不起来,提示read ECONNRESET |
This is the translated issue comment: @xinxinga
Yes, I am running the test case, but I can't run it all the time, prompting read ECONNRESET |
回答上面的问题:
同时,log 显示:
也可以看一下我的测试代码:
|
This is the translated issue comment: @xinxinga
Answer the above question:
At the same time, the log shows:
Also take a look at my test code:
|
光这么看也看不出哪里的问题,如果能有最小的复现问题的例子我可以试试看哪里的问题。 |
This is the translated issue comment: @paradite I can't see where the problem is from light. If there is an example of a minimal recurring problem, I can try to see where it is. |
(1) 我的环境最大的改动,就是mac os 从10.14.4 升级到10.14.5, 另外这个问题卡住以后,我尝试了npm i macaca-ios -g, cnpm i macaca-ios -g, 都不行。 (2) |
This is the translated issue comment: @xinxinga
(1) The biggest change in my environment is that mac os has been upgraded from 10.14.4 to 10.14.5. After this problem is stuck, I tried npm i macaca-ios -g, cnpm i macaca-ios -g, no. (2) |
那大概率是新的macOS的问题了。我们这面最近都没有更新代码。我让负责iOS的同学看看哈。 |
This is the translated issue comment: @paradite That big probability is a problem with the new macOS. We haven't updated the code recently. I let the students in charge of iOS look at Kazakhstan. |
谢谢,这个问题卡住,影响了最近的测试。 |
This is the translated issue comment: @xinxinga
Thanks, this problem is stuck, affecting the most recent test. |
@xinxinga @XinxingAn 你们的问题只是iOS真机吗?我这面测试Xcode 10.2 + macOS 10.14.5,用iOS模拟器是可以的。 |
This is the translated issue comment: @paradite @xinxinga @XinxingAn Is your question just an iOS real machine? I tested Xcode 10.2 + macOS 10.14.5 on this side, and it is ok with the iOS simulator. |
是的,我在真机上测试的,因为我们有些测试需要和第三方交互。模拟器没办法 |
This is the translated issue comment: @XinxingAn
Yes, I tested it on a real machine because some of our tests need to interact with third parties. The simulator has no way |
Update:
|
|
在模拟器上跑了sample test, 虽然有同样的error,但是还是可以继续跑测试case。 |
This is the translated issue comment: @XinxingAn Run the sample test on the simulator, although there is the same error, but you can continue to run the test case. |
有人帮忙跟踪处理吗? |
This is the translated issue comment: @XinxingAn Does anyone help with tracking? |
在跟进,耐心等待一下。sample可以跑的话,你的test不能跑的话,需要看看你的test有什么问题。我们只能修复到sample可以跑起来。 |
This is the translated issue comment: @paradite Follow up and wait patiently. If the sample can run, if your teat can't run, you need to see what's wrong with your test. We can only fix the sample to run. |
sample test 可以跑,能看到同样的error: 我自己的测试原来也是这样的现象,等待一会就可以跑测试,但是从某一天(大概是5.29左右)开始,就hang在这里了。。 和@fifi0526 comments一样 |
This is the translated issue comment: @XinxingAn Sample test can run, can see the same error: My own test turned out to be the same phenomenon, waiting for a while to run the test, but from a certain day, it is here. . |
same error 请问最近有解决吗? |
在最新的xcode 11下修复了,大家试一下。 @xinxinga @mahalo777 |
@paradite |
This is the translated issue comment: @mahalo777
Hello, I just need to update xcode11 it? After updating my side, error: Module compiled with Swift 5.0 can not be imported by the Swift 5.1 compiler: /usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/Carthage/Build/iOS/Swifter.framework/Modules /Swifter.swiftmodule/arm64.swiftmodule |
这应该是因为之前老的全局安装没有更新,可以手动删除,重新安装
|
This is the translated issue comment: @paradite
This should be because of the global installed before the old is not updated, you can manually delete and re-install npm i -g macaca-ios |
@paradite 你好。
|
This is the translated issue comment: @mahalo777 Hello there.
|
@mahalo777 我这面试了一下真机是可以的:
看一下这里我汇总了一些排查思路:#948 |
This is the translated issue comment: @paradite @ Mahalo777 my interview about the real machine is possible:
Here I look at a summary of some of the troubleshooting ideas: https: //github.com//issues/948 |
请问 |
This is the translated issue comment: @LongXiangGuo I would like to ask the |
Macaca Version: 2.1.12
Macaca Doctor Logs:
Operate System: MAC OS 10.14.5
Programming Language: Python
run
macaca server --verbose
The text was updated successfully, but these errors were encountered: