New issue
Advanced search Search tips

Issue 822029 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug


Participants' hotlists:
media-router-fixit


Sign in to add a comment

[Media Router] MediaRouterIntegrationBrowserTest.OpenLocalMediaFileFullscreen is failing in msan builds

Project Member Reported by mfo...@chromium.org, Mar 14 2018

Issue description

Findit (https://goo.gl/kROfz5) identified CL at revision 543005 as the
culprit for failures in the build cycles as shown on:
https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3ItbWVyRAsSDVdmU3VzcGVjdGVkQ0wiMWNocm9taXVtL2FhNTdmZTZkYzk2YjQwYTU4YWNjMWVkNmMyNjhmNDdhODgxYjU5MGUM

Sample Failed Build: https://ci.chromium.org/buildbot/chromium.memory/Linux%20MSan%20Tests/8508

Sample Failed Step: browser_tests

----

[ RUN      ] MediaRouterIntegrationBrowserTest.OpenLocalMediaFileFullscreen
Xlib:  extension "RANDR" missing on display ":99".
Fontconfig warning: "/etc/fonts/fonts.conf", line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf
[3237:3304:0313/234752.399135: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")
[3237:3237:0313/234752.440569:WARNING:password_store_factory.cc(240)] 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:3237): LIBDBUSMENU-GLIB-WARNING **: Unable to get session bus: Unknown or unsupported transport 'disabled' for address 'disabled:'
[3237:3237:0313/234755.464322:INFO:CONSOLE(9463)] "[  1.163][INFO][mr.Init] MR instance ID: 3fe04d8b-bb7a-4d33-9cc7-596d3297cbef
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234755.509108:INFO:CONSOLE(9463)] "[  1.216][INFO][mr.PersistentDataManager] initialize: 0 chars used, 31 other chars
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234755.577771:INFO:CONSOLE(9463)] "[  1.285][INFO][mr.DialProvider] Dial sink query enabled: true...
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234757.546522:INFO:CONSOLE(9466)] "[  3.256][FINE][mr.DialProvider] GetAvailableSinks for urn:x-org.chromium.media:source:desktop
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9466)
[3237:3237:0313/234757.566238:INFO:CONSOLE(9466)] "[  3.276][FINE][mr.dial.PresentationUrl] Unhandled protocol: urn:
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9466)
[3237:3237:0313/234757.586328:INFO:CONSOLE(9463)] "[  3.296][INFO][mr.TestProvider] getAvailableSinks : {"urn:x-org.chromium.media:source:tab:0":[{"friendlyName":"test-sink-1","id":"id1"},{"friendlyName":"test-sink-2","id":"id2"}]}
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234757.604379:INFO:CONSOLE(9463)] "[  3.316][INFO][mr.ProviderManager] Sending 0 sinks to MR for urn:x-org.chromium.media:source:desktop
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234757.685567:INFO:CONSOLE(9466)] "[  3.396][FINE][mr.dial.PresentationUrl] Unhandled protocol: urn:
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9466)
[3237:3237:0313/234757.702683:INFO:CONSOLE(9466)] "[  3.413][FINE][mr.DialProvider] GetAvailableSinks for urn:x-org.chromium.media:source:desktop
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9466)
[3237:3237:0313/234757.720577:INFO:CONSOLE(9466)] "[  3.431][FINE][mr.dial.PresentationUrl] Unhandled protocol: urn:
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9466)
[3237:3237:0313/234757.738726:INFO:CONSOLE(9463)] "[  3.449][INFO][mr.TestProvider] getAvailableSinks : {"urn:x-org.chromium.media:source:tab:0":[{"friendlyName":"test-sink-1","id":"id1"},{"friendlyName":"test-sink-2","id":"id2"}]}
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234757.755914:INFO:CONSOLE(9463)] "[  3.467][INFO][mr.ProviderManager] Sending 0 sinks to MR for urn:x-org.chromium.media:source:desktop
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234757.851605:INFO:CONSOLE(9466)] "[  3.547][FINE][mr.dial.PresentationUrl] Unhandled protocol: urn:
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9466)
[3237:3237:0313/234757.877165:INFO:CONSOLE(9466)] "[  3.583][FINE][mr.DialProvider] GetAvailableSinks for urn:x-org.chromium.media:source:tab:0
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9466)
[3237:3237:0313/234757.900830:INFO:CONSOLE(9466)] "[  3.608][FINE][mr.dial.PresentationUrl] Unhandled protocol: urn:
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9466)
[3237:3237:0313/234757.926568:INFO:CONSOLE(9463)] "[  3.632][INFO][mr.TestProvider] getAvailableSinks : {"urn:x-org.chromium.media:source:tab:0":[{"friendlyName":"test-sink-1","id":"id1"},{"friendlyName":"test-sink-2","id":"id2"}]}
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234757.959080:INFO:CONSOLE(9463)] "[  3.665][INFO][mr.ProviderManager] Sending 2 sinks to MR for urn:x-org.chromium.media:source:tab:0
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234758.114465:INFO:CONSOLE(9466)] "[  3.825][FINE][mr.dial.PresentationUrl] Unhandled protocol: urn:
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9466)
[3237:3237:0313/234758.138507:INFO:CONSOLE(9466)] "[  3.845][FINE][mr.DialProvider] GetAvailableSinks for urn:x-org.chromium.media:source:tab:2
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9466)
[3237:3237:0313/234758.163492:INFO:CONSOLE(9466)] "[  3.869][FINE][mr.dial.PresentationUrl] Unhandled protocol: urn:
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9466)
[3237:3237:0313/234758.188653:INFO:CONSOLE(9463)] "[  3.894][INFO][mr.TestProvider] getAvailableSinks : {"urn:x-org.chromium.media:source:tab:0":[{"friendlyName":"test-sink-1","id":"id1"},{"friendlyName":"test-sink-2","id":"id2"}]}
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234758.210943:INFO:CONSOLE(9463)] "[  3.919][INFO][mr.ProviderManager] Sending 0 sinks to MR for urn:x-org.chromium.media:source:tab:2
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234758.694925:WARNING:CONSOLE(0)] "Styling master document from stylesheets defined in HTML Imports is deprecated, and is planned to be removed in M67, around May 2018. Please refer to https://goo.gl/EGXzpw for possible migration paths.", source:  (0)
[3237:3237:0313/234806.247293:INFO:CONSOLE(9463)] "[ 11.954][INFO][mr.PersistentDataManager] onSuspend
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234823.783359:INFO:CONSOLE(9463)] "[  1.557][INFO][mr.Init] MR instance ID: 3fe04d8b-bb7a-4d33-9cc7-596d3297cbef
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234823.831988:INFO:CONSOLE(9463)] "[  1.607][INFO][mr.PersistentDataManager] initialize: 3447 chars used, 246 other chars
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
[3237:3237:0313/234823.929280:INFO:CONSOLE(9463)] "[  1.703][INFO][mr.DialProvider] Dial sink query enabled: true...
", source: chrome-extension://enhhojjnijigcajfphajepfemndkmdlo/mirroring_common.js (9463)
../../chrome/test/media_router/media_router_integration_browsertest.cc:775: Failure
Value of: web_contents->GetDelegate()->IsFullscreenForTabOrPending(web_contents)
  Actual: false
