New issue
Advanced search Search tips

Issue 898781 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 19
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

security.MountSymlink failing on guado_moblab

Project Member Reported by nya@chromium.org, Oct 25

Issue description

Owner: mnissler@chromium.org
Assigning tentatively to mnissler.

It is switched off for any builds that use LXC - and moblab uses LXC containers for server side tests.

https://cs.corp.google.com/chromeos_public/src/third_party/chromiumos-overlay/eclass/cros-kernel2.eclass?rcl=e15357a4658fde304fe3fcdd33a269fdb3e3761e&l=771
Owner: derat@chromium.org
Status: Started (was: Assigned)
Project Member

Comment 5 by bugdroid1@chromium.org, Nov 16

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/8a4fa2b4608ebe23e23600ea1f9f60e437540261

commit 8a4fa2b4608ebe23e23600ea1f9f60e437540261
Author: Daniel Erat <derat@chromium.org>
Date: Fri Nov 16 13:01:40 2018

tast-use-flags: Add lxc to IUSE.

Add the lxc USE flag to IUSE so it can be used to inform a
new no_symlink_mount feature/dependency.

BUG= chromium:898781 
TEST=none

Change-Id: If5e9ab03c980f77c29a2a471585fb1745ba2c30a
Reviewed-on: https://chromium-review.googlesource.com/1335251
Commit-Ready: Dan Erat <derat@chromium.org>
Tested-by: Dan Erat <derat@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>

[rename] https://crrev.com/8a4fa2b4608ebe23e23600ea1f9f60e437540261/chromeos-base/tast-use-flags/tast-use-flags-0.0.1-r13.ebuild
[modify] https://crrev.com/8a4fa2b4608ebe23e23600ea1f9f60e437540261/chromeos-base/tast-use-flags/tast-use-flags-0.0.1.ebuild

Project Member

Comment 6 by bugdroid1@chromium.org, Nov 16

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/tast-tests/+/20b83967c4d49be622177d568c6d63ac1a13de34

commit 20b83967c4d49be622177d568c6d63ac1a13de34
Author: Daniel Erat <derat@chromium.org>
Date: Fri Nov 16 13:01:41 2018

tast-tests: Make security.MountSymlink use no_symlink_mount.

Make the security.MountSymlink test depend on a new
no_symlink_mount feature. This is needed to avoid running on
guado_moblab (and any other boards that set the "lxc" USE
flag), which causes the
CONFIG_SECURITY_CHROMIUMOS_NO_SYMLINK_MOUNT kernel option to
be disabled.

BUG= chromium:898781 
TEST=checked that test is skipped on guado_moblab
CQ-DEPEND=Ib9f4a0a16a4ad85be0ee2d9c931fc59da3962f0d

Change-Id: Iaf74864f9510b7d241f899c25019f169bb1ab571
Reviewed-on: https://chromium-review.googlesource.com/1335175
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Dan Erat <derat@chromium.org>
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>

[modify] https://crrev.com/20b83967c4d49be622177d568c6d63ac1a13de34/src/chromiumos/tast/local/bundles/cros/security/mount_symlink.go

Project Member

Comment 7 by bugdroid1@chromium.org, Nov 16

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform/tast/+/97478888a30a7f85c51a33758d350c7422b9996b

commit 97478888a30a7f85c51a33758d350c7422b9996b
Author: Daniel Erat <derat@chromium.org>
Date: Fri Nov 16 13:01:40 2018

tast: Add a new "no_symlink_mount" software feature.

Add a "no_symlink_mount" software feature that tests can
depend on to ensure that the
CONFIG_SECURITY_CHROMIUMOS_NO_SYMLINK_MOUNT kernel setting
is enabled.

BUG= chromium:898781 
TEST=added lxc to tast_use_flags.txt and checked that test
     that depends on no_symlink_mount is skipped
CQ-DEPEND=If5e9ab03c980f77c29a2a471585fb1745ba2c30a

Change-Id: Ib9f4a0a16a4ad85be0ee2d9c931fc59da3962f0d
Reviewed-on: https://chromium-review.googlesource.com/1334976
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Dan Erat <derat@chromium.org>
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>

[modify] https://crrev.com/97478888a30a7f85c51a33758d350c7422b9996b/src/chromiumos/cmd/local_test_runner/main.go
[modify] https://crrev.com/97478888a30a7f85c51a33758d350c7422b9996b/docs/test_dependencies.md

Status: Fixed (was: Started)

Sign in to add a comment