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

Issue 630051 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

[Media Router] Test failures in MediaRouterIntegrationBrowserTest

Project Member Reported by mfo...@chromium.org, Jul 21 2016

Issue description

Version: Chrome build at top of tree
Extension: Built from top of tree

Seeing failures in the test as follows:

1 test failed:
    MediaRouterIntegrationBrowserTest.MANUAL_ReconnectSession (../../chrome/test/media_router/media_router_integration_browsertest.cc:493)
1 test timed out:
    MediaRouterIntegrationBrowserTest.MANUAL_Fail_NoProvider (../../chrome/test/media_router/media_router_integration_browsertest.cc:464)

[ RUN      ] MediaRouterIntegrationBrowserTest.MANUAL_ReconnectSession
[7434:7434:0720/170355:704813674537:INFO:media_router_base_browsertest.cc(121)] ParseCommandLine
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: EnableMemoryInfo
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: RemoteAccessClientFirewallTraversal
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7434:7434:0720/170357:ERROR:json_feature_provider.cc(42)] clipboard: API features must specify at least one context.
[7434:7434:0720/170357:WARNING:password_store_factory.cc(250)] Using basic (unencrypted) store for password storage. See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_password_storage.md for more information about password storage options.
[1:1:0720/170358:ERROR:json_feature_provider.cc(42)] clipboard: API features must specify at least one context.
[7434:7457:0720/170358:WARNING:extension_l10n_util.cc(295)] Supplied locale iw is not supported.
../../content/public/test/test_utils.cc:289: Failure
Value of: seen_
  Actual: false
Expected: true
[0720/170359:ERROR:kill_posix.cc(82)] Unable to terminate process group 7434: No such process
[6/12] MediaRouterIntegrationBrowserTest.MANUAL_ReconnectSession (4721 ms)

[ RUN      ] MediaRouterIntegrationBrowserTest.MANUAL_Fail_NoProvider
[7052:7052:0720/170259:704757149110:INFO:media_router_base_browsertest.cc(121)] ParseCommandLine
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: EnableMemoryInfo
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: RemoteAccessClientFirewallTraversal
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:config_dir_policy_loader.cc(65)] Ignoring unknown platform policy: _comment
[7052:7052:0720/170300:ERROR:json_feature_provider.cc(42)] clipboard: API features must specify at least one context.
[7052:7052:0720/170301:WARNING:password_store_factory.cc(250)] Using basic (unencrypted) store for password storage. See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_password_storage.md for more information about password storage options.
[1:1:0720/170301:ERROR:json_feature_provider.cc(42)] clipboard: API features must specify at least one context.
[7052:7075:0720/170302:WARNING:extension_l10n_util.cc(295)] Supplied locale iw is not supported.
[7052:7052:0720/170302:INFO:media_router_base_browsertest.cc(116)] Host created
[1:1:0720/170302:ERROR:json_feature_provider.cc(42)] clipboard: API features must specify at least one context.
[7052:7052:0720/170304:INFO:CONSOLE(0)] "startListeningForRouteMessages handler not registered.", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/_generated_background_page.html (0)
[7052:7052:0720/170304:INFO:CONSOLE(38)] "availability true
", source: file:///media/ssd2/mfoltz/chrome/src/out/Default/media_router/browser_test_resources/common.js (38)
[7052:7052:0720/170304:INFO:CONSOLE(57)] "start session", source: file:///media/ssd2/mfoltz/chrome/src/out/Default/media_router/browser_test_resources/common.js (57)
[1:1:0720/170304:ERROR:json_feature_provider.cc(42)] clipboard: API features must specify at least one context.
[7052:7052:0720/170307:INFO:media_router_integration_browsertest.cc(387)] Receiver name: test-sink-1
[7052:7052:0720/170307:INFO:CONSOLE(0)] "Uncaught (in promise) UnknownError: Error creating route: No provider supports createRoute with source: http://www.google.com/#__testprovider__=true and sink: id1", source: file:///media/ssd2/mfoltz/chrome/src/out/Default/media_router/browser_test_resources/basic_test.html (0)
Still waiting for the following processes to finish:
	out/Default/browser_tests --allow-file-access --gtest_also_run_disabled_tests --gtest_filter=MediaRouterIntegrationBrowserTest.MANUAL_Fail_NoProvider --run-manual --single_process --user-data-dir=/tmp/.com.google.Chrome.aAcCxC/dLH5o5H
