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

Issue 887577 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Nov 23
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

webui_polymer2_browser_tests failing on chromium.memory/Linux ChromiumOS MSan Tests

Project Member Reported by sheriff-...@appspot.gserviceaccount.com, Sep 20

Issue description

Filed by sheriff-o-matic@appspot.gserviceaccount.com on behalf of liberato@chromium.org

webui_polymer2_browser_tests failing on chromium.memory/Linux ChromiumOS MSan Tests

Builders failed on: 
- Linux ChromiumOS MSan Tests: 
  https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Linux%20ChromiumOS%20MSan%20Tests


 
Owner: nohle@chromium.org
Status: Assigned (was: Available)
nohle@: this cl might be related.  at least, its CrOS in the regression range and mentions enrollment:

https://chromium.googlesource.com/chromium/src/+/d0ffabb7915851ed023809b8738526b78852fd75
After looking through the logs, I don't think I'm responsible for this one... but given my recent history I wouldn't be surprised.

Coincidentally, I did break this tester in crbug/887953, but that is being resolved.
Cc: nohle@chromium.org
Owner: rsorokin@chromium.org
https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Linux%20ChromiumOS%20MSan%20Tests/8686
webui_polymer2_browser_tests Run on OS: 'Ubuntu-14.04'
failures:
ActiveDirectoryJoinTest.TestActiveDirectoryEnrollment_ErrorCard
ActiveDirectoryJoinTest.TestActiveDirectoryEnrollment_Success
ActiveDirectoryJoinTest.TestActiveDirectoryEnrollment_UIErrors
ActiveDirectoryJoinTest.TestActiveDirectoryEnrollment_DistinguishedName

The tests were enabled by:
https://chromium-review.googlesource.com/c/chromium/src/+/1233839

