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

Issue 872492 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 870861
Owner: ----
Closed: Aug 10
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 1
Type: Bug



Sign in to add a comment

Navigation-related browser tests are flaky on Win 7 bots

Project Member Reported by chromium...@appspot.gserviceaccount.com, Aug 8

Issue description

"NavigationControllerBrowserTest.BackToAboutBlankIframe" is flaky.

This issue was created automatically by the chromium-try-flakes app. Please find the right owner to fix the respective test/step and assign this issue to them. If the step/test is infrastructure-related, please add Infra-Troopers label and change issue status to Untriaged. When done, please remove the issue from Sheriff Bug Queue by removing the Sheriff-Chromium label.

We have detected 3 recent flakes. List of all flakes can be found at https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyQQsSBUZsYWtlIjZOYXZpZ2F0aW9uQ29udHJvbGxlckJyb3dzZXJUZXN0LkJhY2tUb0Fib3V0QmxhbmtJZnJhbWUM.

Flaky tests should be disabled within 30 minutes unless culprit CL is found and reverted. Please see more details here: https://sites.google.com/a/chromium.org/dev/developers/tree-sheriffs/sheriffing-bug-queues#triaging-auto-filed-flakiness-bugs
 
Lots of NavigationControllerBrowserTests are flaking, so grouping all under one bug:

NavigationControllerBrowserTest.BackToAboutBlankIframe
NavigationControllerBrowserTest.FrameNavigationEntry_BackNestedAutoSubframe
NavigationControllerBrowserTest.FrameNavigationEntry_BackWithRedirect
NavigationControllerBrowserTest.NavigationTypeClassification_NewAndAutoSubframe
NavigationControllerBrowserTest.NavigationTypeClassification_On1SameDocumentToXWhile1Pending
 Issue 872493  has been merged into this issue.
 Issue 872494  has been merged into this issue.
 Issue 872495  has been merged into this issue.
 Issue 872496  has been merged into this issue.
Detected 4 new flakes for test/step "NavigationControllerBrowserTest.BackToAboutBlankIframe". To see the actual flakes, please visit https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyQQsSBUZsYWtlIjZOYXZpZ2F0aW9uQ29udHJvbGxlckJyb3dzZXJUZXN0LkJhY2tUb0Fib3V0QmxhbmtJZnJhbWUM. This message was posted automatically by the chromium-try-flakes app.
 Issue 873066  has been merged into this issue.
Labels: OS-Windows
Summary: NavigationControllerBrowserTest.* are flaky on win7_chromium_rel_ng (was: "NavigationControllerBrowserTest.BackToAboutBlankIframe" is flaky)
Earliest run showing flakes in any of these tests is https://build.chromium.org/p/tryserver.chromium.win/builders/win7_chromium_rel_ng/builds/53805 .
That build picked up r580473, so if this isn't bot issues, the implication is something at that CL or earlier.
Here's a sample failure:

[ RUN      ] NavigationControllerBrowserTest.BackToAboutBlankIframe
DevTools listening on ws://127.0.0.1:49704/devtools/browser/44231755-b59e-4009-be63-c67faf4ed809
[436:5004:0810/073009.973:ERROR:runtime_enabled_features.cc(1540)] RuntimeEnabledFeature not recognized: FeaturePolicyForPermissions
[4504:4428:0810/073010.004:INFO:media_foundation_video_encode_accelerator_win.cc(346)] Windows versions earlier than 8 are not supported.
[3504:2728:0810/073010.115:INFO:CONSOLE(1)] "Throttling history state changes to prevent the browser from hanging.", source: __const_std::string&_script__ (1)
../../content/browser/frame_host/navigation_controller_impl_browsertest.cc(5452): error: Expected equality of these values:
  2
  controller.GetEntryCount()
    Which is: 1
