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

Issue 739253 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

platform_FilePerms failing on Chrome PFQ builders due to unexpected files in Android containers

Project Member Reported by derat@chromium.org, Jul 5 2017

Issue description

The platform_FilePerms test has been failing on cyan-chrome-pfq since Jul 03 20:07 (i.e. the last three runs). The building was stable for a few days before this.

From https://uberchromegw.corp.google.com/i/chromeos/builders/cyan-chrome-pfq/builds/1354:

INFO	----	----	kernel=3.18.0-15776-g5c085514518e	localtime=Jul 04 20:54:15	timestamp=1499219655	
START	----	----	timestamp=1499219657	localtime=Jul 04 20:54:17	
	START	platform_FilePerms	platform_FilePerms	timestamp=1499219657	localtime=Jul 04 20:54:17	
		FAIL	platform_FilePerms	platform_FilePerms	timestamp=1499219660	localtime=Jul 04 20:54:20	Found 22 permission errors
	END FAIL	platform_FilePerms	platform_FilePerms	timestamp=1499219660	localtime=Jul 04 20:54:20	
END GOOD	----	----	timestamp=1499219661	localtime=Jul 04 20:54:21	

Here are the errors. It looks like it's getting thrown off by a bunch of files in the Android container:

07/04 20:54:17.807 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/vendor" with info "{'device': '/dev/loop2', 'type': 'squashfs', 'options': ['ro', 'seclabel', 'nosuid', 'nodev', 'relatime']}"
07/04 20:54:17.814 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/dev/pts" with info "{'device': 'devpts', 'type': 'devpts', 'options': ['rw', 'seclabel', 'relatime', 'mode=600', 'ptmxmode=666']}"
07/04 20:54:17.820 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/dev/input" with info "{'device': 'tmpfs', 'type': 'tmpfs', 'options': ['rw', 'seclabel', 'nosuid', 'noexec', 'relatime', 'uid=655360', 'gid=655360']}"
07/04 20:54:17.826 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/dev/dri" with info "{'device': 'tmpfs', 'type': 'tmpfs', 'options': ['rw', 'seclabel', 'nosuid', 'noexec', 'relatime', 'uid=655360', 'gid=655360']}"
07/04 20:54:17.832 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/var/run/cras" with info "{'device': 'run', 'type': 'tmpfs', 'options': ['rw', 'seclabel', 'nosuid', 'nodev', 'noexec', 'relatime', 'mode=755']}"
07/04 20:54:17.838 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/dev/ptmx" with info "{'device': 'devpts', 'type': 'devpts', 'options': ['rw', 'seclabel', 'relatime', 'mode=600', 'ptmxmode=666']}"
07/04 20:54:17.843 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/dev" with info "{'device': 'tmpfs', 'type': 'tmpfs', 'options': ['rw', 'seclabel', 'nosuid', 'relatime', 'mode=755', 'uid=655360', 'gid=655360']}"
07/04 20:54:17.849 ERROR|platform_FilePerms:0337| No expectations entry for "/run/arc/oem" with info "{'device': 'tmpfs', 'type': 'tmpfs', 'options': ['rw', 'seclabel', 'nosuid', 'nodev', 'noexec', 'relatime', 'mode=755']}"
07/04 20:54:17.855 ERROR|platform_FilePerms:0337| No expectations entry for "/run/arc/media" with info "{'device': 'tmpfs', 'type': 'tmpfs', 'options': ['ro', 'seclabel', 'nosuid', 'nodev', 'noexec', 'relatime', 'mode=755', 'uid=655360', 'gid=656360']}"
07/04 20:54:17.861 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/var/run/arc/bugreport" with info "{'device': 'run', 'type': 'tmpfs', 'options': ['rw', 'seclabel', 'nosuid', 'nodev', 'noexec', 'relatime', 'mode=755']}"
07/04 20:54:17.867 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root" with info "{'device': '/dev/loop1', 'type': 'squashfs', 'options': ['ro', 'seclabel', 'relatime']}"
07/04 20:54:17.873 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/dev/kmsg" with info "{'device': '/dev/mapper/encstateful', 'type': 'ext4', 'options': ['rw', 'seclabel', 'nosuid', 'nodev', 'noexec', 'noatime', 'discard', 'commit=600', 'data=ordered']}"
07/04 20:54:17.878 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/var/run/arc" with info "{'device': 'tmpfs', 'type': 'tmpfs', 'options': ['rw', 'seclabel', 'nosuid', 'nodev', 'noexec', 'relatime', 'mode=775', 'uid=655360', 'gid=656360']}"
07/04 20:54:17.884 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/var/run/camera" with info "{'device': 'run', 'type': 'tmpfs', 'options': ['rw', 'seclabel', 'nosuid', 'nodev', 'noexec', 'relatime', 'mode=755']}"
07/04 20:54:17.890 ERROR|platform_FilePerms:0337| No expectations entry for "/run/arc/debugfs/tracing" with info "{'device': 'debugfs', 'type': 'debugfs', 'options': ['rw', 'seclabel', 'nosuid', 'nodev', 'noexec', 'relatime', 'gid=605', 'mode=750']}"
07/04 20:54:17.896 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/var/run/anr" with info "{'device': 'tmpfs', 'type': 'tmpfs', 'options': ['rw', 'seclabel', 'nosuid', 'nodev', 'noexec', 'relatime']}"
07/04 20:54:17.901 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/data" with info "{'device': '/dev/root', 'type': 'ext2', 'options': ['ro', 'seclabel', 'nosuid', 'nodev', 'relatime']}"
07/04 20:54:17.907 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/oem" with info "{'device': 'tmpfs', 'type': 'tmpfs', 'options': ['rw', 'seclabel', 'nosuid', 'nodev', 'noexec', 'relatime', 'mode=755']}"
07/04 20:54:17.913 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/cache" with info "{'device': '/dev/root', 'type': 'ext2', 'options': ['ro', 'seclabel', 'relatime']}"
07/04 20:54:17.918 ERROR|platform_FilePerms:0337| No expectations entry for "/run/arc/shared_mounts" with info "{'device': 'tmpfs', 'type': 'tmpfs', 'options': ['rw', 'seclabel', 'nosuid', 'nodev', 'noexec', 'relatime', 'mode=755']}"
07/04 20:54:17.924 ERROR|platform_FilePerms:0337| No expectations entry for "/run/containers/android_ZV8NaB/root/var/run/chrome" with info "{'device': 'run', 'type': 'tmpfs', 'options': ['rw', 'seclabel', 'nosuid', 'nodev', 'noexec', 'relatime', 'mode=755']}"
07/04 20:54:17.930 ERROR|platform_FilePerms:0337| No expectations entry for "/run/arc/sdcard" with info "{'device': 'tmpfs', 'type': 'tmpfs', 'options': ['ro', 'seclabel', 'nosuid', 'nodev', 'noexec', 'relatime', 'mode=755']}"
07/04 20:54:20.279 ERROR|          parallel:0026| child process failed