Still waiting for the following processes to finish:
	out/Default/browser_tests --allow-file-access --gtest_also_run_disabled_tests --gtest_filter=MediaRouterIntegrationBrowserTest.MANUAL_Fail_NoProvider --run-manual --single_process --user-data-dir=/tmp/.com.google.Chrome.aAcCxC/dLH5o5H
BrowserTestBase signal handler received SIGTERM. Backtrace:
#0 0x7f58f861c59e base::debug::StackTrace::StackTrace()
#1 0x000003febdea content::(anonymous namespace)::DumpStackTraceSignalHandler()
#2 0x7f58df8b1cb0 <unknown>
#3 0x7f58df967fdd __poll
#4 0x7f58e49ddfe4 <unknown>
#5 0x7f58e49de0ec g_main_context_iteration
#6 0x7f58f86b9f1f base::MessagePumpGlib::Run()
#7 0x7f58f86a14ef base::MessageLoop::RunHandler()
#8 0x7f58f87483d4 base::RunLoop::Run()
#9 0x00000406ac63 Still waiting for the following processes to finish:
	out/Default/browser_tests --allow-file-access --gtest_also_run_disabled_tests --gtest_filter=MediaRouterIntegrationBrowserTest.MANUAL_Fail_NoProvider --run-manual --single_process --user-data-dir=/tmp/.com.google.Chrome.aAcCxC/dLH5o5H
content::RunThisRunLoop()
#10 0x00000406b5f7 content::MessageLoopRunner::Run()
#11 0x000003ff453f content::(anonymous namespace)::DOMOperationObserver::WaitAndGetResponse()
#12 0x000003feeb0e content::(anonymous namespace)::ExecuteScriptHelper()
#13 0x000003fed830 content::ExecuteScript()
#14 0x00000160c5bd media_router::MediaRouterIntegrationBrowserTest::ChooseSink()
#15 0x00000160fb46 media_router::MediaRouterIntegrationBrowserTest_MANUAL_Fail_NoProvider_Test::RunTestOnMainThread()
#16 0x000003222bc5 InProcessBrowserTest::RunTestOnMainThreadLoop()
#17 0x000003febb94 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop()
#18 0x000000988922 _ZN4base8internal13FunctorTraitsIM24DevToolsBeforeUnloadTestFvvEvE6InvokeIRK13scoped_refptrI53DevToolsBeforeUnloadTest_TestDockedDevToolsClose_TestEJEEEvS4_OT_DpOT0_
#19 0x000003feced1 _ZN4base8internal12InvokeHelperILb0EvE8MakeItSoIRKMN7content15BrowserTestBaseEFvvEJRK13scoped_refptrIS5_EEEEvOT_DpOT0_
#20 0x000003fece72 _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserTestBaseEFvvEJ13scoped_refptrIS4_EEEEFvvEE7RunImplIRKS6_RKSt5tupleIJS8_EEJLm0EEEEvOT_OT0_NS_13IndexSequenceIJXspT1_EEEE
#21 0x000003fecc9c _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserTestBaseEFvvEJ13scoped_refptrIS4_EEEEFvvEE3RunEPNS0_13BindStateBaseE
#22 0x00000081fe6e base::Callback<>::Run()
#23 0x000003da30e2 ChromeBrowserMainParts::PreMainMessageLoopRunImpl()
#24 0x000003da1bc0 ChromeBrowserMainParts::PreMainMessageLoopRun()
#25 0x7f58eff90331 content::BrowserMainLoop::PreMainMessageLoopRun()
#26 0x7f58ef638fbd _ZN4base8internal13FunctorTraitsIMN4mojo10BindingSetIN7content5mojom14ProcessControlEE7ElementEFvvEvE6InvokeIPS8_JEEEvSA_OT_DpOT0_
#27 0x7f58eff982e1 _ZN4base8internal12InvokeHelperILb0EiE8MakeItSoIRKMN7content15BrowserMainLoopEFivEJPS5_EEEiOT_DpOT0_
#28 0x7f58eff98287 _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserMainLoopEFivEJNS0_17UnretainedWrapperIS4_EEEEEFivEE7RunImplIRKS6_RKSt5tupleIJS8_EEJLm0EEEEiOT_OT0_NS_13IndexSequenceIJXspT1_EEEE
#29 0x7f58eff981ec _ZN4base8internal7InvokerINS0_9BindStateIMN7content15BrowserMainLoopEFivEJNS0_17UnretainedWrapperIS4_EEEEEFivEE3RunEPNS0_13BindStateBaseE
#30 0x7f58ef63906e base::Callback<>::Run()
#31 0x7f58f0a4028b content::StartupTaskRunner::RunAllTasksNow()
#32 0x7f58eff8e313 content::BrowserMainLoop::CreateStartupTasks()
#33 0x7f58eff9a8fd content::BrowserMainRunnerImpl::Initialize()
#34 0x7f58eff8a56d content::BrowserMain()
#35 0x7f58f19fa976 content::RunNamedProcessTypeMain()
#36 0x7f58f19fc882 content::ContentMainRunnerImpl::Run()
#37 0x7f58f19f9a32 content::ContentMain()
#38 0x000003feb8bc content::BrowserTestBase::SetUp()
#39 0x000003221585 InProcessBrowserTest::SetUp()
#40 0x00000140db6d ExtensionBrowserTest::SetUp()
#41 0x000001606466 media_router::MediaRouterBaseBrowserTest::SetUp()
#42 0x00000100349a _ZN7testing8internal12InvokeHelperIvNSt3tr15tupleIJEEEE12InvokeMethodI14ServiceProcessMS7_FvvEEEvPT_T0_RKS4_
#43 0x00000417a50e testing::internal::HandleExceptionsInMethodIfSupported<>()
#44 0x00000416f393 testing::Test::Run()
#45 0x00000416fb78 testing::TestInfo::Run()
#46 0x00000417011a testing::TestCase::Run()
#47 0x00000417546c testing::internal::UnitTestImpl::RunAllTests()
#48 0x000001002aaa _ZN7testing8internal12InvokeHelperIbNSt3tr15tupleIJEEEE12InvokeMethodI20MockServiceIPCServerMS7_FbvEEEbPT_T0_RKS4_
#49 0x00000417bbbe testing::internal::HandleExceptionsInMethodIfSupported<>()
#50 0x00000417510f testing::UnitTest::Run()
#51 0x0000032337f1 RUN_ALL_TESTS()
#52 0x0000032326a2 base::TestSuite::Run()
#53 0x0000031df99c ChromeTestSuiteRunner::RunTestSuite()
#54 0x0000031dfa99 ChromeTestLauncherDelegate::RunTestSuite()
#55 0x00000405db92 content::LaunchTests()
#56 0x0000031dfe29 LaunchChromeTests()
#57 0x000000797984 main
#58 0x7f58df89cf45 __libc_start_main
#59 0x000000797815 <unknown>
[0720/170344:ERROR:kill_posix.cc(82)] Unable to terminate process group 7052: No such process
[4/12] MediaRouterIntegrationBrowserTest.MANUAL_Fail_NoProvider (TIMED OUT)
 

