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

Issue 718950 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: May 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Moblab fails BTV inline security_SandboxedServices test

Project Member Reported by haddowk@chromium.org, May 5 2017

Issue description


I suspect we can just exclude this test, I am not sure this is important on moblab.

05/05 04:15:43.633 DEBUG|        base_utils:0185| Running 'scanelf -qF'%s#F' -gs __asan_init `which debugd`'
05/05 04:15:43.670 DEBUG|              asan:0026| running_on_asan(): symbol: '', _ASAN_SYMBOL: '__asan_init'
05/05 04:15:43.675 WARNI|security_Sandboxed:0308| Stale baselines: set(['cromo', 'thermal.sh', 'daisydog', 'attestationd', 'brcm_patchram_p', 'frecon', 'easy_unlock', 'sslh-fork', 'timberslide', 'wimax-manager', 'esif_ufd', 'netfilter-queue', 'arc-networkd', 'X', 'tpm_managerd', 'arc-obb-mounter', 'lid_touchpad_he'])
05/05 04:15:43.676 WARNI|security_Sandboxed:0311| New services: set(['dhcpd', 'rotatelogs', 'apache2', 'conntrackd', 'adb', 'nacl_helper_non', 'devserver.py', 'avahi-daemon', 'mysqld'])
05/05 04:15:43.676 ERROR|security_Sandboxed:0322| New services are not allowed to run as root, but these are: ['rotatelogs', 'adb']
05/05 04:15:43.677 ERROR|security_Sandboxed:0326| Failed sandboxing: ['rotatelogs', 'adb']
05/05 04:15:43.678 DEBUG|              test:0389| Test failed due to One or more processes failed sandboxing. Exception log follows the after_iteration_hooks.
05/05 04:15:43.678 DEBUG|              test:0392| starting after_iteration_hooks
05/05 04:15:43.678 DEBUG|        base_utils:0185| Running 'mkdir -p /usr/local/autodir/results/default/security_SandboxedServices/sysinfo/iteration.1/var/spool'
05/05 04:15:43.686 DEBUG|        base_utils:0185| Running 'rsync --no-perms --chmod=ugo+r -a --exclude=autoserv* --safe-links --exclude=*.core /var/spool/crash /usr/local/autodir/results/default/security_SandboxedServices/sysinfo/iteration.1/var/spool'
05/05 04:15:43.736 DEBUG|        base_utils:0185| Running 'rm -rf /var/spool/crash/*'
05/05 04:15:43.747 DEBUG|        base_utils:0185| Running 'logger "autotest finished iteration /usr/local/autodir/results/default/security_SandboxedServices/sysinfo/iteration.1"'
05/05 04:15:43.757 DEBUG|              test:0395| after_iteration_hooks completed
05/05 04:15:43.758 WARNI|              test:0615| The test failed with the following exception
Traceback (most recent call last):
  File "/usr/local/autodir/common_lib/test.py", line 609, in _exec
    _call_test_function(self.execute, *p_args, **p_dargs)
  File "/usr/local/autodir/common_lib/test.py", line 817, in _call_test_function
    return func(*args, **dargs)
  File "/usr/local/autodir/common_lib/test.py", line 470, in execute
    dargs)
  File "/usr/local/autodir/common_lib/test.py", line 347, in _call_run_once_with_retry
    postprocess_profiled_run, args, dargs)
  File "/usr/local/autodir/common_lib/test.py", line 380, in _call_run_once
    self.run_once(*args, **dargs)
  File "/usr/local/autodir/tests/security_SandboxedServices/security_SandboxedServices.py", line 327, in run_once
    raise error.TestFail("One or more processes failed sandboxing")
TestFail: One or more processes failed sandboxing

 
Project Member

Comment 1 by bugdroid1@chromium.org, May 8 2017

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

commit ff9eb2dfc791f18f92929b46a56d45240ec9c494
Author: Keith Haddow <haddowk@chromium.org>
Date: Mon May 08 19:40:58 2017

[autotest] Add new baseline for guado_moblab.

adb and rotatelogs cause this test to fail on guado_moblab adding
a baseline so they are excluded.

BUG= chromium:718950 
TEST=None

Change-Id: Ib74004fbeff850000afa20a1d82f0f83bc53a628
Reviewed-on: https://chromium-review.googlesource.com/497868
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[add] https://crrev.com/ff9eb2dfc791f18f92929b46a56d45240ec9c494/client/site_tests/security_SandboxedServices/baseline.moblab
[add] https://crrev.com/ff9eb2dfc791f18f92929b46a56d45240ec9c494/client/site_tests/security_SandboxedServices/baseline.guado_moblab

Project Member

Comment 2 by bugdroid1@chromium.org, May 8 2017

Labels: merge-merged-release-R58-9334.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/cd015e692a907ac5073d42ed91c8557a6dac73ce

commit cd015e692a907ac5073d42ed91c8557a6dac73ce
Author: Keith Haddow <haddowk@chromium.org>
Date: Mon May 08 21:00:56 2017

[autotest] Add new baseline for guado_moblab.

adb and rotatelogs cause this test to fail on guado_moblab adding
a baseline so they are excluded.

BUG= chromium:718950 
TEST=None

Change-Id: Ib74004fbeff850000afa20a1d82f0f83bc53a628
Reviewed-on: https://chromium-review.googlesource.com/497868
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
(cherry picked from commit ff9eb2dfc791f18f92929b46a56d45240ec9c494)
Reviewed-on: https://chromium-review.googlesource.com/498535
Reviewed-by: Michael Tang <ntang@chromium.org>
Commit-Queue: Keith Haddow <haddowk@chromium.org>

[add] https://crrev.com/cd015e692a907ac5073d42ed91c8557a6dac73ce/client/site_tests/security_SandboxedServices/baseline.moblab
[add] https://crrev.com/cd015e692a907ac5073d42ed91c8557a6dac73ce/client/site_tests/security_SandboxedServices/baseline.guado_moblab

Status: Fixed (was: Untriaged)
Project Member

Comment 4 by bugdroid1@chromium.org, May 8 2017

Labels: merge-merged-release-R59-9460.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/05f9a2d7293e40c57a431550ddc5f7b599454408

commit 05f9a2d7293e40c57a431550ddc5f7b599454408
Author: Keith Haddow <haddowk@chromium.org>
Date: Mon May 08 21:19:36 2017

[autotest] Add new baseline for guado_moblab.

adb and rotatelogs cause this test to fail on guado_moblab adding
a baseline so they are excluded.

BUG= chromium:718950 
TEST=None

Change-Id: Ib74004fbeff850000afa20a1d82f0f83bc53a628
Reviewed-on: https://chromium-review.googlesource.com/497868
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
(cherry picked from commit ff9eb2dfc791f18f92929b46a56d45240ec9c494)
Reviewed-on: https://chromium-review.googlesource.com/498534
Reviewed-by: Michael Tang <ntang@chromium.org>
Commit-Queue: Keith Haddow <haddowk@chromium.org>

[add] https://crrev.com/05f9a2d7293e40c57a431550ddc5f7b599454408/client/site_tests/security_SandboxedServices/baseline.moblab
[add] https://crrev.com/05f9a2d7293e40c57a431550ddc5f7b599454408/client/site_tests/security_SandboxedServices/baseline.guado_moblab

Comment 5 by dchan@chromium.org, Aug 1 2017

Labels: VerifyIn-61

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

Status: Archived (was: Fixed)

Sign in to add a comment