Stack trace:
Backtrace:
	StackTraceGetter::CurrentStackTrace [0x01B19F38+40]
	testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop [0x01B22845+69]
	testing::internal::AssertHelper::operator= [0x01B22490+48]
	content::NavigationControllerBrowserTest_BackToAboutBlankIframe_Test::RunTestOnMainThread [0x0102F0D7+3127]
	content::BrowserTestBase::ProxyRunTestOnMainThreadLoop [0x02E9F329+441]
	content::ShellBrowserMainParts::PreMainMessageLoopRun [0x03831A23+67]
	content::BrowserMainLoop::PreMainMessageLoopRun [0x01EAEBE4+68]
	content::StartupTaskRunner::RunAllTasksNow [0x022226AE+30]
	content::BrowserMainLoop::CreateStartupTasks [0x01EAD985+805]
	content::BrowserMainRunnerImpl::Initialize [0x01EB1074+100]
	ShellBrowserMain [0x05BE136B+43]
	content::ShellMainDelegate::RunProcess [0x05BDFE90+176]
	content::RunBrowserProcessMain [0x01DDC531+65]
	content::ContentMainRunnerImpl::Run [0x01DDCD16+518]
	content::ContentServiceManagerMainDelegate::RunEmbedderProcess [0x01DDC1B3+19]
	service_manager::Main [0x03406988+1384]
	content::ContentMain [0x01DDC493+51]
	content::BrowserTestBase::SetUp [0x02E9F076+1942]
../../content/browser/frame_host/navigation_controller_impl_browsertest.cc(5453): error: Expected equality of these values:
  2
  EvalJs(shell(), "history.length")
    Which is: 1
Stack trace:
Backtrace:
	StackTraceGetter::CurrentStackTrace [0x01B19F38+40]
	testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop [0x01B22845+69]
	testing::internal::AssertHelper::operator= [0x01B22490+48]
	content::NavigationControllerBrowserTest_BackToAboutBlankIframe_Test::RunTestOnMainThread [0x0102F1F0+3408]
	content::BrowserTestBase::ProxyRunTestOnMainThreadLoop [0x02E9F329+441]
	content::ShellBrowserMainParts::PreMainMessageLoopRun [0x03831A23+67]
	content::BrowserMainLoop::PreMainMessageLoopRun [0x01EAEBE4+68]
	content::StartupTaskRunner::RunAllTasksNow [0x022226AE+30]
	content::BrowserMainLoop::CreateStartupTasks [0x01EAD985+805]
	content::BrowserMainRunnerImpl::Initialize [0x01EB1074+100]
	ShellBrowserMain [0x05BE136B+43]
	content::ShellMainDelegate::RunProcess [0x05BDFE90+176]
	content::RunBrowserProcessMain [0x01DDC531+65]
	content::ContentMainRunnerImpl::Run [0x01DDCD16+518]
	content::ContentServiceManagerMainDelegate::RunEmbedderProcess [0x01DDC1B3+19]
	service_manager::Main [0x03406988+1384]
	content::ContentMain [0x01DDC493+51]
	content::BrowserTestBase::SetUp [0x02E9F076+1942]
../../content/browser/frame_host/navigation_controller_impl_browsertest.cc(5454): error: Expected equality of these values:
  1
  controller.GetLastCommittedEntryIndex()
    Which is: 0
Stack trace:
Backtrace:
	StackTraceGetter::CurrentStackTrace [0x01B19F38+40]
	testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop [0x01B22845+69]
	testing::internal::AssertHelper::operator= [0x01B22490+48]
	content::NavigationControllerBrowserTest_BackToAboutBlankIframe_Test::RunTestOnMainThread [0x0102F2A1+3585]
	content::BrowserTestBase::ProxyRunTestOnMainThreadLoop [0x02E9F329+441]
	content::ShellBrowserMainParts::PreMainMessageLoopRun [0x03831A23+67]
	content::BrowserMainLoop::PreMainMessageLoopRun [0x01EAEBE4+68]
	content::StartupTaskRunner::RunAllTasksNow [0x022226AE+30]
	content::BrowserMainLoop::CreateStartupTasks [0x01EAD985+805]
	content::BrowserMainRunnerImpl::Initialize [0x01EB1074+100]
	ShellBrowserMain [0x05BE136B+43]
	content::ShellMainDelegate::RunProcess [0x05BDFE90+176]
	content::RunBrowserProcessMain [0x01DDC531+65]
	content::ContentMainRunnerImpl::Run [0x01DDCD16+518]
	content::ContentServiceManagerMainDelegate::RunEmbedderProcess [0x01DDC1B3+19]
	service_manager::Main [0x03406988+1384]
	content::ContentMain [0x01DDC493+51]
	content::BrowserTestBase::SetUp [0x02E9F076+1942]
../../content/browser/frame_host/navigation_controller_impl_browsertest.cc(5464): error: Expected equality of these values:
  2
  controller.GetEntryCount()
    Which is: 1
