[DESCRIPTION]
测试VtsHalDrmV1_0Target单条或者多条fail
[SOLUTION]
这个module测试的关键因素就是需要高速稳定的翻墙网络
遇到这个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):
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
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