New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 740419 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

camera_V4L2 on daisy_spring: select timeout

Project Member Reported by henryhsu@chromium.org, Jul 10 2017

Issue description

https://pantheon.corp.google.com/storage/browser/chromeos-autotest-results/127529259-chromeos-test/chromeos6-row2-rack16-host20/debug/

07/07 16:54:01.057 DEBUG|          parallel:0030| [Info] TestResolutions
07/07 16:54:01.057 DEBUG|          parallel:0030| <<< Warning: VIDIOC_CROPCAP not supported.>>>
07/07 16:54:01.058 DEBUG|          parallel:0030| actual format for capture 320x240 YUYV picture at 30.00 fps
07/07 16:54:01.058 DEBUG|          parallel:0030| <<< Error: select() timeout on /dev/video0.>>>
07/07 16:54:01.058 DEBUG|          parallel:0030| [Error] Could not capture frames for 320x240 (56595559) in /dev/video0
07/07 16:54:01.059 DEBUG|          parallel:0030| <<< Error: VIDIOC_REQBUFS for MMAP failed on /dev/video0: Device or resource busy.>>>
 
Summary: camera_V4L2 on daisy_spring: select timeout (was: camera_V4L2 on daisy_spring: )
Project Member

Comment 2 by bugdroid1@chromium.org, Mar 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/7013e24d6bb76310a29b13a2d5268c4c4f96e0f4

commit 7013e24d6bb76310a29b13a2d5268c4c4f96e0f4
Author: Heng-Ruey Hsu <henryhsu@chromium.org>
Date: Wed Mar 28 20:34:20 2018

camera_V4L2: Improve the stability of the test

 - Dump image if first frame after stream on case failed.
 - Change to use poll, return retry when timeout
 - Correctly streamoff and deinit when error happened.
 - Add retry for constant frame rate test.

BUG= chromium:740419 
TEST=test_that -b ${BOARD} dut camera_V4L2

Change-Id: Ic0179d1e297fd55d82274f2ea877c9d3dfb9c04b
Reviewed-on: https://chromium-review.googlesource.com/979833
Commit-Ready: Heng-ruey Hsu <henryhsu@chromium.org>
Tested-by: Heng-ruey Hsu <henryhsu@chromium.org>
Reviewed-by: Ricky Liang <jcliang@chromium.org>

[modify] https://crrev.com/7013e24d6bb76310a29b13a2d5268c4c4f96e0f4/client/site_tests/camera_V4L2/src/camera_characteristics.cc
[modify] https://crrev.com/7013e24d6bb76310a29b13a2d5268c4c4f96e0f4/client/site_tests/camera_V4L2/src/media_v4l2_device.cc
[modify] https://crrev.com/7013e24d6bb76310a29b13a2d5268c4c4f96e0f4/client/site_tests/camera_V4L2/src/media_v4l2_device.h
[modify] https://crrev.com/7013e24d6bb76310a29b13a2d5268c4c4f96e0f4/client/site_tests/camera_V4L2/src/media_v4l2_test.cc

Status: Fixed (was: Untriaged)

Sign in to add a comment