Stack trace:
Backtrace:
	StackTraceGetter::CurrentStackTrace [0x01B19F38+40]
	testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop [0x01B22845+69]
	testing::internal::AssertHelper::operator= [0x01B22490+48]
	content::NavigationControllerBrowserTest_BackToAboutBlankIframe_Test::RunTestOnMainThread [0x0102F497+4087]
	content::BrowserTestBase::ProxyRunTestOnMainThreadLoop [0x02E9F329+441]
	content::ShellBrowserMainParts::PreMainMessageLoopRun [0x03831A23+67]
	content::BrowserMainLoop::PreMainMessageLoopRun [0x01EAEBE4+68]
	content::StartupTaskRunner::RunAllTasksNow [0x022226AE+30]
	content::BrowserMainLoop::CreateStartupTasks [0x01EAD985+805]
	content::BrowserMainRunnerImpl::Initialize [0x01EB1074+100]
	ShellBrowserMain [0x05BE136B+43]
	content::ShellMainDelegate::RunProcess [0x05BDFE90+176]
	content::RunBrowserProcessMain [0x01DDC531+65]
	content::ContentMainRunnerImpl::Run [0x01DDCD16+518]
	content::ContentServiceManagerMainDelegate::RunEmbedderProcess [0x01DDC1B3+19]
	service_manager::Main [0x03406988+1384]
	content::ContentMain [0x01DDC493+51]
	content::BrowserTestBase::SetUp [0x02E9F076+1942]
../../content/browser/frame_host/navigation_controller_impl_browsertest.cc(5465): error: Expected equality of these values:
  2
  EvalJs(shell(), "history.length")
    Which is: 1
Stack trace:
Backtrace:
	StackTraceGetter::CurrentStackTrace [0x01B19F38+40]
	testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop [0x01B22845+69]
	testing::internal::AssertHelper::operator= [0x01B22490+48]
	content::NavigationControllerBrowserTest_BackToAboutBlankIframe_Test::RunTestOnMainThread [0x0102F5AF+4367]
	content::BrowserTestBase::ProxyRunTestOnMainThreadLoop [0x02E9F329+441]
	content::ShellBrowserMainParts::PreMainMessageLoopRun [0x03831A23+67]
	content::BrowserMainLoop::PreMainMessageLoopRun [0x01EAEBE4+68]
	content::StartupTaskRunner::RunAllTasksNow [0x022226AE+30]
	content::BrowserMainLoop::CreateStartupTasks [0x01EAD985+805]
	content::BrowserMainRunnerImpl::Initialize [0x01EB1074+100]
	ShellBrowserMain [0x05BE136B+43]
	content::ShellMainDelegate::RunProcess [0x05BDFE90+176]
	content::RunBrowserProcessMain [0x01DDC531+65]
	content::ContentMainRunnerImpl::Run [0x01DDCD16+518]
	content::ContentServiceManagerMainDelegate::RunEmbedderProcess [0x01DDC1B3+19]
	service_manager::Main [0x03406988+1384]
	content::ContentMain [0x01DDC493+51]
	content::BrowserTestBase::SetUp [0x02E9F076+1942]
../../content/browser/frame_host/navigation_controller_impl_browsertest.cc(5466): error: Expected equality of these values:
  1
  controller.GetLastCommittedEntryIndex()
    Which is: 0
Stack trace:
Backtrace:
	StackTraceGetter::CurrentStackTrace [0x01B19F38+40]
	testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop [0x01B22845+69]
	testing::internal::AssertHelper::operator= [0x01B22490+48]
	content::NavigationControllerBrowserTest_BackToAboutBlankIframe_Test::RunTestOnMainThread [0x0102F66B+4555]
	content::BrowserTestBase::ProxyRunTestOnMainThreadLoop [0x02E9F329+441]
	content::ShellBrowserMainParts::PreMainMessageLoopRun [0x03831A23+67]
	content::BrowserMainLoop::PreMainMessageLoopRun [0x01EAEBE4+68]
	content::StartupTaskRunner::RunAllTasksNow [0x022226AE+30]
	content::BrowserMainLoop::CreateStartupTasks [0x01EAD985+805]
	content::BrowserMainRunnerImpl::Initialize [0x01EB1074+100]
	ShellBrowserMain [0x05BE136B+43]
	content::ShellMainDelegate::RunProcess [0x05BDFE90+176]
	content::RunBrowserProcessMain [0x01DDC531+65]
	content::ContentMainRunnerImpl::Run [0x01DDCD16+518]
	content::ContentServiceManagerMainDelegate::RunEmbedderProcess [0x01DDC1B3+19]
	service_manager::Main [0x03406988+1384]
	content::ContentMain [0x01DDC493+51]
	content::BrowserTestBase::SetUp [0x02E9F076+1942]