FYI: failure log:
[26653:26653:0924/191218.808891:ERROR:network_profile_handler.cc(83)] Manager properties returned from Shill don't contain the field Profiles
[26653:26653:0924/191218.809043:ERROR:network_sms_handler.cc(436)] NetworkSmsHandler: No list value for: Devices
[26653:26653:0924/191218.901423:ERROR:gpu_interface_provider.cc(87)] Not implemented reached in virtual void content::GpuInterfaceProvider::RegisterOzoneGpuInterfaces(service_manager::BinderRegistry *)
[26653:26653:0924/191219.693903:WARNING:CONSOLE(0)] "HTML Imports is deprecated and will be removed in M73, around March 2019. Please use ES modules instead. See https://www.chromestatus.com/features/5144752345317376 for more details.", source:  (0)
[26653:26653:0924/191303.494422:WARNING:CONSOLE(10)] "Could not find style data in module named", source: chrome://resources/polymer/v1_0/polymer/polymer-extracted.js (10)
[26653:26653:0924/191327.959200:ERROR:fake_shill_manager_client.cc(967)] Notify for unknown property: ServiceCompleteList
[26653:26653:0924/191400.304304:ERROR:fake_shill_manager_client.cc(967)] Notify for unknown property: ServiceCompleteList
[26653:26653:0924/191400.764261:ERROR:fake_shill_manager_client.cc(967)] Notify for unknown property: ServiceCompleteList
[26653:26653:0924/191425.966191:ERROR:fake_shill_manager_client.cc(967)] Notify for unknown property: ServiceCompleteList
[26653:26653:0924/191425.966311:ERROR:fake_shill_manager_client.cc(967)] Notify for unknown property: ServiceCompleteList
[26653:26653:0924/191435.208579:ERROR:fake_shill_manager_client.cc(967)] Notify for unknown property: ServiceCompleteList
[26653:26653:0924/191435.208668:ERROR:fake_shill_manager_client.cc(967)] Notify for unknown property: ServiceCompleteList
BrowserTestBase received signal: Terminated. Backtrace:
    #0 0x000000c293d1 in __interceptor_backtrace /b/swarming/w/ir/kitchen-workdir/src/third_party/llvm/compiler-rt/lib/msan/../sanitizer_common/sanitizer_common_interceptors.inc:4024:13
    #1 0x000014dffaff in base::debug::StackTrace::StackTrace(unsigned long) ./../../base/debug/stack_trace_posix.cc:820:41
    #2 0x000016ab96d7 in content::(anonymous namespace)::DumpStackTraceSignalHandler(int) ./../../content/public/test/browser_test_base.cc:88:5
    #3 0x000000c50e49 in SignalHandler(int) /b/swarming/w/ir/kitchen-workdir/src/third_party/llvm/compiler-rt/lib/msan/msan_interceptors.cc:990:3
    #4 0x7f9ca6774cb0 in killpg ??:?
    #5 0x7f9ca6774cb0 in ?? ??:0
    #6 0x7f9ca683c6d3 in epoll_wait /build/eglibc-ripdx6/eglibc-2.19/misc/../sysdeps/unix/syscall-template.S:81:0
    #7 0x000000c12324 in __interceptor_epoll_wait /b/swarming/w/ir/kitchen-workdir/src/third_party/llvm/compiler-rt/lib/msan/msan_interceptors.cc:857:13
    #8 0x000018c8bd1b in epoll_dispatch ./../../base/third_party/libevent/epoll.c:198:8
    #9 0x000018c7ef4b in event_base_loop ./../../base/third_party/libevent/event.c:512:9
    #10 0x000014e55a14 in base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) ./../../base/message_loop/message_pump_libevent.cc:247:9
    #11 0x000014bf7a40 in base::RunLoop::Run() ./../../base/run_loop.cc:102:14
    #12 0x000016b7b8ab in content::WindowedNotificationObserver::Wait() ./../../content/public/test/test_utils.cc:353:15
    #13 0x000006905f2d in chromeos::LoginManagerTest::SetUpOnMainThread() ./../../chrome/browser/chromeos/login/login_manager_test.cc:150:10
    #14 0x000016ab5f81 in content::BrowserTestBase::ProxyRunTestOnMainThreadLoop() ./../../content/public/test/browser_test_base.cc:414:5
    #15 0x000015210b74 in Run ./../../base/callback.h:129:12
    #16 0x000015210b74 in ChromeBrowserMainParts::PreMainMessageLoopRunImpl() ./../../chrome/browser/chrome_browser_main.cc:2018:0
    #17 0x00001520c1ac in ChromeBrowserMainParts::PreMainMessageLoopRun() ./../../chrome/browser/chrome_browser_main.cc:1402:18
    #18 0x000007fc5301 in chromeos::ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun() ./../../chrome/browser/chromeos/chrome_browser_main_chromeos.cc:702:32
    #19 0x00000cfd09eb in content::BrowserMainLoop::PreMainMessageLoopRun() ./../../content/browser/browser_main_loop.cc:1049:13
    #20 0x00000e701a0d in Run ./../../base/callback.h:129:12
    #21 0x00000e701a0d in content::StartupTaskRunner::RunAllTasksNow() ./../../content/browser/startup_task_runner.cc:43:0
    #22 0x00000cfc8442 in content::BrowserMainLoop::CreateStartupTasks() ./../../content/browser/browser_main_loop.cc:960:25
    #23 0x00000cfdcf4a in content::BrowserMainRunnerImpl::Initialize(content::MainFunctionParams const&) ./../../content/browser/browser_main_runner_impl.cc:140:15
    #24 0x00000cfbcc06 in content::BrowserMain(content::MainFunctionParams const&) ./../../content/browser/browser_main.cc:43:32
    #25 0x0000146c487b in RunBrowserProcessMain ./../../content/app/content_main_runner_impl.cc:538:10
    #26 0x0000146c487b in content::ContentMainRunnerImpl::Run(bool) ./../../content/app/content_main_runner_impl.cc:895:0
    #27 0x00001f3d1f61 in service_manager::Main(service_manager::MainParams const&) ./../../services/service_manager/embedder/main.cc:472:29
    #28 0x0000146bbd55 in content::ContentMain(content::ContentMainParams const&) ./../../content/app/content_main.cc:19:10
    #29 0x000016ab4538 in content::BrowserTestBase::SetUp() ./../../content/public/test/browser_test_base.cc:336:3
    #30 0x00001503fac7 in InProcessBrowserTest::SetUp() ./../../chrome/test/base/in_process_browser_test.cc:255:20
    #31 0x0000069031cc in chromeos::LoginManagerTest::SetUp() ./../../chrome/browser/chromeos/login/login_manager_test.cc:100:26
    #32 0x00000680b198 in chromeos::ActiveDirectoryJoinTest::SetUp() ./../../chrome/browser/chromeos/login/enterprise_enrollment_browsertest.cc:244:35
    #33 0x0000097bfb76 in HandleExceptionsInMethodIfSupported<testing::Test, void> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0
    #34 0x0000097bfb76 in testing::Test::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2518:0
    #35 0x0000097c3ba8 in testing::TestInfo::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2698:11
    #36 0x0000097c569a in testing::TestCase::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:2816:28
    #37 0x0000097fe835 in testing::internal::UnitTestImpl::RunAllTests() ./../../third_party/googletest/src/googletest/src/gtest.cc:5182:43
    #38 0x0000097fd108 in HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool> ./../../third_party/googletest/src/googletest/src/gtest.cc:0:0
    #39 0x0000097fd108 in testing::UnitTest::Run() ./../../third_party/googletest/src/googletest/src/gtest.cc:4791:0
    #40 0x0000150b6621 in RUN_ALL_TESTS ./../../third_party/googletest/src/googletest/include/gtest/gtest.h:2333:46
    #41 0x0000150b6621 in base::TestSuite::Run() ./../../base/test/test_suite.cc:295:0
    #42 0x000014a7108d in ChromeTestSuiteRunner::RunTestSuite(int, char**) ./../../chrome/test/base/chrome_test_launcher.cc:71:21
    #43 0x000016b68401 in content::LaunchTests(content::TestLauncherDelegate*, unsigned long, int, char**) ./../../content/public/test/test_launcher.cc:647:31
    #44 0x000014a727d6 in LaunchChromeTests(unsigned long, content::TestLauncherDelegate*, int, char**) ./../../chrome/test/base/chrome_test_launcher.cc:182:10
    #45 0x000014a70e41 in main ./../../chrome/test/base/browser_tests_main_chromeos.cc:21:10
    #46 0x7f9ca675ff45 in __libc_start_main /build/eglibc-ripdx6/eglibc-2.19/csu/libc-start.c:287:0
    #47 0x000000beb9aa in _start ??:0:0

