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

Issue 629133 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Jul 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

platform_FilePerms: Test fails if executed after user has logged in

Project Member Reported by norvez@chromium.org, Jul 18 2016

Issue description

If the test is run on an ARC++ setup after the user has logged in/out it will fail:

ERROR|platform_FilePerms:0283| No expectations entry for "/run/arc/obb"

This happens when we try to run the smoke test suite because previous tests have logged in.

After login/logout, here's what the mount options of "/run/arc/obb" look like:
localhost ~ # mount |grep obb
tmpfs on /run/arc/obb type tmpfs (ro,nosuid,nodev,noexec,relatime,seclabel,mode=755)
localhost ~ # 


 
Project Member

Comment 1 by bugdroid1@chromium.org, Jul 19 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/7164cfb64fe33c0dab0946caa354d446647f3ff9

commit 7164cfb64fe33c0dab0946caa354d446647f3ff9
Author: Nicolas Norvez <norvez@google.com>
Date: Mon Jul 18 17:44:20 2016

platform_FilePerms: add OBB mount info

Set mount info for OBB which remains mounted after a user has
logged in and out. That happens when the test is not run
individually but as part of the smoke test suite where
previous tests have logged in and out. Similar to CL:361310

Test checks that OBB is mounted ro,nosuid,nodev,noexec,mode=755

BUG= chromium:629133 
TEST=Ran manually on cyan-cheets machine and VM

Change-Id: I2579f6dc3d7b3865f8005d7bec2b8d7beaea8393
Reviewed-on: https://chromium-review.googlesource.com/361690
Commit-Ready: Nicolas Norvez <norvez@chromium.org>
Tested-by: Nicolas Norvez <norvez@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>

[modify] https://crrev.com/7164cfb64fe33c0dab0946caa354d446647f3ff9/client/site_tests/platform_FilePerms/platform_FilePerms.py

Comment 2 by norvez@chromium.org, Jul 20 2016

Status: Fixed (was: Started)
Labels: VerifyIn-54
Status: Verified (was: Fixed)
bulk verified

Sign in to add a comment