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

Issue 602034 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 418334
Owner: ----
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug

Blocking:
issue chrome-os-partner:50747



Sign in to add a comment

moblab: setting test_length fails in some test configuration

Project Member Reported by gwendal@chromium.org, Apr 9 2016

Issue description

Test hardware_StorageQualTrimStress.suspend fails.
It is a server test that triggers 2 client test in parallel:

args = []
job.add_repository(['http://192.168.231.1:8080/static/candy-release/R50-7978.30.0/autotest/packages'])
job.parallel(
            [lambda: job.run_test('power_SuspendStress', tag='disk',
                duration=1800, init_delay=10, min_suspend=7, min_resume=30,
                interface='eth0')],
            [lambda: job.run_test('hardware_TrimIntegrity', test_length=1800,
                disable_sysinfo=True,
                tag='qual_trim')])

The problem is with hardware_TrimIntegrity: the first iteration ends after 1500s, but lauching the second iteration failed:

...
03/29 08:15:25.106 DEBUG|              test:0437| Executing iteration 2, time_elapsed 1355 s
...
03/29 08:26:32.783 WARNI|              test:0602| Autotest caught exception when running test:
...
TestError: hardware_StorageFio.before_trim already exists; multiple tests cannot run with the same subdirectory


The problem is the test subdirectory are not prefixed with __xx__ as I say when I add test_length on standalone test.
 
hardware_TrimIntegrity.qual_trim.DEBUG
28.1 KB Download
Blocking: chrome-os-partner:50747
Labels: OS-Chrome

Comment 2 by dshi@chromium.org, Apr 9 2016

What's the control.srv looks like in the test result folder. Each job.run_test call for the same test should use different `tag` value inside a test job. The value of tag will be appended to the test name to be used as result folder name.
Mergedinto: 418334
Status: Duplicate (was: Untriaged)
Moblab user is using an older version. I fixed the issue in the test itself.

Sign in to add a comment