New issue
Advanced search Search tips

Issue 661550 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 660582
Owner: ----
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 1
Type: Bug-Regression

Blocked on:
issue 661658



Sign in to add a comment

interactive_ui_tests flakiness on Mac10.10 Tests

Project Member Reported by kjellander@chromium.org, Nov 2 2016

Issue description

I've been sheriffing Nov 1-2 and the interactive_ui_tests test has started failing at Mac10.10 Tests (exact starting build is hard to guess since it's a flaky test).

The first confirmed build with the failures of the same pattern (~40 failed tests, always the same ones) that repeats in many following builds is:
https://build.chromium.org/p/chromium.mac/builders/Mac10.10%20Tests/builds/8412

The following CLs have been reverted without success (they're now relanded):
* https://codereview.chromium.org/2444923003 #428603 (from build 8428, before I noticed 8412)
* https://codereview.chromium.org/2470663003 #428499 (from build 8412)

I'm going to proceed with reverting more CLs from build 8411 and 8410 in lack of better ideas.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Nov 2 2016

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

commit bca985a76bd8a84c1580e09cc4c621b499e2530b
Author: kjellander <kjellander@chromium.org>
Date: Wed Nov 02 12:34:44 2016

Revert of Use a standard message box for DesktopCastingWarningView. (patchset #5 id:80001 of https://codereview.chromium.org/2441403003/ )

Reason for revert:
Speculative revert for flaky interactive_ui_tests on Mac10.10 Tests. See  crbug.com/661550 .

Original issue's description:
> Use a standard message box for DesktopCastingWarningView.
>
> This is even simpler than what I did for TeleportWarningView, which
> means I should probably go back and re-rewrite that one.
>
> BUG= 658410 
>
> Committed: https://crrev.com/5f1173f1e5a5678cc6c7cc9046939447398eaf19
> Cr-Commit-Position: refs/heads/master@{#428440}

TBR=derat@chromium.org,msw@chromium.org,estade@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG= 658410 ,  661550 

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

[modify] https://crrev.com/bca985a76bd8a84c1580e09cc4c621b499e2530b/chrome/browser/ui/ash/multi_user/user_switch_util.cc
[modify] https://crrev.com/bca985a76bd8a84c1580e09cc4c621b499e2530b/chrome/browser/ui/ash/multi_user/user_switch_util.h
[modify] https://crrev.com/bca985a76bd8a84c1580e09cc4c621b499e2530b/chrome/browser/ui/ash/multi_user/user_switch_util_unittest.cc
[modify] https://crrev.com/bca985a76bd8a84c1580e09cc4c621b499e2530b/chrome/browser/ui/cocoa/simple_message_box_mac.mm
[modify] https://crrev.com/bca985a76bd8a84c1580e09cc4c621b499e2530b/chrome/browser/ui/simple_message_box.h
[modify] https://crrev.com/bca985a76bd8a84c1580e09cc4c621b499e2530b/chrome/browser/ui/views/simple_message_box_views.cc
[modify] https://crrev.com/bca985a76bd8a84c1580e09cc4c621b499e2530b/components/constrained_window/constrained_window_views.cc

Project Member

Comment 2 by bugdroid1@chromium.org, Nov 2 2016

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

commit 2befbdd78b547659e47298b68462f763404962c9
Author: kjellander <kjellander@chromium.org>
Date: Wed Nov 02 14:09:16 2016

Reland of Use a standard message box for DesktopCastingWarningView. (patchset #1 id:1 of https://codereview.chromium.org/2469853003/ )

Reason for revert:
Relanding as a new build showed the same flake: https://build.chromium.org/p/chromium.mac/builders/Mac10.10%20Tests/builds/8584

Original issue's description:
> Revert of Use a standard message box for DesktopCastingWarningView. (patchset #5 id:80001 of https://codereview.chromium.org/2441403003/ )
>
> Reason for revert:
> Speculative revert for flaky interactive_ui_tests on Mac10.10 Tests. See  crbug.com/661550 .
>
> Original issue's description:
> > Use a standard message box for DesktopCastingWarningView.
> >
> > This is even simpler than what I did for TeleportWarningView, which
> > means I should probably go back and re-rewrite that one.
> >
> > BUG= 658410 
> >
> > Committed: https://crrev.com/5f1173f1e5a5678cc6c7cc9046939447398eaf19
> > Cr-Commit-Position: refs/heads/master@{#428440}
>
> TBR=derat@chromium.org,msw@chromium.org,estade@chromium.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG= 658410 ,  661550 
>
> Committed: https://crrev.com/bca985a76bd8a84c1580e09cc4c621b499e2530b
> Cr-Commit-Position: refs/heads/master@{#429256}

TBR=derat@chromium.org,msw@chromium.org,estade@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG= 658410 ,  661550 

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

[modify] https://crrev.com/2befbdd78b547659e47298b68462f763404962c9/chrome/browser/ui/ash/multi_user/user_switch_util.cc
[modify] https://crrev.com/2befbdd78b547659e47298b68462f763404962c9/chrome/browser/ui/ash/multi_user/user_switch_util.h
[modify] https://crrev.com/2befbdd78b547659e47298b68462f763404962c9/chrome/browser/ui/ash/multi_user/user_switch_util_unittest.cc
[modify] https://crrev.com/2befbdd78b547659e47298b68462f763404962c9/chrome/browser/ui/cocoa/simple_message_box_mac.mm
[modify] https://crrev.com/2befbdd78b547659e47298b68462f763404962c9/chrome/browser/ui/simple_message_box.h
[modify] https://crrev.com/2befbdd78b547659e47298b68462f763404962c9/chrome/browser/ui/views/simple_message_box_views.cc
[modify] https://crrev.com/2befbdd78b547659e47298b68462f763404962c9/components/constrained_window/constrained_window_views.cc

Comment 3 by a...@chromium.org, Nov 2 2016

Blockedon: 661658
Asked for a restart to see if that helps.
Maybe related to Issue 660582.
Mergedinto: 660582
Status: Duplicate (was: Untriaged)
More SigTerm. 

"""
[ RUN      ] AppShimMenuControllerUITest.WindowCycling
2016-10-28 15:18:21.173 interactive_ui_tests[1941:29475] NSWindow warning: adding an unknown subview: <FullSizeContentView: 0x7fad3bdf78c0>
2016-10-28 15:18:21.174 interactive_ui_tests[1941:29475] Call stack:
(
    "+callStackSymbols disabled for performance reasons"
)
[15:18:21.287] vtDecompressionDuctCreate signalled err=-8973 (err) (Could not select and open decoder instance) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTDecompressionSession.c line 1181
<<<< VTVideoEncoderSelection >>>> VTSelectAndCreateVideoEncoderInstanceInternal: no video encoder found for 'avc1'

[15:18:21.347] VTSelectAndCreateVideoEncoderInstanceInternal signalled err=-12908 (err) (Video encoder not available) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTVideoEncoderSelection.c line 1245
[15:18:21.347] VTCompressionSessionCreate signalled err=-12908 (err) (Could not select and open encoder instance) at /SourceCache/CoreMedia_frameworks/CoreMedia-1562.240/Sources/VideoToolbox/VTCompressionSession.c line 946
../../chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac_interactive_uitest.mm:88: Failure
Value of: [main_window isMainWindow]
  Actual: false
Expected: true
../../chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac_interactive_uitest.mm:85: Failure
Value of: [app2_watcher_ waitForCount:app2_count]
  Actual: false
Expected: true
../../chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac_interactive_uitest.mm:88: Failure
Value of: [main_window isMainWindow]
  Actual: false
Expected: true
../../chrome/browser/ui/cocoa/apps/app_shim_menu_controller_mac_interactive_uitest.mm:84: Failure
Value of: [app1_watcher_ waitForCount:app1_count]
  Actual: false
Expected: true
BrowserTestBase received signal: Terminated: 15. Backtrace:
0   interactive_ui_tests                0x0000000102d4f253 _ZN4base5debug10StackTraceC1Ev + 19
1   interactive_ui_tests                0x00000001026e958c _ZN7content12_GLOBAL__N_1L27DumpStackTraceSignalHandlerEi + 204
2   libsystem_platform.dylib            0x00007fff84897f1a _sigtramp + 26
3   interactive_ui_tests                0x00000001087facb0 _ZN7content12_GLOBAL__N_19g_globalsE + 8
4   CoreFoundation                      0x00007fff8644eeb4 __CFRunLoopServiceMachPort + 212
5   CoreFoundation                      0x00007fff8644e37b __CFRunLoopRun + 1371
6   CoreFoundation                      0x00007fff8644dbd8 CFRunLoopRunSpecific + 296
7   HIToolbox                           0x00007fff8b42856f RunCurrentEventLoopInMode + 235
8   HIToolbox                           0x00007fff8b4282ea ReceiveNextEventCommon + 431
9   HIToolbox                           0x00007fff8b42812b _BlockUntilNextEventMatchingListInModeWithFilter + 71
10  AppKit                              0x00007fff879ef8ab _DPSNextEvent + 978
11  AppKit                              0x00007fff879eee58 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 346
12  interactive_ui_tests                0x00000001021d8fc0 __71-[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:]_block_invoke + 64
13  interactive_ui_tests                0x0000000102d6847a _ZN4base3mac15CallWithEHFrameEU13block_pointerFvvE + 10
14  interactive_ui_tests                0x00000001021d8ef9 -[BrowserCrApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 169
15  AppKit                              0x00007fff879e4af3 -[NSApplication run] + 594
16  interactive_ui_tests                0x0000000102d7681e _ZN4base24MessagePumpNSApplication5DoRunEPNS_11MessagePump8DelegateE + 334
17  interactive_ui_tests                0x0000000102d75e2c _ZN4base24MessagePumpCFRunLoopBase3RunEPNS_11MessagePump8DelegateE + 92
18  interactive_ui_tests                0x0000000102d7304e _ZN4base11MessageLoop10RunHandlerEv + 94
19  interactive_ui_tests                0x0000000102d91583 _ZN4base7RunLoop3RunEv + 115
20  interactive_ui_tests                0x0000000102cbb469 -[WindowedNSNotificationObserver waitForCount:] + 249
21  interactive_ui_tests                0x0000000100cae607 _ZN12_GLOBAL__N_127AppShimMenuControllerUITest22ExpectActiveWithCountsEP8NSWindowiiii + 343
22  interactive_ui_tests                0x0000000100cae096 _ZN12_GLOBAL__N_146AppShimMenuControllerUITest_WindowCycling_Test19RunTestOnMainThreadEv + 662
23  interactive_ui_tests                0x000000010219252a _ZN20InProcessBrowserTest23RunTestOnMainThreadLoopEv + 218
24  interactive_ui_tests                0x00000001026e92ee _ZN7content15BrowserTestBase28ProxyRunTestOnMainThreadLoopEv + 270
25  interactive_ui_tests                0x00000001021dd9d2 _ZN22ChromeBrowserMainParts25PreMainMessageLoopRunImplEv + 3938
26  interactive_ui_tests                0x00000001021dc96e _ZN22ChromeBrowserMainParts21PreMainMessageLoopRunEv + 62
27  interactive_ui_tests                0x0000000101a36023 _ZN7content15BrowserMainLoop21PreMainMessageLoopRunEv + 67
28  interactive_ui_tests                0x0000000101d44c76 _ZN7content17StartupTaskRunner14RunAllTasksNowEv + 38
29  interactive_ui_tests                0x0000000101a3483e _ZN7content15BrowserMainLoop18CreateStartupTasksEv + 622
30  interactive_ui_tests                0x0000000101a3870a _ZN7content21BrowserMainRunnerImpl10InitializeERKNS_18MainFunctionParamsE + 682
31  interactive_ui_tests                0x0000000101a322e4 _ZN7content11BrowserMainERKNS_18MainFunctionParamsE + 100
32  interactive_ui_tests                0x000000010218042d _ZN7content21ContentMainRunnerImpl3RunEv + 477
33  interactive_ui_tests                0x000000010217f606 _ZN7content11ContentMainERKNS_17ContentMainParamsE + 54
34  interactive_ui_tests                0x00000001026e902d _ZN7content15BrowserTestBase5SetUpEv + 1853
35  interactive_ui_tests                0x0000000102191920 _ZN20InProcessBrowserTest5SetUpEv + 336
36  interactive_ui_tests                0x0000000102c9fceb _ZN7testing4Test3RunEv + 299
37  interactive_ui_tests                0x0000000102ca0ae4 _ZN7testing8TestInfo3RunEv + 404
38  interactive_ui_tests                0x0000000102ca1177 _ZN7testing8TestCase3RunEv + 455
39  interactive_ui_tests                0x0000000102ca7917 _ZN7testing8internal12UnitTestImpl11RunAllTestsEv + 903
40  interactive_ui_tests                0x0000000102ca7559 _ZN7testing8UnitTest3RunEv + 265
41  interactive_ui_tests                0x0000000102d3d38f _ZN4base9TestSuite3RunEv + 127
42  interactive_ui_tests                0x0000000100d1ad8a _ZN28InteractiveUITestSuiteRunner12RunTestSuiteEiPPc + 42
43  interactive_ui_tests                0x00000001026ed6ce _ZN7content11LaunchTestsEPNS_20TestLauncherDelegateEiiPPc + 302
44  interactive_ui_tests                0x0000000100d1ad00 main + 80
45  libdyld.dylib                       0x00007fff8278e5c9 start + 1
"""

https://build.chromium.org/p/chromium.mac/builders/Mac10.10%20Tests?numbuilds=200
Tracing back the flaky failures, it seems to start around Oct 28th. 

Sign in to add a comment