xvfb browser_test SystemThemeColor fails on 74.0.3729.0

116 views
Skip to first unread message

Demetrios Tsillas

unread,
Apr 8, 2019, 3:51:31 PM4/8/19
to Chromium-dev
hi folks,

I see a failure with the browser test HostedAppOpaqueBrowserFrameViewTest.SystemThemeColor when I run it in xvfb. The test passes when I run it in vncserver:

((HEAD detached at 74.0.3729.0)) $ ./testing/xvfb.py ./out/Release/browser_tests --gtest_filter=HostedAppOpaqueBrowserFrameViewTest.SystemThemeColor
Additional test environment:
    CHROME_DEVEL_SANDBOX=/usr/local/sbin/chrome-devel-sandbox
    CHROME_HEADLESS=1
    LANG=en_US.UTF-8
Command: ./out/Release/browser_tests --gtest_filter=HostedAppOpaqueBrowserFrameViewTest.SystemThemeColor

IMPORTANT DEBUGGING NOTE: each test is run inside its own process.
For debugging a test inside a debugger, use the
--gtest_filter=<your_test_name> flag along with either
--single_process (to run the test in one launcher/browser process) or
--single-process (to do the above, and also run Chrome in single-process mode).
Using sharding settings from environment. This is shard 0/1
Using 1 parallel jobs.
Note: Google Test filter = HostedAppOpaqueBrowserFrameViewTest.SystemThemeColor
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from HostedAppOpaqueBrowserFrameViewTest, where TypeParam = 
[ RUN      ] HostedAppOpaqueBrowserFrameViewTest.SystemThemeColor
[15536:15536:0408/154741.148467:WARNING:password_store_factory.cc(262)] 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.
[15536:15573:0408/154741.322818:WARNING:leveldb_database.cc(106)] Unable to open /tmp/.org.chromium.Chromium.maxw4b/dNj3eew/Default/shared_proto_db: Invalid argument: /tmp/.org.chromium.Chromium.maxw4b/dNj3eew/Default/shared_proto_db: does not exist (create_if_missing is false)
[15591:15642:0408/154741.568461:WARNING:simple_synchronous_entry.cc(1425)] Could not open platform files for entry.
../../chrome/browser/ui/views/frame/opaque_browser_frame_view_browsertest.cc:113: Failure
Expected equality of these values:
  hosted_app_button_container_->active_color_for_testing()
    Which is: 4294967295
  gfx::kGoogleGrey900
    Which is: 4280295716
Stack trace:
#0 0x563a8b4f31af StackTraceGetter::CurrentStackTrace()
#1 0x563a8b4fbadc testing::internal::UnitTestImpl::CurrentOsStackTraceExceptTop()
#2 0x563a8b4fb429 testing::internal::AssertHelper::operator=()
#3 0x563a8b19cd5a HostedAppOpaqueBrowserFrameViewTest_SystemThemeColor_Test::RunTestOnMainThread()
#4 0x563a8c41aad0 content::BrowserTestBase::ProxyRunTestOnMainThreadLoop()
#5 0x563a8be40733 ChromeBrowserMainParts::PreMainMessageLoopRunImpl()
#6 0x563a8be3f33d ChromeBrowserMainParts::PreMainMessageLoopRun()
#7 0x7f7e088c36f2 content::BrowserMainLoop::PreMainMessageLoopRun()
#8 0x7f7e08e31425 content::StartupTaskRunner::RunAllTasksNow()
#9 0x7f7e088c23f3 content::BrowserMainLoop::CreateStartupTasks()
#10 0x7f7e088c5ec1 content::BrowserMainRunnerImpl::Initialize()
#11 0x7f7e088c01cc content::BrowserMain()
#12 0x7f7e09472336 content::ContentMainRunnerImpl::RunServiceManager()
#13 0x7f7e09471f33 content::ContentMainRunnerImpl::Run()
#14 0x7f7dfbfbae89 service_manager::Main()
#15 0x7f7e09470121 content::ContentMain()
#16 0x563a8c41a672 content::BrowserTestBase::SetUp()

[15536:15536:0408/154741.633283:WARNING:gaia_auth_fetcher.cc(882)] Could not reach Google Accounts servers: errno -11
[15536:15536:0408/154741.693437:ERROR:node_channel.cc(730)] Dropping message on closed channel.
[15536:15548:0408/154741.784463:ERROR:browser_process_sub_thread.cc(217)] Waited 18 ms for network service
[15536:15579:0408/154741.785710:ERROR:process_posix.cc(330)] Unable to terminate process 15591: No such process (3)
[15536:15579:0408/154741.785792:WARNING:internal_linux.cc(64)] Failed to read /proc/15591/stat
[15536:15548:0408/154741.787508:WARNING:discardable_shared_memory_manager.cc(410)] Some MojoDiscardableSharedMemoryManagerImpls are still alive. They will be leaked.
[15536:15536:0408/154741.790227:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown.
[15536:15536:0408/154741.790264:WARNING:pref_notifier_impl.cc(23)] Pref observer found at shutdown.
[15536:15674:0408/154741.793973:WARNING:internal_linux.cc(64)] Failed to read /proc/15583/stat
[15536:15675:0408/154741.796501:WARNING:internal_linux.cc(64)] Failed to read /proc/15617/stat
[  FAILED  ] HostedAppOpaqueBrowserFrameViewTest.SystemThemeColor, where TypeParam =  and GetParam() =  (1744 ms)
[----------] 1 test from HostedAppOpaqueBrowserFrameViewTest (1744 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (1745 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] HostedAppOpaqueBrowserFrameViewTest.SystemThemeColor, where TypeParam =  and GetParam() = 

 1 FAILED TEST
[0408/154741.975703:ERROR:kill_posix.cc(84)] Unable to terminate process group 15536: No such process (3)
[1/1] HostedAppOpaqueBrowserFrameViewTest.SystemThemeColor (2358 ms)
1 test failed:
    HostedAppOpaqueBrowserFrameViewTest.SystemThemeColor (../../chrome/browser/ui/views/frame/opaque_browser_frame_view_browsertest.cc:107)

Tom McKee

unread,
Apr 8, 2019, 4:03:49 PM4/8/19
to jtsi...@gmail.com, Chromium-dev
FWIW, I took a quick peek at testing/xvfb.py and it looks like it's using 24-bit colour depth... and you're getting a delta in some colour measurement... perhaps that's the issue? Do you know what colour depth is being used in the vncserver case?

Side note: I usually just use the 'xvfb-run' command directly instead of using the 'testing/xvfb.py' helper. I wonder if I should upgrade to the helper?


--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/f39372a1-50af-4d40-93fc-ed8d9716a71c%40chromium.org.
Reply all
Reply to author
Forward
0 new messages