New issue
Advanced search Search tips

Issue 840747 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: May 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Chromad: Fix autotest

Project Member Reported by ljusten@chromium.org, May 8 2018

Issue description

It crashes on set_default_log_level during shutdown of the test since the session is being restarted.
 
Project Member

Comment 1 by bugdroid1@chromium.org, May 9 2018

The following revision refers to this bug:
  https://chrome-internal.googlesource.com/chromeos/autotest-private/+/be2ab6b361c4aea7d1f4967f2446f0278876c92a

commit be2ab6b361c4aea7d1f4967f2446f0278876c92a
Author: Lutz Justen <ljusten@chromium.org>
Date: Wed May 09 21:40:31 2018

Project Member

Comment 2 by bugdroid1@chromium.org, May 9 2018

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

commit a2b32e1860e6b617f62bb56132cd15f7d7746e40
Author: Lutz Justen <ljusten@chromium.org>
Date: Wed May 09 21:40:29 2018

authpolicy: Catch errors during stop()

Eats errors that happen when authpolicyd is not running when stop() is
called. This happened in enterprise_AuthPolicyDaemon since the user
session was stopped, which caused Chrome to restart, which in turn
caused authpolicyd to stop.

BUG= chromium:840747 
TEST=test_that -b ${BOARD} ${DUT_IP} enterprise_AuthPolicyDaemonServer

Change-Id: Id33e8ea08f134b99d1e867e9e77d4eecbab8d0b4
Reviewed-on: https://chromium-review.googlesource.com/1049785
Commit-Ready: Lutz Justen <ljusten@chromium.org>
Tested-by: Lutz Justen <ljusten@chromium.org>
Reviewed-by: Roman Sorokin <rsorokin@chromium.org>

[modify] https://crrev.com/a2b32e1860e6b617f62bb56132cd15f7d7746e40/client/common_lib/cros/authpolicy.py

Status: Fixed (was: Assigned)
This would show up as an error in enterprise_AuthPolicyDaemonServer after running the enterprise_AuthPolicyDaemon client test saying

DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.chromium.Authpolicy was not provided by any .service files

I haven't seen this anymore recently, so I believe it's fixed.

It still fails on ARM boards, but that's expected. There's also a similar ServiceUnknown error for org.chromium.Cryptohome on Eve and Coral, but that's a different issue.


Status: Verified (was: Fixed)
Ok thanks, marked as "Verified".

Sign in to add a comment