Expected: true
LaunchProcess: failed to execvp:
xdg-desktop-menu
[  FAILED  ] MediaRouterIntegrationBrowserTest.OpenLocalMediaFileFullscreen, where TypeParam =  and GetParam() =  (37878 ms)

 
Project Member

Comment 1 by bugdroid1@chromium.org, Mar 14 2018

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

commit 8cb5314ca50681891031d7ddd4d6e54b8bed04ae
Author: mark a. foltz <mfoltz@chromium.org>
Date: Wed Mar 14 23:58:19 2018

Reland "[Media Router] Converts integration tests to run on Chromium waterfall."

This is a reland of aa57fe6dc96b40a58acc1ed6c268f47a881b590e

Original change's description:
> [Media Router] Converts integration tests to run on Chromium waterfall.
>
> This updates the Media Router integration tests so they run in the
> Chromium waterfall with the open source Media Router component
> extension and its mock (test) Media Route Provider.
>
> Additional changes:
>
> - Removes extension from top level BUILD.gn as it is only used for
>   browser tests at the moment.
> - Splits the targets for Media Router browser tests into integration tests
>   (part of main browser_tests suite), e2e tests (which require the
>   external component extension), perf tests, and shared support code.
> - Renames the "test" extension to the "telemetry" extension used for perf
>   tests to avoid confusion.
> - Updates README files
> - One test is not compatible with the Chromium component and need
>   to be fixed.  Bugs  818767  filed for follow-up.
>
> Bug:  698796 
> Change-Id: I6cc9302ffd72de95630ce33ca3617b3b73b9e722
> Reviewed-on: https://chromium-review.googlesource.com/917214
> Commit-Queue: mark a. foltz <mfoltz@chromium.org>
> Reviewed-by: Scott Violet <sky@chromium.org>
> Reviewed-by: Derek Cheng <imcheng@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#543005}

TBR=cliffordcheng, imcheng, jrw, sky

