android cts 测试时,有些测试用力整个跑不通过,单个跑就能够通过

xiaoyaoxiaonizi 2013-08-12 03:37:23
如题,请问这种情况google会不会认可,能不能通过认证?
要是google不认的话,那一般怎么解决?
Compatibility Test Package: android.core.tests.libcore.package.tests
Test Result Details
tests.api.javax.net.ssl.SSLSocketFactoryTest
-- test_createSocket
fail

junit.framework.AssertionFailedError: java.net.ConnectException: failed to connect to bla-bla/202.106.199.34 (port 40064): connect failed: ETIMEDOUT (Connection timed out) was thrown instead of UnknownHostException at tests.api.javax.net.ssl.SSLSocketFactoryTest.test_createSocket(SSLSocketFactoryTest.java:109)
tests.api.javax.net.ssl.SSLSocketTest
-- testConstructor_StringI
fail

java.net.ConnectException: failed to connect to bla-bla/202.106.199.34 (port 57184): connect failed: ETIMEDOUT (Connection timed out) at libcore.io.IoBridge.connect(IoBridge.java:114)
-- testConstructor_StringIInetAddressI
fail

java.net.ConnectException: failed to connect to bla-bla/202.106.199.34 (port 58355): connect failed: EINVAL (Invalid argument) at libcore.io.IoBridge.connect(IoBridge.java:114)
tests.api.javax.net.SocketFactoryTest
-- test_createSocket_05
fail

java.net.ConnectException: failed to connect to bla-bla/202.106.199.34 (port 57109): connect failed: EINVAL (Invalid argument) at libcore.io.IoBridge.connect(IoBridge.java:114)
-- test_createSocket_StringI
fail

java.net.ConnectException: failed to connect to bla-bla/202.106.199.34 (port 53347): connect failed: ETIMEDOUT (Connection timed out) at libcore.io.IoBridge.connect(IoBridge.java:114)
tests.security.cert.CertificateFactory4Test
-- test_generateCRLLjava_io_InputStream
fail

junit.framework.AssertionFailedError: An exception was thrown while parsing "http://jcltest.apache.org/internalres/Bug93893-1.crl": org.apache.harmony.security.asn1.ASN1Exception: ASN.1 sequence identifier expected at [0], got 3c at tests.security.cert.CertificateFactory4Test.test_generateCRLLjava_io_InputStream(CertificateFactory4Test.java:123)
-- test_generateCRLsLjava_io_InputStream
fail

java.security.cert.CRLException: Unsupported encoding at org.apache.harmony.security.provider.cert.X509CertFactoryImpl.engineGenerateCRLs(X509CertFactoryImpl.java:296)
-- test_generateCertificatesLjava_io_InputStream
fail

junit.framework.AssertionFailedError: An exception was thrown while parsing "http://jcltest.apache.org/internalres/Bug93891-PEM.cer": Unsupported encoding at tests.security.cert.CertificateFactory4Test.test_generateCertificatesLjava_io_InputStream(CertificateFactory4Test.java:102)
...全文
317 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
zlykeepon 2014-01-13
  • 打赏
  • 举报
回复
个人认为是 网络问题。
没事玩起凡 2013-10-19
  • 打赏
  • 举报
回复
我也遇到相同问题,这个是肯定过不了谷歌那边的,除非是谷歌官方承认了可以跳过的项,否则要全都通过了谷歌才会认可。我相同代码的另一个项目可以过这一项,但是这个项目不能,只是分辨率不同而已。
xiaoyaoxiaonizi 2013-08-12
  • 打赏
  • 举报
回复
自己顶一个,就没有做过cts的吗?给点意见也行啊

80,354

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