New issue
Advanced search Search tips

Issue 867339 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Aug 31
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

content_browsertests failing on chromium.chromiumos/linux-chromeos-dbg

Project Member Reported by hajimehoshi@chromium.org, Jul 25

Issue description

content_browsertests failing on chromium.chromiumos/linux-chromeos-dbg

Builders failed on: 
- linux-chromeos-dbg: 
  https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/linux-chromeos-dbg

[ RUN      ] WebClipboardImplTest.PasteRTF
[15003:15034:0724/220935.250755:ERROR:network_service.cc(66)] Not implemented reached in std::unique_ptr<net::NetworkChangeNotifier> network::(anonymous namespace)::CreateNetworkChangeNotifierIfNeeded()
DevTools listening on ws://127.0.0.1:45487/devtools/browser/62b0bcf0-5bbd-4a33-b5e9-b0af156cb841
[15003:15003:0724/220935.272481:ERROR:proxy_resolution_service.cc(1528)] ProxyConfigService for ChromeOS should be created in profile_io_data.cc::CreateProxyConfigService and this should be used only for examples.
BrowserTestBase received signal: Terminated. Backtrace:
#0 0x7f76871e9edd base::debug::StackTrace::StackTrace()
#1 0x7f7686efd49c base::debug::StackTrace::StackTrace()
#2 0x0000023a3d24 content::(anonymous namespace)::DumpStackTraceSignalHandler()
#3 0x7f766db04cb0 <unknown>
#4 0x7f766dbcc6d3 epoll_wait
#5 0x7f768728ba41 epoll_dispatch
#6 0x7f768727f115 event_base_loop
#7 0x7f768722e8d5 base::MessagePumpLibevent::Run()
#8 0x7f7686f9117e base::MessageLoop::Run()
#9 0x7f7687038962 base::RunLoop::Run()
#10 0x0000023bd2a9 content::FrameDeletedObserver::FrameTreeNodeObserverImpl::Run()
#11 0x0000023b5620 content::FrameFocusedObserver::Wait()
#12 0x00000118f239 content::(anonymous namespace)::WebClipboardImplTest_PasteRTF_Test::RunTestOnMainThread()
#13 0x0000023a29ce content::BrowserTestBase::ProxyRunTestOnMainThreadLoop()
#14 0x00000083020d _ZN4base8internal13FunctorTraitsIMN7content41GenerateMHTMLAndExitRendererMessageFilterEFvvEvE6InvokeIS5_PS3_JEEEvT_OT0_DpOT1_
#15 0x000000830154 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIMN7content41GenerateMHTMLAndExitRendererMessageFilterEFvvEJPS5_EEEvOT_DpOT0_
#16 0x0000023a4e25 _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserTestBaseEFvvEJNS0_17UnretainedWrapperIS4_EEEEEFvvEE7RunImplIRKS6_RKNSt3__15tupleIJS8_EEEJLm0EEEEvOT_OT0_NSF_16integer_sequenceImJXspT1_EEEE
#17 0x0000023a4d6c _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserTestBaseEFvvEJNS0_17UnretainedWrapperIS4_EEEEEFvvEE3RunEPNS0_13BindStateBaseE
#18 0x0000006ef04d _ZNKR4base17RepeatingCallbackIFvvEE3RunEv
#19 0x0000025b87dd content::ShellBrowserMainParts::PreMainMessageLoopRun()
#20 0x7f76811e34ec content::BrowserMainLoop::PreMainMessageLoopRun()
#21 0x7f767feda7bd _ZN4base8internal13FunctorTraitsIMN7content24NetworkConnectionTrackerEFvvEvE6InvokeIS5_PS3_JEEEvT_OT0_DpOT1_
#22 0x7f767feda704 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKMN7content24NetworkConnectionTrackerEFvvEJPS5_EEEvOT_DpOT0_
#23 0x7f76811e8c95 _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserMainLoopEFivEJNS0_17UnretainedWrapperIS4_EEEEEFivEE7RunImplIRKS6_RKNSt3__15tupleIJS8_EEEJLm0EEEEiOT_OT0_NSF_16integer_sequenceImJXspT1_EEEE
#24 0x7f76811e8bdc _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserMainLoopEFivEJNS0_17UnretainedWrapperIS4_EEEEEFivEE3RunEPNS0_13BindStateBaseE
#25 0x7f767fe92ecd _ZNKR4base17RepeatingCallbackIFvvEE3RunEv
#26 0x7f7682087c5d content::StartupTaskRunner::RunAllTasksNow()
#27 0x7f76811dec00 content::BrowserMainLoop::CreateStartupTasks()
#28 0x7f76811eae81 content::BrowserMainRunnerImpl::Initialize()
#29 0x000002555d1d ShellBrowserMain()
#30 0x00000252a558 content::ShellMainDelegate::RunProcess()
#31 0x7f768332e7ae content::RunBrowserProcessMain()
#32 0x7f7683330fea content::ContentMainRunnerImpl::Run()
#33 0x7f768332584c content::ContentServiceManagerMainDelegate::RunEmbedderProcess()
#34 0x7f767b760161 service_manager::Main()
#35 0x7f768332b9c5 content::ContentMain()
#36 0x0000023a1f81 content::BrowserTestBase::SetUp()
#37 0x000002381e06 content::ContentBrowserTest::SetUp()
#38 0x0000012019be _ZN7testing8internal12InvokeHelperIvNSt3__15tupleIJEEEE12InvokeMethodIN4base7RunLoopEMS8_FvvEEEvPT_T0_RKS4_
#39 0x000001519a52 testing::internal::HandleExceptionsInMethodIfSupported<>()
#40 0x0000014fd594 testing::Test::Run()
#41 0x0000014fdfd0 testing::TestInfo::Run()
#42 0x0000014fea7f testing::TestCase::Run()
#43 0x000001510c28 testing::internal::UnitTestImpl::RunAllTests()
#44 0x0000015247ce testing::internal::HandleSehExceptionsInMethodIfSupported<>()
#45 0x00000151b1a2 testing::internal::HandleExceptionsInMethodIfSupported<>()
#46 0x000001510887 testing::UnitTest::Run()
#47 0x0000024b4191 RUN_ALL_TESTS()
#48 0x0000024b0b5b base::TestSuite::Run()
#49 0x00000238dc52 content::ContentTestLauncherDelegate::RunTestSuite()
#50 0x0000024085e9 content::LaunchTests()
#51 0x00000238dba2 main
#52 0x7f766daeff45 __libc_start_main
#53 0x000000605f1a _start
 
