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

Issue 806323 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Adb is using 100% of CPU even though it is not being used

Project Member Reported by haddowk@chromium.org, Jan 26 2018

Issue description


When running HWtests in the lab moblab has experienced extreme slow downs in provisioning.

Examining the moblab adb process is running and using 100% of the CPU

 PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                                 
  366 root      20   0   92792   1228    940 S 100.0  0.0 150:56.28 adb                                                                                                     
  542 root      20   0 1092036  47260   5000 S   1.7  0.3   3:07.96 python2                                                                                                 
 2814 moblab    20   0  231292  57400   5648 S   1.0  0.4   1:05.46 python2.

The direct android device testing is no longer done with moblab, CTS/GTS use adb but install it into the lxc container as part of the test, this would be the recommended way to use adb going forward.

Remove adb from the moblab to avoid the 100% cpu issue
 
Project Member

Comment 1 by bugdroid1@chromium.org, Jan 27 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/d2634a143e871422c76bc212e7bce2fb610421a8

commit d2634a143e871422c76bc212e7bce2fb610421a8
Author: Keith Haddow <haddowk@chromium.org>
Date: Sat Jan 27 07:10:16 2018

[moblab] Remove adb - no longer required

Adb was causing issues with 100% cpu usage on the device, since
it is no longer required remove it.

BUG= chromium:806323 
TEST=local build with CTS and GTS tests being executed.
Change-Id: Ic4726ae6d2c92692ac5e4e71d69112dec99d0872
Reviewed-on: https://chromium-review.googlesource.com/889415
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>

[rename] https://crrev.com/d2634a143e871422c76bc212e7bce2fb610421a8/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-0.0.5-r80.ebuild
[modify] https://crrev.com/d2634a143e871422c76bc212e7bce2fb610421a8/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-0.0.5.ebuild

Project Member

Comment 2 by bugdroid1@chromium.org, Jan 29 2018

Labels: merge-merged-release-R64-10176.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/20d6cc5d7c630358d6ef42e7f9b55986baa0dd61

commit 20d6cc5d7c630358d6ef42e7f9b55986baa0dd61
Author: Keith Haddow <haddowk@chromium.org>
Date: Mon Jan 29 19:55:45 2018

[moblab] Remove adb - no longer required

Adb was causing issues with 100% cpu usage on the device, since
it is no longer required remove it.

BUG= chromium:806323 
TEST=local build with CTS and GTS tests being executed.
Change-Id: Ic4726ae6d2c92692ac5e4e71d69112dec99d0872
Reviewed-on: https://chromium-review.googlesource.com/889415
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
(cherry picked from commit d2634a143e871422c76bc212e7bce2fb610421a8)
Reviewed-on: https://chromium-review.googlesource.com/891540
Commit-Queue: Keith Haddow <haddowk@chromium.org>

[rename] https://crrev.com/20d6cc5d7c630358d6ef42e7f9b55986baa0dd61/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-0.0.5-r80.ebuild
[modify] https://crrev.com/20d6cc5d7c630358d6ef42e7f9b55986baa0dd61/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-0.0.5.ebuild

Project Member

Comment 3 by bugdroid1@chromium.org, Jan 29 2018

Labels: merge-merged-release-R65-10323.B
The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/e800e96e6baf6c8f3521c2abe735145997e1f902

commit e800e96e6baf6c8f3521c2abe735145997e1f902
Author: Keith Haddow <haddowk@chromium.org>
Date: Mon Jan 29 19:55:47 2018

[moblab] Remove adb - no longer required

Adb was causing issues with 100% cpu usage on the device, since
it is no longer required remove it.

BUG= chromium:806323 
TEST=local build with CTS and GTS tests being executed.
Change-Id: Ic4726ae6d2c92692ac5e4e71d69112dec99d0872
Reviewed-on: https://chromium-review.googlesource.com/889415
Commit-Ready: Keith Haddow <haddowk@chromium.org>
Tested-by: Keith Haddow <haddowk@chromium.org>
Reviewed-by: Keith Haddow <haddowk@chromium.org>
(cherry picked from commit d2634a143e871422c76bc212e7bce2fb610421a8)
Reviewed-on: https://chromium-review.googlesource.com/891539
Commit-Queue: Keith Haddow <haddowk@chromium.org>

[rename] https://crrev.com/e800e96e6baf6c8f3521c2abe735145997e1f902/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-0.0.5-r80.ebuild
[modify] https://crrev.com/e800e96e6baf6c8f3521c2abe735145997e1f902/project-moblab/chromeos-base/chromeos-bsp-moblab/chromeos-bsp-moblab-0.0.5.ebuild

Status: Fixed (was: Started)

Sign in to add a comment