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

Issue 845911 link

Starred by 3 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Unit test failure in ap-infra: "leaked mock object"

Reported by jrbarnette@chromium.org, May 23 2018

Issue description

This CQ run failed:
    https://uberchromegw.corp.google.com/i/chromeos/builders/master-paladin/builds/18683

Because of a failure on gale-paladin:
    https://luci-milo.appspot.com/buildbot/chromeos/gale-paladin/6135

The failure was a unit test failure in the chromeos-base/ap-infra package.
This appears to be the relevant error message:
    ap-infra-0.0.1-r958: ERROR: 1 leaked mock object found at program exit.

Looking at the blamelist, there's nothing there that could plausibly
trigger this failure, so:  Bug in ToT.

This problem belongs to the Jetstream team, but I don't know what component
to use.

P1, because if it keeps failing, we'll have to take immediate action.

 
Cc: jetstream-releng@google.com
Components: -OS>Systems
Status: Available (was: Untriaged)
Jetstream, please investigate.

Comment 2 by emaxx@chromium.org, Jun 5 2018

Cc: kkunduru@chromium.org sduvvuri@google.com
Adding OWNERS of //src/platform/ap/.

Link to a sample build failing on Chrome OS:
https://cros-goldeneye.corp.google.com/chromeos/healthmonitoring/buildDetails?buildbucketId=8944553326429120464
Excerpt from the logs:
  ../../../../../../../tmp/portage/chromeos-base/ap-infra-0.0.1-r973/work/ap-infra-0.0.1/platform/ap/hal/hal_manager_test.cc:65: ERROR: this mock object (used in test HalManagerTest.MultiThreadingFakeGetRegulatoryRules) should be deleted but never is. Its address is @0xf545fb90.
  ERROR: 1 leaked mock object found at program exit.
Status: Untriaged (was: Available)
Available, but no owner or component? Please find a component, as no one will ever find this without one.

Sign in to add a comment