../../content/browser/frame_host/navigation_controller_impl_browsertest.cc(5473): error: Value of: controller.CanGoBack()
  Actual: false
Expected: true
Stack trace:
Backtrace:
	StackTraceGetter::CurrentStackTrace [0x01B19F38+40]
	testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop [0x01B22845+69]
	testing::internal::AssertHelper::operator= [0x01B22490+48]
	content::NavigationControllerBrowserTest_BackToAboutBlankIframe_Test::RunTestOnMainThread [0x0102F864+5060]
	content::BrowserTestBase::ProxyRunTestOnMainThreadLoop [0x02E9F329+441]
	content::ShellBrowserMainParts::PreMainMessageLoopRun [0x03831A23+67]
	content::BrowserMainLoop::PreMainMessageLoopRun [0x01EAEBE4+68]
	content::StartupTaskRunner::RunAllTasksNow [0x022226AE+30]
	content::BrowserMainLoop::CreateStartupTasks [0x01EAD985+805]
	content::BrowserMainRunnerImpl::Initialize [0x01EB1074+100]
	ShellBrowserMain [0x05BE136B+43]
	content::ShellMainDelegate::RunProcess [0x05BDFE90+176]
	content::RunBrowserProcessMain [0x01DDC531+65]
	content::ContentMainRunnerImpl::Run [0x01DDCD16+518]
	content::ContentServiceManagerMainDelegate::RunEmbedderProcess [0x01DDC1B3+19]
	service_manager::Main [0x03406988+1384]
	content::ContentMain [0x01DDC493+51]
	content::BrowserTestBase::SetUp [0x02E9F076+1942]
[4504:4428:0810/073012.296:ERROR:gles2_cmd_decoder.cc(17796)] [GroupMarkerNotSet( crbug.com/242999 )!:B826C908]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[4504:4428:0810/073012.296:ERROR:gles2_cmd_decoder.cc(10207)] [GroupMarkerNotSet( crbug.com/242999 )!:B826C908]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[4504:4428:0810/073012.296:ERROR:gles2_cmd_decoder.cc(17796)] [GroupMarkerNotSet( crbug.com/242999 )!:B826C908]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[4504:4428:0810/073012.296:ERROR:gles2_cmd_decoder.cc(10207)] [GroupMarkerNotSet( crbug.com/242999 )!:B826C908]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.
[3504:4528:0810/073012.335:WARNING:discardable_shared_memory_manager.cc(431)] Some MojoDiscardableSharedMemoryManagerImpls are still alive. They will be leaked.
[  FAILED  ] NavigationControllerBrowserTest.BackToAboutBlankIframe, where TypeParam =  and GetParam() =  (2625 ms)
Cc: cduvall@chromium.org alex...@chromium.org
CCing folks who landed changes around the time this started having problems
Components: UI>Browser>Navigation
This has now taken as much sheriffing time as I can spare on it for the moment.  Hoping some navigation folks can pick this up.  If not the next step is to mass-disable all NavigationControllerBrowserTest.* tests, which I'd rather avoid.
Summary: Navigation-related browser tests are flaky on Win 7 bots (was: NavigationControllerBrowserTest.* are flaky on win7_chromium_rel_ng)
A lot of navigation tests are flaky on Win 7 debug too.  For example, in https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Win7%20Tests%20%28dbg%29%281%29/70804 , we had the following failures:

NavigationHandleImplBrowserTest.VerifySameDocument
BrowserSideNavigationBrowserTest.IframeAndPushStateSimultaneously
NavigationControllerBrowserTest.EnsureSamePageNavigationUpdatesFrameNavigationEntry
NavigationHandleImplBrowserTest.VerifyRendererInitiated
NavigationControllerBrowserTest.SubframeBackFromReplaceState

This looks like more than just NavigationControllerBrowserTest.*; it's some sort of general navigation-related issue, and it's affecting multiple bots over a long period.  Something real is wrong.
Cc: nick@chromium.org
Looking at when this started failing, this may be related to http://crrev.com/b7e7131

CCing Nick to see if he thinks it could be related.
Cc: palmer@chromium.org
+palmer@, as I see "Throttling history state changes to prevent the browser from hanging" in #c10 followed by test failures when the test doesn't find the expected history entries.
Mergedinto: 870861
Status: Duplicate (was: Untriaged)
Chances are good this is a duplicate of  issue 870861  (which is on my plate, as #16 notes), although un-dup it if I'm wrong.

Sign in to add a comment