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

Issue 656875 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Logspam on startup (services/catalog/entry.cc)

Project Member Reported by mgiuca@chromium.org, Oct 18 2016

Issue description

Version: 56 (r425599)
OS: Linux

What steps will reproduce the problem?
(1) Run Chrome from command line.

What is the expected output?
No logspam.

What do you see instead?
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:views_examples
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:filesystem
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:connect_test_singleton_app
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:shell_unittest
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:connect_test_a
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:video_capture
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:connect_unittests
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:touch_hud
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:lifecycle_unittest_parent
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:shutdown_service
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:leveldb
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:mus_gpu_unittests_app
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:lifecycle_unittest
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:shutdown_unittest
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:mash_init
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:ash
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:ash_sysui
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:webtest
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:quick_launch
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:test_wm
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:mus_demo
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:shutdown_client
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:mus_ws_unittests_app
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:screenlock
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:browser
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for exe:video_capture_unittests
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:mash_session
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:app_driver
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:catalog_viewer
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:window_type_launcher
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:login
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:connect_test_class_app
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:connect_test_app
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:connect_test_a
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:task_viewer
[14489:14518:1018/145339:ERROR:entry.cc(76)] Entry::Deserialize: required entry must be a list.
[14489:14518:1018/145339:ERROR:entry.cc(194)] Entry::Deserialize: failed to build capability spec for mojo:user

These logs were added in 2016-04-27 (https://codereview.chromium.org/1916183004) by ben@. The logs just started happening in the past few days, so those lines aren't the culprit but are the best clue I have.
 
This seems to be fixed now, but has been replaced by a new error:
[4680:5552:1107/163559:4298482:ERROR:entry.cc(168)] Entry::Deserialize: dictionary has no interface_provider_specs key

Comment 2 by mkwst@chromium.org, Nov 10 2016

ben@: As in  issue 664154 , can we make the `LOG()`s in this file `DLOG()`s? It's pretty disruptive when checking layout tests locally via `content_shell`.

Comment 3 by mkwst@chromium.org, Nov 10 2016

Ugh. I typed `DLOG` in both bugs; I meant `VLOG` (as DLOG doesn't help folks who run with DCHECK on). Uploaded https://codereview.chromium.org/2495523002 for review.
I've been seeing this for a while and decided to file a bug when I found this. Is https://codereview.chromium.org/2495523002 abandoned?
Cc: mkwst@chromium.org
Does this have something to do with services that have been removed, but still  have an out/Release/Packages/$SERVICE/manifest.json file lingering from a prior build?

Example service names this happens with:
* service:shell
* mojo:ash_sysui
* mojo:user

ash_sysui is easy to grep for, it was removed in 15156bf (+mkwst)


My manifest.json files for each of those packages look like this:


% cat out_cros/Release/Packages/user/manifest.json
{"display_name": "User Service", "capabilities": {"required": {"*": {"classes": ["app"]}}}, "process-group": "browser", "name": "mojo:user", "manifest_version": 1}

% cat out_cros/Release/Packages/shell/manifest.json
{"capabilities": {"provided": {"shell:block_wildcard": [], "shell:user_id": [], "shell:instance_name": [], "shell:all_users": [], "shell:client_process": [], "shell:explicit_class": []}, "required": {"service:shell": {"classes": ["shell:all_users"]}}}, "display_name": "Service Manager", "name": "service:shell", "manifest_version": 1}

% cat out_cros/Release/Packages/ash_sysui/manifest.json
{"capabilities": {"required": {"*": {"classes": ["app"]}, "exe:chrome": {"interfaces": ["ash::sysui::mojom::WallpaperManager"], "classes": ["app_list:presenter"]}, "mojo:ash": {"interfaces": ["ash::mojom::ShelfLayout", "ash::mojom::UserWindowController"]}}}, "display_name": "System UI", "name": "mojo:ash_sysui", "manifest_version": 1}
Status: Assigned (was: Untriaged)

Sign in to add a comment