Comment 1 by leilei@chromium.org, Jul 21 2016

For MANUAL_Fail_NoProvider case, it seems it is failed because the error was not caught, but it should.

[7052:7052:0720/170307:INFO:CONSOLE(0)] "Uncaught (in promise) UnknownError: Error creating route: No provider supports createRoute with source: http://www.google.com/#__testprovider__=true and sink: id1", source: file:///media/ssd2/mfoltz/chrome/src/out/Default/media_router/browser_test_resources/basic_test.html (0)

https://cs.chromium.org/chromium/src/chrome/test/media_router/resources/common.js?sq=package:chromium&l=95

And MANUAL_Fail_NoProvider test verifies the error message to make sure the error message is the expected one.
https://cs.chromium.org/chromium/src/chrome/test/media_router/media_router_integration_browsertest.cc?q=media_router_integration_browsertest.cc&sq=package:chromium&l=474

For MANUAL_ReconnectSession case, I have no idea about why it is failed. May try to run it with --enable-pixel-output-in-tests flag to see what happen during test.

Comment 2 by leilei@chromium.org, Jul 22 2016

Hi Mark,

I have fixed the compile issue on our buildbot, and all the integration tests passed with chrome 82c640fbdedabe6a38ada6040d89f45c873349ae and extension cl/128117918 this morning. 

See https://uberchromegw.corp.google.com/i/internal.mediarouter/builders/Linux%20Build

Comment 3 by mfo...@chromium.org, Jul 22 2016

Status: Verified (was: Untriaged)
Thanks!

We should get the integration tests passing with GN though, as it will soon be the default build system for Chromium.

Comment 4 by leilei@chromium.org, Jul 22 2016

The default build system has been already switched to GN, which caused our buildbot failed. I updated buildbot to switch back to GYP.

The integration tests have been already switched to GN, I tried it locally, it works well. But e2e tests haven't been switched to GN, crbug/527096 is to track this issue, I will try to find sometime this quarter to work on it.

Comment 5 by mfo...@chromium.org, Jul 22 2016

Okay, that's being tracked and sounds like a good Fixit item.  Thanks!

Sign in to add a comment