New issue
Advanced search Search tips

Issue 798622 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: ----



Sign in to add a comment

WebRtcOneDeviceDepthCaptureBrowserTest.GetStreamsByVideoKindNoDepth in content_browsertests flaky on chromium.memory/Mac ASan 64 Tests (1)

Project Member Reported by sheriff-...@appspot.gserviceaccount.com, Jan 3 2018

Issue description

Filed by sheriff-o-matic@appspot.gserviceaccount.com on behalf of tbansal@google.com

WebRtcOneDeviceDepthCaptureBrowserTest.GetStreamsByVideoKindNoDepth in content_browsertests flaky on chromium.memory/Mac ASan 64 Tests (1)

Builders failed on: 
- Mac ASan 64 Tests (1): 
  https://build.chromium.org/p/chromium.memory/builders/Mac%20ASan%2064%20Tests%20%281%29

Run: https://uberchromegw.corp.google.com/i/chromium.memory/builders/Mac%20ASan%2064%20Tests%20%281%29/builds/37482

Output:
[ RUN      ] WebRtcOneDeviceDepthCaptureBrowserTest.GetStreamsByVideoKindNoDepth
DevTools listening on ws://127.0.0.1:60485/devtools/browser/e1858c10-4ea8-4c81-a6a5-7cec7104e71a
[24030:7431:0102/163255.333847:WARNING:vt_video_decode_accelerator_mac.cc(178)] Failed to create VTDecompressionSession: Error Domain=NSOSStatusErrorDomain Code=-8973 "The operation couldn?t be completed. (OSStatus error -8973.)" (codecOpenErr) (-8973)
[24030:7431:0102/163255.336762:WARNING:vt_video_decode_accelerator_mac.cc(200)] Failed to create hardware VideoToolbox session
[24030:7431:0102/163255.438773:ERROR:vt_video_encode_accelerator_mac.cc(517)]  VTCompressionSessionCreate failed: -12908
[24028:7175:0102/163256.053346:INFO:CONSOLE(151)] "Calling getStreamsByVideoKindNoDepth", source: http://127.0.0.1:60487/media/getusermedia-depth-capture.html (151)
[24028:7175:0102/163256.693800:INFO:CONSOLE(16)] "Test Success", source: http://127.0.0.1:60487/media/webrtc_test_utilities.js (16)
[24028:38403:0102/163256.779276:FATAL:platform_handle.cc(125)] Check failed: platform_handle.type == MOJO_PLATFORM_HANDLE_TYPE_MACH_PORT (0 vs. 2)
0   content_browsertests                0x0000000115afaadc base::debug::StackTrace::StackTrace(unsigned long) + 28
1   content_browsertests                0x0000000115b523cb logging::LogMessage::~LogMessage() + 699
2   content_browsertests                0x0000000117021295 mojo::UnwrapSharedMemoryHandle(mojo::ScopedHandleBase<mojo::SharedBufferHandle>, base::SharedMemoryHandle*, unsigned long*, bool*) + 741
3   content_browsertests                0x0000000119bacdc2 media::SharedMemoryHandleProvider::InitFromMojoHandle(mojo::ScopedHandleBase<mojo::SharedBufferHandle>) + 610
4   content_browsertests                0x000000010f5fe544 video_capture::ReceiverMediaToMojoAdapter::OnNewBufferHandle(int, mojo::ScopedHandleBase<mojo::SharedBufferHandle>) + 292
5   content_browsertests                0x0000000110a60760 video_capture::mojom::ReceiverStubDispatch::Accept(video_capture::mojom::Receiver*, mojo::Message*) + 1856
6   content_browsertests                0x0000000115306885 mojo::InterfaceEndpointClient::HandleValidatedMessage(mojo::Message*) + 3045
7   content_browsertests                0x00000001153050d1 mojo::FilterChain::Accept(mojo::Message*) + 513
8   content_browsertests                0x000000011530a3a8 mojo::InterfaceEndpointClient::HandleIncomingMessage(mojo::Message*) + 280
9   content_browsertests                0x0000000115328a77 mojo::internal::MultiplexRouter::ProcessIncomingMessage(mojo::internal::MultiplexRouter::MessageWrapper*, mojo::internal::MultiplexRouter::ClientCallBehavior, base::SequencedTaskRunner*) + 2791
10  content_browsertests                0x0000000115326de4 mojo::internal::MultiplexRouter::Accept(mojo::Message*) + 868
11  content_browsertests                0x00000001153050d1 mojo::FilterChain::Accept(mojo::Message*) + 513
12  content_browsertests                0x00000001152f98fb mojo::Connector::ReadSingleMessage(unsigned int*) + 1275
13  content_browsertests                0x00000001152fbaa5 mojo::Connector::ReadAllAvailableMessages() + 581
14  content_browsertests                0x00000001152fb51e mojo::Connector::OnHandleReadyInternal(unsigned int) + 302
15  content_browsertests                0x0000000110c17c92 mojo::SimpleWatcher::DiscardReadyState(base::RepeatingCallback<void (unsigned int)> const&, unsigned int, mojo::HandleSignalsState const&) + 338
16  content_browsertests                0x0000000117024cc5 mojo::SimpleWatcher::OnHandleReady(int, unsigned int, mojo::HandleSignalsState const&) + 869
17  content_browsertests                0x0000000117025887 mojo::SimpleWatcher::Context::Notify(unsigned int, MojoHandleSignalsState, unsigned int) + 1975
18  content_browsertests                0x0000000117022014 mojo::SimpleWatcher::Context::CallNotify(unsigned long, unsigned int, MojoHandleSignalsState, unsigned int) + 20
19  content_browsertests                0x00000001152cdeab mojo::edk::Watch::InvokeCallback(unsigned int, mojo::HandleSignalsState const&, unsigned int) + 491
20  content_browsertests                0x00000001152c0297 mojo::edk::RequestContext::~RequestContext() + 2439
21  content_browsertests                0x000000011529aec8 mojo::edk::NodeChannel::OnChannelMessage(void const*, unsigned long, std::__1::vector<mojo::edk::ScopedPlatformHandle, std::__1::allocator<mojo::edk::ScopedPlatformHandle> >) + 8472
22  content_browsertests                0x00000001152695cd mojo::edk::Channel::OnReadComplete(unsigned long, unsigned long*) + 1869
23  content_browsertests                0x00000001152e015a mojo::edk::(anonymous namespace)::ChannelPosix::OnFileCanReadWithoutBlocking(int) + 1146
24  content_browsertests                0x0000000115b90515 base::MessagePumpLibevent::OnLibeventNotification(int, short, void*) + 1285
25  content_browsertests                0x0000000115d71443 event_base_loop + 3939
26  content_browsertests                0x0000000115b90d3e base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) + 526
27  content_browsertests                0x0000000115b88efc base::MessageLoop::Run(bool) + 540
28  content_browsertests                0x0000000115c0b78c base::RunLoop::Run() + 684
29  content_browsertests                0x0000000115cb8d77 base::Thread::Run(base::RunLoop*) + 455
30  content_browsertests                0x00000001112601bc content::BrowserThreadImpl::IOThreadRun(base::RunLoop*) + 236
31  content_browsertests                0x00000001112605de content::BrowserThreadImpl::Run(base::RunLoop*) + 718
32  content_browsertests                0x0000000115cb998c base::Thread::ThreadMain() + 1756
33  content_browsertests                0x0000000115ca124e base::(anonymous namespace)::ThreadFunc(void*) + 206
34  libsystem_pthread.dylib             0x00007fff92c23899 _pthread_body + 138
35  libsystem_pthread.dylib             0x00007fff92c2372a _pthread_struct_init + 0
36  libsystem_pthread.dylib             0x00007fff92c27fc9 thread_start + 13


 
Cc: emir...@chromium.org guidou@chromium.org
Components: Blink>WebRTC
Labels: OS-Mac
Owner: chfremer@chromium.org
Status: Assigned (was: Available)
Status: WontFix (was: Assigned)
A similar issue on content_browsertest shutdown has been observed in Issue 810321. It is not 100% clear whether or not there is an actual issue that needs fixing or not. It seems that during browser shutdown it can happen that a shared memory buffer shared by the video capture service can end up invalid. With recent changes in the Mojo libraries, this seems to either no longer occur or at least no longer lead to a failing CHECK.

This means the flakiness should already be resolved.
And indeed, the flakiness dashboard no longer shows flakiness for this test:
https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=content_browsertests&tests=GetStreamsByVideoKindNoDepth

Sign in to add a comment