Bug:  698796 ,822029,  821717 
Change-Id: Ie5c2fdc9a838dec2906a73f7827fa6ceafdcce1b
Reviewed-on: https://chromium-review.googlesource.com/963064
Commit-Queue: mark a. foltz <mfoltz@chromium.org>
Reviewed-by: mark a. foltz <mfoltz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543242}
[modify] https://crrev.com/8cb5314ca50681891031d7ddd4d6e54b8bed04ae/BUILD.gn
[modify] https://crrev.com/8cb5314ca50681891031d7ddd4d6e54b8bed04ae/chrome/test/BUILD.gn
[modify] https://crrev.com/8cb5314ca50681891031d7ddd4d6e54b8bed04ae/chrome/test/media_router/BUILD.gn
[modify] https://crrev.com/8cb5314ca50681891031d7ddd4d6e54b8bed04ae/chrome/test/media_router/README.md
[modify] https://crrev.com/8cb5314ca50681891031d7ddd4d6e54b8bed04ae/chrome/test/media_router/media_router_base_browsertest.cc
[modify] https://crrev.com/8cb5314ca50681891031d7ddd4d6e54b8bed04ae/chrome/test/media_router/media_router_integration_browsertest.cc
[modify] https://crrev.com/8cb5314ca50681891031d7ddd4d6e54b8bed04ae/chrome/test/media_router/media_router_integration_ui_browsertest.cc
[modify] https://crrev.com/8cb5314ca50681891031d7ddd4d6e54b8bed04ae/chrome/test/media_router/media_router_one_ua_integration_browsertest.cc
[modify] https://crrev.com/8cb5314ca50681891031d7ddd4d6e54b8bed04ae/chrome/test/media_router/telemetry/README.md
[modify] https://crrev.com/8cb5314ca50681891031d7ddd4d6e54b8bed04ae/chrome/test/media_router/telemetry/benchmarks/media_router_benchmark.py
[modify] https://crrev.com/8cb5314ca50681891031d7ddd4d6e54b8bed04ae/chrome/test/media_router/telemetry/extension/README.md
[modify] https://crrev.com/8cb5314ca50681891031d7ddd4d6e54b8bed04ae/testing/buildbot/filters/mash.browser_tests.filter
[modify] https://crrev.com/8cb5314ca50681891031d7ddd4d6e54b8bed04ae/testing/buildbot/gn_isolate_map.pyl

Labels: -Pri-3 Pri-2
Owner: amp@chromium.org
Status: Assigned (was: Untriaged)

Comment 3 by amp@chromium.org, Mar 22 2018

Status: Started (was: Assigned)
I tried running the reproduce script for this (noted below), but I get errors about libjpeg.so missing
python swarming.py reproduce -S chromium-swarm.appspot.com 3c3c04552eee1c10

I'll try to do a local msan build and see if I can repro that way.

Comment 4 by mfo...@chromium.org, Mar 22 2018

Have you run install-build-deps.sh recently?

Comment 5 by amp@chromium.org, Mar 22 2018

Not recently. I'll try that out, as trying to do an msan build froze my machine and I had to reboot it :P

Comment 6 by amp@chromium.org, Mar 22 2018

Hmm... apparently wasn't a build deps issue.  I still see this error:
./browser_tests: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory
Error: failed to symbolize snippets in JSON:

Comment 7 by mfo...@chromium.org, Mar 22 2018

Here is where libjpeg is for me:

/usr/lib/x86_64-linux-gnu/libjpeg.so
/usr/lib/x86_64-linux-gnu/libjpeg.so.62
/usr/lib/x86_64-linux-gnu/libjpeg.so.62.2.0

You might have an alternate version of libjpeg installed than what Chromium is expecting.


Comment 8 by amp@chromium.org, Mar 23 2018

Got the same error when trying to build msan locally:
out/msan/browser_tests: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory

So I guess I need to figure out where this dependency comes from and why I don't have it.
Labels: Hotlist-DisableReview

Comment 10 by amp@chromium.org, Mar 30 2018

Labels: M-68

Comment 11 by amp@chromium.org, Apr 10 2018

Came back to this to try again after recent changes and it appears there is at least a clearer error message (but it doesn't help to repro locally):
[3618/41389] ACTION //third_party/instrumented_libraries:extract_prebuilt_instrumented_libraries(//build/toolchain/linux:clang_x64)
WARNING: unsupported distro. You need to run a Trusty Docker image. Please see https://www.chromium.org/developers/testing/memorysanitizer/
WARNING: unsupported distro. You need to run a Trusty Docker image. Please see https://www.chromium.org/developers/testing/memorysanitizer/
[41389/41389] LINK ./browser_tests

Actually trying to run the tests results in the same error as before:
out/msan/browser_tests: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory

Comment 12 by amp@chromium.org, May 17 2018

Owner: ----
Status: Available (was: Started)
Setting back to available as I'm unlikely to get to this.  Running msan builds require trusty at this point and so recommend running in a docker container.
Labels: -Pri-2 -M-68 Pri-3
Given the extra developer overhead to debug this it's unlikely we'll have the bandwidth to address it soon.

Sign in to add a comment