Components: UI>Browser>WebUI Enterprise
Labels: -Sheriff-Chromium
Cc: alemate@chromium.org xiaoyinh@chromium.org jdufault@chromium.org
Labels: -Pri-2 M-71 OS-Chrome Pri-1 Type-Bug
I've bisected it to https://chromium-review.googlesource.com/c/chromium/src/+/1180583.

Jacob, Sarah, Alex any thoughts why it could affect polymer2 msan browser test?

Try steps:

git checkout 10938d4e4e704057036bb969453372ea4e87598a

git fetch https://chromium.googlesource.com/chromium/src refs/changes/39/1233839/2 && git cherry-pick FETCH_HEAD

gclient sync && autoninja -C out/chromeos_msan_release_bot/  browser_tests && xvfb-run -s "-screen 0 1024x768x24" out/chromeos_msan_release_bot/browser_tests --gtest_filter=ActiveDirectoryJoinTest.TestActiveDirectoryEnrollment_Success --enable-features=WebUIPolymer2

It times out.
Works OK on a previous commit. Also works w/o --enable-features=WebUIPolymer2

cat out/chromeos_msan_release_bot/args.gn 
is_component_build = false
is_debug = false
is_msan = true
msan_track_origins = 2
strip_absolute_paths_from_debug_symbols = true
target_os = "chromeos"
use_goma = true
use_prebuilt_instrumented_libraries = true



Blocking: 875480
Seems like timeout is too low. Works locally for me with increased timeout. 
Project Member

Comment 11 by bugdroid1@chromium.org, Oct 15

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

commit 425cab216f5202b395bffe79dcabd40e31bea0d6
Author: Roman Sorokin <rsorokin@chromium.org>
Date: Mon Oct 15 07:57:22 2018

Disable Active Directory enrollment tests on MSAN

BUG= chromium:887577 , chromium:875480 

Change-Id: I0579e0694e1e4f7c9ed3f1988f623b2558a36e40
Reviewed-on: https://chromium-review.googlesource.com/c/1278167
Reviewed-by: Alexander Alekseev <alemate@chromium.org>
Commit-Queue: Roman Sorokin <rsorokin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#599585}
[modify] https://crrev.com/425cab216f5202b395bffe79dcabd40e31bea0d6/chrome/browser/chromeos/login/enterprise_enrollment_browsertest.cc
[modify] https://crrev.com/425cab216f5202b395bffe79dcabd40e31bea0d6/testing/buildbot/filters/webui_polymer2_browser_tests.filter

Blocking: -875480
Status: Fixed (was: Assigned)
Status: Verified (was: Fixed)
Marking as Verified since Active Directory enrollment tests have been disabled.

Sign in to add a comment