(Sorry, I'm just guessing with ownership and CCs here.)
 

Comment 1 by derat@chromium.org, Jul 5 2017

Summary: platform_FilePerms failing on Chrome PFQ builders due to unexpected files in Android containers (was: platform_FilePerms failing on cyan-chrome-pfq due to unexpected files in Android container)
This is also failing on caroline-chrome-pfq.
Cc: uekawa@chromium.org victorhsieh@chromium.org
+constables 
Status: Started (was: Assigned)
Taking a look.
This is mine. I'm reverting r483999 to unblock Chrome PFQ.

r483999 added some tmpfs + noexec mount points, but I didn't update the test expectations. I'm fixing the test but let me revert the Chromium CL first.
Project Member

Comment 5 by bugdroid1@chromium.org, Jul 5 2017

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

commit 941217867ecf1885468eee0a431d5322e4d5c3a9
Author: yusukes <yusukes@chromium.org>
Date: Wed Jul 05 08:14:26 2017

Revert "Call ArcSession::StartForLoginScreen() on login-prompt-visible"

This reverts commit cc206d3b184ccb19c3e191600d8464b99a20b1ae.

BUG= 739253 
BUG=b:32308760
TEST=test_that ipaddr platform_FilePerms

Change-Id: I3c5b1dedd2a7454137c241e08912c520256f9687
Reviewed-on: https://chromium-review.googlesource.com/558711
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Commit-Queue: Yusuke Sato <yusukes@chromium.org>
Cr-Commit-Position: refs/heads/master@{#484215}
[modify] https://crrev.com/941217867ecf1885468eee0a431d5322e4d5c3a9/components/arc/arc_session_runner.cc
[modify] https://crrev.com/941217867ecf1885468eee0a431d5322e4d5c3a9/components/arc/arc_session_runner_unittest.cc

Status: Fixed (was: Started)
Done. Chrome PFQ should cycle green.


Comment 7 by x...@chromium.org, Jul 5 2017

Note: Current Chrome PFQ hasn't picked up the change yet. 
Just checked with PM and will leave it to be picked up by tomorrow's PFQ. Will keep monitoring.

Comment 9 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment