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

Issue 681547 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

"ArcSessionManagerTest.ManagedAndroidAccount" is flaky

Project Member Reported by chromium...@appspot.gserviceaccount.com, Jan 16 2017

Issue description

"ArcSessionManagerTest.ManagedAndroidAccount" is flaky.

This issue was created automatically by the chromium-try-flakes app. Please find the right owner to fix the respective test/step and assign this issue to them. If the step/test is infrastructure-related, please add Infra-Troopers label and change issue status to Untriaged. When done, please remove the issue from Sheriff Bug Queue by removing the Sheriff-Chromium label.

We have detected 3 recent flakes. List of all flakes can be found at https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyNgsSBUZsYWtlIitBcmNTZXNzaW9uTWFuYWdlclRlc3QuTWFuYWdlZEFuZHJvaWRBY2NvdW50DA.

Flaky tests should be disabled within 30 minutes unless culprit CL is found and reverted. Please see more details here: https://sites.google.com/a/chromium.org/dev/developers/tree-sheriffs/sheriffing-bug-queues#triaging-auto-filed-flakiness-bugs
 

Comment 1 by meade@chromium.org, Jan 17 2017

I couldn't see this test running in http://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=browser_tests (with patch)&tests=ArcSessionManagerTest.ManagedAndroidAccount (linked from the chromium-tray-flakes.appspot link above), which seems weird.

Comment 2 by meade@chromium.org, Jan 17 2017

But going to the individual test runs linked from https://chromium-try-flakes.appspot.com/all_flake_occurrences?key=ahVzfmNocm9taXVtLXRyeS1mbGFrZXNyNgsSBUZsYWtlIitBcmNTZXNzaW9uTWFuYWdlclRlc3QuTWFuYWdlZEFuZHJvaWRBY2NvdW50DA, the three instances are failing with a segfault in ~ProfileManager.