Cc: jsb...@chromium.org
Labels: -Pri-1 Pri-2
The test now passed.

The test failed before once: 
https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/linux-chromeos-dbg/6961

Then this test is just flaky?

Flakiness dashboard shows this test starts flaking on this bot on http://build.chromium.org/p/chromium.chromiumos/builders/linux-chromeos-dbg/builds/6958. Though it has been flaking lightly on several other bots before that. I am going to disable this test on ChromeOS for now.
Cc: mustaq@chromium.org paulir...@chromium.org
CC'ing a couple of folks who worked on the test previously
Project Member

Comment 4 by bugdroid1@chromium.org, Jul 25

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

commit e396054356f671cce53d39d0138efabc1725761f
Author: Derek Cheng <imcheng@chromium.org>
Date: Wed Jul 25 17:17:32 2018

[Sheriff] Disable flaky test WebClipboardImplTest.PasteRTF on ChromeOS.

TBR: hajimehoshi
Bug:  867339 
Change-Id: I7eedb205332e140722339707eb5fc4fc8f46b3c1
Reviewed-on: https://chromium-review.googlesource.com/1150289
Commit-Queue: Derek Cheng <imcheng@chromium.org>
Reviewed-by: Derek Cheng <imcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577952}
[modify] https://crrev.com/e396054356f671cce53d39d0138efabc1725761f/content/renderer/webclipboard_impl_browsertest.cc

Labels: -Sheriff-Chromium
Project Member

Comment 6 by bugdroid1@chromium.org, Aug 14

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

commit b8a1c61da239baee11ebff6962a1667fab8d34fd
Author: Ken Rockot <rockot@chromium.org>
Date: Tue Aug 14 03:16:42 2018

De-flake WebClipboardImplTests

The issue was raciness between navigation and FrameFocusedObserver
setup. Focus can be dispatched to the FrameTreeNode before
NavigateToURL* returns, causing the subsequently constructed
FrameFocusedObserver to wait forever for an event that has already
happened.

Because FrameFocusedObserver only monitors the main frame's
FrameTreeNode, which is stable, we can construct the observer before
NavigateToURL*. That's what all this does.

Bug:  872075 , 867339 
Change-Id: I08c68ecb548163ee2097222d549e6985e5c9428a
Reviewed-on: https://chromium-review.googlesource.com/1173016
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Commit-Queue: Ken Rockot <rockot@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582813}
[modify] https://crrev.com/b8a1c61da239baee11ebff6962a1667fab8d34fd/content/renderer/webclipboard_impl_browsertest.cc

Status: Fixed (was: Untriaged)

Sign in to add a comment