[VTS_8.1]VtsHalDrmV1_0Target module test FAIL

26 篇文章 3 订阅

测试VtsHalDrmV1_0Target单条或者多条fail

[SOLUTION]

这个module测试的关键因素就是需要高速稳定的翻墙网络

case1、遇到这个module,可以从device log看是否以下关键log:
05-17 01:48:03.840 32425 32425 D drm_hal_vendor_test@1.0: Running test DrmHalVendorDecryptTestCases/DrmHalVendorDecryptTest.AttemptDecryptWithKeysRemoved/0 from vendor module /data/local/tmp/32/lib/libvtswidevine.so
05-17 01:48:03.869 32425 32425 E WVCdm : failed to connect to widevine-proxy.appspot.com, port=80
05-17 01:48:03.871 32425 32425 E WVCdm : getaddrinfo failed, errno = 7
05-17 01:48:03.871 32425 32425 E WVCdm : failed to connect to widevine-proxy.appspot.com, port=80
05-17 01:48:03.871 32425 32425 E WVCdm : Socket to widevine-proxy.appspot.com not open. Cannot write.
05-17 01:48:03.871 32425 32425 E WVCdm : Socket to widevine-proxy.appspot.com not open. Cannot read.
05-17 01:48:03.872 32425 32425 E WVCdm : read error, errno = 0
05-17 01:48:03.872 32425 32425 D : HTTP Status code = -1
05-17 01:48:03.872 32425 32425 D : HTTP response(0):
或者:其他http错误码;
这基本可以肯定是网络状况问题,可以尝试ping一下log里显示fail的服务器,例如:
adb shell ping -c 10 widevine-proxy.appspot.com

敝司正常网络是没有丢包现象的,例如:
64 bytes from hkg07s22-in-f116.1e100.net (216.58.199.116): icmp_seq=1 ttl=54 time=5.52 ms
64 bytes from hkg07s22-in-f116.1e100.net (216.58.199.116): icmp_seq=2 ttl=54 time=341 ms
64 bytes from hkg07s22-in-f116.1e100.net (216.58.199.116): icmp_seq=3 ttl=54 time=19.2 ms
64 bytes from hkg07s22-in-f116.1e100.net (216.58.199.116): icmp_seq=4 ttl=54 time=41.3 ms
64 bytes from hkg07s22-in-f116.1e100.net (216.58.199.116): icmp_seq=5 ttl=54 time=30.8 ms
64 bytes from hkg07s22-in-f116.1e100.net (216.58.199.116): icmp_seq=6 ttl=54 time=8.12 ms
64 bytes from hkg07s22-in-f116.1e100.net (216.58.199.116): icmp_seq=7 ttl=54 time=8.43 ms
64 bytes from hkg07s22-in-f116.1e100.net (216.58.199.116): icmp_seq=8 ttl=54 time=15.9 ms
64 bytes from hkg07s22-in-f116.1e100.net (216.58.199.116): icmp_seq=9 ttl=54 time=40.8 ms
64 bytes from hkg07s22-in-f116.1e100.net (216.58.199.116): icmp_seq=10 ttl=54 time=32.1 ms
— appspot-preview.l.google.com ping statistics —
10 packets transmitted, 10 received, 0% packet loss, time 9012ms
rtt min/avg/max/mdev = 5.521/54.345/341.061/96.405 ms
另外,需要注意的是,如果贵司在ping的时候正常,但是测试的时候网络状况未必正常,这一定切记一定要注意;
不一定就是说ping通一次,这个网络就一定没问题!

case2、报错看devicelog报错如下:
09-11 03:02:10.371 514 514 I thermal_repeater: [recvMdThermalInfo] ret=33, strLen=127, 1, 32767, 25339, 32767, -28535
09-11 03:02:10.924 3207 3207 D : HTTP Status code = 400
09-11 03:02:10.924 3207 3207 D : HTTP response(296): 485454502F312E31203430302042616420526571756573740D0A436F6E74656E742D547970653A20746578742F68746D6C3B20636861727365743D7574662D380D0A43616368652D436F6E74726F6C3A206E6F2D63616368650D0A4163636573732D436F6E74726F6C2D416C6C6F772D4F726967696E3A202A0D0A582D436C6F75642D54726163652D436F6E746578743A2038316333396634616231333262336161643636393939663237356431663030350D0A446174653A205475652C2031312053657020323031382031313A30323A313120474D540D0A5365727665723A20476F6F676C652046726F6E74656E640D0A436F6E74656E742D4C656E6774683A2031330D0A436F6E6E656374696F6E3A20636C6F73650D0A0D0A456D7074792052657175657374
09-11 03:02:10.929 352 3136 I WVCdm : CdmEngine::OpenSession
对照http协议错误码可知,这个也属于网络问题:
https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
10.4.1 400 Bad Request
The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.

需要IT检查VPN,可以更换VPN测试,记得不能用软件翻墙;另外,有的网络提供商对VPN的管控比较严格,也需要注意!

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值