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

Issue 850498 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

[Dice M3] CrSettingsPeoplePageTest.All test is failing

Project Member Reported by droger@chromium.org, Jun 7 2018

Issue description

When Dice M3 is enabled, this test fails with the following output:



Xlib:  extension "RANDR" missing on display ":99".
[6890:6928:0607/041329.444575:ERROR:bus.cc(394)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[6890:6890:0607/041329.453352: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.
(browser_tests:6890): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Unknown or unsupported transport 'disabled' for address 'disabled:'
[6890:6890:0607/041329.581439:WARNING:gaia_auth_fetcher.cc(902)] Could not reach Google Accounts servers: errno -11
[6890:6890:0607/041330.403186:WARNING:gaia_auth_fetcher.cc(902)] Could not reach Google Accounts servers: errno -11
[6890:6890:0607/041330.826281:INFO:CONSOLE(1236)] "Running TestCase CrSettingsPeoplePageTest.All", source: file:///b/s/w/ir/chrome/test/data/webui/test_api.js (1236)
[6890:6890:0607/041331.498101:ERROR:CONSOLE(48)] "Mocha test failed: ProfileInfoTests GetProfileInfo
TypeError: Cannot read property 'textContent' of null
    at Context.<anonymous> (file:///b/s/w/ir/chrome/test/data/webui/settings/people_page_test.js:49:41)
", source: file:///b/s/w/ir/chrome/test/data/webui/mocha_adapter.js (48)
[6890:6890:0607/041331.625310:ERROR:CONSOLE(48)] "Mocha test failed: SyncStatusTests GetProfileInfo
AssertionError: expected false to be true
    at Function.assert.isTrue (file:///b/s/w/ir/third_party/chaijs/chai.js:2423:31)
    at assertTrue (file:///b/s/w/ir/chrome/test/data/webui/test_api.js:864:15)
    at file:///b/s/w/ir/chrome/test/data/webui/settings/people_page_test.js:130:15
", source: file:///b/s/w/ir/chrome/test/data/webui/mocha_adapter.js (48)
[6890:6890:0607/041331.665887:ERROR:CONSOLE(48)] "Mocha test failed: SyncStatusTests getProfileStatsCount
AssertionError: expected false to be true
    at Function.assert.isTrue (file:///b/s/w/ir/third_party/chaijs/chai.js:2423:31)
    at assertTrue (file:///b/s/w/ir/chrome/test/data/webui/test_api.js:864:15)
    at file:///b/s/w/ir/chrome/test/data/webui/settings/people_page_test.js:209:15
", source: file:///b/s/w/ir/chrome/test/data/webui/mocha_adapter.js (48)
[6890:6890:0607/041332.225781:ERROR:web_ui_test_handler.cc(100)] Test Errors: 3/13 tests had failed assertions.
[6890:6890:0607/041332.225849:ERROR:web_ui_browser_test.cc(474)] CONDITION FAILURE: encountered javascript console error(s):
[6890:6890:0607/041332.225862:ERROR:web_ui_browser_test.cc(476)] JS ERROR: '[6890:6890:0607/041331.498101:ERROR:CONSOLE(48)] "Mocha test failed: ProfileInfoTests GetProfileInfo
TypeError: Cannot read property 'textContent' of null
    at Context.<anonymous> (file:///b/s/w/ir/chrome/test/data/webui/settings/people_page_test.js:49:41)
", source: file:///b/s/w/ir/chrome/test/data/webui/mocha_adapter.js (48)
'
[6890:6890:0607/041332.225872:ERROR:web_ui_browser_test.cc(476)] JS ERROR: '[6890:6890:0607/041331.625310:ERROR:CONSOLE(48)] "Mocha test failed: SyncStatusTests GetProfileInfo
AssertionError: expected false to be true
    at Function.assert.isTrue (file:///b/s/w/ir/third_party/chaijs/chai.js:2423:31)
    at assertTrue (file:///b/s/w/ir/chrome/test/data/webui/test_api.js:864:15)
    at file:///b/s/w/ir/chrome/test/data/webui/settings/people_page_test.js:130:15
", source: file:///b/s/w/ir/chrome/test/data/webui/mocha_adapter.js (48)
'
[6890:6890:0607/041332.225882:ERROR:web_ui_browser_test.cc(476)] JS ERROR: '[6890:6890:0607/041331.665887:ERROR:CONSOLE(48)] "Mocha test failed: SyncStatusTests getProfileStatsCount
AssertionError: expected false to be true
    at Function.assert.isTrue (file:///b/s/w/ir/third_party/chaijs/chai.js:2423:31)
    at assertTrue (file:///b/s/w/ir/chrome/test/data/webui/test_api.js:864:15)
    at file:///b/s/w/ir/chrome/test/data/webui/settings/people_page_test.js:209:15
", source: file:///b/s/w/ir/chrome/test/data/webui/mocha_adapter.js (48)
'
[6890:6890:0607/041332.225902:ERROR:web_ui_browser_test.cc(478)] JS call assumed failed, because JS console error(s) found.
gen/chrome/test/data/webui/settings/cr_settings_browsertest-gen.cc:593: Failure
Value of: RunJavascriptTestF( true, "CrSettingsPeoplePageTest", "All")
  Actual: false
Expected: true
Stack trace:
#0 0x0000038b2bac testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop()
#1 0x0000038b2589 testing::internal::AssertHelper::operator=()
#2 0x000003737cda CrSettingsPeoplePageTest_All_Test::RunTestOnMainThread()
#3 0x0000066edf7e content::BrowserTestBase::ProxyRunTestOnMainThreadLoop()
#4 0x0000061aa21b ChromeBrowserMainParts::PreMainMessageLoopRunImpl()
#5 0x0000061a8e7a ChromeBrowserMainParts::PreMainMessageLoopRun()
#6 0x0000045d9f01 content::BrowserMainLoop::PreMainMessageLoopRun()
#7 0x000004aa7335 content::StartupTaskRunner::RunAllTasksNow()
#8 0x0000045d8615 content::BrowserMainLoop::CreateStartupTasks()
#9 0x0000045dcc75 content::BrowserMainRunnerImpl::Initialize()
#10 0x0000045d6025 content::BrowserMain()
#11 0x000005ff1c6a content::RunBrowserProcessMain()
#12 0x000005ff2ce4 content::ContentMainRunnerImpl::Run()
#13 0x00000807b64f service_manager::Main()
#14 0x000005ff0ad4 content::ContentMain()
#15 0x0000066edae2 content::BrowserTestBase::SetUp()
#16 0x000006155f90 InProcessBrowserTest::SetUp()
[6890:6901:0607/041332.363068:WARNING:discardable_shared_memory_manager.cc(431)] Some MojoDiscardableSharedMemoryManagerImpls are still alive. They will be leaked.
[6890:6890:0607/041332.365606:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown.
[6890:6890:0607/041332.365624:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown.
[6890:7312:0607/041332.367036:WARNING:internal_linux.cc(64)] Failed to read /proc/6922/stat
[  FAILED  ] CrSettingsPeoplePageTest.All, where TypeParam =  and GetParam() =  (3205 ms)
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jun 8 2018

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

commit b2683aa651feb3d103a1a94e8f013c45c2e8f053
Author: David Roger <droger@chromium.org>
Date: Fri Jun 08 19:19:53 2018

[signin] Fix CrSettingsPeoplePageTest.ProfileInfoTests with Dice

Bug:  850498 
Change-Id: I304084db180fa729ceb5b6ec54e4c955fb4ae401
Reviewed-on: https://chromium-review.googlesource.com/1090838
Reviewed-by: Scott Chen <scottchen@chromium.org>
Commit-Queue: David Roger <droger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#565710}
[modify] https://crrev.com/b2683aa651feb3d103a1a94e8f013c45c2e8f053/chrome/test/data/webui/settings/people_page_test.js

Comment 2 by droger@chromium.org, Jun 11 2018

Status: Fixed (was: Assigned)

Sign in to add a comment