New issue
Advanced search Search tips

Issue 690125 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All , Mac
Pri: 2
Type: Bug



Sign in to add a comment

CaptivePortalBlockingPageTest.WiFi_SSID_NoLoginURL flaky / broken

Project Member Reported by thakis@chromium.org, Feb 8 2017

Issue description

Failed 4 times in a row here here https://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/384280 on an android-only CL:

https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Ftryserver.chromium.mac%2Fmac_chromium_rel_ng%2F384280%2F%2B%2Frecipes%2Fsteps%2Fbrowser_tests__with_patch_%2F0%2Flogs%2FCaptivePortalBlockingPageTest.WiFi_SSID_NoLoginURL%2F0


CaptivePortalBlockingPageTest.WiFi_SSID_NoLoginURL (run #1):
[ RUN      ] CaptivePortalBlockingPageTest.WiFi_SSID_NoLoginURL
[7547:52483:0208/104224.521272:WARNING:mac_util.mm(222)] Failed to set backup exclusion for file '/private/var/folders/9x/6c6sv3cj4j53wzpzthbp4ksm0000gm/T/.org.chromium.Chromium.bUP3KI/dpAxkvt/Default/History': Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn?t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) (-50)
[7547:52483:0208/104224.540906:WARNING:mac_util.mm(222)] Failed to set backup exclusion for file '/private/var/folders/9x/6c6sv3cj4j53wzpzthbp4ksm0000gm/T/.org.chromium.Chromium.bUP3KI/dpAxkvt/Default/Favicons': Error Domain=NSOSStatusErrorDomain Code=-50 "The operation couldn?t be completed. (OSStatus error -50.)" (paramErr: error in user parameter list) (-50)
[7551:771:0208/104224.626757:WARNING:vt_video_decode_accelerator_mac.cc(169)] Failed to create VTDecompressionSession: Error Domain=NSOSStatusErrorDomain Code=-8973 "The operation couldn?t be completed. (OSStatus error -8973.)" (codecOpenErr) (-8973)
[7551:771:0208/104224.627713:WARNING:vt_video_decode_accelerator_mac.cc(191)] Failed to create hardware VideoToolbox session
[7551:771:0208/104224.685742:ERROR:vt_video_encode_accelerator_mac.cc(519)]  VTCompressionSessionCreate failed: -12908
[7551:771:0208/104224.685869:ERROR:vt_video_encode_accelerator_mac.cc(519)]  VTCompressionSessionCreate failed: -12908
[7547:771:0208/104225.779337:FATAL:begin_frame_source.cc(42)] Check failed: args.sequence_number > last_begin_frame_args_.sequence_number || args.source_id != last_begin_frame_args_.source_id.
0   browser_tests                       0x0000000107963e7c base::debug::StackTrace::StackTrace(unsigned long) + 28
1   browser_tests                       0x0000000107987083 logging::LogMessage::~LogMessage() + 67
2   browser_tests                       0x0000000109e7fc99 cc::BeginFrameObserverBase::OnBeginFrame(cc::BeginFrameArgs const&) + 249
3   browser_tests                       0x0000000109e8277d cc::ExternalBeginFrameSource::OnBeginFrame(cc::BeginFrameArgs const&) + 109
4   browser_tests                       0x0000000109e817ea cc::DelayBasedBeginFrameSource::AddObserver(cc::BeginFrameObserver*) + 1354
5   browser_tests                       0x0000000109e822f4 cc::ExternalBeginFrameSource::AddObserver(cc::BeginFrameObserver*) + 1092
6   browser_tests                       0x0000000109e8a203 cc::Scheduler::SetupNextBeginFrameIfNeeded() + 83
7   browser_tests                       0x0000000109e890b6 cc::Scheduler::ProcessScheduledActions() + 918
8   browser_tests                       0x0000000109e8c0b6 cc::Scheduler::SetDeferCommits(bool) + 86
9   browser_tests                       0x0000000109f25f8b cc::SingleThreadProxy::SetDeferCommits(bool) + 235
10  browser_tests                       0x000000010a597066 ui::Compositor::UnlockCompositor() + 118
11  browser_tests                       0x000000010a596f5d ui::CompositorLock::~CompositorLock() + 29
12  browser_tests                       0x00000001065e618c scoped_refptr<ui::CompositorLock>::~scoped_refptr() + 108
13  browser_tests                       0x00000001065e6202 content::RecyclableCompositorMac::~RecyclableCompositorMac() + 50
14  browser_tests                       0x00000001065e628e content::RecyclableCompositorMac::~RecyclableCompositorMac() + 14
15  browser_tests                       0x00000001065e84aa std::__1::__deque_base<std::__1::unique_ptr<content::RecyclableCompositorMac, std::__1::default_delete<content::RecyclableCompositorMac> >, std::__1::allocator<std::__1::unique_ptr<content::RecyclableCompositorMac, std::__1::default_delete<content::RecyclableCompositorMac> > > >::clear() + 138
16  browser_tests                       0x00000001065e70b8 content::BrowserCompositorMac::~BrowserCompositorMac() + 456
17  browser_tests                       0x00000001065e74ce content::BrowserCompositorMac::~BrowserCompositorMac() + 14
18  browser_tests                       0x0000000106426679 content::RenderWidgetHostViewMac::Destroy() + 281
19  browser_tests                       0x00000001064185e4 content::RenderWidgetHostImpl::RendererExited(base::TerminationStatus, int) + 308
20  browser_tests                       0x0000000106408e7e non-virtual thunk to content::RenderViewHostImpl::RenderProcessExited(content::RenderProcessHost*, base::TerminationStatus, int) + 62
21  browser_tests                       0x00000001063f085a content::RenderProcessHostImpl::ProcessDied(bool, content::RenderProcessHost::RendererClosedDetails*) + 714
22  browser_tests                       0x00000001063f058c content::RenderProcessHostImpl::FastShutdownIfPossible() + 140
23  browser_tests                       0x0000000107aceb46 browser_shutdown::OnShutdownStarting(browser_shutdown::ShutdownType) + 550
24  browser_tests                       0x000000010b4c59f4 Browser::OnWindowClosing() + 148
25  browser_tests                       0x000000010b6b0c02 -[BrowserWindowController windowShouldClose:] + 178
26  browser_tests                       0x000000010b6adb6a BrowserWindowCocoa::Close() + 170
27  browser_tests                       0x0000000107f53890 BrowserCloseManager::CloseBrowsers() + 240
28  browser_tests                       0x0000000107f53a6d BrowserCloseManager::TryToCloseBrowsers() + 173
29  browser_tests                       0x0000000107bad9bd chrome::CloseAllBrowsers() + 141
30  browser_tests                       0x0000000107ab39f5 -[AppController tryToTerminateApplication:] + 213
31  browser_tests                       0x0000000107badf65 chrome::AttemptExit() + 213
32  browser_tests                       0x00000001079647d1 base::debug::TaskAnnotator::RunTask(char const*, base::PendingTask*) + 225
33  browser_tests                       0x000000010799f8e9 base::MessageLoop::RunTask(base::PendingTask*) + 425
34  browser_tests                       0x000000010799fcac base::MessageLoop::DeferOrRunPendingTask(base::PendingTask) + 44
35  browser_tests                       0x00000001079a01a3 base::MessageLoop::DoWork() + 467
36  browser_tests                       0x00000001079a4db0 base::MessagePumpCFRunLoopBase::RunWork() + 48
37  browser_tests                       0x00000001079884fa base::mac::CallWithEHFrame(void () block_pointer) + 10
38  browser_tests                       0x00000001079a4784 base::MessagePumpCFRunLoopBase::RunWorkSource(void*) + 68
39  CoreFoundation                      0x00007fff935bf5b1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
40  CoreFoundation                      0x00007fff935b0c62 __CFRunLoopDoSources0 + 242
41  CoreFoundation                      0x00007fff935b03ef __CFRunLoopRun + 831
42  CoreFoundation                      0x00007fff935afe75 CFRunLoopRunSpecific + 309
43  HIToolbox                           0x00007fff8e6dda0d RunCurrentEventLoopInMode + 226
44  HIToolbox                           0x00007fff8e6dd7b7 ReceiveNextEventCommon + 479
45  HIToolbox                           0x00007fff8e6dd5bc _BlockUntilNextEventMatchingListInModeWithFilter + 65
46  AppKit                              0x00007fff8ef5a24e _DPSNextEvent + 1434
47  AppKit                              0x00007fff8ef5989b -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
48  browser_tests                       0x0000000107b0e800 __71-[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:]_block_invoke + 64
49  browser_tests                       0x00000001079884fa base::mac::CallWithEHFrame(void () block_pointer) + 10
50  browser_tests                       0x0000000107b0e739 -[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 169
51  AppKit                              0x00007fff8ef4d99c -[NSApplication run] + 553
52  browser_tests                       0x00000001079a5957 base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) + 359
53  browser_tests                       0x00000001079a4c07 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 119
54  browser_tests                       0x000000010799f632 base::MessageLoop::RunHandler() + 354
55  browser_tests                       0x00000001079d6339 base::RunLoop::Run() + 137
56  browser_tests                       0x0000000108383fe5 content::RunMessageLoop() + 85
57  browser_tests                       0x0000000107a7ffb3 InProcessBrowserTest::QuitBrowsers() + 211
58  browser_tests                       0x0000000107a7fe8e InProcessBrowserTest::RunTestOnMainThreadLoop() + 1422
59  browser_tests                       0x00000001083345b5 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() + 357
60  browser_tests                       0x0000000107b13c64 ChromeBrowserMainParts::PreMainMessageLoopRunImpl() + 4660
61  browser_tests                       0x0000000107b1292e ChromeBrowserMainParts::PreMainMessageLoopRun() + 62
 
