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

Issue 923874 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug



Sign in to add a comment

capture_unittests failes on Mac

Project Member Reported by henrika@chromium.org, Yesterday (40 hours ago)

Issue description

These tests have failed for days now and I am unable to find any particular CL which causes this:

https://ci.chromium.org/p/chromium/builders/luci.chromium.webrtc/WebRTC%20Chromium%20Mac%20Tester

failures:
VideoCaptureDeviceTests/VideoCaptureDeviceTest.UsingRealWebcam_GetPhotoState/0
VideoCaptureDeviceTests/VideoCaptureDeviceTest.UsingRealWebcam_GetPhotoState/1
VideoCaptureDeviceTests/VideoCaptureDeviceTest.UsingRealWebcam_TakePhoto/0
VideoCaptureDeviceTests/VideoCaptureDeviceTest.UsingRealWebcam_TakePhoto/1
VideoCaptureDeviceTests/VideoCaptureDeviceTest.UsingRealWebcam_CaptureWithSize/0
VideoCaptureDeviceTests/VideoCaptureDeviceTest.UsingRealWebcam_CaptureWithSize/1
 

Comment 1 by henrika@chromium.org, Yesterday (40 hours ago)

Owner: chfremer@chromium.org
Status: Assigned (was: Untriaged)
Project Member

Comment 2 by bugdroid1@chromium.org, Yesterday (39 hours ago)

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/03ca5214d7334213c3ce73b011d6826a606f4af2

commit 03ca5214d7334213c3ce73b011d6826a606f4af2
Author: henrika <henrika@chromium.org>
Date: Mon Jan 21 14:21:29 2019

Disables UsingRealWebcam_XXX tests on Mac OS X

TBR=chfremer

No-Try: true
Bug: 923874
Change-Id: I083f947ffc6a1bf9bec987d2461e42b09aef38b6
Reviewed-on: https://chromium-review.googlesource.com/c/1424949
Commit-Queue: Henrik Andreasson <henrika@chromium.org>
Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#624580}
[modify] https://crrev.com/03ca5214d7334213c3ce73b011d6826a606f4af2/media/capture/video/video_capture_device_unittest.cc

Comment 3 by chfremer@chromium.org, Today (12 hours ago)

This could potentially be quite interesting.

[ RUN      ] VideoCaptureDeviceTests/VideoCaptureDeviceTest.UsingRealWebcam_CaptureWithSize/0
../../media/capture/video/video_capture_device_unittest.cc:529: Failure
Value of: descriptor
  Actual: false
Expected: true

This indicates that no camera was found. Do these run on a desktop mac machine with an attached USB webcam, or do they run on a Macbook with integrated camera?

Comment 4 by mbonadei@chromium.org, Today (11 hours ago)

Cc: oprypin@chromium.org
I don't know. Oleh can you take a look at message #3?

Comment 5 by chfremer@chromium.org, Today (11 hours ago)

Another question: It seems the Mac Tester does not run anything for content_browsertests, content_browsertests_sequential, and content_browsertests_stress. I am not sure why.

I was hoping it would be running the test at [1], which produces a log output from which we can the name of the camera being used.

[1] https://cs.chromium.org/chromium/src/content/browser/webrtc/webrtc_image_capture_browsertest.cc?q=UsingRealWebcam&dr=C&l=83

Sign in to add a comment