ArcSessionManagerTest.ManagedAndroidAccount (run #3):
[ RUN      ] ArcSessionManagerTest.ManagedAndroidAccount
sending server_data: {"host": "127.0.0.1", "port": 48440} (36 bytes)
[6859:6859:0116/020905.189380:WARNING:chrome_browser_main_chromeos.cc(350)] Running as stub user with profile dir: test-user
[6859:6859:0116/020905.210525:ERROR:variations_util.cc(102)] Missing Worker Pool Configuration: Background
[6859:6859:0116/020905.215408:WARNING:audio_manager.cc(317)] Multiple instances of AudioManager detected
[6859:6859:0116/020905.215433:WARNING:audio_manager.cc(278)] Multiple instances of AudioManager detected
[6859:6859:0116/020905.226209:ERROR:logging_chrome.cc(175)] Unable to create symlink /tmp/.org.chromium.Chromium.F6Zy0g/dnS1zXO/test-user/chrome_debug.log pointing at /tmp/.org.chromium.Chromium.F6Zy0g/dnS1zXO/test-user/chrome_debug_20170116-020905.log: No such file or directory
Xlib:  extension "RANDR" missing on display ":99".
[6859:6859:0116/020905.338845:WARNING:signin_screen_policy_provider.cc(61)] Denying load of Extension  : ahfgeienlihckogmohjhadlkjgocpleb / Web Store because of 'signin_screen' is only allowed for packaged apps, but this is a hosted app.
[6859:6859:0116/020905.338897:WARNING:signin_screen_policy_provider.cc(61)] Denying load of Extension  : eemcgdkfndhakfknompkggombfjjjeno / Bookmark Manager because of 'signin_screen' is only allowed for packaged apps, but this is a extension.
[6859:6859:0116/020905.338932:WARNING:signin_screen_policy_provider.cc(61)] Denying load of Extension  : mgndgikekgjfcpckkfioiadnlibdjbkf / Chromium because of 'signin_screen' is only allowed for packaged apps, but this is a hosted app.
[6859:6859:0116/020905.338951:WARNING:signin_screen_policy_provider.cc(61)] Denying load of Extension  : mhjfbmdgcfjbbpaeojofohoefgiehjai / Chromium PDF Viewer because of 'signin_screen' is only allowed for packaged apps, but this is a extension.
[6859:6859:0116/020905.338974:WARNING:signin_screen_policy_provider.cc(61)] Denying load of Extension  : nkoccljplnhpfnfiajclkommnmllphnl / crosh_builtin because of 'signin_screen' is only allowed for packaged apps, but this is a extension.
[6859:6881:0116/020905.350338:WARNING:freezer_cgroup_process_manager.cc(61)] Cgroup freezer does not exist or is not writable. Unable to freeze renderer processes.
[1:1:0116/020905.378478:ERROR:variations_util.cc(102)] Missing Worker Pool Configuration: RendererBackground
[6859:6859:0116/020905.398071:ERROR:network_profile_handler.cc(83)] Manager properties returned from Shill don't contain the field Profiles
[6859:6859:0116/020905.398174:ERROR:network_sms_handler.cc(414)] NetworkSmsHandler: No list value for: Devices
[6859:6859:0116/020905.399020:WARNING:server_backed_state_keys_broker.cc(76)] Failed to obtain server-backed state keys.
[6859:6859:0116/020905.430368:WARNING:signin_screen_policy_provider.cc(61)] Denying load of Extension  : ahfgeienlihckogmohjhadlkjgocpleb / Web Store because of 'signin_screen' is only allowed for packaged apps, but this is a hosted app.
[6859:6859:0116/020905.430424:WARNING:signin_screen_policy_provider.cc(61)] Denying load of Extension  : eemcgdkfndhakfknompkggombfjjjeno / Bookmark Manager because of 'signin_screen' is only allowed for packaged apps, but this is a extension.
[6859:6859:0116/020905.430471:WARNING:signin_screen_policy_provider.cc(61)] Denying load of Extension  : mgndgikekgjfcpckkfioiadnlibdjbkf / Chromium because of 'signin_screen' is only allowed for packaged apps, but this is a hosted app.
[6859:6859:0116/020905.430510:WARNING:signin_screen_policy_provider.cc(61)] Denying load of Extension  : mhjfbmdgcfjbbpaeojofohoefgiehjai / Chromium PDF Viewer because of 'signin_screen' is only allowed for packaged apps, but this is a extension.
[6859:6859:0116/020905.430559:WARNING:signin_screen_policy_provider.cc(61)] Denying load of Extension  : nkoccljplnhpfnfiajclkommnmllphnl / crosh_builtin because of 'signin_screen' is only allowed for packaged apps, but this is a extension.
[6859:6859:0116/020905.569892:INFO:arc_session_runner.cc(152)] ARC ready
localhost - - [16/Jan/2017 02:09:05] "POST /device_management?request=check_android_management&devicetype=2&apptype=Chrome&agent=Chromium+57.0.2984.0(07adb5c7a6fcb7befa2f85bb1b0d0651c6fb65d8-refs%2Fheads%2Fmaster%40%7B%23443862%7D)&platform=Linux%2CCrOS%2Cunknown%7Cx86_64%2Cunknown%7C12.4.0&oauth_token=managed-auth-token&deviceid=b1ccb287-c9d8-4a03-bc13-27f87adbee4b&retry=false HTTP/1.1" 409 -
[6859:6859:0116/020905.592551:WARNING:device_management_service.cc(292)] DMServer sent an error response: 409
[6859:6859:0116/020905.592690:INFO:arc_session_runner.cc(165)] ARC stopped: SHUTDOWN
[6859:6859:0116/020905.637038:ERROR:arc_service_manager.cc(74)] Named service arc::ArcIntentHelperBridge not found
BrowserTestBase received signal: Segmentation fault. Backtrace:
#0 0x0000033513ce base::debug::StackTrace::StackTrace()
#1 0x0000039e6e36 content::(anonymous namespace)::DumpStackTraceSignalHandler()
#2 0x7f2f1e7670b0 <unknown>
#3 0x0000019e2e16 chromeos::ProfileHelper::GetUserByProfile()
#4 0x0000019e36bc chromeos::ProfileHelper::IsPrimaryProfile()
#5 0x0000017b9dc1 arc::ArcSessionManager::IsAllowedForProfile()
#6 0x00000185c51a file_manager::VolumeManager::Shutdown()
#7 0x000005013e1c DependencyManager::DestroyContextServices()
#8 0x00000354b985 ProfileImpl::~ProfileImpl()
#9 0x00000354bbe9 ProfileImpl::~ProfileImpl()
#10 0x000003775548 ProfileDestroyer::DestroyProfileWhenAppropriate()
#11 0x00000356714b linked_ptr<>::~linked_ptr()
#12 0x00000356775d std::_Rb_tree<>::_M_erase()
#13 0x0000035676b4 ProfileManager::~ProfileManager()
#14 0x00000355f0c9 ProfileManager::~ProfileManager()
#15 0x00000372edb6 BrowserProcessImpl::StartTearDown()
#16 0x00000345fd99 ChromeBrowserMainParts::PostMainMessageLoopRun()
#17 0x000001809c70 chromeos::ChromeBrowserMainPartsChromeos::PostMainMessageLoopRun()
#18 0x0000029165f8 content::BrowserMainLoop::ShutdownThreadsAndCleanUp()
#19 0x000002919967 content::BrowserMainRunnerImpl::Shutdown()
#20 0x000002911549 content::BrowserMain()
#21 0x0000032fc40c content::ContentMainRunnerImpl::Run()
#22 0x0000032faf00 content::ContentMain()
#23 0x0000039e6537 content::BrowserTestBase::SetUp()
#24 0x00000341bb6a InProcessBrowserTest::SetUp()
#25 0x000004165178 testing::Test::Run()
#26 0x000004166080 testing::TestInfo::Run()
#27 0x000004166517 testing::TestCase::Run()
#28 0x00000416d7d7 testing::internal::UnitTestImpl::RunAllTests()
#29 0x00000416d3ea testing::UnitTest::Run()
#30 0x00000342f371 base::TestSuite::Run()
#31 0x000003344f4b ChromeTestSuiteRunner::RunTestSuite()
#32 0x000003a13799 content::LaunchTests()
#33 0x0000033434a1 main
#34 0x7f2f1e7527ed __libc_start_main
#35 0x0000006371f1 <unknown>

Comment 3 by meade@chromium.org, Jan 17 2017

Cc: derat@chromium.org
Labels: -Sheriff-Chromium
Owner: hidehiko@chromium.org
Status: Assigned (was: Untriaged)
https://codereview.chromium.org/2634113003

Assigning to test authors for followup.
Project Member

Comment 4 by bugdroid1@chromium.org, Jan 17 2017

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

commit 5f6b492a4b74474b7f481c92d6d8687e9b16438b
Author: meade <meade@chromium.org>
Date: Tue Jan 17 03:45:46 2017

Disable ArcSessionManagerTest.ManagedAndroidAccount on CROS due to intermittent segfault

BUG= 681547 
TBR=hidehiko@chromium.org

Review-Url: https://codereview.chromium.org/2634113003
Cr-Commit-Position: refs/heads/master@{#443984}

[modify] https://crrev.com/5f6b492a4b74474b7f481c92d6d8687e9b16438b/chrome/browser/chromeos/arc/arc_session_manager_browsertest.cc

Cc: lhchavez@chromium.org yusukes@chromium.org
Status: Started (was: Assigned)
FYI: +CC: more OWNERs
Looking...
Cc: nya@chromium.org
The stack trace tells us that https://codereview.chromium.org/2639483003/ fixes the flakiness.
I'll re-enable the tests in working hours in my TZ, tomorrow.
Status: Fixed (was: Started)

Sign in to add a comment