当前位置:   article > 正文

展锐平台camera ITS_展锐camera

展锐camera

fail项如下
Cam0
scene2_a test_jpeg_quality.py
scene3 test_flip_mirror.py test_3a_consistency.py
scene4 test_aspect_ratio_and_crop.py
scene6 test_zoom.py
Cam1
scene3 test_3a_consistency.py test_flip_mirror.py
scene4 test_aspect_ratio_and_crop.py
scene6 test_zoom.py

scene2_a test_jpeg_quality.py

06-08 00:37:04.434 ERROR Exception occurred in test_jpeg_quality.
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/mobly/base_test.py", line 756, in exec_one_test
    test_method()
  File "/home/android/its/android-cts-verifier-13_r4-linux_x86-arm/android-cts-verifier/CameraITS/tests/scene2_a/test_jpeg_quality.py", line 253, in test_jpeg_quality
    lumas_i, chromas_i = extract_dqts(jpeg, debug)
  File "/home/android/its/android-cts-verifier-13_r4-linux_x86-arm/android-cts-verifier/CameraITS/tests/scene2_a/test_jpeg_quality.py", line 165, in extract_dqts
    raise AssertionError(f'DQT size: {dqt_size}')
AssertionError: DQT size: 65324
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

原因分析
从 log 中看是 DQT size 异常,通常这种异常是由于使用了 userdebug 版本进行了测试,在 userdebug 模式
下会添加 ispinfo 接口导致会检测到一些无用的数据。

解决方法
使用 user 版本进行测试。

test_3a_consistency.py

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/mobly/base_test.py", line 756, in exec_one_test
    test_method()
  File "/home/android/its/android-cts-verifier-13_r4-linux_x86-arm/android-cts-verifier/CameraITS/tests/scene3/test_3a_consistency.py", line 65, in test_3a_consistency
    cam, props, self.scene, self.tablet, self.chart_distance)
  File "/home/android/its/android-cts-verifier-13_r4-linux_x86-arm/android-cts-verifier/CameraITS/utils/its_session_utils.py", line 1652, in load_scene
    validate_lighting(y_plane, scene)
  File "/home/android/its/android-cts-verifier-13_r4-linux_x86-arm/android-cts-verifier/CameraITS/utils/its_session_utils.py", line 1682, in validate_lighting
    raise AssertionError('Lights OFF in test rig. Turn ON and retry.')
AssertionError: Lights OFF in test rig. Turn ON and retry.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

ITS 测试灯箱是有开的,为什么会报灯箱没开灯呢?
手动自己手机手电筒打光,过了我去。
其他fail的测试项也基本打光就能过
展锐平台果然不太一样,
也找过tuning改AE,但好像效果不太明显,还是fail.
与测试沟通打光通过测试可接受。
ok,今天这13班就上到这了!!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/酷酷是懒虫/article/detail/1005124
推荐阅读
相关标签
  

闽ICP备14008679号