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

Issue 759004 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Sep 2017
Cc:
EstimatedDays: ----
NextAction: 2017-09-11
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

BattOr agent periodically fails with "Failed to open serial port: FILE_ERROR_ACCESS_DENIED"

Project Member Reported by charliea@chromium.org, Aug 25 2017

Issue description

I believe this is distinct from any other errors that we've been seeing, like the hung BattOrs ( bug 757508 ) and broken pipe between the BattOr agent and the BattOr wrapper when attempting to kill the agent ( bug 753763 ). This isn't the most prevalent cause of BattOr failures at the moment, but it does seem to be out there.
 
Cc: rnep...@chromium.org
Owner: charliea@chromium.org
Status: Assigned (was: Untriaged)
Cc: bpastene@chromium.org
I talked with Charlie about this offline...

One thing we might want to look into is that on android we are using docker containers to isolate devices. On linux systems, to communicate with the battor via serial over usb we need to run 'sudo usermod -a -G dialout <USER_NAME>'.

I'm not sure how docker works under the hood, but it is possible that we may have to re-run this under some conditions? How does docker react when we swap out devices? I know the container name changes, but does this change the username used? Does it do <insert a million corner cases I'm not knowledgeable enough to even know enough to ask about>?

Adding bpastene@ to see if he knows anything that may be helpful.

This could also all be a red-herring. 
This might be related to  bug 759160 . I'm rolling a fix forward now. Let's see if that fixes things.
NextAction: 2017-09-11
Going to snooze this for two weeks and see if we've seen any more failures by then. 
The NextAction date has arrived: 2017-09-11
Status: WontFix (was: Assigned)
I'm going to close this as WontFix. Ben said that he was working on a fix that might work for this and, given that I haven't seen any consistent problems since that time, it doesn't make sense to keep open.

Sign in to add a comment