This looks like it's a happening on shutdown, but the test doesn't shut down the browser.

thakis: Can you point me to the CL that caused this? 
I got it on a try job for https://codereview.chromium.org/2685033002/# (which is android only)

(in the link in comment 0 you can ctrl-f for "requestedat" to get that link too fyi)
Cc: mea...@chromium.org
 Issue 690170  has been merged into this issue.
Components: Tests>Flaky
Labels: -Pri-2 Pri-1
Status: Assigned (was: Untriaged)
Project Member

Comment 5 by bugdroid1@chromium.org, Feb 9 2017

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

commit a719452bb0c96d0b746b92c1917031bb94849c93
Author: meacer <meacer@chromium.org>
Date: Thu Feb 09 21:18:29 2017

Disable flaky CaptivePortalBlockingPageTest tests on Mac

BUG=690125, 690170 

Review-Url: https://codereview.chromium.org/2681413003
Cr-Commit-Position: refs/heads/master@{#449410}

[modify] https://crrev.com/a719452bb0c96d0b746b92c1917031bb94849c93/chrome/browser/ssl/captive_portal_blocking_page_browsertest.cc

+cc estark in case this is useful for bug 689846

I've been trying to repro this locally with not so great results. I get about one timeout in 100 repeats of the test, and the stacks don't look anything like this one. In my runs, the call to content::WaitForLoadStop times out in InProcessBrowserTest::RunTestOnMainThreadLoop which is before any of the test code ran.
Cc: -mea...@chromium.org est...@chromium.org

Comment 8 by mea...@chromium.org, Mar 10 2017

Labels: -Pri-1 Pri-2
Downgrading to P2 since the test is disabled.

Comment 9 by est...@chromium.org, Nov 10 2017

Labels: Hotlist-EnamelAndFriendsFixIt
Labels: -Hotlist-EnamelAndFriendsFixIt
Cc: eseckler@chromium.org
+eseckler: It's hitting the DCHECK in begin_frame_source.cc. I see other tests randomly failing due to this as well. e.g. https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Android%20CFI/4024

Is this a known issue in cc/ code?
Rather, components/viz, as the code has moved.
Cc: enne@chromium.org
Labels: OS-Mac
For the Android failures, see issue 910563. Not sure about this Mac one, that's probably a different root cause. +enne, do you know a Mac compositor expert who might know more?

If this is still reproducible, a fresh stack trace might help too, since some of this code has changed significantly in the last year ;)
Cc: ccameron@chromium.org
RecyclableCompositorMac has ccameron's name on it.

Sign in to add a comment