New issue
Advanced search Search tips

Issue 734891 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

camera_V4L2 failing on stout

Project Member Reported by henryhsu@chromium.org, Jun 20 2017

Issue description

stout 9666.0.0

06/19 12:16:32.004 INFO |       camera_V4L2:0082| Running /usr/local/autotest/tests/camera_V4L2/media_v4l2_test --device=/dev/video0 --usb-info=5986:0299
06/19 12:16:32.004 DEBUG|             utils:0212| Running '/usr/local/autotest/tests/camera_V4L2/media_v4l2_test --device=/dev/video0 --usb-info=5986:0299'
06/19 12:16:32.024 ERROR|             utils:0280| [stderr] [0619/121632:INFO:camera_characteristics.cc(87)] GetCharacteristicsFromFile: Can't open file /etc/camera/camera_characteristics.conf. Use default characteristics instead
06/19 12:16:32.600 DEBUG|             utils:0280| [stdout] [Info] check 1280x960: 0
06/19 12:16:32.601 DEBUG|             utils:0280| [stdout] [Info] check 1600x1200: 0
06/19 12:16:32.602 DEBUG|             utils:0280| [stdout] [Info] check constant framerate: 0
06/19 12:16:32.602 DEBUG|             utils:0280| [stdout] [Info] num of skip frames after stream on: 0
06/19 12:16:32.603 DEBUG|             utils:0280| [stdout] [Info] TestIO
06/19 12:16:32.603 DEBUG|             utils:0280| [stdout] <<< Warning: VIDIOC_CROPCAP not supported.>>>
06/19 12:16:32.603 DEBUG|             utils:0280| [stdout] <<< Error: VIDIOC_S_CTRL failed. 22>>>
06/19 12:16:32.604 DEBUG|             utils:0280| [stdout] actual format for capture 640x480 YUYV picture at 30.00 fps
06/19 12:16:35.158 DEBUG|             utils:0280| [stdout] .......................................
06/19 12:16:35.159 DEBUG|             utils:0280| [stdout] <<< Info: Actual fps is 13.000000 on /dev/video0.>>>
06/19 12:16:35.159 DEBUG|             utils:0280| [stdout] <<< Warning: VIDIOC_CROPCAP not supported.>>>
06/19 12:16:35.160 DEBUG|             utils:0280| [stdout] <<< Error: VIDIOC_S_CTRL failed. 22>>>
06/19 12:16:35.160 DEBUG|             utils:0280| [stdout] actual format for capture 640x480 YUYV picture at 30.00 fps
06/19 12:16:38.199 DEBUG|             utils:0280| [stdout] .......................................
06/19 12:16:38.199 DEBUG|             utils:0280| [stdout] <<< Info: Actual fps is 13.000000 on /dev/video0.>>>
06/19 12:16:38.200 DEBUG|             utils:0280| [stdout] [Info] TestIO pass
06/19 12:16:38.200 DEBUG|             utils:0280| [stdout] [Info] TestResolutions
06/19 12:16:38.201 DEBUG|             utils:0280| [stdout] <<< Warning: VIDIOC_CROPCAP not supported.>>>
06/19 12:16:38.201 DEBUG|             utils:0280| [stdout] <<< Error: VIDIOC_S_CTRL failed. 22>>>
06/19 12:16:38.202 DEBUG|             utils:0280| [stdout] actual format for capture 320x240 MJPG picture at 30.00 fps
06/19 12:16:41.284 DEBUG|             utils:0280| [stdout] ........................................
06/19 12:16:41.284 DEBUG|             utils:0280| [stdout] <<< Info: Actual fps is 13.333333 on /dev/video0.>>>
06/19 12:16:41.285 DEBUG|             utils:0280| [stdout] <<< Warning: VIDIOC_CROPCAP not supported.>>>
06/19 12:16:41.285 DEBUG|             utils:0280| [stdout] <<< Error: VIDIOC_S_CTRL failed. 22>>>
06/19 12:16:41.286 DEBUG|             utils:0280| [stdout] actual format for capture 640x480 MJPG picture at 30.00 fps
06/19 12:16:44.346 DEBUG|             utils:0280| [stdout] ........................................
06/19 12:16:44.347 DEBUG|             utils:0280| [stdout] <<< Info: Actual fps is 13.333333 on /dev/video0.>>>
06/19 12:16:44.348 DEBUG|             utils:0280| [stdout] <<< Warning: VIDIOC_CROPCAP not supported.>>>
06/19 12:16:44.348 DEBUG|             utils:0280| [stdout] <<< Error: VIDIOC_S_CTRL failed. 22>>>
06/19 12:16:44.348 DEBUG|             utils:0280| [stdout] actual format for capture 1280x720 MJPG picture at 30.00 fps
06/19 12:16:47.410 DEBUG|             utils:0280| [stdout] ........................................
06/19 12:16:47.411 DEBUG|             utils:0280| [stdout] <<< Info: Actual fps is 13.333333 on /dev/video0.>>>
06/19 12:16:47.411 DEBUG|             utils:0280| [stdout] [Info] TestResolutions pass
06/19 12:16:47.412 DEBUG|             utils:0280| [stdout] [Info] TestFirstFrameAfterStreamOn
06/19 12:16:47.412 DEBUG|             utils:0280| [stdout] <<< Warning: VIDIOC_CROPCAP not supported.>>>
06/19 12:16:47.412 DEBUG|             utils:0280| [stdout] <<< Error: VIDIOC_S_CTRL failed. 22>>>
06/19 12:16:47.413 DEBUG|             utils:0280| [stdout] actual format for capture 640x480 MJPG picture at 30.00 fps
06/19 12:16:47.413 DEBUG|             utils:0280| [stdout] [Error] First frame is not a valid mjpeg image.
06/19 12:16:47.414 DEBUG|             utils:0280| [stdout] <<< Error: VIDIOC_REQBUFS for MMAP failed on /dev/video0: Device or resource busy.>>>
06/19 12:16:47.417 DEBUG|              test:0390| Test failed due to Command </usr/local/autotest/tests/camera_V4L2/media_v4l2_test --device=/dev/video0 --usb-info=5986:0299> failed, rc=1, Command returned non-zero exit status
* Command: 
    /usr/local/autotest/tests/camera_V4L2/media_v4l2_test
    --device=/dev/video0 --usb-info=5986:0299
Exit status: 1
Duration: 15.406236887
 
Status: Started (was: Assigned)
Stout is a very old chromebook.

If we want to add skip_frames_after_stream_on attribute into the config file, it will cause some problems with other test cases. Because several test cases use config file to indicate the device supports arc++.

I suggest to test FirstFrameAfterStreamOn case only when the config file exists because it is new requirement.
Issue 734507 has been merged into this issue.
Re #1: sounds good. If the config file doesn't exist, we don't test FirstFrameAfterStreamOn.
https://chromium-review.googlesource.com/c/541001/ is merged.
Let's see the result of 9670.0.0
Status: Fixed (was: Started)

Sign in to add a comment