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

Issue 796686 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Dec 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 720219



Sign in to add a comment

container_bucket_unittest occasionally flakes

Project Member Reported by kenobi@chromium.org, Dec 20 2017

Issue description

container_bucket_unittest uses a hard-coded container ID for testing - this leads to situations where a previously failed or aborted test run can cause subsequent runs to also fail, until the junk is manually cleaned out.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Dec 21 2017

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

commit f960853ef610ce11111f40bb06eab03da3f59155
Author: Ben Kwa <kenobi@google.com>
Date: Thu Dec 21 04:41:15 2017

[autotest] Fix container_bucket_unittest.py

Don't use a hard-coded static container ID for testing - it makes the
test non-hermetic.

BUG= chromium:796686 
TEST=container_bucket_unittest.py
TEST=service_unittest.py
TEST=container_unittest.py
TEST=lxc_functional_test.py

Change-Id: I45ae6378d990c561a80dff941908053210eaa6ab

[modify] https://crrev.com/f960853ef610ce11111f40bb06eab03da3f59155/site_utils/lxc/container_unittest.py
[modify] https://crrev.com/f960853ef610ce11111f40bb06eab03da3f59155/site_utils/lxc/container.py
[modify] https://crrev.com/f960853ef610ce11111f40bb06eab03da3f59155/site_utils/lxc/container_bucket_unittest.py
[modify] https://crrev.com/f960853ef610ce11111f40bb06eab03da3f59155/site_utils/lxc/lxc_functional_test.py
[modify] https://crrev.com/f960853ef610ce11111f40bb06eab03da3f59155/site_utils/lxc/container_pool/service_unittest.py

Comment 2 by kenobi@chromium.org, Dec 22 2017

Owner: jkop@chromium.org

Comment 3 by kenobi@chromium.org, Dec 22 2017

Owner: kenobi@chromium.org
Status: Fixed (was: Started)

Sign in to add a comment