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

Issue 810738 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 5
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: ----



Sign in to add a comment

DownloadNotificationTest.DownloadImageFile in mus_browser_tests failing on chromium.memory/Linux Chromium OS ASan LSan Tests (1)

Project Member Reported by sheriff-...@appspot.gserviceaccount.com, Feb 9 2018

Issue description

Comment 1 by olka@chromium.org, Feb 9 2018

Components: MUS
Labels: OS-Chrome
Example failure:

https://uberchromegw.corp.google.com/i/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/builds/26089

 RUN      ] DownloadNotificationTest.DownloadImageFile
[11982:11982:0209/042709.271653:WARNING:chrome_browser_main_chromeos.cc(595)] Running as stub user with profile dir: test-user
[11982:12113:0209/042711.730755:ERROR:logging_chrome.cc(218)] Unable to create symlink /b/s/w/itEdEigZ/.org.chromium.Chromium.07t2LA/dlmW4mf/test-user/chrome_debug.log pointing at /b/s/w/itEdEigZ/.org.chromium.Chromium.07t2LA/dlmW4mf/test-user/chrome_debug_20180209-042711: No such file or directory (2)
[11982:11982:0209/042712.381001:WARNING:user_session_manager.cc(1044)] Attempting to save user password for non enterprise user.
[11982:11982:0209/042713.882855:ERROR:network_type_pattern.cc(134)] NetworkTypePattern: wifi: Can not match empty type.
[11982:11982:0209/042713.884831:ERROR:network_type_pattern.cc(134)] NetworkTypePattern: wifi: Can not match empty type.
[11982:11982:0209/042713.888299:ERROR:network_type_pattern.cc(134)] NetworkTypePattern: wifi: Can not match empty type.
[11982:11982:0209/042713.888968:ERROR:network_type_pattern.cc(134)] NetworkTypePattern: wifi: Can not match empty type.
[11982:11982:0209/042714.950926:ERROR:wallpaper_controller.cc(1247)] User is ephemeral or guest! Fallback to default wallpaper.
[11982:12118:0209/042716.092298:WARNING:simple_synchronous_entry.cc(1232)] Could not open platform files for entry.
[11982:11982:0209/042716.299209:ERROR:in_progress_cache_impl.cc(189)] Cache is not initialized, cannot RetrieveEntry.
[11982:11982:0209/042716.299283:ERROR:in_progress_cache_impl.cc(173)] Cache is not initialized, cannot AddOrReplaceEntry.
[11982:11982:0209/042716.299855:ERROR:in_progress_cache_impl.cc(189)] Cache is not initialized, cannot RetrieveEntry.
[11982:11982:0209/042716.455729:ERROR:in_progress_cache_impl.cc(198)] Cache is not initialized, cannot RemoveEntry.
[11982:11982:0209/042716.457202:ERROR:in_progress_cache_impl.cc(189)] Cache is not initialized, cannot RetrieveEntry.
BrowserTestBase received signal: Terminated. Backtrace:
#0 0x00000092a761 (/b/s/w/ir/out/Release/browser_tests+0x92a760)
#1 0x00000ddab1ac (/b/s/w/ir/out/Release/browser_tests+0xddab1ab)
#2 0x00000f502ee6 (/b/s/w/ir/out/Release/browser_tests+0xf502ee5)
#3 0x7fe0ddae2cb0 (/lib/x86_64-linux-gnu/libc-2.19.so+0x36caf)
#4 0x7fe0ddbaa693 (/lib/x86_64-linux-gnu/libc-2.19.so+0xfe692)
#5 0x00001172ff3d (/b/s/w/ir/out/Release/browser_tests+0x1172ff3c)
#6 0x0000117283aa (/b/s/w/ir/out/Release/browser_tests+0x117283a9)
#7 0x00000de30be5 (/b/s/w/ir/out/Release/browser_tests+0xde30be4)
#8 0x00000de262c8 (/b/s/w/ir/out/Release/browser_tests+0xde262c7)
#9 0x00000dec966e (/b/s/w/ir/out/Release/browser_tests+0xdec966d)
#10 0x0000042d9ff9 (/b/s/w/ir/out/Release/browser_tests+0x42d9ff8)
#11 0x0000042b40ab (/b/s/w/ir/out/Release/browser_tests+0x42b40aa)
#12 0x00000f5026bf (/b/s/w/ir/out/Release/browser_tests+0xf5026be)
#13 0x00000e21a409 (/b/s/w/ir/out/Release/browser_tests+0xe21a408)
#14 0x00000e2174c6 (/b/s/w/ir/out/Release/browser_tests+0xe2174c5)
#15 0x000004d7761d (/b/s/w/ir/out/Release/browser_tests+0x4d7761c)
#16 0x0000082c4f98 (/b/s/w/ir/out/Release/browser_tests+0x82c4f97)
#17 0x000009381f78 (/b/s/w/ir/out/Release/browser_tests+0x9381f77)
#18 0x0000082bfeec (/b/s/w/ir/out/Release/browser_tests+0x82bfeeb)
#19 0x0000082ce8af (/b/s/w/ir/out/Release/browser_tests+0x82ce8ae)
#20 0x0000082b8d50 (/b/s/w/ir/out/Release/browser_tests+0x82b8d4f)
#21 0x00000dad35fc (/b/s/w/ir/out/Release/browser_tests+0xdad35fb)
#22 0x00000dad6bf4 (/b/s/w/ir/out/Release/browser_tests+0xdad6bf3)
#23 0x000015646a38 (/b/s/w/ir/out/Release/browser_tests+0x15646a37)
#24 0x00000dad1add (/b/s/w/ir/out/Release/browser_tests+0xdad1adc)
#25 0x00000f5014fd (/b/s/w/ir/out/Release/browser_tests+0xf5014fc)
#26 0x00000e111f11 (/b/s/w/ir/out/Release/browser_tests+0xe111f10)
#27 0x0000059d14dd (/b/s/w/ir/out/Release/browser_tests+0x59d14dc)
#28 0x0000059d3705 (/b/s/w/ir/out/Release/browser_tests+0x59d3704)
#29 0x0000059d4a67 (/b/s/w/ir/out/Release/browser_tests+0x59d4a66)
#30 0x0000059ed287 (/b/s/w/ir/out/Release/browser_tests+0x59ed286)
#31 0x0000059ec7c9 (/b/s/w/ir/out/Release/browser_tests+0x59ec7c8)
#32 0x00000e15ce0c (/b/s/w/ir/out/Release/browser_tests+0xe15ce0b)
#33 0x00000dd7b211 (/b/s/w/ir/out/Release/browser_tests+0xdd7b210)
#34 0x00000dd7ae7e (/b/s/w/ir/out/Release/browser_tests+0xdd7ae7d)
#35 0x00000f6060ea (/b/s/w/ir/out/Release/browser_tests+0xf6060e9)
#36 0x00000dd7c03a (/b/s/w/ir/out/Release/browser_tests+0xdd7c039)
#37 0x00000dd7a7f1 (/b/s/w/ir/out/Release/browser_tests+0xdd7a7f0)
#38 0x00000dd7a4b2 (/b/s/w/ir/out/Release/browser_tests+0xdd7a4b1)
#39 0x7fe0ddacdf45 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21f44)
#40 0x0000008df82a (/b/s/w/ir/out/Release/browser_tests+0x8df829)
[0209/122807.609573:ERROR:nacl_helper_linux.cc(310)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly
[0209/042807.609617:ERROR:nacl_helper_linux.cc(310)] NaCl helper process running without a sandbox!
Most likely you need to configure your SUID sandbox correctly

Comment 2 by olka@chromium.org, Feb 9 2018

Cc: dtrainor@chromium.org
Components: -MUS UI>Browser>Downloads

Comment 3 by olka@chromium.org, Feb 9 2018


Another failure (with symbols)
Biuld: https://ci.chromium.org/buildbot/chromium.chromiumos/linux-chromeos-rel/5032
Log: https://logs.chromium.org/v/?s=chromium%2Fbb%2Fchromium.chromiumos%2Flinux-chromeos-rel%2F5032%2F%2B%2Frecipes%2Fsteps%2Fmus_browser_tests%2F0%2Fstdout

[ RUN      ] DownloadNotificationTest.DownloadImageFile
[31405:31405:0207/120258.133931:WARNING:chrome_browser_main_chromeos.cc(595)] Running as stub user with profile dir: test-user
[31405:31405:0207/120259.105031:WARNING:statistics_provider.cc(285)] Statistics loaded after waiting 33ms.
[31405:31405:0207/120259.248437:WARNING:user_session_manager.cc(1044)] Attempting to save user password for non enterprise user.
[31405:31405:0207/120259.346925:ERROR:network_type_pattern.cc(134)] NetworkTypePattern: wifi: Can not match empty type.
[31405:31405:0207/120259.347027:ERROR:network_type_pattern.cc(134)] NetworkTypePattern: wifi: Can not match empty type.
[31405:31405:0207/120259.347114:ERROR:network_type_pattern.cc(134)] NetworkTypePattern: wifi: Can not match empty type.
[31405:31405:0207/120259.347146:ERROR:network_type_pattern.cc(134)] NetworkTypePattern: wifi: Can not match empty type.
[31405:31405:0207/120259.503502:ERROR:wallpaper_controller.cc(1259)] User is ephemeral or guest! Fallback to default wallpaper.
[31405:31405:0207/120259.602322:ERROR:in_progress_cache_impl.cc(189)] Cache is not initialized, cannot RetrieveEntry.
[31405:31405:0207/120259.602345:ERROR:in_progress_cache_impl.cc(173)] Cache is not initialized, cannot AddOrReplaceEntry.
[31405:31405:0207/120259.602513:ERROR:in_progress_cache_impl.cc(189)] Cache is not initialized, cannot RetrieveEntry.
[31405:31405:0207/120259.606157:ERROR:in_progress_cache_impl.cc(198)] Cache is not initialized, cannot RemoveEntry.
[31405:31405:0207/120259.606373:ERROR:in_progress_cache_impl.cc(189)] Cache is not initialized, cannot RetrieveEntry.
BrowserTestBase received signal: Terminated. Backtrace:
#0 0x0000033f6f5c base::debug::StackTrace::StackTrace()
#1 0x0000038e6ce2 content::(anonymous namespace)::DumpStackTraceSignalHandler()
#2 0x7faee9664cb0 <unknown>
#3 0x7faee972c6d3 epoll_wait
#4 0x00000402313d epoll_dispatch
#5 0x000004020c1d event_base_loop
#6 0x000003410e04 base::MessagePumpLibevent::Run()
#7 0x000003430305 base::RunLoop::Run()
#8 0x0000015480b1 (anonymous namespace)::WaitForDownloadNotificationForDisplayService()
#9 0x00000153cfe0 DownloadNotificationTest_DownloadImageFile_Test::RunTestOnMainThread()
#10 0x0000038e6a3f content::BrowserTestBase::ProxyRunTestOnMainThreadLoop()
#11 0x0000034effb4 ChromeBrowserMainParts::PreMainMessageLoopRunImpl()
#12 0x0000034eef2d ChromeBrowserMainParts::PreMainMessageLoopRun()
#13 0x0000018e14f5 chromeos::ChromeBrowserMainPartsChromeos::PreMainMessageLoopRun()
#14 0x000002324801 content::BrowserMainLoop::PreMainMessageLoopRun()
#15 0x000002652f57 content::StartupTaskRunner::RunAllTasksNow()
#16 0x000002322eaa content::BrowserMainLoop::CreateStartupTasks()
#17 0x000002326d63 content::BrowserMainRunnerImpl::Initialize()
#18 0x000002320c84 content::BrowserMain()
#19 0x0000033ce136 content::ContentMainRunnerImpl::Run()
#20 0x0000050f8336 service_manager::Main()
#21 0x0000033ccd84 content::ContentMain()
#22 0x0000038e670d content::BrowserTestBase::SetUp()
#23 0x0000034b1f42 InProcessBrowserTest::SetUp()
#24 0x000001bc96a1 testing::Test::Run()
#25 0x000001bca270 testing::TestInfo::Run()
#26 0x000001bca757 testing::TestCase::Run()
#27 0x000001bd1c87 testing::internal::UnitTestImpl::RunAllTests()
#28 0x000001bd18d7 testing::UnitTest::Run()
#29 0x0000034c4d52 base::TestSuite::Run()
#30 0x0000033ecbf9 ChromeTestSuiteRunner::RunTestSuite()
#31 0x0000033ecb70 (anonymous namespace)::MusTestLauncherDelegate::RunTestSuite()
#32 0x000003916390 content::LaunchTests()
#33 0x0000033ed0c4 LaunchChromeTests()
#34 0x0000033ec906 RunMashBrowserTests()
#35 0x0000033ec7b7 main
#36 0x7faee964ff45 __libc_start_main
#37 0x0000005c8eda _start
[592/864] DownloadNotificationTest.DownloadImageFile (TIMED OUT)

Comment 4 by olka@chromium.org, Feb 9 2018

Cc: peter@chromium.org
Owner: est...@chromium.org
Possible same root cause as Issue 810302?

Comment 5 by olka@chromium.org, Feb 9 2018

Status: Assigned (was: Available)
Project Member

Comment 7 by bugdroid1@chromium.org, Feb 9 2018

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

commit d3cffb9585a094d4382776fed0652da221dc31d2
Author: Olga Sharonova <olka@chromium.org>
Date: Fri Feb 09 16:05:13 2018

Disabling DownloadNotificationTest.DownloadImageFile: flaky on ChromeOS

TBR=peter@chromium.org, dtrainor@chromium.org

Bug:  810738 
Change-Id: I00616295cc17e72ed6763eab3aac1c8aa9ae6794
Reviewed-on: https://chromium-review.googlesource.com/911569
Commit-Queue: Olga Sharonova <olka@chromium.org>
Reviewed-by: Olga Sharonova <olka@chromium.org>
Cr-Commit-Position: refs/heads/master@{#535726}
[modify] https://crrev.com/d3cffb9585a094d4382776fed0652da221dc31d2/chrome/browser/download/notification/download_notification_browsertest.cc

Comment 8 by olka@chromium.org, Feb 9 2018

Labels: -Sheriff-Chromium Test-Disabled
@estade can you ptal as this disable reduces test coverage?
Project Member

Comment 10 by bugdroid1@chromium.org, Mar 2 2018

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

commit 28322d7a97eb3e7d757e4dbca01681a2230f1853
Author: Evan Stade <estade@chromium.org>
Date: Fri Mar 02 00:06:26 2018

Download notification tests: browser tests => interactive ui tests

Also, re-enable the tests which had been identified as flaky.

Bug:  810738 , 810302
Change-Id: Ieafb9a09450f4a3a61f2e1e14d40dc93366a875d
Reviewed-on: https://chromium-review.googlesource.com/938362
Reviewed-by: David Trainor <dtrainor@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: Evan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#540358}
[rename] https://crrev.com/28322d7a97eb3e7d757e4dbca01681a2230f1853/chrome/browser/download/notification/download_notification_interactive_uitest.cc
[modify] https://crrev.com/28322d7a97eb3e7d757e4dbca01681a2230f1853/chrome/test/BUILD.gn

Project Member

Comment 11 by bugdroid1@chromium.org, Mar 9 2018

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

commit 0816757edbe7e9d5ef98e6b7d1585d82e41a5844
Author: Evan Stade <estade@chromium.org>
Date: Fri Mar 09 03:24:16 2018

[Chrome OS] Fixes for download shutdown path.

a) if a dangerous download is cancelled, don't try to update it (with
a potentially half-destroyed profile). Like other notification types,
just close and return.

b) make the download service depend on the NotificationDisplayService.

Bug: 810302,  810738 ,  578868 
Change-Id: Ibc3080510e128954e233485606d8de520b72a97c
Reviewed-on: https://chromium-review.googlesource.com/956087
Commit-Queue: Evan Stade <estade@chromium.org>
Reviewed-by: David Trainor <dtrainor@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542010}
[modify] https://crrev.com/0816757edbe7e9d5ef98e6b7d1585d82e41a5844/chrome/browser/download/download_core_service_factory.cc
[modify] https://crrev.com/0816757edbe7e9d5ef98e6b7d1585d82e41a5844/chrome/browser/download/notification/download_item_notification.cc

Cc: linds...@chromium.org
Labels: Hotlist-DisableReview
@estade Thanks for checking! Is this good to mark as fixed now?
I re-enabled one test (see bug 810302 ) but I can't tell if it's no longer flaky or just not running or I'm just not reading the dashboard right.
Status: Fixed (was: Assigned)

Sign in to add a comment